Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Patch 1 (#40)
Browse files Browse the repository at this point in the history
how to type angle brackets
  • Loading branch information
Timeroot authored Oct 10, 2023
1 parent 4360733 commit cf6d067
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/exercises/02_iff_if_and.lean
Original file line number Diff line number Diff line change
Expand Up @@ -340,8 +340,9 @@ end
/-
Of course using `split` only to be able to use `exact` twice in a row feels silly. One can
also use the anonymous constructor syntax: ⟨ ⟩
Beware those are not parentheses but angle brackets. This is a generic way of providing
compound objects to Lean when Lean already has a very clear idea of what it is waiting for.
Beware those are not parentheses but angle brackets. You can type them as \< and \> in VS
Code. They are a generic way of providing compound objects to Lean when Lean already has a
very clear idea of what it is waiting for.
So we could have replaced the last three lines by:
exact ⟨hQ, hP⟩
Expand Down
5 changes: 3 additions & 2 deletions src/solutions/02_iff_if_and.lean
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,9 @@ end
/-
Of course using `split` only to be able to use `exact` twice in a row feels silly. One can
also use the anonymous constructor syntax: ⟨ ⟩
Beware those are not parentheses but angle brackets. This is a generic way of providing
compound objects to Lean when Lean already has a very clear idea of what it is waiting for.
Beware those are not parentheses but angle brackets. You can type them as \< and \> in VS
Code. They are a generic way of providing compound objects to Lean when Lean already has a
very clear idea of what it is waiting for.
So we could have replaced the last three lines by:
exact ⟨hQ, hP⟩
Expand Down

0 comments on commit cf6d067

Please sign in to comment.