Module Glob_term
Untyped intermediate terms
type existential_name= Names.Id.t
type 'a glob_sort_gen=|GSProprepresentation of
SPropliteral|GProprepresentation of
Propliteral|GSetrepresentation of
Setliteral|GType of 'arepresentation of
Typeliteraltype 'a universe_kind=|UAnonymous|UUnknown|UNamed of 'atype level_info= Libnames.qualid universe_kindtype glob_level= level_info glob_sort_gentype glob_constraint= glob_level * Univ.constraint_type * glob_leveltype sort_info= (Libnames.qualid * int) option listtype glob_sort= sort_info glob_sort_gentype glob_recarg= int optionand glob_fix_kind=|GFix of glob_recarg array * int|GCoFix of int
type 'a cast_type=|CastConv of 'a|CastVM of 'a|CastCoerceCast to a base type (eg, an underlying inductive type)
|CastNative of 'atype 'a cases_pattern_r=|PatVar of Names.Name.t|PatCstr of Names.constructor * 'a cases_pattern_g list * Names.Name.tPatCstr(p,C,l,x)= "|'C' 'l' as 'x'"The kind of patterns that occurs in "match ... with ... end"
locs here refers to the ident's location, not whole pat
and 'a cases_pattern_g= ('a cases_pattern_r, 'a) DAst.ttype cases_pattern= [ `any ] cases_pattern_gtype 'a glob_constr_r=|GRef of Names.GlobRef.t * glob_level list optionAn identifier that represents a reference to an object defined either in the (global) environment or in the (local) context.
|GVar of Names.Id.tAn identifier that cannot be regarded as "GRef". Bound variables are typically represented this way.
|GEvar of existential_name * (Names.Id.t * 'a glob_constr_g) list|GPatVar of Evar_kinds.matching_var_kindUsed for patterns only
|GApp of 'a glob_constr_g * 'a glob_constr_g list|GLambda of Names.Name.t * Decl_kinds.binding_kind * 'a glob_constr_g * 'a glob_constr_g|GProd of Names.Name.t * Decl_kinds.binding_kind * 'a glob_constr_g * 'a glob_constr_g|GLetIn of Names.Name.t * 'a glob_constr_g * 'a glob_constr_g option * 'a glob_constr_g|GCases of Constr.case_style * 'a glob_constr_g option * 'a tomatch_tuples_g * 'a cases_clauses_gGCases(style,r,tur,cc)= "match 'tur' return 'r' with 'cc'" (inMatchStyle)|GLetTuple of Names.Name.t list * Names.Name.t * 'a glob_constr_g option * 'a glob_constr_g * 'a glob_constr_g|GIf of 'a glob_constr_g * Names.Name.t * 'a glob_constr_g option * 'a glob_constr_g * 'a glob_constr_g|GRec of glob_fix_kind * Names.Id.t array * 'a glob_decl_g list array * 'a glob_constr_g array * 'a glob_constr_g array|GSort of glob_sort|GHole of Evar_kinds.t * Namegen.intro_pattern_naming_expr * Genarg.glob_generic_argument option|GCast of 'a glob_constr_g * 'a glob_constr_g cast_type|GInt of Uint63.tRepresentation of an internalized (or in other words globalized) term.
and 'a glob_constr_g= ('a glob_constr_r, 'a) DAst.tand 'a glob_decl_g= Names.Name.t * Decl_kinds.binding_kind * 'a glob_constr_g option * 'a glob_constr_gand 'a predicate_pattern_g= Names.Name.t * (Names.inductive * Names.Name.t list) CAst.t option(na,id)= "as 'na' in 'id'" where ifidisSome(l,I,k,args).
and 'a tomatch_tuple_g= 'a glob_constr_g * 'a predicate_pattern_gand 'a tomatch_tuples_g= 'a tomatch_tuple_g listand 'a cases_clause_g= (Names.Id.t list * 'a cases_pattern_g list * 'a glob_constr_g) CAst.t(p,il,cl,t)= "|'cl' => 't'". Precondition: the free variables oftare members ofil.
and 'a cases_clauses_g= 'a cases_clause_g listtype glob_constr= [ `any ] glob_constr_gtype tomatch_tuple= [ `any ] tomatch_tuple_gtype tomatch_tuples= [ `any ] tomatch_tuples_gtype cases_clause= [ `any ] cases_clause_gtype cases_clauses= [ `any ] cases_clauses_gtype glob_decl= [ `any ] glob_decl_gtype predicate_pattern= [ `any ] predicate_pattern_gtype any_glob_constr=|AnyGlobConstr : 'r glob_constr_g -> any_glob_constrtype 'a disjunctive_cases_clause_g= (Names.Id.t list * 'a cases_pattern_g list list * 'a glob_constr_g) CAst.ttype 'a disjunctive_cases_clauses_g= 'a disjunctive_cases_clause_g listtype 'a cases_pattern_disjunction_g= 'a cases_pattern_g listtype disjunctive_cases_clause= [ `any ] disjunctive_cases_clause_gtype disjunctive_cases_clauses= [ `any ] disjunctive_cases_clauses_gtype cases_pattern_disjunction= [ `any ] cases_pattern_disjunction_gtype 'a extended_glob_local_binder_r=|GLocalAssum of Names.Name.t * Decl_kinds.binding_kind * 'a glob_constr_g|GLocalDef of Names.Name.t * Decl_kinds.binding_kind * 'a glob_constr_g * 'a glob_constr_g option|GLocalPattern of 'a cases_pattern_disjunction_g * Names.Id.t list * Names.Id.t * Decl_kinds.binding_kind * 'a glob_constr_gand 'a extended_glob_local_binder_g= ('a extended_glob_local_binder_r, 'a) DAst.ttype extended_glob_local_binder= [ `any ] extended_glob_local_binder_g