Review: choose the next move
Mixed exercises from the whole course, with no step checklist.
In this course 13 / 13
This lesson has no new material and no step checklists. Each exercise mixes moves from the whole course: introducing, unpacking, splitting, applying, naming intermediate facts, rewriting and splitting a Boolean.
Before you type anything, read the goal and the context and decide which move the goal asks for. A goal with → wants intro. A goal with ∧ wants a split or a pair. A hypothesis with ∧ wants to be opened. An equation in the context is a license to rewrite.
Plan with sorry if the proof has more than one branch. The hints only name a direction; the full answer stays behind Reveal a solution.
Worked example
-- A different goal, solved by reading its shape:
example (A B C : Prop) (hab : A → B) (h : A ∧ C) : C ∧ B := by
obtain ⟨ha, hc⟩ := h -- a pair in the context: open it
constructor -- a pair as the goal: split it
· exact hc
· exact hab haThe comments name the reason for each move. Try to say the same reasons to yourself as you solve the exercises.
Reading the outermost shape of the goal and of each hypothesis tells you the next move. The next course adds the connectives this one left out: or, not and if-and-only-if.
Prove Q ∧ R from an implication and a pair.
\to in the editor, or click:Where you start. Everything above ⊢ may be assumed; the line below it is what you must prove.
Knowledge check
Answer without looking back, then check your reasoning.
correct