Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion book/TPiL/PropositionsAndProofs.lean
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ can be proved using lambda abstraction and application. In Lean, the

```lean
set_option linter.unusedVariables false
---
------
variable {p : Prop}
variable {q : Prop}

Expand Down Expand Up @@ -368,6 +368,8 @@ If {lean}`p` and {lean}`q` have been declared as {ref "variables-and-sections"}[
generalize them for us automatically:

```lean
set_option linter.unusedVariables false
------
variable {p q : Prop}

theorem t1 : p → q → p := fun (hp : p) (hq : q) => hp
Expand Down
Loading