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/adam/Adam/Levels/Sum/T01_Induction.lean

39 lines
578 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 Adam.Metadata
import Adam.ToBePorted
import Mathlib.Algebra.BigOperators.Fin
set_option tactic.hygienic false
open Nat
Game "Adam"
World "Sum"
Level 2
Title "endliche Summe"
-- 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"
(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
example (n : ) (h : 5 ≤ n) : n^2 < 2 ^ n
| 0 | 1 | 2 | 3 | 4 => by
sorry
| n + 5 => by sorry