The Lumenary · Research pathways
Formalising published mathematics
Name: ______________________
Date: ______________________
You will learn to
- Write a blueprint that breaks a published theorem into formalisable definitions and lemmas and records their dependencies
- Formalise a short published result — Zagier's one-sentence proof of Fermat's two-squares theorem — recording every gap and implicit assumption found along the way
- Identify the trusted base of a formal proof and check that a formal statement faithfully captures the published theorem
- Describe completed large formalisations, such as the odd order theorem, the Kepler conjecture and the Liquid Tensor Experiment, and what they did and did not verify
- Contribute to a large library such as Mathlib, and work in a collaborative formalisation project
- 1.
Which of the following does a blueprint for a formalisation project record? (Choose all that apply.)
- A.An informal statement (and proof) for each definition and lemma
- B.For each item, the name of its formal counterpart
- C.Which earlier items each statement or proof uses
- D.A machine-checked proof of every item
- 2.
In Lean, natural-number subtraction is truncated. What is the value of
(2 : ℕ) - 5 + 4? - 3.
For , how many triples of positive integers satisfy ? (This is .)
- 4.
Zagier's three cases do not cover the boundary . Which fact about shows that no element of lies on this boundary?
- A. is not a perfect square
- B. is odd
- C.
- D.Nothing: the boundary case is harmless
- 5.
Take , which is not prime. How many fixed points does Zagier's map have on ?
- 6.
Someone "proves" that every is a sum of two squares by repeating Zagier's sentence. For , which claim of the sentence is false?
- A."has exactly one fixed point"
- B."the finite set "
- C."the involution"
- D.the parity lemma
- 7.
Which Lean statement faithfully formalises "every prime is a sum of two squares"?
- A.
∀ p : ℕ, p.Prime → p % 4 = 1 → ∃ a b : ℕ, a ^ 2 + b ^ 2 = p - B.
∀ p : ℕ, p % 4 = 1 → ∃ a b : ℕ, a ^ 2 + b ^ 2 = p - C.
∀ p : ℕ, p.Prime → p % 4 = 1 → p % 2 = 0 → ∃ a b : ℕ, a ^ 2 + b ^ 2 = p - D.
∃ p : ℕ, p.Prime ∧ p % 4 = 1 ∧ ∃ a b : ℕ, a ^ 2 + b ^ 2 = p
- A.
- 8.
Lean has accepted a 5,000-line formalisation of a published theorem with no
sorry. Which of the following must you still check yourself? (Choose all that apply.)- A.That the formal statement says what the published theorem says
- B.That the definitions the statement uses agree with standard usage
- C.That
#print axiomsshows no unexpected axioms - D.Every intermediate lemma, by hand
- E.That the formal proof follows the paper line by line
- 9.
The formalisation of the Feit–Thompson odd order theorem (completed in 2012) is a standard example of how formal proofs relate to published ones. What did it formalise?
- A.A proof following later, reorganised published accounts (Bender–Glauberman 1994, Peterfalvi 2000), with new general libraries built along the way
- B.The 1963 paper, line by line
- C.Only the statement, with the proof assumed as an axiom
- D.A new proof found by computer search
- 10.
Write
zagier_set(n), returning the sorted list of triples(x, y, z)of positive integers withx*x + 4*y*z == n, andzagier_map(t), Zagier's map with the paper's three cases. The tests check the set for small primes and that the map is an involution with the single fixed point(1, 1, k)forp = 4k + 1.Computational — Practice