Skip to content

Commit

Permalink
Merge pull request #20 from wupr/main
Browse files Browse the repository at this point in the history
Remove reference to Prop in the Function World
  • Loading branch information
joneugster authored Oct 10, 2023
2 parents dc5635b + deb28a9 commit dc7c7d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Game/Levels/Function/Level_1.lean
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ i.e. you have a formula for it, then you can just write `exact <formula>`
and this will close the goal.
"

/-- If $P$ is true, and $P\\implies Q$ is also true, then $Q$ is true. -/
/-- Given an element of $P$, and a function from $P$ to $Q$, one can get an element of $Q$. -/
Statement
(P Q : Prop) (p : P) (h : P → Q) : Q := by
(P Q : Type) (p : P) (h : P → Q) : Q := by
Hint
"In this situation, we have sets $P$ and $Q$ (but Lean calls them types),
and an element $p$ of $P$ (written `p : P`
Expand Down

0 comments on commit dc7c7d4

Please sign in to comment.