12345678910111213141516171819202122232425262728293031323334353637(************************************************************************)(* * The Rocq Prover / The Rocq Development Team *)(* v * Copyright INRIA, CNRS and contributors *)(* <O___,, * (see version control and CREDITS file for authors & dates) *)(* \VV/ **************************************************************)(* // * This file is distributed under the terms of the *)(* * GNU Lesser General Public License Version 2.1 *)(* * (see LICENSE file for the text of the license) *)(************************************************************************)openNamesopenUnivopenSortstypeuniverse_binders=QVar.tId.Map.t*Level.tId.Map.ttyperev_binders=Id.tQVar.Map.t*Id.tLevel.Map.tletempty_binders=Id.Map.empty,Id.Map.emptyletempty_rev_binders=QVar.Map.empty,Level.Map.emptytypeuniv_name_list=Names.lnamelisttypefull_name_list=lnamelist*lnamelistletqualid_of_level(_,ctx)l=matchLevel.namelwith|Someqid->(trySome(Nametab.shortest_qualid_of_universectxqid)withNot_found->None)|None->Noneletpr_level_with_global_universes?(binders=empty_binders)l=matchqualid_of_levelbinderslwith|Someqid->Libnames.pr_qualidqid|None->Level.raw_prl