mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-24 20:23:11 +03:00
8 lines
169 B
Idris
8 lines
169 B
Idris
%hint
|
|
mycong : (f : a -> b) -> x = y -> f x = f y
|
|
mycong f Refl = Refl
|
|
|
|
plusZ : (n : Nat) -> plus n Z = n
|
|
|
|
plusS : (n : Nat) -> (m : Nat) -> plus n (S m) = S (plus n m)
|