Skip to content

Commit ef304b5

Browse files
committed
💥 Algebraic universes not purged anymore
1 parent c7ef1c8 commit ef304b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/coq_elpi_HOAS.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,9 +908,9 @@ let purge_algebraic_univs_sort state s =
908908

909909
let in_elpi_flex_sort t = E.mkApp sortc (E.mkApp typc t []) []
910910

911-
let sort = { sort with API.Conversion.embed = (fun ~depth state s ->
911+
(* let sort = { sort with API.Conversion.embed = (fun ~depth state s ->
912912
let state, s = purge_algebraic_univs_sort state (EConstr.ESorts.make s) in
913-
sort.API.Conversion.embed ~depth state s) }
913+
sort.API.Conversion.embed ~depth state s) } *)
914914

915915
let in_elpi_sort ~depth state s =
916916
let state, s, gl = sort.API.Conversion.embed ~depth state s in

src/coq_elpi_builtins.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,7 @@ phase unnecessary.|};
21792179
| Data u1, Data u2 ->
21802180
if Sorts.equal u1 u2 then state, !: u1 +! u2,[]
21812181
else
2182-
let state, u2 = purge_algebraic_univs_sort state (EConstr.ESorts.make u2) in
2182+
(* let state, u2 = purge_algebraic_univs_sort state (EConstr.ESorts.make u2) in *)
21832183
add_universe_constraint state (constraint_leq u1 u2), !: u1 +! u2,[]
21842184
| _ -> err Pp.(str"coq.sort.leq: called with _ as argument"))),
21852185
DocAbove);
@@ -2193,7 +2193,7 @@ phase unnecessary.|};
21932193
| Data u1, Data u2 ->
21942194
if Sorts.equal u1 u2 then state, !: u1 +! u2,[]
21952195
else
2196-
let state, u2 = purge_algebraic_univs_sort state (EConstr.ESorts.make u2) in
2196+
(* let state, u2 = purge_algebraic_univs_sort state (EConstr.ESorts.make u2) in *)
21972197
add_universe_constraint state (constraint_eq u1 u2), !: u1 +! u2, []
21982198
| _ -> err Pp.(str"coq.sort.eq: called with _ as argument"))),
21992199
DocAbove);

0 commit comments

Comments
 (0)