Skip to content

Commit

Permalink
I got confused with how use works, assuming it required an explicit…
Browse files Browse the repository at this point in the history
… natural number (e.g. 37). Tweaking the docs to make it more clear that `use` accepts more than just natural numbers.
  • Loading branch information
jaredcosulich authored Jun 19, 2024
1 parent 2881a0f commit c10d255
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Game/Levels/LessOrEqual/L01le_refl.lean
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ that `x = 37` will work, then `use 37` will make progress.
Because `a ≤ b` is notation for \"there exists `c` such that `b = a + c`\",
you can make progress on goals of the form `a ≤ b` by `use`ing the
number which is morally `b - a`.
number which is morally `b - a` (i.e. `use b - a`)
Any of the following examples is possible assuming the type of the argument passed to the `use` function is accurate:
- `use 37`
- `use a`
- `use a * a + 1`
-/
TacticDoc use

Expand Down

0 comments on commit c10d255

Please sign in to comment.