Home / COMP2870 / Graph algorithms / Proof trainer

Proof Trainer

Every proof, bottom to top. Build-up, then every line with its own picture, then write it yourself.

Start at level 0 and climb. Each level uses the ones below it. For each level:
  1. ① Before the proof: play the animations until you can say each idea in caveman words.
  2. ② The proof: step through it (→ key). Then again, saying why each line is allowed before reading it. Then Memory mode: picture only, recall the line, reveal.
  3. ③ Write it yourself: write the notation, then check the model answer.
  4. Then on paper: write the whole proof from a blank page with the reason beside each line (like the cut-edge proof), and send it to me to mark.
Move up a level when you can do Memory mode with no hints. Redo earlier levels cold the next day and in 3 days.

Every line is the lecture notes' sentence, verbatim and in order (Lemma 2.1 excepted: it isn't proved in the notes). My explanations are only in the "why" text. In the exam the lemmas will be given to you, so focus on why each line holds, not on lemma numbers. Longer explainers: Why Prim works · Why Dijkstra works.

insert: