Env#

Ltac2.Env

get path returns the global reference corresponding to the absolute name given as argument.

  • raises Not_found

    If the path does not correspond to a reference.

path ref returns the absolute name of the given reference.

  • raises Not_found

    If the reference does not exist.

val expand : Libnames.qualid -> reference list

expand qualid returns the list of all global references whose absolute name contains the argument list as a suffix.

instantiate env sigma ref returns a fresh instance of the corresponding reference, in particular generating fresh universe variables and constraints when this reference is universe-polymorphic.