ImperialCollegeLondon / natural_number_game

Building the natural numbers in Lean 3. The original natural number game, now frozen. See README for Lean 4 information.
Apache License 2.0
292 stars 73 forks source link

Two small fixes #47

Closed MatthiasHu closed 4 years ago

MatthiasHu commented 4 years ago

Aside: I imagine it would be great if the stated types of axioms were checked against the actual types in the corresponding definitions (in src/mynat/definition.lean in this case). See also #39. And note that even in the actual type of e.g. add_zero (as seen in error messages), the name of the variable differs from the type in the documentation side bar: m vs. a.

PS: Wrote my first Lean code today, thanks for the game!