You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/black/axiomK.t
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ Using the Martin-Löf "Jdentity type" as an indexed datatype, we can try to prov
4
4
> def Jd (A:Type) (a:A) : A → Type ≔ data [
5
5
>| rfl.: Jd A a a
6
6
> ]
7
+
> EOF
7
8
8
9
$ narya -source-only jd.ny -v -e 'def USIP (A:Type) (a:A) (e:Jd A a a) : Jd (Jd A a a) e rfl. := match e [ rfl. |-> rfl. ]'
9
10
→ info[I0000]
@@ -67,6 +68,7 @@ The following indexed datatype appears in Agda bug #1025.
67
68
> axiom A : Type
68
69
> axiom a : A
69
70
> def Foo : Jd A a a → Type ≔ data [ foo.: Foo rfl. ]
71
+
> EOF
70
72
71
73
$ narya -source-only jd.ny foo.ny -v -e 'def test (e : Jd A a a) (f : Foo e) (i : Jd (Foo e) f f) : Jd (Jd (Foo e) f f) i rfl. ≔ match f [ foo. ↦ match i [ rfl. ↦ rfl. ]]'
72
74
→ info[I0000]
@@ -105,6 +107,7 @@ The heterogeneous Jdentity type also figures in some inconsistencies, such as Ag
105
107
> def Bool: Type ≔ data [ true.| false. ]
106
108
> def D :Bool → Type ≔ data [ x.: D true.| y.: D false. ]
107
109
> def ∅ : Type ≔ data []
110
+
> EOF
108
111
109
112
$ narya -source-only hjd.ny -v -e 'def notpdf (u : D false.) (e : Hd (D false.) u (D true.) x.) : ∅ ≔ match e [ ]'
0 commit comments