@@ -42,7 +42,6 @@ let equations_derive_eliminator = ref true
42
42
43
43
let _ = Goptions. declare_bool_option {
44
44
Goptions. optdepr = true ;
45
- Goptions. optstage = Interp ;
46
45
Goptions. optkey = [" Equations" ; " WithK" ];
47
46
Goptions. optread = (fun () -> false );
48
47
Goptions. optwrite = (fun b ->
@@ -55,47 +54,41 @@ let _ = Goptions.declare_bool_option {
55
54
56
55
let _ = Goptions. declare_bool_option {
57
56
Goptions. optdepr = true ;
58
- Goptions. optstage = Interp ;
59
57
Goptions. optkey = [" Equations" ; " WithKDec" ];
60
58
Goptions. optread = (fun () -> ! simplify_withUIP);
61
59
Goptions. optwrite = (fun b -> simplify_withUIP := b)
62
60
}
63
61
64
62
let _ = Goptions. declare_bool_option {
65
63
Goptions. optdepr = false ;
66
- Goptions. optstage = Interp ;
67
64
Goptions. optkey = [" Equations" ; " With" ; " UIP" ];
68
65
Goptions. optread = (fun () -> ! simplify_withUIP);
69
66
Goptions. optwrite = (fun b -> simplify_withUIP := b)
70
67
}
71
68
72
69
let _ = Goptions. declare_bool_option {
73
70
Goptions. optdepr = false ;
74
- Goptions. optstage = Interp ;
75
71
Goptions. optkey = [" Equations" ; " Transparent" ];
76
72
Goptions. optread = (fun () -> ! equations_transparent);
77
73
Goptions. optwrite = (fun b -> equations_transparent := b)
78
74
}
79
75
80
76
let _ = Goptions. declare_bool_option {
81
77
Goptions. optdepr = false ;
82
- Goptions. optstage = Interp ;
83
78
Goptions. optkey = [" Equations" ; " With" ; " Funext" ];
84
79
Goptions. optread = (fun () -> ! equations_with_funext);
85
80
Goptions. optwrite = (fun b -> equations_with_funext := b)
86
81
}
87
82
88
83
let _ = Goptions. declare_bool_option {
89
84
Goptions. optdepr = false ;
90
- Goptions. optstage = Interp ;
91
85
Goptions. optkey = [" Equations" ; " Derive" ; " Equations" ];
92
86
Goptions. optread = (fun () -> ! equations_derive_equations);
93
87
Goptions. optwrite = (fun b -> equations_derive_equations := b)
94
88
}
95
89
96
90
let _ = Goptions. declare_bool_option {
97
91
Goptions. optdepr = false ;
98
- Goptions. optstage = Interp ;
99
92
Goptions. optkey = [" Equations" ; " Derive" ; " Eliminator" ];
100
93
Goptions. optread = (fun () -> ! equations_derive_eliminator);
101
94
Goptions. optwrite = (fun b -> equations_derive_eliminator := b)
@@ -107,7 +100,6 @@ let debug = ref false
107
100
108
101
let _ = Goptions. declare_bool_option {
109
102
Goptions. optdepr = false ;
110
- Goptions. optstage = Interp ;
111
103
Goptions. optkey = [" Equations" ; " Debug" ];
112
104
Goptions. optread = (fun () -> ! debug);
113
105
Goptions. optwrite = (fun b -> debug := b)
@@ -1076,19 +1068,19 @@ let evd_comb1 f evd x =
1076
1068
(* Universe related functions *)
1077
1069
1078
1070
let nonalgebraic_universe_level_of_universe env sigma u =
1079
- match ESorts. kind sigma u with
1071
+ match u with
1080
1072
| Sorts. Set | Sorts. Prop | Sorts. SProp ->
1081
1073
sigma, Univ.Level. set, u
1082
- | Sorts. Type u0 | Sorts. QSort ( _ , u0 ) ->
1074
+ | Sorts. Type u0 ->
1083
1075
match Univ.Universe. level u0 with
1084
1076
| Some l ->
1085
1077
(match Evd. universe_rigidity sigma l with
1086
1078
| Evd. UnivFlexible true ->
1087
- Evd. make_nonalgebraic_variable sigma l, l, ESorts. make @@ Sorts. sort_of_univ @@ Univ.Universe. make l
1079
+ Evd. make_nonalgebraic_variable sigma l, l, Sorts. sort_of_univ @@ Univ.Universe. make l
1088
1080
| _ -> sigma, l, u)
1089
1081
| None ->
1090
1082
let sigma, l = Evd. new_univ_level_variable Evd. univ_flexible sigma in
1091
- let ul = ESorts. make @@ Sorts. sort_of_univ @@ Univ.Universe. make l in
1083
+ let ul = Sorts. sort_of_univ @@ Univ.Universe. make l in
1092
1084
let sigma = Evd. set_leq_sort env sigma u ul in
1093
1085
sigma, l, ul
1094
1086
0 commit comments