Files
NNG/Game/MyNat/DecidableTests.lean
2023-11-22 09:26:49 +01:00

30 lines
438 B
Lean4
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import Game.MyNat.DecidableEq
import Game.MyNat.Power
example : 4 = 4 := by
decide
example : 4 5 := by
decide
example : (0 : ) + 0 = 0 := by
decide
example : (2 : ) + 2 = 4 := by
decide
example : (2 : ) + 2 5 := by
decide
example : (20 : ) + 20 = 40 := by
decide
example : (2 : ) * 2 = 4 := by
decide
example : (2 : ) * 2 5 := by
decide
example : (3 : ) ^ 2 37 := by
decide