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/Induction/T01_Induction.lean

41 lines
611 B
Plaintext

import Mathlib.Algebra.BigOperators.Basic
import Mathlib
import TestGame.Metadata
set_option tactic.hygienic false
2 years ago
open Nat
Game "TestGame"
World "Induction"
Level 2
Title "endliche Summe"
2 years ago
-- TODO: Tactics `mono` and `omega` are not ported yet.
Introduction
"
2^n > n^2 für n ≥ 5
"
Statement
"2^n > n^2 für n ≥ 5"
2 years ago
(n : ) : (n + 5)^2 < 2 ^ (n + 5) := by
induction' n with n ih
simp
rw [succ_eq_add_one]
simp_rw [add_pow_two] at *
ring_nf at ih ⊢
sorry
2 years ago
example (n : ) (h : 5 ≤ n) : n^2 < 2 ^ n
| 0 | 1 | 2 | 3 | 4 => by
sorry
2 years ago
| n + 5 => by sorry
NewTactics rw simp ring