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

explain implicit inputs #89

Open kbuzzard opened 4 years ago

kbuzzard commented 4 years ago

From Discord;

Re: the difference between {} and () in theorem statements (e.g. eq_zero_if_add_right_eq_self):

I had a place where I wanted to use eq_zero_of_add_right_eq_self (which has implicit args) but the auto-resolver-thing (?) wasn't working (?) so I had to pass them in manually

i think an explanation at succ_inj (ie advanced addition world 1) is the corrcet place since its the first theorem stated with implicit args and the place i went to to try to read about curly braces once I noticed the syntax