EncounterActivity 1 of 7
Encounter
Every connective comes with two rules:
- an introduction rule: how to prove a statement of that shape;
- an elimination rule: how to use a hypothesis of that shape.
For :
| Logic | Lean | |
|---|---|---|
| prove | prove , and prove | constructor (two goals), or ⟨hp, hq⟩ |
| use | you get and you get | h.1 : P, h.2 : Q, or obtain ⟨hp, hq⟩ := h |
Type ⟨ and ⟩ with \< and \> followed by a space.