mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-15 14:23:32 +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)
|