Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Even/odd world #9

Open
kbuzzard opened this issue Jul 5, 2023 · 3 comments
Open

Even/odd world #9

kbuzzard opened this issue Jul 5, 2023 · 3 comments
Labels
new content Issues/PRs adding new game content

Comments

@kbuzzard
Copy link
Member

kbuzzard commented Jul 5, 2023

We need an even/odd world. A proposal: IsEven x := \exists t, x = t + t, IsOdd x := \exists t, x = t + t + 1, and then the boss levels of that world is that every natural is either even or odd, and that no natural is both even and odd.

Ivan has started on writing the Lean code (but I don't have a link).

@ifarabella
Copy link

My code is here https://github.com/ifarabella/NNG4 . The relevant theorems are under NNG4/Game/Levels/EvenOddTest

@kbuzzard
Copy link
Member Author

kbuzzard commented Aug 10, 2023

Ivan I cleaned up your code and put it here. Right now the plan is to have even-odd world after advanced addition world, which will introduce the theorems succ_inj and succ_ne_zero, and the tactics intro, exact and apply (and apply ... at). I want even-odd world to teach use and rcases. What we really need is ten or so files each containing one theorem from the levels of even-odd world, like we have already with addition world etc.

@joneugster joneugster added the new content Issues/PRs adding new game content label Mar 18, 2024
@kbuzzard
Copy link
Member Author

OK so the status of this is that neither Ivan nor I have the time to work on it, I have tidied up the plan for the level and have pushed it to the file Game/LevelIdeas/EvenOdd.lean here in the branch EvenOdd_world_plan. What needs to be done is that this one Lean file needs to be turned into 12 files with explanations and hints and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new content Issues/PRs adding new game content
Projects
None yet
Development

No branches or pull requests

3 participants