~/talk

Windmills of the minds: an algorithm for Fermat's Two Squares Theorem

Talkat CPP 2022 · 2022-01-17..01-18
links:none on file
slides:none on file

Formalised in HOL, the method turns Ségier’s parity argument on involutions into a concrete loop: represent n = x^2 + 4yz as windmill patterns, alternate the flip involution (swap y and z) and the mind involution (three simple cases: add, subtract, double) starting from a known non-Ségier fixed windmill, and stop when a fixed point x,y,y appears giving n = x^2 + y^2. Code has a termination proof, runs quickly for small n but is exponential in the worst case (minutes for ~11‑digit inputs).

AI-written summary · about

  1. 0:00Introduction
  2. 4:50Computation
  3. 7:20The mind
  4. 12:33Proof
  5. 15:05Questions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.