| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
open Names |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
type obligation_definition_status = Define of bool | Expand |
| 19 |
|
| 20 |
type matching_var_kind = FirstOrderPatVar of Id.t | SecondOrderPatVar of Id.t |
| 21 |
|
| 22 |
type subevar_kind = Domain | Codomain | Body |
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
type record_field = { fieldname : Constant.t; recordname : Names.inductive } |
| 27 |
|
| 28 |
type question_mark = { |
| 29 |
qm_obligation: obligation_definition_status; |
| 30 |
qm_name: Name.t; |
| 31 |
|
| 32 |
qm_record_field: record_field option; |
| 33 |
} |
| 34 |
|
| 35 |
|
| 36 |
val default_question_mark : question_mark |
| 37 |
|
| 38 |
type t = |
| 39 |
| ImplicitArg of GlobRef.t * (int * Id.t) |
| 40 |
* bool |
| 41 |
| BinderType of Name.t |
| 42 |
| EvarType of Id.t option * Evar.t |
| 43 |
| NamedHole of Id.t |
| 44 |
| QuestionMark of question_mark |
| 45 |
| CasesType of bool |
| 46 |
| InternalHole |
| 47 |
| TomatchTypeParameter of inductive * int |
| 48 |
| GoalEvar |
| 49 |
| ImpossibleCase |
| 50 |
| MatchingVar of matching_var_kind |
| 51 |
| VarInstance of Id.t |
| 52 |
| SubEvar of subevar_kind option * Evar.t |
| 53 |
| RewriteRulePattern of Name.t |
| 54 |
|
| 55 |
type glob_evar_kind = |
| 56 |
| GImplicitArg of GlobRef.t * (int * Id.t) * bool |
| 57 |
| GBinderType of Name.t |
| 58 |
| GNamedHole of bool * Id.t |
| 59 |
| GQuestionMark of question_mark |
| 60 |
| GCasesType |
| 61 |
| GInternalHole |
| 62 |
| GImpossibleCase |