Skip to content
LeanLearn
Level 2~25 minLean 4

Proving and using AND

To prove 'P and Q' you prove both. To use it, you take it apart. Learn constructor, anonymous constructors and obtain.

You will be able to
  • Split a goal P ∧ Q into two goals with constructor.
  • Extract the parts of a hypothesis h : P ∧ Q with h.1, h.2 or obtain.
  • Prove that ∧ is commutative.

Recommended first: Your first proof: P → Q → P, NOT and AND. You can start anyway. Nothing is locked.

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 ∧\land:

LogicLean
prove P∧QP \land Qprove PP, and prove QQconstructor (two goals), or ⟨hp, hq⟩
use h:P∧Qh : P \land Qyou get PP and you get QQh.1 : P, h.2 : Q, or obtain ⟨hp, hq⟩ := h

Type ⟨ and ⟩ with \< and \> followed by a space.