Ask what should change when the equation is manipulated, then let the visualization test that expectation.
Foundation Lab
Chain-of-Thought Prompting
Dramatically improves reasoning performance—math, logic, coding
P(answer | question, reasoning)Selected Foundation Object
Keep the equation fixed; move through the evidence.
CoT gives the model "scratchpad" space for intermediate computation
P(answer | question, reasoning)Use the runnable panel, the key equation, and canonical papers as separate forms of evidence for the same object.
The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.
Use prerequisites, dependents, and semantic links to repair the next gap without leaving the object behind.
Why It Matters for Modern Models
- Dramatically improves reasoning performance—math, logic, coding
- Emergent capability: only works well in large models (>100B parameters)
- Foundation for o1-style reasoning: explicit intermediate computation steps
What Tutorials Skip
What is still poorly explained in textbooks and papers:
- CoT gives the model "scratchpad" space for intermediate computation
- The reasoning doesn't need to be human-readable—it just needs to help the model
- Self-consistency leverages diversity: different reasoning paths vote on the answer
Interactive Visualization
Core Math (Optional Deep Dive)
If you want intuition first, start with the key equation and the visualization. Come back here for the full walkthrough.
Chain-of-Thought: Prompt model to show reasoning steps:
Self-Consistency: Sample multiple reasoning paths, majority vote:
where with reasoning path .
Decomposition: Break complex problem into sub-problems: