For the course Komputerowe rozwiązywanie problemów matematycznych — all computations run in your browser, with nothing to install.
← Course page · PL · Polski · Book · Lecture 1 slides →Lecture 1 — How does a computer do mathematics? Numerics, CAS, proof
Three ways in which a computer “knows” a mathematical fact: it computes it approximately, transforms it symbolically, or checks a proof.
$1 + 2 + \dots + n = \frac{n(n+1)}{2}$ checked in float32 and float64, derived in a CAS and proved formally in Peano Lab — step by step, with witness extraction.
What is really stored in memory when you write 0.1? The IEEE 754 bits, the exact value, the rounding error, neighboring machine numbers and Rump’s example.
A SymPy-style expression tree, automatic simplification, the canonical form of a polynomial, and the “expression swell” when expanding $(x+y+z)^n$.
Is $f = g$? Random points in float64, computation modulo $p$ with the Schwartz–Zippel lemma, and the canonical form — plus examples in which each method fails.
Euler’s polynomial, Fermat numbers, Moser’s circle, $\gcd(n^{17}+9, (n+1)^{17}+9)$, the Borwein integrals and the Pólya conjecture: an example is not a proof.
Deep dives — Richardson’s theorem
Deep dives — the circle group