How Leslie Lamport might approach Computer Science

What is the precise specification of "Computer Science"? This is the foundational question, and one that is far too often left unaddressed, leading to the very ambiguities and hand-waving that plague our field. We speak of algorithms, data structures, and systems, but without a rigorous, mathematical definition of what constitutes these entities, and what it means for them to "work," we are merely building castles on sand.

A computer science system, at its core, is a state machine. It transitions from one state to another in response to inputs. The "science" lies in understanding these transitions, not through intuition or empirical observation alone, but through formal deduction. What are the invariants that must always hold true, regardless of the sequence of operations? These are the pillars of safety. And what are the conditions under which progress is guaranteed, where the system will eventually reach desired states? These are the liveness properties. Without proving both safety and liveness, any claim of correctness is merely a hopeful conjecture.

We must move beyond the superficial presentation of code and embrace the underlying logic. The elegance of a solution is not in its brevity, but in its provable correctness. The complexity of distributed systems, for instance, can be untangled, not by clever heuristics, but by a meticulous specification of desired behavior and a proof that the chosen mechanism achieves it. Mathematical rigor is not a constraint; it is the only path to true understanding and reliable engineering. Show me the proof, and I will show you the science.

Imagined perspective — an AI synthesis grounded in Leslie Lamport’s recorded ideas and methods, not a quotation or a statement they actually made.

Chat with Leslie LamportComputer Science on Feynman