Discrete Mathematics
The discrete structures under computer science — logic and proofs, sets and relations, combinatorics, graph theory, number theory, and automata — and where each shows up in everyday engineering.
Logic & Proofs
-
Propositional & Predicate Logic
budding
deep of deep
top
A rigorous bridge from formula syntax to valuations, first-order structures, semantic consequence, and formal derivation—with countermodels and scope discipline as the main tools for avoiding false reasoning.
- Proof Techniques & Induction planned target working high
-
Gödel Numbering & Incompleteness Theorems
budding
working of working
mid
How finite syntax becomes arithmetic, how the diagonal lemma produces a sentence that talks about its own provability, and exactly what Gödel's two incompleteness theorems do—and do not—say.
Set Theory & Relations
-
Sets, Functions & Relations
budding
deep of deep
top
A typed working language for discrete structures: set operations, Cartesian products, relations, total and partial functions, images, composition, inverses, and finite-path closures.
-
Equivalence Relations & Partial Orders
budding
deep of deep
high
How equivalence relations collapse interchangeable representations into quotient objects, while partial orders preserve distinction and expose dependency, bounds, lattices, and linear extensions.
- Countability & Infinite Sets planned target overview low
Combinatorics
-
Counting, Permutations & Combinations
budding
deep of deep
top
A derivation-first toolkit for finite counting: sum, product, quotient and bijection principles; sequences, injections, permutations, cycles, combinations, multisets, and stars-and-bars edge cases.
- Pigeonhole & Inclusion-Exclusion planned target working mid
- Recurrences & Generating Functions planned target working high
Graph Theory
-
Graph Representations
budding
deep of deep
top
How one abstract graph becomes an edge list, adjacency matrix, adjacency map, or compressed sparse row structure—and how each choice determines memory, query, mutation, and algorithm costs.
-
Graph Traversals: BFS & DFS
budding
deep of deep
top
Breadth-first and depth-first search as precise state machines: how FIFO creates shortest-edge layers, how a suspended stack creates nested DFS intervals, and which invariants make their many applications correct.
-
Graph Connectivity Decompositions: SCCs, Articulation Points & Biconnected Components
budding
deep of deep
high
Depth-first decompositions that expose directed mutual reachability and undirected single-point failures: strongly connected components, the condensation DAG, bridges, articulation points, and edge- and vertex-biconnected structure.
-
Shortest Paths
budding
deep of deep
top
Shortest paths as one relaxation invariant expressed through BFS, DAG order, Dijkstra, Bellman–Ford, Floyd–Warshall, and Johnson—with precise weight preconditions and negative-cycle semantics.
- Minimum Spanning Trees planned target working high
- Network Flows & Matchings planned target working high
- Graph Coloring & Planarity planned target overview low
Number Theory
- Divisibility, GCD & Modular Arithmetic planned target deep top
- Primes & Factorization planned target working high
-
Finite Fields (GF(p) & GF(2^n))
budding
working of working
mid
Why arithmetic mod a composite breaks division, how GF(p) and GF(2^n) fix it, and why GF(2^8) turns out to be the substrate under AES, Reed-Solomon, CRCs and erasure coding.
Automata & Computability
-
Finite Automata & Regular Expressions
budding
deep of deep
top
A mechanism-first account of regular languages through DFA and NFA state invariants, subset construction, regular-expression algebra, derivatives, Myhill–Nerode equivalence, minimization, closure, and decision procedures.
-
Grammars & Formal Languages
budding
deep of deep
high
A rigorous guide to grammars as generative rewrite systems: derivations and parse trees, ambiguity, the Chomsky hierarchy, right-linear grammar–automaton equivalence, recursive structure, and the differences among BNF, EBNF, and ABNF.
-
Finite-State Transducers: Mealy & Moore Machines
budding
deep of deep
high
A precise treatment of finite-state input/output behavior: Mealy and Moore timing, trace-aware conversion, behavioral equivalence and minimization, sequential and subsequential string transducers, relational boundaries, and composition.
-
Automata Products, Composition & Decomposition
budding
deep of deep
high
A proof-driven guide to combining and factoring finite-state systems: synchronous products and Boolean languages, output-machine products, cascade and FST composition, reachable-state growth, behavioral preservation targets, projection-based factorization, and the Krohn–Rhodes horizon.
-
Petri Nets: Concurrency, Reachability & Invariants
budding
deep of deep
high
A rigorous working model of weighted place/transition nets: enabling and firing, true concurrency and conflict, reachability and coverability, behavioral properties, incidence matrices, invariants, structural certificates, extension boundaries, and a diagnostic workflow.
-
Turing Machines, Universality & Decidability
budding
deep of deep
top
A deep guide to Turing-machine mechanics, programs as data, the exact meaning and proof obligations of Turing completeness, the unbounded-resource idealization, and the undecidability that universality brings.
-
Recursive Functions, Enumerability & Equivalent Computation Models
budding
deep of deep
high
A deep account of primitive and partial recursive functions, unbounded search, computably enumerable sets, universal computation, and why Turing machines, lambda calculus, and other effective models compute the same class of functions.
- Complexity Classes: P & NP planned target working top
-
Reductions, NP-Completeness & NP-Hardness
budding
deep of deep
top
How polynomial-time reductions transfer difficulty, how Cook–Levin turns bounded computation into SAT, how to build and audit NP-completeness proofs, and which claims hardness results do not justify.