A study in notation Vibing

Pat Hanrahan · A reading guide

On
Notation.

How the way we write changes
the way we think.

Follow the talk into the classroom: lecture slides, domain-specific languages, and the ideas behind expressive, executable mathematics.

One idea, several representations
Haskellsum [1, 3 .. 2*n - 1] == n*n
An example from the notation lectures: algebra, executable code, and a visual proof.
01

The lectures

Start with the ideas.

The classroom reference begins at 5:11 in the talk . Video source: the RacketCon 2026 program.

02

Back to the classroom

The wider context.

Stanford

CS448H

Fall 2015

Domain-Specific Languages for
Graphics, Imaging, and Beyond

An earlier DSL course taught by Pat Hanrahan, Jonathan Ragan-Kelley, and Zach DeVito, with Gilbert Bernstein as TA. Public materials include slides, example code, readings, and assignment descriptions covering Lua, Terra, Halide, intermediate representations, and macros.

Some assignment repositories and reference solutions require course access.

03

On the reading list

Two readings assigned with “Notation.”

Kenneth E. Iverson

Notation as a Tool of Thought

The case for combining the strengths of mathematical notation with executable programming languages.

Free text

Stephen Wolfram

Mathematical Notation: Past and Future

A history of mathematical notation and a discussion of its possibilities in computational systems.

Article

Iverson’s paper: free HTML edition at Jsoftware · ACM publication record .