Lecture 31 · Mathematics
Decode the hidden packet—and diagnose mistakes
Video in production
This lecture is still face down. Its script is written; filming and animation are under way.
Meanwhile, read the outlineWhat you will learn
Derive and audit a complementary-packet decoder, including order changes and input errors.
Before this lecture
In this lecture
An outline of the lecture, scene by scene, with the statements that appear on screen. It follows the draft script, so details may change in production.
Track both receiving reversals
- Arrival order ≠ final pile order
Derive the index correspondence
- Final position j comes from pair m + 1 − j
Specify the evidence-driven decoder
- recordActual(colour)
- submitClaim(colour)
Audit a complete worked record
- Observed R B R R
- Expected B R B B
- Verdicts T F F T
Repair a known reversal
- Reverse hidden ⇒ reverse expected
Expose a collection-order error
- Correct inventory does not guarantee correct order
Separate three failure types
- Inventory / position map / reliable input
Apply and retrieve
- Same permutation on both piles preserves correspondence
Companion interactive
Planned
Reconstruct hidden colours and repair known changes without reading hidden state.
The interactive for this lecture is being built and will appear here.
Notes
Written notes for this lecture will appear here.
Sources
- Magical Mathematics, Chapter 5, pp. 63–65
How these sources were used
- Formalizes the complementary-packet routine and adds explicit input-channel and collection-order diagnostics.