2020-05-23 13:03:54 +03:00
|
|
|
1/1: Building eq (eq.idr)
|
2020-07-28 15:11:42 +03:00
|
|
|
Error: badeq x y p is not a valid impossible case.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
eq:27:1--27:23
|
2021-02-11 20:24:26 +03:00
|
|
|
23 | eqL2 : (xs : List a) -> (x :: xs = x :: y :: xs) -> Nat
|
|
|
|
24 | eqL2 xs p impossible
|
|
|
|
25 |
|
|
|
|
26 | badeq : (x : Nat) -> (y : Nat) -> (S (S x) = S y) -> Nat
|
2020-07-22 22:16:43 +03:00
|
|
|
27 | badeq x y p impossible
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|
|
|
|
Error: badeqL xs ys p is not a valid impossible case.
|
|
|
|
|
2021-06-05 14:53:22 +03:00
|
|
|
eq:30:1--30:26
|
2021-02-11 20:24:26 +03:00
|
|
|
26 | badeq : (x : Nat) -> (y : Nat) -> (S (S x) = S y) -> Nat
|
|
|
|
27 | badeq x y p impossible
|
|
|
|
28 |
|
|
|
|
29 | badeqL : (xs : List a) -> (ys : List a) -> (x :: xs = x :: y :: ys) -> Nat
|
2020-07-22 22:16:43 +03:00
|
|
|
30 | badeqL xs ys p impossible
|
2021-02-11 20:24:26 +03:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-07-28 15:11:42 +03:00
|
|
|
|