123456789101112131415161718192021222324252627282930(************************************************************************)(* * The Coq Proof Assistant / The Coq 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) *)(************************************************************************)openNamesopenUnivtypeuniverse_binders=Level.tNames.Id.Map.tletempty_binders=Id.Map.emptytypeuniv_name_list=Names.lnamelistletqualid_of_levelctxl=matchLevel.namelwith|Someqid->(trySome(Nametab.shortest_qualid_of_universectxqid)withNot_found->None)|None->Noneletpr_with_global_universes?(binders=empty_binders)l=matchqualid_of_levelbinderslwith|Someqid->Libnames.pr_qualidqid|None->Level.raw_prl