Curriculum

Browse available subjects and topics

Bitwit uses spaced repetition to build deep intuition for theoretical computer science. Expand any subject below to see its topics.

40 Subjects
319 Topics
16,945 Cards
Abstract Algebra 8 topics · 565 cards

Group theory, rings, and fields - the mathematics of symmetry and structure.

Show topics ↓ Hide topics ↑
Group Fundamentals 71 cards

Foundation concepts - binary operations, the four group axioms, recognizing groups, and understanding abelian vs non-abelian structure.

Concrete Groups 109 cards

Building intuition through familiar examples - integers mod n, cyclic groups, symmetric groups, dihedral groups, and more.

Subgroups and Lagrange 73 cards

Subgroups, cosets, Lagrange's theorem - the fundamental counting and structural constraints of group theory.

Homomorphisms and Isomorphisms 65 cards

Structure-preserving maps between groups - homomorphisms, kernels, images, isomorphisms, and automorphisms.

Normal Subgroups and Quotients 55 cards

Normal subgroups, quotient groups, the first isomorphism theorem, and simple groups.

Group Actions 58 cards

Groups acting on sets - orbits, stabilizers, and the connection between algebra and combinatorics.

Rings and Fields 71 cards

Beyond groups - algebraic structures with two operations, from rings to fields.

Applications and Synthesis 63 cards

Connecting abstract algebra to the real world - cryptography, physics, puzzles, and error correction.

Adversarial Organizational Dynamics 13 topics · 345 cards

Red-teaming organizations: attack patterns, sabotage mechanics, information warfare, and organizational exploitation—understanding how institutions are compromised from within and without.

Show topics ↓ Hide topics ↑
Foundations of Organizational Attack 41 cards

The conceptual framework for thinking about organizations adversarially—attack surfaces, threat taxonomies, and the economics of exploitation.

Information Warfare 31 cards

Controlling what people believe—disinformation mechanics, narrative manipulation, credibility attacks, and epistemic warfare against organizational decision-making.

Social Engineering at Scale 24 cards

Exploiting human psychology in organizational contexts—authority, trust, pretext, elicitation, and influence at scale.

Insider Operations 22 cards

Attacks from within—insider threat types, recruitment, access exploitation, concealment, exfiltration, and sabotage that looks like incompetence.

Economic Warfare 22 cards

Attacking organizations through markets, resources, and economic relationships—supply chains, financial systems, talent, and standards as weapons.

Regulatory and Legal Warfare 22 cards

Using legitimate systems as weapons—regulatory capture, lawfare, compliance weaponization, and strategic litigation.

Psychological Operations 22 cards

Attacking morale, cohesion, and will—systematically degrading an organization's capacity to function through psychological means.

Infiltration and Subversion 22 cards

Getting inside and changing things—placement techniques, access escalation, network mapping, and institutional capture.

Technical Attack Surface 22 cards

Where technical and organizational attacks intersect—exploiting human-system interfaces, processes, and trusted channels.

Competitive Destruction 22 cards

When the goal is destruction rather than exploitation—market exit, reputation destruction, death spirals, and scorched earth.

Case Studies 51 cards

Historical examples analyzed through the adversarial lens—learning from real operations.

Counterintelligence and Defense 22 cards

Detecting, disrupting, and defending against organizational attacks—the defensive counterpart to adversarial operations.

Counter-Defense Operations 22 cards

Defeating defensive measures—how sophisticated adversaries evade detection, exploit resilience mechanisms, and degrade incident response.

Applications of Differentiation 6 topics · 239 cards

Optimization, related rates, curve sketching, Mean Value Theorem, linear approximation, and modeling with derivatives. The strategic counterpart to Differential Calculus.

Show topics ↓ Hide topics ↑
Curve Sketching 53 cards

Reading derivative information to describe function behavior: critical points, monotonicity, concavity, and synthesis.

Extreme Values 38 cards

Existence guarantees and the closed interval method: EVT, Fermat's Theorem, absolute extrema on closed and open intervals.

Mean Value Theorem 34 cards

The theoretical backbone bridging local derivative information to global function behavior: Rolle's Theorem, MVT, consequences, and applications.

Optimization 38 cards

Strategic deployment of derivative tools in modeling contexts: problem setup, constraint reduction, domain classification, and applied problems.

Related Rates 38 cards

Applying the chain rule to implicitly time-dependent equations: setup, relating variables, differentiation with respect to time, and solving.

Linear Approximation 38 cards

The tangent line as universal tool: linearization, differentials, error estimation, Newton's method, and the bridge to integration.

Automata Theory 8 topics · 563 cards

Explore the mathematical foundations of computation through finite automata, regular languages, and the limits of pattern recognition.

Show topics ↓ Hide topics ↑
Finite Automata 130 cards

Master deterministic and nondeterministic finite automata—the simplest model of computation that recognizes patterns.

Regular Languages 114 cards

Explore regular expressions, their equivalence to finite automata, and the fundamental limits of pattern recognition.

Finite State Transducers 68 cards

Context-Free Languages 66 cards

Pushdown Automata 50 cards

Turing Machines 57 cards

The universal model of computation that defines the limits of what can be computed.

Omega-Automata 48 cards

Automata for infinite words—Büchi automata, temporal logic, and model checking.

Weighted Automata 30 cards

Automata over semirings—computing values instead of just accepting/rejecting.

Boolean Logic 6 topics · 330 cards

Master the foundations of symbolic reasoning - truth values, logical operations, and the algebra that underlies all digital computation.

Show topics ↓ Hide topics ↑
Core Operations 59 cards

The primitive elements of Boolean logic - truth values, NOT, AND, and OR - the building blocks of all digital logic.

Building Blocks 56 cards

Combining operations into compound expressions, understanding logic gates, and exploring extended operations like XOR.

Boolean Algebra 85 cards

Laws and properties for transforming and simplifying Boolean expressions - the algebraic toolkit for logical manipulation.

Normal Forms 55 cards

Standard representations of Boolean functions - canonical forms that enable systematic analysis and comparison.

Simplification 42 cards

Techniques for reducing Boolean expressions to simpler equivalent forms - algebraic methods and visual tools.

Applications 33 cards

Boolean logic in practice - truth tables, circuit analysis, and proving equivalence between different implementations.

Category Theory 9 topics · 381 cards

The mathematics of structure and structure-preserving maps. Categories, functors, natural transformations, universal properties, and the Yoneda perspective.

Show topics ↓ Hide topics ↑
Foundations 49 cards

Categories, morphisms, composition, and the basic language of categorical reasoning.

Functors 44 cards

Structure-preserving maps between categories. The morphisms of the category of categories.

Natural Transformations 34 cards

Maps between functors. The key notion that makes category theory work.

Universal Properties 44 cards

Characterizing objects by their relationship to all other objects. The categorical way.

Limits and Colimits 50 cards

The general framework for universal constructions. Refining and gluing.

Adjunctions 42 cards

Pairs of functors that are optimal approximations of each other. The heart of category theory.

Yoneda 42 cards

The Yoneda lemma and embedding. Objects known by their relationships.

Advanced Structures 46 cards

Monads, equivalences, Kan extensions, and categorical logic.

Higher Structure 30 cards

2-categories, string diagrams, enriched categories, and bicategories reveal category theory's higher-dimensional nature.

Combinatorial Games 5 topics · 283 cards

Analyze games with perfect information: recursive decomposition, Sprague-Grundy theory, partisan games, and the discovery that games ARE numbers.

Show topics ↓ Hide topics ↑
Concrete Play 42 cards

Play tiny games by hand. Discover that position structure determines outcome. Meet the simplest game. Learn to analyze game trees backward.

Impartial Classification 49 cards

Classify positions formally as P or N. Discover the XOR pattern in multi-heap Nim. Build the binary/XOR tool. Prove Bouton's theorem.

Sprague-Grundy Theory 69 cards

Grundy values, game sums, the Sprague-Grundy theorem, and applications to non-Nim games. The periodic table of impartial games is complete.

Partisan Games 63 cards

Left and Right have different moves. Game values, negation, the four outcome classes, and the philosopher's stone — games ARE numbers.

The Great Work 60 cards

The world is richer than numbers. Simplification, canonical form, temperature, and where the theory leads. The alchemist's magnum opus.

Combinatorics 7 topics · 563 cards

The mathematics of counting - permutations, combinations, and the art of systematic enumeration.

Show topics ↓ Hide topics ↑
Counting Principles 58 cards

The fundamental rules of counting - addition for OR, multiplication for AND.

Permutations 85 cards

Arrangements where order matters - factorials, k-permutations, and counting with structure.

Combinations 109 cards

Selections where order does not matter - C(n,k), binomial coefficients, and Pascal's triangle.

Advanced Techniques 99 cards

Powerful counting methods - stars and bars, inclusion-exclusion, pigeonhole.

Synthesis 123 cards

Mixed problems, error detection, and conceptual integration across all combinatorics topics.

Recurrence Relations 47 cards

Defining and solving recurrence relations, with applications to counting problems.

Generating Functions 42 cards

Using formal power series to solve counting problems and recurrences.

Communication Complexity 8 topics · 568 cards

The mathematical study of information exchange requirements for distributed computation.

Show topics ↓ Hide topics ↑
Foundations 60 cards

The basic model of communication complexity - parties, inputs, protocols, and cost measures.

Classic Problems 70 cards

Fundamental problems in communication complexity - equality, disjointness, and their variants.

Lower Bound Techniques 137 cards

Methods for proving that problems require many bits of communication.

Randomized Protocols 70 cards

Communication with randomness - public coins, private coins, and error bounds.

One-Way and Streaming 71 cards

Restricted communication models and their connection to streaming algorithms.

Multi-Party Protocols 50 cards

Communication among three or more parties with various input distributions.

Connections 50 cards

Links between communication complexity and circuit depth, data structures, and proofs.

Bitwit Analysis 60 cards

Applying communication complexity to analyze and optimize Bitwit's client-server architecture.

Complexity Theory 10 topics · 469 cards

The cost of computation. P, NP, NP-completeness, and the structural landscape of computational difficulty.

Show topics ↓ Hide topics ↑
Measuring Resources 40 cards

Bridge from computability. Time and space complexity, asymptotic analysis, the fundamental polynomial/exponential divide.

The Class P 45 cards

Decision problems, polynomial time, Cobham's thesis. Problems solvable efficiently and why polynomial is the threshold.

Nondeterminism and NP 55 cards

Verification vs search. The class NP via verifiers, classic NP problems, P vs NP, co-NP.

Polynomial Reductions 59 cards

The tool for comparing difficulty. Polynomial-time reductions, reduction direction, techniques, and composition.

NP-Completeness 64 cards

NP-hardness, Cook-Levin theorem, Karp's reductions, the web of NP-complete problems, coping strategies.

Space Complexity 48 cards

Memory as a reusable resource. L, NL, PSPACE, Savitch's theorem, space class relationships.

The Polynomial Hierarchy 45 cards

Beyond NP. Quantifier alternation as adversarial planning depth. Oracles, relativization, hierarchy structure.

Randomized Complexity 38 cards

Probabilistic computation. BPP, RP, ZPP, the BPP=P conjecture, connections between randomness and hardness.

Circuit Complexity 40 cards

Non-uniform computation. Boolean circuits, circuit families, P/poly, uniformity, Shannon's counting argument, circuit lower bounds.

Frontiers 35 cards

Barriers to resolving P vs NP (relativization, natural proofs, algebrization). Known separations, consequences, and connections to practice.

Computability Theory 4 topics · 319 cards

Explore the fundamental limits of computation—what machines can and cannot do, from Turing machines to undecidability to the landscape of impossible problems.

Show topics ↓ Hide topics ↑
Turing Machines 70 cards

The clerk in the infinite corridor—formalizing mechanical procedure, encoding, and the Universal Bureau Chief.

Decidability 91 cards

The limits of administration—which requests can the Bureau always resolve, and which circulate forever?

Reductions 92 cards

Forwarding protocols—how impossibility spreads from one department to another.

Hierarchy 66 cards

Degrees of impossibility—even undecidability has structure, with some questions more impossible than others.

Concurrency 7 topics · 291 cards

Shared-memory concurrency: interleaving semantics, synchronization, correctness, consensus, and process algebra.

Show topics ↓ Hide topics ↑
The Interleaving World 53 cards

The model — interleaving semantics, adversarial nondeterminism, and the formal infrastructure of concurrent execution.

What Can Go Wrong 34 cards

The damage — shared state interference, race conditions, and the safety/liveness framework for reasoning about correctness.

Synchronization 48 cards

The engineering response — critical sections, mutual exclusion, semaphores, monitors, and condition variables.

Coordination Patterns and Deadlock 38 cards

The archetypes — dining philosophers, producer-consumer, readers-writers — and the general theory of deadlock.

Concurrent Objects 44 cards

The formalization — sequential specifications, linearizability, progress conditions, and lock-free techniques.

Impossibility and Consensus 33 cards

The limits — consensus numbers, the synchronization hierarchy, and FLP impossibility.

Process Algebra 41 cards

The language — CCS notation, bisimulation equivalence, CSP contrast, and a glimpse of the pi-calculus.

Constructive Logic 6 topics · 250 cards

The logic of evidence and construction. Covers the BHK interpretation, intuitionistic propositional calculus, decidability, Kripke semantics, and the Curry-Howard correspondence. Nothing exists until you build it.

Show topics ↓ Hide topics ↑
Proofs as Constructions 53 cards

Act I: What We Lose. Establishes the BHK interpretation, reframes constructive logic from constraint to capability, and catalogs what classical reasoning loses.

Intuitionistic Proof 51 cards

Act II: What We Build. Formalizes IPC, builds proof fluency, and discovers the remarkable properties that constructive restriction gives you.

Decidability 39 cards

Act II continues. The reconciliation: constructive logic doesn't ban classical reasoning, it asks you to earn it. Decidable propositions get classical tools back.

Kripke Semantics 39 cards

Interlude: Seeing the Structure. A classical semantic framework that makes the failure of LEM visible through worlds of growing knowledge.

Curry-Howard 47 cards

Act III: What We Gain. The climax. BHK was a type system all along. Every constructive proof is a program. Blueprints ARE programs; artifacts ARE outputs.

The Constructive Landscape 21 cards

Coda. The quiet walk home. Intermediate logics, constructive mathematics, and the frontiers where this subject leads.

Database Theory 7 topics · 392 cards

The theoretical foundations of relational databases. Relational algebra and calculus, Codd's theorem, functional dependencies, normalization, and Datalog. The Cartographer's Bureau maps territories from survey data — assembling, cross-referencing, and organizing observations into faithful maps.

Show topics ↓ Hide topics ↑
The Relational Model 61 cards

From data to mathematics. Relations as sets of tuples over named attributes with domains. Database instances as finite relational structures. Keys as minimal identifying sets. Queries as domain-independent functions.

Relational Algebra 66 cards

The operational language. Five primitive operators plus rename and derived operations. The draftsman's plotting instruments: mechanical procedures for combining survey sheets.

Relational Calculus 53 cards

The declarative language. Tuple and domain relational calculus as first-order logic over databases. The safety problem and syntactic safety as computable approximation.

Codd's Theorem 60 cards

The crown jewel. Relational algebra and safe relational calculus define exactly the same class of queries. Both proof directions. Then the computational consequences: conjunctive queries and data vs. combined complexity.

Functional Dependencies 55 cards

The design thread begins. Functional dependencies as constraints on admissible instances. Armstrong's axioms, closure computation, covers and keys. Territorial laws governing what observations the bureau's surveys can record.

Normalization 55 cards

Redundancy, anomalies, and progressive reorganization. Normal forms as conditions on schemas relative to their FDs. The impossibility: cannot always achieve both lossless-join and dependency-preserving BCNF decomposition.

Datalog 42 cards

Beyond relational algebra. Transitive closure motivates recursion. Datalog syntax and semantics via least fixed point. Stratified negation. Datalog can express queries RA cannot.

Dependent Types 6 topics · 325 cards

Types that depend on values—Pi types, Sigma types, and the full Curry-Howard correspondence for quantifiers.

Show topics ↓ Hide topics ↑
Foundations 49 cards

Why dependent types exist, what problems they solve, the phase distinction collapse

Type Families 70 cards

Types indexed by values—the motivating examples before formal machinery

Pi Types 53 cards

Dependent function types—universal quantification in the type system

Sigma Types 49 cards

Dependent pair types—existential quantification in the type system

Equality Types 58 cards

Propositional equality, identity types, and reasoning about equality

Proof Assistants 46 cards

Where dependent types live—Coq, Agda, Lean. The specification compiler.

Descriptive Complexity 7 topics · 421 cards

Characterizing complexity classes with logic — the correspondence between definability and computational power.

Show topics ↓ Hide topics ↑
The Finite Laboratory 75 cards

Finite structures as the fundamental objects of study. Queries as isomorphism-invariant classification tasks. The startling discovery that classical metatheorems all fail over finite structures.

The Local Probe 64 cards

What can first-order logic express over finite structures? Quantifier rank as the instrument's sensitivity setting. The fundamental limitation — FO can only see local neighborhoods.

Instrument Calibration 60 cards

The Ehrenfeucht-Fraisse game — proving that the local probe has limits. Spoiler and Duplicator. The fundamental theorem connecting game indistinguishability to logical equivalence.

Serial Numbering 56 cards

Order transforms FO from embarrassingly weak to surprisingly powerful. Serial-numbered atoms enable counting, indexing, and canonical encoding. FO with order and BIT captures uniform AC0.

The Iterative Analyzer 67 cards

When local probing fails, iterate. Inject a marker dye at a starting point and watch it spread monotonically. LFP captures P on ordered structures — the Immerman-Vardi theorem.

The Hypothetical Reconstructor 57 cards

Suppose hidden structure exists — does it explain the measurements? Existential second-order quantification. Fagin's theorem — ESO captures NP on ALL finite structures, no order needed.

The Resolving Frontier 42 cards

Extending the instrument suite with counting. The CFI barrier — even combined analysis cannot capture P on unordered structures. The clean correspondence has limits. The field is alive.

Differential Calculus 7 topics · 275 cards

Definition of the derivative, differentiation rules, derivatives of transcendental functions, implicit differentiation, L'Hôpital's rule, and the connection between derivatives and meaning

Show topics ↓ Hide topics ↑
The Derivative Definition 52 cards

Average and instantaneous rates of change, the limit definition, differentiability, the derivative as a function, notation systems

Basic Differentiation Rules 48 cards

Constant and power rules, linearity, product rule, quotient rule, higher-order derivatives, tangent lines

The Chain Rule 36 cards

Composition review, single-layer chain rule, nested chains, combining with other rules

Transcendental Derivatives 34 cards

Derivatives of trig, exponential, and logarithmic functions, rule selection strategy

Implicit and Inverse Differentiation 36 cards

Implicit vs explicit functions, implicit technique, inverse trig derivatives, tangent lines on implicit curves, logarithmic differentiation

L'Hôpital's Rule 28 cards

Indeterminate forms, applying the rule, repeated application, converting other indeterminate forms

Derivative Connections 41 cards

Local linearity, Mean Value Theorem, increasing/decreasing, motion interpretation, differential notation

Distributed Systems 7 topics · 348 cards

Message-passing systems with partial failure: system models, time and ordering, impossibility results, consensus, consistency models, replication, and distributed transactions. The Lighthouse Network — isolated keepers communicating through fog, where silence tells you nothing.

Show topics ↓ Hide topics ↑
System Models 48 cards

The new world. Establishes the distributed computing model by breaking assumptions from concurrency: shared memory disappears, failure becomes partial, time becomes unreliable. The lighthouse world is introduced here.

Time and Ordering 67 cards

The temporal crisis. Physical clocks fail, Lamport shows causality without physical time, and vector clocks characterize causality exactly. The progression from broken clocks to logical time to causal ordering.

The Wall 44 cards

Three impossibility results that block every naive escape route. Two Generals, FLP, and CAP — then the precisely characterized gaps that let you climb the wall.

Consensus 65 cards

The earned hope. After impossibility, discover that the wall has precisely characterized gaps. Failure detectors, quorums, Raft, and Byzantine agreement show consensus is achievable under realistic assumptions.

Consistency Models 47 cards

The spectrum. With consensus understood, appreciate what it costs and why you might want less. From linearizability to eventual consistency, understood as different prices for different guarantees. CRDTs as algebraic escape from coordination.

Replication 47 cards

The mechanisms. Consistency models defined what guarantees are possible; replication strategies show how to achieve them. State machine replication, primary-backup, quorum replication, and anti-entropy.

Distributed Transactions 30 cards

The capstone. Atomic commitment as consensus with unanimity. Two-phase commit and its blocking problem. Distributed snapshots to observe system state without stopping it.

Foundations of Functions & Algebra 7 topics · 280 cards

Function algebra, domain/range, composition, inverses, polynomials, rationals, and coordinate geometry — the prerequisite for calculus-track subjects.

Show topics ↓ Hide topics ↑
Sets and Number Systems 35 cards

Set notation, number system hierarchy (N,Z,Q,R), intervals, inequalities, and absolute value as distance.

Algebraic Manipulation 45 cards

Order of operations, factoring patterns, rational expressions, exponent rules, and radical expressions.

The Function Concept 45 cards

Relations vs functions, domain and range, function notation, piecewise functions, and function equality.

Families of Functions 50 cards

Linear, quadratic, polynomial, rational, and radical function families — behavior, zeros, and asymptotes.

Function Operations 35 cards

Arithmetic of functions, composition, decomposition, and the difference quotient as a derivative preview.

Transformations 40 cards

Vertical and horizontal shifts, stretches, reflections, transformation sequences, and even/odd symmetry.

Inverse Functions 30 cards

One-to-one functions, finding inverses algebraically, inverse function graphs, and restricting domain for invertibility.

Game Theory 8 topics · 609 cards

Strategic decision-making under interdependence - from dominant strategies to Nash equilibrium to sequential games.

Show topics ↓ Hide topics ↑
Foundations 66 cards

The vocabulary and mechanics of strategic games - players, strategies, payoffs, and game representations.

Strategic Dominance 73 cards

Analyzing games using dominant and dominated strategies, including iterated elimination.

Nash Equilibrium 59 cards

The central solution concept - strategy profiles where no one wants to deviate.

Mixed Strategies 91 cards

Randomizing over pure strategies to achieve equilibrium.

Sequential Games 119 cards

Games where players move in sequence, observing previous moves.

Imperfect Information 38 cards

Games where players have private information about types, payoffs, or actions.

Applications and Extensions 66 cards

Repeated games, bargaining, voting, social choice, and behavioral game theory.

Classic Games 97 cards

Archetypes that illustrate fundamental strategic structures - PD, coordination, chicken, matching pennies, stag hunt.

Graph Theory 7 topics · 652 cards

Vertices, edges, paths, and algorithms - the mathematics of connections, networks, and relationships.

Show topics ↓ Hide topics ↑
Fundamentals 93 cards

The building blocks - vertices, edges, directions, weights, degree, and graph representations.

Paths & Connectivity 113 cards

Walks, paths, cycles, and what it means for a graph to be connected - the study of traversal and reachability.

Trees 97 cards

Connected graphs without cycles - the elegant structures underlying hierarchies, search, and optimization.

Special Graphs 102 cards

Named graph families and their distinctive properties.

Algorithms 115 cards

Computational methods for graph problems including traversal, shortest paths, and minimum spanning trees.

Advanced Topics 73 cards

Matching, network flow, isomorphism, and deeper graph theory.

Synthesis 59 cards

Connecting graph theory to other subjects and its historical origins.

Information Theory 5 topics · 313 cards

Quantifying, encoding, and protecting information—from Shannon entropy to channel capacity.

Show topics ↓ Hide topics ↑
Entropy 72 cards

Quantifying uncertainty and surprise—the foundation of information theory.

Joint and Conditional 78 cards

Information shared between sources and the uncertainty that remains after observation.

Source Coding 53 cards

Encoding messages efficiently—prefix codes, Kraft inequality, and optimal compression.

Channel Capacity 52 cards

Reliable communication over noisy channels—Shannon's fundamental limits.

Compression 58 cards

Practical compression algorithms and the ultimate limits of description.

Lambda Calculus 12 topics · 382 cards

Patterns with slots, filled in by substitution. From this single operation: booleans, numbers, data structures, recursion — all of computation.

Show topics ↓ Hide topics ↑
Lambda Expressions 36 cards

The grammar of lambda calculus. Three forms, no computation.

Variables and Binding 35 cards

Free and bound variables, scope, shadowing, alpha equivalence.

Substitution and Beta Reduction 41 cards

The definition of substitution, beta reduction, capture avoidance. Taught correctly from the start.

Multiple Arguments and Currying 25 cards

Functions of multiple arguments via currying and partial application.

Reduction Theory 40 cards

Normal forms, reduction strategies, divergence, eta, bridge to encodings.

Church Booleans 26 cards

TRUE and FALSE as selectors. Building logic from nothing.

Church Numerals 33 cards

Numbers as iteration counts. Successor, predecessor, zero test.

Arithmetic 25 cards

Addition, multiplication, exponentiation, and subtraction from pure lambda.

Data Structures 22 cards

Pairs and lists from pure lambda.

Recursion and Fixed Points 40 cards

Self-application, fixed points, the Y combinator — patterns that produce themselves.

Combinators 26 cards

Named combinators, SK completeness, lambda vs combinatory logic.

Metatheory 33 cards

Confluence, normalization, Church-Turing thesis, brief types overview.

Lambda Implementation 6 topics · 246 cards

How lambda calculus runs: De Bruijn indices, nameless operations, advanced encodings, environments, closures, abstract machines, and optimal reduction.

Show topics ↓ Hide topics ↑
The Naming Problem 32 cards

Why named representations fail and what replaces them. De Bruijn indices eliminate names by counting binders.

Nameless Operations 32 cards

Computing with De Bruijn terms. Shifting, nameless substitution, and the bridge to explicit substitution calculi.

Advanced Encodings 50 cards

Data as behavior. Church encodings were one answer; Scott, Parigot, and Mogensen-Scott reveal that encoding is a choice.

Environments and Closures 48 cards

From substitution to memory. Environments defer substitution; closures capture it. De Bruijn indices reveal their implementation payoff.

Abstract Machines 52 cards

How reduction becomes execution. Krivine, CEK, and other machines implement specific evaluation strategies through mechanical transition rules.

Sharing and Optimality 32 cards

The shape of computation. Redundant work, redex families, sharing, and the frontier of optimal reduction.

Limits & Continuity 7 topics · 279 cards

The gateway to calculus: what happens near a point, the formal definition of limits, and why continuity matters.

Show topics ↓ Hide topics ↑
Approaching Values 50 cards

The foundational rupture: evaluation and limit are different questions with potentially different answers.

Limit Laws 32 cards

The machinery: direct substitution, arithmetic of limits, and indeterminate forms.

Algebraic Techniques 46 cards

The repair kit: factoring, conjugates, squeezing, and trig identities for evaluating limits.

Infinity 37 cards

From local behavior to global: limits at infinity, infinite limits, and asymptotic behavior.

Epsilon-Delta Intuition 40 cards

The formal definition of limits as a challenge-response game between precision and placement.

Continuity 45 cards

The payoff: continuous means the limit keeps its promise — and every break has a name.

Limits as Definitions 29 cards

Limits are the machine that turns infinite processes into finite values.

Lisp 14 topics · 626 cards

Master recursive thinking through Lisp—the language that treats code as data. Build programs from five primitives, explore list processing with an adventure game theme, and discover how evaluators work.

Show topics ↓ Hide topics ↑
Expressions and Values 48 cards

Understand what exists in Lisp—atoms, lists, and s-expressions. Learn how Lisp reads and evaluates expressions, and how quoting prevents evaluation.

Taking Apart 34 cards

Extract pieces from lists using car and cdr. Learn to reach into nested structures and handle edge cases when lists are empty.

Building Up 39 cards

Construct new lists using cons, list, and append. Understand how cons is the inverse of car/cdr—what they take apart, cons puts together.

Asking Questions 40 cards

Test properties with predicates like null?, atom?, and eq?. Learn to make decisions with conditionals based on the answers.

Naming and Abstraction 52 cards

Name values and procedures with define. Create anonymous functions with lambda. Use let for local bindings. Understand scope.

The Recursive Journey 58 cards

Master the fundamental technique for processing lists—recursion. Learn the pattern of base case plus recursive case, trace execution, and debug.

Searching and Finding 36 cards

Look for things in collections. Learn search patterns with member?, find, and position. Understand when searching succeeds or reaches the end.

Transforming Collections 42 cards

Create new lists by transforming each element. Learn the map pattern—same structure, different values. Build toward the map abstraction.

Filtering and Removing 46 cards

Select elements that match criteria. Learn to remove first or all occurrences. Build toward the filter abstraction.

Accumulating Results 41 cards

Master the accumulator pattern and fold operations. Learn to build up results efficiently, understand tail recursion, and see how fold captures list processing patterns.

Functions as Values 46 cards

Use functions as data. Pass them as arguments, return them from other functions. Understand closures—functions that remember their origin.

Numbers and Arithmetic 61 cards

Understand numbers as recursive structures. Build arithmetic operations from add1, sub1, and zero?. See that recursion works on numbers too.

Nested Structures 37 cards

Process arbitrarily nested lists (trees). Learn when to recur into sublists versus just into the rest. Handle deep structures with double recursion.

A Simple Evaluator 46 cards

Build a tiny Lisp interpreter in Lisp. Programs are data (lists), so we can write an evaluator as a recursive function. This is the deepest magic.

Logic Programming 6 topics · 550 cards

Master declarative programming through logic—the paradigm where you declare what is true and let the engine derive consequences. Build knowledge bases with facts and rules, ask queries, and watch unification and resolution work their magic. Experience logic programming through the lens of a sorcerer conjuring a text adventure world: speak things into existence, decree the laws of nature, and ask the spirits what is true in your creation.

Show topics ↓ Hide topics ↑
Foundations 100 cards

The atomic concepts of logic programming - facts declare world state, rules encode game mechanics, queries ask what's true, and the closed world assumption says what we can't prove is false.

Unification 74 cards

The heart of pattern matching - how the engine determines whether two terms can be made identical through substitution, and how to find the most general such substitution.

Resolution and Search 101 cards

How the engine answers queries - SLD resolution chains rules together, the search tree explores possibilities, backtracking tries alternatives when paths fail, and cut prunes the search space.

Programming Techniques 105 cards

Practical patterns for logic programming - list processing, accumulators for tail recursion, difference lists for efficient concatenation, generate-and-test for search, and arithmetic evaluation.

Advanced Topics 75 cards

Beyond the basics - meta-predicates that treat programs as data, definite clause grammars for parsing, constraint logic programming for richer domains, and tabling for memoization.

Synthesis 95 cards

Integration and connections - mixed problems testing multiple concepts, error detection for common misconceptions, and bridges to predicate logic, Lisp, miniKanren, automata theory, and real-world applications.

Mechanism Design 6 topics · 513 cards

Designing rules so self-interested agents produce good outcomes: auctions, voting, matching, contracts, and the art of incentive alignment.

Show topics ↓ Hide topics ↑
Foundations 64 cards

The mechanism design problem, private information, incentive compatibility, and the revelation principle.

Auction Theory 101 cards

First-price, second-price, and optimal auctions: when truthful bidding emerges and when manipulation thrives.

Voting & Social Choice 85 cards

Voting rules, Arrow's impossibility theorem, strategic voting, and the limits of democratic mechanism design.

Matching Markets 72 cards

Stable matching, Gale-Shapley algorithm, school choice, and kidney exchange: two-sided markets that save lives.

Implementation Theory 102 cards

VCG mechanisms, dominant strategy implementation, budget balance, public goods, bilateral trade, and the fundamental tradeoffs in mechanism design.

Contract Theory 89 cards

Screening, adverse selection, moral hazard, and the art of designing contracts when agents hold private information.

Modal Logic 16 topics · 593 cards

Logic of necessity and possibility. Covers modal operators, Kripke semantics, axiom systems (K, T, S4, S5), proof theory, epistemic logic, and temporal logic. The investigation continues—in precincts where doors open onto other worlds.

Show topics ↓ Hide topics ↑
Foundations 25 cards

What modal logic is and why it matters. Introduces necessity (□) and possibility (◇), the questions modal logic answers, and how it extends propositional logic into reasoning about what must be, what might be, and what could have been.

Syntax 38 cards

The formal language of modal logic. Covers modal formulas, well-formedness, operator scope and precedence, subformulas, and common abbreviations. Building the grammar before we ask what it means.

Kripke Semantics 87 cards

The possible worlds interpretation of modal logic. Covers Kripke frames and models, accessibility relations, truth at worlds, validity, and the frame properties that give different modal logics their character. The architecture of the precinct.

Modal Systems 62 cards

The major modal axiom systems: K, T, D, B, S4, S5. Each system captures different assumptions about necessity and possibility. Covers the axioms, their meanings, and the correspondence between axioms and frame properties.

Proof Theory 62 cards

Proving things in modal logic. Covers Hilbert-style axiom systems, the necessitation rule, the distribution axiom (K), natural deduction for modal logic, and modal tableaux. How to establish what's necessary without visiting every world.

Epistemic Logic 36 cards

Modal logic applied to knowledge and belief. Covers the knowledge operator K, the belief operator B, their different properties, multi-agent systems, common knowledge, and classic epistemic puzzles. What the detective knows, what the suspect knows, and what neither of them knows they don't know.

Temporal Logic 32 cards

Modal logic applied to time. Covers future and past operators, linear vs branching time, the Until operator, and the basics of LTL. The basement is 1943; the roof is next Tuesday. A bridge toward program verification.

Applications 24 cards

Modal logic in the wild. Covers philosophy of modality (de re vs de dicto), counterfactual reasoning, deontic logic (obligation and permission), provability logic, and connections to program verification. Why this machinery matters beyond the precinct.

Dynamic Logic 57 cards

Programs as modalities. PDL (Propositional Dynamic Logic) treats programs as first-class citizens: [α]φ means "after executing α, φ holds."

First-Order Modal Logic 36 cards

Combining quantifiers with modality. The Barcan formula, rigid designators, and the puzzles of quantifying into modal contexts.

Neighborhood Semantics 26 cards

Alternative to Kripke semantics using sets of propositions.

Deontic Logic 28 cards

The logic of obligation, permission, and prohibition.

Provability Logic 20 cards

Modal logic of mathematical provability (GL).

Modal Mu-Calculus 20 cards

Fixed points in modal logic for verification.

Model Checking 18 cards

Algorithmic verification of modal properties.

Synthesis and Connections 22 cards

Cross-cutting connections between modal logic topics.

Number Theory 7 topics · 369 cards

The mathematics of integers - divisibility, primes, congruences, and the foundations of modern cryptography.

Show topics ↓ Hide topics ↑
Divisibility 65 cards

The foundation of number theory - when one integer divides another evenly.

Primes 58 cards

The atoms of arithmetic - prime numbers, factorization, and primality testing.

Modular Arithmetic 56 cards

Clock arithmetic - congruences, operations, and solving equations mod n.

Number-Theoretic Theorems 56 cards

The landmark results - Fermat, Euler, Chinese Remainder, and Wilson.

Multiplicative Structure 50 cards

Units, orders, primitive roots, and the multiplicative group mod n.

Cryptographic Applications 52 cards

RSA, Diffie-Hellman, and the mathematics of modern cryptography.

Synthesis 32 cards

Mixed problems, connections to other areas, and open questions.

Order Theory 8 topics · 403 cards

Partial orders, lattices, and fixed-point theorems - the mathematics of hierarchy and structure.

Show topics ↓ Hide topics ↑
Foundations 60 cards

Partial orders, total orders, preorders, and the fundamental concepts of ordering relations.

Visualization 49 cards

Hasse diagrams, diagram patterns, isomorphism recognition, and poset construction.

Elements and Structure 52 cards

Extremal elements, bounds, chains, antichains, covers, and well-founded orders.

Lattices 61 cards

Core lattice theory - meet, join, lattice laws, sublattices, and bounded lattices.

Special Lattices 38 cards

Distributive, modular, complemented, complete lattices, and semilattices.

Morphisms 39 cards

Order-preserving maps, isomorphisms, lattice homomorphisms, and Galois connections.

Fixed Points 39 cards

Fixed-point theory, Knaster-Tarski theorem, iteration methods, and applications.

Synthesis 65 cards

Pattern recognition, problem solving, and connections to other areas of mathematics and computer science.

Organizational Dynamics 11 topics · 381 cards

Systems reasoning applied to institutions: how authority, incentives, and controls shape behavior; how systems fail and recover; pattern recognition for incidents and organizational pathology.

Show topics ↓ Hide topics ↑
Authority, Ownership, and Visibility 47 cards

Who can act? Who is responsible? Who can see? The foundational diagnostic lens for organizational dynamics.

Feedback Loops and Delays 28 cards

How information flows, and what happens when it doesn't. Reinforcing loops, balancing loops, and the pathologies of delayed consequences.

Incentives, Metrics, and Distortion 31 cards

What gets measured gets managed—and gamed. Goodhart's Law, Campbell's Law, and how agents rationally subvert intent.

Contracts, Budgets, and Option Value 35 cards

How financial and contractual structures constrain behavior. Commitment devices, sunk costs, and the value of preserving flexibility.

Centralization vs Local Autonomy 40 cards

The eternal trade-off between coordination and adaptation. Local knowledge, requisite variety, and why organizations oscillate.

Failure Modes and Near Misses 47 cards

How systems fail and what failures reveal. Normal accidents, latent conditions, drift, and the Swiss cheese model.

Incident Response and Recovery 36 cards

When things go wrong, what happens next? Recovery capacity as distinct from prevention. Blast radius, containment, graceful degradation.

Governance vs Platform 31 cards

How policy and infrastructure interact—and why they often diverge.

Observability as Control Surface 26 cards

You can only control what you can see—and the costs of making things visible.

Risk Acceptance vs Risk Concealment 30 cards

The difference between owning risk consciously and hiding it from view.

Case Studies 30 cards

Canonical failures analyzed through multiple diagnostic lenses.

Predicate Logic 9 topics · 576 cards

First-order logic with quantifiers and predicates. Covers syntax (terms, predicates, quantifiers), semantics (structures, satisfaction), translation (English to FOL), natural deduction proofs, identity/equality, and meta-theory (completeness, undecidability).

Show topics ↓ Hide topics ↑
Syntax 73 cards

The formal structure of first-order logic formulas. Covers terms, predicates, functions, quantifiers, variable binding, scope, and well-formed formulas.

Semantics 64 cards

The meaning of first-order formulas. Covers structures, interpretations, variable assignments, satisfaction, validity, logical equivalence, and consequence.

Translation 67 cards

Converting between English and first-order logic. Covers basic patterns, quantified statements, nested quantifiers, relations, and common pitfalls.

Quantifier Equivalences 54 cards

Laws for manipulating quantifiers. Covers negation, distribution over connectives, quantifier order, and vacuous quantification.

Normal Forms 71 cards

Standardized formula representations. Covers prenex normal form, Skolemization, Skolem constants and functions, and clausal form for resolution.

Natural Deduction 81 cards

Proof methods for first-order logic. Covers universal and existential introduction and elimination rules, eigenvariable conditions, and proof strategies.

Identity and Equality 47 cards

The identity predicate and its properties. Covers equality axioms, distinctness, uniqueness, counting with identity, and identity in proofs.

Meta-Theory 62 cards

Theoretical properties of first-order logic. Covers soundness, completeness, compactness, Lowenheim-Skolem theorems, and undecidability.

Applications 57 cards

Practical uses of first-order logic. Covers mathematical modeling, database queries, software specification, knowledge representation, and automated reasoning.

Probability 7 topics · 457 cards

Chance, expectation, and reasoning under uncertainty - from sample spaces to Bayesian inference.

Show topics ↓ Hide topics ↑
Foundations 71 cards

Sample spaces, events, and the axioms that govern chance - the bedrock of probabilistic reasoning.

Conditional Probability 66 cards

How new information changes what we know - the mathematics of "given that..."

Bayesian Reasoning 71 cards

Updating beliefs with evidence - the skill humans systematically get wrong and can learn to get right.

Random Variables 66 cards

Numbers that depend on chance - expected values, variance, and the language of uncertainty.

Common Distributions 76 cards

The recurring patterns of randomness - binomial, geometric, Poisson, and their applications.

Decision Under Uncertainty 56 cards

Making choices when outcomes are unknown - expected value, risk, and the limits of rationality.

Advanced Topics 51 cards

Joint distributions, conditional expectation, and the beginnings of stochastic processes.

Propositional Logic 11 topics · 597 cards

Formal logic of propositions and proof systems. Covers syntax (well-formed formulas), semantics (truth and validity), proof methods (natural deduction, tableaux, resolution), and meta-theory (soundness, completeness).

Show topics ↓ Hide topics ↑
Syntax 54 cards

The formal structure of propositional formulas. Covers propositional variables, logical connectives, well-formed formulas (WFFs), parse trees, operator precedence, and subformula relationships.

Semantics 66 cards

What formulas mean; truth and consequence.

Normal Forms 41 cards

Canonical representations of propositional formulas.

Natural Deduction 83 cards

Proof construction using inference rules; the heart of propositional logic.

Semantic Tableaux 55 cards

Systematic search for counterexamples using signed formulas and tree-based decomposition.

Resolution 45 cards

Refutation-based proof method using clauses; foundation of SAT solvers.

Meta-Theory 48 cards

Properties of propositional logic itself; soundness, completeness, compactness.

Applications 81 cards

Practical applications of propositional logic including SAT solving, logic puzzles, and automated reasoning.

Hilbert-Style Systems 38 cards

Axiomatic proof systems using minimal inference rules. Covers axiom schemas, the deduction theorem, metatheory, and comparison with other proof systems.

Sequent Calculus 50 cards

Gentzen's proof system using sequents. Covers structural and logical rules, cut elimination, the subformula property, and comparison with other systems.

Modal Logic Bridge 36 cards

Bridge to modal logic covering the limits of propositional logic, modal operators, possible worlds semantics, and applications in epistemics and verification.

Rewriting Systems 7 topics · 462 cards

Term rewriting systems, abstract reduction, confluence, and termination - the formal foundation underlying lambda calculus and symbolic computation.

Show topics ↓ Hide topics ↑
Foundations 86 cards

The atomic concepts of term rewriting - signatures, terms, positions, substitution, and rewrite rules.

Abstract Rewriting 41 cards

Abstract away from terms to study reduction properties in general - sequences, normal forms, and joinability.

Confluence 55 cards

The central property of rewriting systems - different reduction paths converge to the same result.

Termination 65 cards

When and why rewriting processes stop - the foundations of termination analysis.

Critical Pairs 44 cards

Unification and critical pairs for analyzing confluence.

Completion 41 cards

Knuth-Bendix completion and related algorithms.

Synthesis 130 cards

Integrating rewriting concepts through mixed problems, error detection, and deeper understanding.

Set Theory 12 topics · 599 cards

The mathematical study of collections — from membership and operations through relations and functions to Cantor's infinite hierarchies and the axiomatic foundations of mathematics.

Show topics ↓ Hide topics ↑
Basic Concepts 86 cards

Set notation, membership, subsets, equality, and the special sets that form the foundation of mathematics.

Operations 72 cards

Combining and manipulating sets through union, intersection, complement, difference, and Cartesian product.

Algebraic Properties 84 cards

The algebraic laws governing set operations - commutative, associative, distributive, and De Morgan's laws.

Relations 65 cards

Binary relations and their properties - reflexivity, symmetry, transitivity, equivalence relations, and orders.

Functions 68 cards

Functions as special relations - domain, codomain, range, injectivity, surjectivity, and composition.

Finite Cardinality 18 cards

Counting finite sets - cardinality basics, pigeonhole principle, and inclusion-exclusion.

Cantor's Paradise 89 cards

Infinite cardinals, the diagonal argument, and the stunning hierarchy of infinities.

Ordinal Numbers 28 cards

Well-ordered sets and transfinite counting.

Axiomatic Foundations 30 cards

ZFC axioms and the Axiom of Choice.

Constructing Numbers 24 cards

Building number systems from sets.

Advanced Relations 17 cards

Well-orders, lattices, and order theory.

Applications 18 cards

How set theory is used in programming, databases, and logic.

Topology 9 topics · 395 cards

Point-set topology: open and closed sets, continuity, compactness, connectedness, metric spaces, separation axioms. The study of structure preserved under continuous maps.

Show topics ↓ Hide topics ↑
Foundations 60 cards

What is a topology? Establish the axioms, the visual language, the canonical examples, and the tools for generating topologies.

Local Structure 45 cards

How does a point relate to a set? Interior, closure, boundary, limit points, convergence, and neighborhoods.

Continuity 45 cards

What does it mean for a function to respect topology? Continuous maps, homeomorphisms, and the Hausdorff property.

Basic Constructions 20 cards

Tools for building new spaces from old: subspace and product topologies.

Connectedness 40 cards

Can the lens split the terrain? Connected spaces, path-connectedness, and components.

Compactness 50 cards

Can the lens survey everything at once? Open covers, compact spaces, and sequential compactness.

Metric Spaces 50 cards

The most familiar lens — grounded by a ruler. Metrics, metric topology, countability, completeness, metrization.

Separation Axioms 40 cards

How well can the lens distinguish? The T0-T4 hierarchy and the classification of niceness.

Advanced Constructions 45 cards

Building new lenses from old: infinite products, quotient spaces, and constructions synthesis.

Trigonometry 6 topics · 245 cards

Unit circle, radian measure, trigonometric functions and their graphs, identities, inverse trig functions, solving trig equations, and bridge concepts for calculus.

Show topics ↓ Hide topics ↑
The Unit Circle 52 cards

The geometry of the unit circle — measuring angles in radians, locating points, naming coordinates, and discovering the Pythagorean identity as a geometric fact.

Trigonometric Functions 47 cards

The functions that the circle generates — definitions, properties, and their graphs. The wave IS the circle, unrolled.

Trigonometric Identities 43 cards

The algebraic relationships between trig functions — Pythagorean family, angle addition engine, and derived identities.

Inverse Trigonometric Functions 35 cards

Reversing the functions — why restriction is needed, how the inverses work, and compositions.

Solving Trigonometric Equations 36 cards

Solving equations using everything that came before — identities to simplify, inverses to extract angles, periodicity to enumerate all solutions.

Applications and Bridge to Calculus 32 cards

Trigonometry meets the world — triangle solving, periodic modeling, and the bridge to calculus.

Type Theory 7 topics · 491 cards

Types as a foundation for programming and logic - from simply typed lambda calculus through polymorphism to Curry-Howard.

Show topics ↓ Hide topics ↑
Foundations 80 cards

What types are, why we need them, and the distinction between typed and untyped systems.

Simply Typed Lambda Calculus 94 cards

Base types, function types, type checking rules, and the foundations of typed programming.

Type Safety 56 cards

Progress, preservation, and soundness - what type systems guarantee.

Polymorphism 64 cards

Parametric polymorphism, System F, and type abstraction.

Algebraic Types 74 cards

Product types, sum types, recursive types, and pattern matching.

Curry-Howard Correspondence 57 cards

Types as propositions, programs as proofs - the deep connection between logic and computation.

Advanced Features 66 cards

Type constructors, higher-kinded types, functors, monads, and advanced abstraction patterns.

Additional subjects are in development and will be added over time.