Skip to content

Commit bdea556

Browse files
committed
Update test file
1 parent 1b5f7eb commit bdea556

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

tests/test_polymorphism.v

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ From elpi Require Import elpi.
22
Set Universe Polymorphism.
33
Set Polymorphic Inductive Cumulativity.
44
Set Printing Universes.
5-
Set Debug "comInductive".
6-
Set Debug "elpi".
75

86
Module test_rocq.
97
Record test : Type := mktest { foo : Type }.
@@ -19,19 +17,16 @@ Print test. (* Record test : Type@{test.u0} := mktest { foo : Type@{test.u1} }.
1917
(* we get a monomorphic universe *)
2018
End test_elpi.
2119

22-
Set Debug "ustate".
23-
Set Debug "univVariances".
24-
Set Debug "univMinim".
2520
Module test_explicit.
2621
Elpi Command test_explicit.
2722
Elpi Query lp:"
28-
@keep-alg-univs! => @univpoly! => @cumulative! => coq.env.add-indt (record ""test"" {{Type}} ""mktest""
23+
@keep-alg-univs! => @univpoly-cumul! => coq.env.add-indt (record ""test"" {{Type}} ""mktest""
2924
(field _ ""foo"" {{Type}} _ \ end-record)) _C.
3025
".
3126
Print test.
32-
(* Record test@{u u0} : Type@{u} := mktest { foo : Type@{u0} }. *)
33-
(* u(= (* for typing) in term, + in type) u0(= in term) |= u0 < u *) *)
34-
(* It's indeed polymorphic but we do not get the minimized version *)
27+
(* Record test@{u} : Type@{u+1} := mktest { foo : Type@{u} }. *)
28+
(* u(+ (= for typing) in term, + in type) |= *)
29+
(* It's indeed polymorphic and we do get the minimized version *)
3530
End test_explicit.
3631

3732
Module test_minimization.
@@ -43,5 +38,5 @@ Elpi Query lp:"
4338
(field _ ""foo"" (sort (typ U)) _ \ end-record)) _C.
4439
".
4540
Print test.
46-
(* It's indeed polymorphic but we do not get the minimized version *))
41+
(* It's indeed polymorphic and we do get the minimized version *)
4742
End test_minimization.

0 commit comments

Comments
 (0)