@Kha This one is not as useful as the indented `do`. When writing interactive proofs I like the error message at the `}` showing the resulting tactic state. We can simulate it using a `skip` in the end of the sequence :) We remove the `skip` when the proof is done. Note that, the last `;` is usually not part of the `by`. Example: ```lean theorem ex (x y z : Nat) : y = z → y = x → x = z := fun _ _ => have x = y by apply Eq.symm; assumption; -- <<< the last `;` is part of the `have` Eq.trans this (by assumption) ``` |
||
|---|---|---|
| .. | ||
| bench | ||
| compiler | ||
| elabissues | ||
| ir | ||
| lean | ||
| playground | ||
| plugin | ||
| .gitignore | ||
| common.sh | ||