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/ToBePorted.lean

17 lines
327 B
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

import Mathlib
lemma not_odd {n : } : ¬ Odd n ↔ Even n := by
sorry
lemma not_even {n : } : ¬ Even n ↔ Odd n := by
sorry
lemma even_square (n : ) : Even n → Even (n ^ 2) := by
intro ⟨x, hx⟩
unfold Even at *
use 2 * x ^ 2
rw [hx]
ring
theorem nat_succ (n : ) : Nat.succ n = n + 1 := rfl