This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tactic state | |
| No goals | |
| Goals accomplished! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tactic state | |
| 1 goal | |
| Coin HotWater : Prop | |
| Noodles : Sort ?u.29 | |
| noodleVendingMachine : Coin → HotWater → Noodles | |
| coinAndHotWater : Coin ∧ HotWater | |
| ⊢ Noodles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tactic state | |
| 1 goal | |
| Coin HotWater : Prop | |
| Noodles : Sort ?u.29 | |
| noodleVendingMachine : Coin → HotWater → Noodles | |
| ⊢ Coin ∧ HotWater → Noodles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tactic state | |
| 1 goal | |
| Coin HotWater : Prop | |
| Noodles : Sort ?u.29 | |
| ⊢ (Coin → HotWater → Noodles) → Coin ∧ HotWater → Noodles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #check rfl | |
| -- rfl.{u} {α : Sort u} {a : α} : a = a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #check 2 + 2 = 4 | |
| -- 2 + 2 = 4 : Prop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #check Type | |
| -- Type : Type 1 | |
| #check Type 1 | |
| -- Type 1 : Type 2 | |
| -- ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #check Nat | |
| -- Nat : Type |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #check 3 | |
| -- 3 : Nat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| example : (P → Q → R) → (P ∧ Q → R) := by | |
| intro h | |
| intro hpq | |
| exact h hpq.left hpq.right |
NewerOlder