mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-28 02:23:44 +03:00
4f10bfcfd2
This is referred to in the documentation, so should be there
22 lines
446 B
Idris
22 lines
446 B
Idris
import Data.Vect
|
|
|
|
four_eq : 4 = 4
|
|
four_eq = Refl
|
|
|
|
-- four_eq_five : 4 = 5
|
|
-- four_eq_five = Refl
|
|
|
|
twoplustwo_eq_four : 2 + 2 = 4
|
|
twoplustwo_eq_four = Refl
|
|
|
|
plus_reduces_Z : (m : Nat) -> plus Z m = m
|
|
plus_reduces_Z m = Refl
|
|
|
|
plus_reduces_Sk : (k, m : Nat) -> plus (S k) m = S (plus k m)
|
|
plus_reduces_Sk k m = Refl
|
|
|
|
idris_not_php : Z = "Z"
|
|
|
|
vect_eq_length : (xs : Vect n a) -> (ys : Vect m a) -> (xs = ys) -> n = m
|
|
vect_eq_length xs xs Refl = Refl
|