power world tinkering

This commit is contained in:
Kevin Buzzard
2023-09-26 14:32:02 +01:00
parent 73477d4048
commit ec2351769c
4 changed files with 20 additions and 9 deletions

View File

@@ -10,7 +10,10 @@ namespace MyNat
Introduction "Mathematicians sometimes debate what `0 ^ 0` is;
the answer depends, of course, on your definitions. In this
game, `0 ^ 0 = 1`. See if you can prove it."
game, `0 ^ 0 = 1`. See if you can prove it.
Check out the *Pow* tab in your list of theorems
to see the new proofs which are available."
DefinitionDoc Pow as "^" "
`Pow a b`, with notation `a ^ b`, is the usual

View File

@@ -8,9 +8,9 @@ namespace MyNat
Introduction
"
One of the best named levels in the game, a savage `pow_pow` appears
as the music reaches a frenzy. Could this be the final boss? What
else could there be to prove about powers?
One of the best named levels in the game, a savage `pow_pow`
sub-boss appears as the music reaches a frenzy. What
else could there be to prove about powers after this?
"
LemmaDoc MyNat.pow_pow as "pow_pow" in "Pow" "
@@ -39,9 +39,11 @@ Conclusion
"
The music dies down. Is that it?
Course it isn't, you can
clearly see that there are two worlds left.
A passing mathematician says that mathematicians don't have a name
for the structure you just constructed. You feel cheated.
Suddenly the music starts up again, and this time you know:
the final level of power world is next, including the final boss.
Suddenly the music starts up again. This really is the final boss.
"

View File

@@ -42,6 +42,7 @@ in Lean 4!
It's all over! You have proved a theorem which has tripped up
schoolkids for generations (some of them think $(a+b)^2=a^2+b^2$).
If you did it using rewrites, how many did you use? I can do it in 12.
**TODO** link to source code?
If you didn't play the other worlds like even/odd world yet,
then feel free to try these next.

View File

@@ -8,8 +8,6 @@ namespace MyNat
Introduction
"
Second stage!
We now have enough to state mathematically accurate, but slightly
clunky, version of Fermat's Last Theorem.
@@ -27,6 +25,13 @@ and Taylor into Lean, although this task will take many years.
You can see the current state of his efforts at ...?
**TODO** add info if I get funded.
## CONGRATULATIONS!
You've finished the main quest of the natural number game!
If you would like to learn more about how to use Lean to
prove theorems in mathematics, then **TODO** put link to
Mathematics In Lean when I'm not in the eurotunnel.
"
/-- For all naturals $a$ $b$ $c$ and $n$, we have
@@ -39,5 +44,5 @@ LemmaTab "Pow"
Conclusion
"
Congratulations! You proved Fermat's Last Theorem!
Congratulations! You have proved Fermat's Last Theorem!
"