You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lean4game/server/testgame/TestGame/Levels/Numbers/L02_PNat.lean

25 lines
374 B
Plaintext

2 years ago
import TestGame.Metadata
import Mathlib
Game "TestGame"
World "Numbers"
Level 2
Title ""
Introduction
"
Das Lemma, das du gerade bewiesen hast, findest du als `pnat.ne_zero`
"
Statement
""
(a b : +) : (a : ) * b ≠ 0 := by
by_contra h
rw [Nat.mul_eq_zero] at h
cases h
have := PNat.ne_zero a
contradiction
have := PNat.ne_zero b
contradiction