Lecture 27 · Mathematics

Design review

Make a decodable card miracle

Video in production

This lecture is still face down. Its script is written; filming and animation are under way.

Meanwhile, read the outline

What you will learn

Design and exhaustively audit a complete prepared-packet observation protocol.

Before this lecture

Lectures 13 to 26: everything earlier in Order Matters.

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.

  1. Set a concrete design commission

    • Eight cards; three reported colours
    • Hidden state/actions/observation/decoder
    • Complete protocol before performance
  2. Construct an exact eight-card prototype

    • Stack: A♣2♣3♣A♥2♥3♥4♣4♥
    • Cycle 00011101
    • 010→4♣,4♥, A♣
  3. Build and exhaustively verify the decoder

    • Check all 8 cuts
    • Unique report keys
    • Correct identities in every row
  4. Demonstrate actions outside the verified contract

    • Cut preserves cyclic order
    • Swap can create collisions
    • 010 appears at starts 2 and 7 after swap
  5. Audit reporting direction and physical reset

    • Report left→right
    • 001 reversed is 100
    • Reset: third, second, first onto remainder
  6. Check information capacity and changed identity layers

    • Capacity is necessary, not sufficient
    • Eight starts need at least three binary bits
    • Colour location and card identity are separate layers
  7. Specify design submission and complete worked round

    • Submit stack, actions, observation, decoder
    • Exhaust every allowed start
    • Show collision or identity mismatch
  8. Close section and preview different shuffle in variants

    • Specify the observation map
    • Prove the promise for all allowed cases
    • Next: what survives a riffle?

Companion interactive

Planned

Submit a complete packet code and pass all legal cases.

The interactive for this lecture is being built and will appear here.

Notes

Written notes for this lecture will appear here.

Sources

How these sources were used
  • Persi Diaconis and Ron Graham, Magical Mathematics: Synthesis of cyclic codes, construction and decoding.
  • Colm Mulcahy, Mathematical Card Magic: Prepared-packet variations motivate explicit observation conventions; eight-card teaching prototype is original.