VOLUME 1 (2026) · OPEN ACCESS · J. CERTIF. REPROD. SCI.
certXiv Journal of Certified and Reproducible Science
Submit Manuscript
← Back to published articles
TCB-3 · Audited Exploratory ★ Published in certXiv · Vol. 1 (2026) · v1 math.CO cs.LO certxiv:2612.00004 · 2026-12-02

Weighing the Windmill: A Proof of the Pythagorean Theorem from the Outer Hexagon of Euclid's Figure

Tom Maciejewski
Independent Researcher, New Jersey, USA
Read the PDF BibTeX (.bib) Google Scholar (.enw) RIS (.ris) JSON / Agent Record Revise & Resubmit (v2)

Abstract

Euclid proved I.47 by dissecting the windmill figure — the squares erected outward on the three sides of a right triangle. We weigh it whole instead. Its outer hexagon $H$ admits two evaluations: the shoelace formula on the six outer corners gives $2a^2+2b^2+2ab$, an evaluation in which the hypotenuse never appears, while summing the seven pieces that tile $H$ — central triangle, three squares, three flank triangles — gives $a^2+b^2+c^2+2ab$. The two differ by exactly $a^2+b^2-c^2$, so the theorem is the statement that the windmill weighs the same both ways. The pieces evaluation is the classical Vecten identity $\mathrm{Area}(H)=a^2+b^2+c^2+4\,\mathrm{Area}(ABC)$; what we did not locate is its comparison with a second evaluation read off the six corners, and that negative claim is scoped to a stated scan of the two standard catalogues (Loomis, 370 proofs; Cut-the-Knot, 118 approaches, August 2026). Every tool used is shown to precede I.47 in the dependency order of the Elements. The area bookkeeping is formalised in Lean 4 over an arbitrary commutative ring — ordered only where an order is needed, and with no metric structure assumed: the development is sorry-free, uses no axioms outside Lean's three standard ones, and certifies the coordinate-model shoelace identities. It does not formalise the Euclidean dependency argument of Section 2, and the appendix marks that boundary exactly rather than blurring it.

Cite this article BibTeX · Scholar (.enw) · RIS · OAI-PMH
Tom Maciejewski (2026). “Weighing the Windmill: A Proof of the Pythagorean Theorem from the Outer Hexagon of Euclid's Figure.” certXiv: Journal of Certified and Reproducible Science, Vol. 1, Article certxiv:2612.00004 [TCB-3]. https://certxiv.org/abs/certxiv:2612.00004

Verification tier

Tier: TCB-3 (Passed automated citation, DOI-match, and manuscript hygiene gates with disclosed AI provenance; open for formalization upgrade bounties.)
Verifier Notes: Published in certXiv (9 verified refs).
SHA-256 Root: c4a62d874869dd70a3d90412…

Human + AI Provenance & License

AI / Tooling: Human + AI Formalization & Symbolic Verification Pipeline
Human Accountability: Geometric proof construction, non-circularity analysis, Lean 4 specification review, manuscript authorship
Distribution License: CC BY 4.0 (Canonical Publisher: certXiv Archive)

Embed Verification Shield in GitHub README

certXiv TCB-3 badge

What was machine-checked, and what was not

Checked

  • 9 of 12 references resolved in a registry and matched the cited title.

Not checked

  • 3 references could not be matched to a registry record; see the audited bibliography below.
  • Every scientific claim in this article. At this tier only the references and the authors' disclosures are checked.
  • Novelty and importance. No human expert reviewed this article; the AI review is a language model's assessment and can be wrong.

Author's note on verification: Backed locally by an 8-file sorry-free Lean 4 (v4.33.0) Windmill formalization (39 theorems, Merkle root 58ff695032c38533...) and standalone SymPy identity verifier.

AI review (rubric v1.0)

Model: gpt-6.2-astra (codex-cli) · Version v1
Score: 58.0 / 100 · Conditional — Major Revisions Needed (50–69) v1 ✓ Private author coaching emailed 2026-12-02T22:06:38+00:00

Recommendation: revise before certification; retain TCB-3. Weighted rubric score: 2.90/5. The manuscript gives a valid elementary area comparison for a nondegenerate Euclidean right triangle. Its contribution is the choice to evaluate the six outer corners, not a new area identity for the pieces. The main correction is to the public verification record: the reported ring theorem computes a doubled defect for a free variable c; it does not establish that c is a hypotenuse length or that the defect vanishes. The appendix recognizes this distinction, but claim 749 does not. No Lean or SymPy artifact was available in the review package for independent replay.

Problem Formulation 4 / 5
The right angle, positive legs, outward construction, vertex order, and two quantities being compared are explicit. The appendix distinguishes a segment length in the hand proof from a free ring element in a formal statement. The main remaining scope ambiguity is what counts as deriving a modern coordinate-area fact from pre-I.47 propositions.
Methodological Soundness 3 / 5
The six determinants, six turns, flank areas, and final cancellation check out. The ordinary Euclidean argument is sound with standard congruence and area facts. The stronger claim about derivability before I.47 needs an explicit coordinate-to-square argument and a stated basis for numerical area; the tiling and simplicity arguments also merit short justifications.
Evidence Reproducibility 2 / 5
The vertices and displayed sums suffice to reproduce the hand calculation. The review package contained no ancillary source, verifier, or build log; neither structured claim has an artifact digest. The claimed Lean build, proof dependencies, and axiom audit could not be independently replayed. Claim 749 also differs from the appendix in normalization and logical force.
Literature Grounding 3 / 5
The closest comparisons are substantive: NRICH gives the same hexagon and equal-area pieces, while Molokach computes the hypotenuse square by shoelace. Neither cited page presents the manuscript's precise six-corner comparison. The catalogue scan is not documented well enough to certify absence, and the description of Jackson and Johnson as opening the trigonometric approach overlooks Zimba's 2009 work. ([nrich.maths.org](https://nrich.maths.org/problems/squ-areas))
Originality Significance 2 / 5
Evaluating this particular outer boundary is a useful expository variation. Subtracting the other six faces leaves the known tilted-square shoelace calculation, so the gain is a way to see the theorem, not a stronger theorem or a substantially different algebraic mechanism. ([nrich.maths.org](https://nrich.maths.org/problems/squ-areas))
Clarity Calibration 3 / 5
The two evaluations are easy to follow, and the appendix identifies exactly what the length hypothesis gives away. The public claim record loses those distinctions; the abstract also promises a more complete historical dependency audit than the body delivers.

Strengths

  • The outer calculation is independently checkable. The six displayed determinants sum to 4a² + 4b² + 4ab. The central triangle and three flanks contribute 2ab in ordinary area, so subtracting the pieces expression from the outer area gives exactly a² + b² − c².
  • The convexity discussion notices a real pitfall: positive consecutive turns alone do not exclude a star polygon. The ordered edge directions supply information that the six turn signs alone cannot.
  • The appendix discloses a consequential proof dependency: the reported tiling equality uses the direct evaluation of the hypotenuse square. It also explicitly acknowledges that the formal length premise is equivalent to the conclusion. These observations let a reader distinguish correct algebra from an independent formal proof of the geometric argument.
  • The manuscript credits the classical pieces calculation rather than claiming the entire construction. NRICH's published solution explicitly equates the three flank areas to the central area; Molokach's page explicitly evaluates the tilted square and raises the circularity question. ([nrich.maths.org](https://nrich.maths.org/problems/squ-areas))

Technical Critiques & Open Questions

  • Claim 749 conflates three quantities. For the actual seven coordinate lists, the hexagon sum minus the piece sums is identically zero. Replacing the hypotenuse-square summand by 2c² instead gives 2(a² + b² − c²), not the undoubled defect. Even setting the doubled defect to zero does not permit cancellation over every commutative ring: in characteristic two it vanishes for every c. The formal equivalence needs additional hypotheses, and the Euclidean conclusion needs a geometric interpretation.
  • Claim 750's sentence about positive turns matches the six displayed polynomials for positive real legs. Its key, `outer_hexagon_strict_convexity`, names a stronger result. The reported Lean development does not prove simplicity or convexity. In the hand proof the missing implication is from strictly positive turns *and* one full turn to an embedded convex boundary, not from total turning alone.
  • I.46 establishes that a square can be constructed on AB. It does not by itself identify the manuscript's four coordinate points with that square or supply a numerical area theory. A congruence argument and signed-trapezoid derivation would support non-circularity without suggesting that the modern formulas literally occur earlier in the Elements. Euclid's own I.47 compares two rectangles with the leg squares, a more precise contrast than saying he cut up the windmill. ([mathcs.clarku.edu](https://mathcs.clarku.edu/ djoyce/java/elements/bookI/propI46.html))
  • The phrase 'fill the gaps' describes the intended tiling but does not demonstrate it for arbitrary aspect ratio. The stated count of nine opposed interior-edge pairs offers a short route to the signed-area identity; it is not, by itself, proof of disjoint interiors. Likewise, a = b and a:b = 1:100 are interior examples, not boundary cases of a,b > 0.
  • The availability paragraph says the sources are attached, but they were not present in the material supplied for review. The truncated Merkle root, quoted axiom output, and `verified: true` fields do not identify a replayable artifact. This is a limitation of the submitted evidence, not a finding that the reported build failed.

Machine-Readable Claims & Declarations (2)

Declared by the authors windmill_defect_and_euclid_I47 lean4 Lean: Windmill.windmill_defect
Twice the shoelace area of the outer windmill hexagon minus the seven interior pieces equals a^2 + b^2 - c^2 over any commutative ring, yielding a^2 + b^2 = c^2 without metric circularity.
Declared by the authors outer_hexagon_strict_convexity lean4 Lean: Windmill.hexTurns_pos
All six consecutive boundary cross-products of the outer windmill hexagon are strictly positive for a, b > 0.

Citation Impact & Cited-By Ledger (0)

Deduplicated across certXiv Cross-Citation Graph, OpenAlex, Semantic Scholar, Crossref / OpenCitations COCI, DataCite / Zenodo, and Europe PMC.
certXiv citation count badge for certxiv:2612.00004 [![certXiv Cited By](https://certxiv.org/badge/citations/certxiv:2612.00004.svg)](https://certxiv.org/abs/certxiv:2612.00004#cited-by)
Total Citations
0
Independent (Non-Self)
0
In certXiv Graph
0
External Indices (Max)
OA 0 · S2 0 · DC 0 · OC 0

No incoming citations recorded yet. Citations from new certXiv articles are indexed automatically on publication; external citations from OpenAlex, Semantic Scholar, DataCite, and OpenCitations sync continuously.

Audited Bibliography (12 references checked)

[loomis] The Pythagorean Proposition. · DOI: https://doi.org/10.2307/2298680 verified via openalex
[ctk] Pythagorean Theorem and its many proofs verified via openalex
[oliver] 81.20 Pythagoras’ Theorem: an alternative to Note 79.57 · DOI: https://doi.org/10.2307/3618791 verified via crossref
[miraj] Radii of in-circle and ex-circles of a right- angled triangle verified via openalex
[jacksonjohnson] Five or Ten New Proofs of the Pythagorean Theorem · DOI: https://doi.org/10.1080/00029890.2024.2370240 verified via crossref
[maanews] Groundbreaking Pythagorean Research Featured in the American Mathematical Monthly unresolved via openalex
[molokach] Runs, Renormalisation and Inverse Problems for the Pythagorean Angle Lattice unresolved via openalex
[chang] Dissecting Circles to Prove a Square: A Novel Geometric Proof of the Pythagorean Theorem Using Circular Segments and Area Decomposition · DOI: https://doi.org/10.48550/arXiv.2507.02896 · https://arxiv.org/abs/2507.02896 verified via datacite
[nrich] Squ-areas unresolved via none
[icons] Icons of mathematics: an exploration of twenty key images · DOI: https://doi.org/10.5860/choice.49-3911 verified via openalex
[trigratios] Trigonometric Ratios Can Prove the Pythagorean Theorem · DOI: https://doi.org/10.48550/arXiv.2506.06304 · https://arxiv.org/abs/2506.06304 verified via datacite
[navas] Parametric proofs of the Pythagorean theorem via ziggurats and pyramids · DOI: https://doi.org/10.48550/arXiv.2511.00089 · https://arxiv.org/abs/2511.00089 verified via datacite

Full text

· rendered from the author's source

This is an automatic rendering of the manuscript source the author submitted. The layout is approximate, figures are omitted and some LaTeX commands appear as written. The PDF is the version of record.

Abstract. Euclid proved I.47 by dissecting the windmill figure --- the squares erected outward on the three sides of a right triangle. We weigh it whole instead. Its outer hexagon $H$ admits two evaluations: the shoelace formula on the six outer corners gives $2a^2+2b^2+2ab$, an evaluation in which the hypotenuse never appears, while summing the seven pieces that tile $H$ --- central triangle, three squares, three flank triangles --- gives $a^2+b^2+c^2+2ab$. The two differ by exactly $a^2+b^2-c^2$, so the theorem is the statement that the windmill weighs the same both ways. The pieces evaluation is the classical Vecten identity $\mathrm{Area}(H)=a^2+b^2+c^2+4\,\mathrm{Area}(ABC)$; what we did not locate is its comparison with a second evaluation read off the six corners, and that negative claim is scoped to a stated scan of the two standard catalogues (Loomis, 370 proofs; Cut-the-Knot, 118 approaches, August 2026). Every tool used is shown to precede I.47 in the dependency order of the Elements. The area bookkeeping is formalised in Lean 4 over an arbitrary commutative ring --- ordered only where an order is needed, and with no metric structure assumed: the development is sorry-free, uses no axioms outside Lean's three standard ones, and certifies the coordinate-model shoelace identities. It does not formalise the Euclidean dependency argument of Section~2, and the appendix marks that boundary exactly rather than blurring it.

Keywords: Pythagorean theorem, Euclid's windmill, bride's chair, Vecten configuration, flank triangles, shoelace formula, geometric proof, circularity, formalised mathematics, Lean 4

2020 Mathematics Subject Classification: 51M04 (primary); 01A20, 51M05, 68V20 (secondary)

Introduction

Background and Motivation

Few mathematical statements have been proved as often as the Pythagorean theorem. Elisha Scott Loomis devoted a book, The Pythagorean Proposition, to the enterprise, cataloguing 370 proofs in its 1940 second edition and sorting them into four classes --- algebraic, geometric, quaternionic, and dynamic [loomis]. The collection has only grown since: Alexander Bogomolny's Cut-the-Knot website maintains a collection of interactive proofs, stating 118 approaches as of August 2026 [ctk], and the genre remains genuinely newsworthy. In 2024, Ne'Kiya Jackson and Calcea Johnson published five trigonometric proofs and a method yielding at least five more in the American Mathematical Monthly [jacksonjohnson], overturning a widely repeated dictum --- Loomis's own, and stated flatly in his book --- that no trigonometric proof could exist because all of trigonometry presupposes the theorem [loomis]. Their work drew national attention precisely because a two-thousand-year-old theorem had once again yielded something new [maanews].

Problem Statement

Anyone proposing yet another proof of $a^2 + b^2 = c^2$ faces two skeptical questions, and a responsible presentation must answer both explicitly. First, is the argument non-circular? Many tempting routes --- the coordinate distance formula, the law of cosines, $\sin^2\theta + \cos^2\theta = 1$, Heron's formula, power of a point in the form $d^2 - r^2$ --- are the theorem itself in disguise, and even the shoelace area formula has been flagged for this concern [molokach]. Second, is the argument actually different from the hundreds already catalogued? Independent rediscovery is the norm in this literature; a 2025 arXiv preprint claiming novelty after reviewing the same two standard catalogs illustrates both the continuing vitality of the genre and the care its claims require [chang].

Contribution Statement

This note makes two contributions. \begin{enumerate} \item A proof not located in the standard catalogs. Erecting squares on all three sides of a right triangle produces Euclid's windmill figure. Whereas Euclid proved the theorem by dissecting this figure, we compute the area of its outer hexagon two independent ways --- once by the shoelace formula and once by summing its natural pieces --- and the theorem falls out of the comparison (Section~2). The pieces evaluation is the classical Vecten identity $\mathrm{Area}(H) = a^2+b^2+c^2+4\,\mathrm{Area}(ABC)$, which is exactly what the NRICH Squ-areas puzzle asks for [nrich]; the contribution is the second evaluation, taken from the six outer corners without reference to $c$, and the comparison of the two. A targeted scan of the standard catalogs found hexagons used only for dissection arguments [ctk] and this hexagon's area posed only as a puzzle [nrich], never as a two-way computation proving the theorem. \item An explicit circularity audit, with a machine-checked component. Every tool used is shown to sit strictly below Euclid I.47 in the dependency order of the Elements, and every identity was verified symbolically (Section~2.6). The area bookkeeping is moreover formalised in Lean~4 over an arbitrary ordered commutative ring with no metric structure assumed, so the usual square-root definition of $c$ is absent from the generic theorem language. The $c$-based formal theorem has one named area hypothesis, and hypothesis\_is\_the\_conclusion proves exactly that this hypothesis is equivalent to its algebraic conclusion. Appendix (ref), \S (ref), separates that machine-checked equivalence and the coordinate-model identities from the broader Euclidean dependency argument, which remains a hand audit. We treat this audit as part of the result, not an afterthought --- it is the answer any referee should demand. \end{enumerate}

Paper Organization

Section~2 presents the proof with its three lemmas and its circularity hygiene analysis. Section~3 positions it against its nearest catalogued neighbors and states precisely what is and is not claimed. Section~4 concludes, and Appendix (ref) describes the Lean~4 formalisation. Throughout, $a = BC$ and $b = CA$ denote the legs of a right triangle $ABC$ with right angle at $C$, $c = AB$ its hypotenuse, and $s = (a+b+c)/2$ its semiperimeter.

The Windmill Hexagon Proof

Construction

Euclid's own proof of the theorem, Proposition I.47 of the Elements, proceeds by erecting squares on the three sides of the right triangle and dissecting the resulting figure --- the famous ``windmill,'' also called the bride's chair. Our proof uses exactly the same figure but weighs it whole instead of cutting it apart.

Construction. On each side of the right triangle $ABC$, erect a square externally. (A square on a given segment exists by Euclid I.46, whose proof cites only I.3, I.11, I.29, I.31, and I.34 --- all strictly before I.47, so the construction does not presuppose the theorem [loomis].) The three squares leave three gaps at the vertices $A$, $B$, and $C$, and each gap is filled by a triangle, called a flank triangle of the configuration. The central triangle, the three squares, and the three flank triangles together form a hexagon $H$ whose vertices are the six outer corners of the squares. Figure (ref) displays the complete configuration on a $3$-$4$-$5$ triangle.

As shown in Figure (ref), the hexagon's boundary alternates between outer edges of the squares and outer edges of the flank triangles, and the seven pieces tile the hexagon without overlap.

\begin{figure}[ht]

\includegraphics[width=0.72\textwidth]{fig_windmill_hexagon.png} \caption{The windmill hexagon. Squares are erected externally on the three sides of the right triangle $ABC$; the three flank triangles (shaded) fill the gaps. The dashed hexagon $H$ is their union with the central triangle and the three squares.}

\end{figure}

The figure deserves a careful look before any computation, because the entire proof is an act of double accounting performed on it. On the one hand, the hexagon is visibly the union of seven pieces: the central triangle of area $ab/2$, three squares of areas $a^2$, $b^2$, and $c^2$, and three flank triangles. On the other hand, the hexagon is a concrete polygon whose six vertices can be written down explicitly, so its area can be computed directly, without any reference to the squares or to the length $c$. The proof equates these two independent evaluations. Note already that the hypotenuse square is never dissected: it enters the computation only as a single indivisible piece of area $c^2$. This is the structural point on which the proof differs from Euclid's and from all dissection-based arguments.

Lemma 1: Convexity of the Hexagon

Lemma. The hexagon $H$ is convex for all $a, b > 0$.

Proof. Place $C = (0,0)$, $A = (0,b)$, $B = (a,0)$. Erecting the squares externally puts their six outer corners at \[ (-b,0),\quad (0,-a),\quad (a,-a),\quad (a+b,a),\quad (b,a+b),\quad (-b,b), \] listed in boundary order. The six edge vectors are therefore \[ (b,-a),\quad (a,0),\quad (b,2a),\quad (-a,b),\quad (-2b,-a),\quad (0,-b), \] and the cross products of consecutive pairs among them are \[ a^2,\quad 2a^2,\quad 2a^2+b^2,\quad a^2+2b^2,\quad 2b^2,\quad b^2, \] each strictly positive since $a, b > 0$: every turn is a left turn.

Positive turns alone do not yet give convexity, since a closed chain of left turns could wind around twice, as a star polygon does. The edge vectors settle that too. For $a, b > 0$ they lie, in order, in the fourth quadrant, on the positive $x$-axis, in the first quadrant, in the second, in the third, and on the negative $y$-axis: a strictly counterclockwise progression through the six sectors that visits each at most once before returning to its start. The total turning is therefore exactly $2\pi$, so the chain closes after a single revolution and is simple; a simple closed polygon whose every turn has the same orientation is convex.

Convexity matters for a precise reason, and it is worth separating two things that the figure suggests at once. Convexity guarantees that $H$ is a simple closed polygon traversed once, so that the shoelace evaluation of Lemma (ref) returns its area rather than a signed combination of overlapping regions. That the seven pieces tile $H$ --- that they cover it and meet only along edges --- is a separate fact, supplied by the construction rather than by Lemma (ref): the three squares are erected outward on the three sides, and the three flank triangles fill the three gaps exactly. Appendix (ref) certifies the coordinate identity that the proof uses: the shoelace sums of the seven hand-written piece lists add to that of the hexagon list. It proves this by evaluating both sides, not by formalising the tiling or the cancellation of interior edges.

Lemma 2: The Shoelace Evaluation

Lemma. $\mathrm{Area}(H) = 2a^2 + 2b^2 + 2ab$.

Proof. Apply the shoelace formula to the six vertices of Lemma (ref). The formula is pure area bookkeeping --- a signed sum of trapezoid areas --- and involves no length computation [molokach]. The six terms are \[ ab,\quad a^2,\quad 2a^2+ab,\quad a^2+ab+b^2,\quad 2b^2+ab,\quad b^2, \] which sum to $4a^2 + 4b^2 + 4ab$. Halving gives the claim.

Lemma 3: The Flank Triangles

Lemma. Each flank triangle has area $ab/2$, equal to the area of the central triangle.

Proof. The flank at $A$ has vertices $(0,b)$, $(-b,b)$, $(b,a+b)$, and the shoelace formula gives area $ab/2$; the other two flanks are handled identically. A coordinate-free argument is equally short and is classical: rotating a flank triangle by $90^\circ$ about its triangle vertex carries it onto a triangle having the same base and the same height as $ABC$ --- the observation behind the Vecten configuration, in which each flank of the three-square figure has the same area as the original triangle [icons].

Main Theorem

Theorem (Pythagoras). $a^2 + b^2 = c^2$.

Proof. Evaluate $\mathrm{Area}(H)$ from its pieces using Lemmas (ref) and (ref): \begin{equation} \mathrm{Area}(H) \;=\; \underbrace{\frac{ab}{2}}_{\text{central}} + \underbrace{a^2 + b^2 + c^2}_{\text{three squares}} + \underbrace{3 \cdot \frac{ab}{2}}_{\text{three flanks}} \;=\; a^2 + b^2 + c^2 + 2ab. \end{equation} This is the classical identity $\mathrm{Area}(H) = a^2+b^2+c^2+4\,\mathrm{Area}(ABC)$ for the three-square configuration (see Section~3.2); the content of the argument is not this evaluation but its comparison with the next one. Lemma (ref) evaluated the same area independently, without reference to $c$: \begin{equation} \mathrm{Area}(H) \;=\; 2a^2 + 2b^2 + 2ab. \end{equation} Equating (ref) and (ref) and cancelling gives $a^2 + b^2 = c^2$.

One symbolic check is worth recording: the difference of the right-hand sides of (ref) and (ref) is exactly $a^2 + b^2 - c^2$, so the two evaluations agree if and only if the theorem holds --- the proof compresses the theorem into a single conservation identity.

Circularity Hygiene

Because the argument runs through coordinates, its non-circularity must be argued, not assumed; Molokach's shoelace-based proof on Cut-the-Knot explicitly leaves the analogous question open [molokach]. Three observations settle it.

First, the length $c$ is a primitive symbol throughout: it names the segment $AB$, and at no point is it rewritten as $\sqrt{a^2+b^2}$. The square on $AB$ is ``the square on the segment $AB$,'' whose side has length $c$ by construction (Euclid I.46), not a figure whose side length has been computed.

Second, every coordinate step is an area step. The shoelace formula is a signed sum of trapezoid areas, derivable from the rectangle and triangle area formulas alone; no distance formula appears anywhere in the proof. The placement of the outer corners --- rotating the vector $(a,-b)$ to $(b,a)$ --- is the coordinate encoding of ``erect a perpendicular of equal length,'' i.e., Euclid I.11 together with I.3, both preceding I.47.

Third, the one Euclidean construction invoked, the square on a segment (I.46), immediately precedes I.47 in the Elements and depends only on I.3, I.11, I.29, I.31, and I.34 [loomis]. Hence every ingredient of the proof is available before the theorem it proves. All identities above were additionally verified symbolically with a computer algebra system, including the boundary cases $a = b$ and $a : b = 1 : 100$; the verification confirms the algebra but the proof above stands by hand. The area bookkeeping has in addition been formalised in Lean~4 over an arbitrary ordered commutative ring with no metric structure assumed, so $\sqrt{a^2+b^2}$ is unavailable in the generic statements. The formalisation certifies the coordinate-model shoelace identities, but it does not discharge the dependency argument of this subsection; Appendix (ref), \S (ref), states that boundary precisely.

Related Work and Novelty Positioning

Families of Proofs

Loomis's four classes still organize the landscape [loomis]. Dissection and rearrangement proofs, from Zhao Shuang's xian tu to Bhaskara's ``Behold!'', compute a large square's area from pieces; Euclid I.47 itself dissects the windmill; similarity proofs read the theorem off the altitude to the hypotenuse; circle-based proofs invoke Ptolemy's theorem or power of a point [ctk]; and the trigonometric frontier was opened by Jackson and Johnson [jacksonjohnson], with follow-up analysis of the underlying identities already appearing [trigratios]. Area-rearrangement proofs remain an active vein: Navas gives two parametric families of them, organised by a single angular parameter [navas].

Closest Neighbors to the Windmill Hexagon

Four catalogued items neighbor the proof of Section~2, and each differs from it in an identifiable way. (i) Hexagons enter the Cut-the-Knot collection only through dissection: da Vinci's Proof \#16 and King's Proof \#38 argue by congruence and tessellation, never by evaluating the hull's area [ctk]. (ii) Molokach's shoelace proof applies the same formula we use, but to the single tilted square on the hypotenuse, and its page leaves the circularity question explicitly open [molokach]; our Section~2.6 answers that question for our argument, and our polygon is the whole windmill, not one square. (iii) The NRICH Squ-areas problem asks for the area of this same hexagon, for a general triangle and as a numerical puzzle, with no second evaluation and no theorem extracted [nrich]. Its answer amounts to the classical identity $\mathrm{Area}(H) = a^2+b^2+c^2+4\,\mathrm{Area}(ABC)$, which is the pieces side of our computation; what is not classical is evaluating the same hexagon a second time, from its six corners, without reference to $c$. (iv) The flank triangles are classical --- equal in area to the central triangle since at least Vecten's nineteenth-century studies [icons] --- but in the literature they serve dissections, not global bookkeeping. The synthesis in Section~2 was not located in either standard catalog [ctk,loomis].

Remark (a second, known instance of the same pattern). The same right triangle supports a second two-way computation, and it is worth recording because it shows the pattern of Section~2 is not a one-off. The incircle's contact square at the right angle gives $r = s-c$ and the $C$-excircle's gives $r_c = s$, whence $\mathrm{Area} = rs = s(s-c)$, while the perpendicular legs give $\mathrm{Area} = ab/2$; the two evaluations differ by $(a^2+b^2-c^2)/4$. Both arguments are therefore instances of one move --- evaluate a single quantity two ways, and read the Pythagorean defect off the discrepancy. We claim nothing here. The incircle spine is Bogomolny's Proof \#42, published by Oliver [oliver] and attributed by Bogomolny to M\"ollmann [ctk]; the right-angle contact squares for both the incircle and the $C$-excircle, with $r = z = s-c$ and $r_c = x+y+z = s$, are given by Miraj [miraj], so the corollaries $r_c - r = c$, $r_c + r = a+b$ and $r\,r_c = \mathrm{Area}$ follow from published work and are not new. Note also that this construction, unlike the one in Section~2, uses tangency results from Book~III and so carries no claim of sitting below I.47.

What Is and Is Not Claimed

We claim: the windmill-hexagon evaluation (Section~2) is a correct, non-circular proof whose specific synthesis --- the second evaluation from the six outer corners, compared against the classical pieces evaluation --- was not located in Loomis's catalogue or the Cut-the-Knot collection, and every ingredient provably predates I.47 in the Elements [loomis]. We do not claim the figure, the flank-area fact, or the pieces evaluation: all three are classical. We do not claim priority in any absolute sense: centuries of proof-collecting make independent rediscovery likely, and the most honest novelty statement available is the one we give --- not found in the standard catalogs [ctk,loomis]. The same posture was adopted, for the same reason, by recent comparable preprints [chang,navas].

Conclusion

Euclid proved the Pythagorean theorem by cutting his windmill into pieces; weighing the same windmill whole --- computing its outer hexagon's area once by shoelace and once by pieces --- proves the theorem again, because the two evaluations differ by exactly $a^2 + b^2 - c^2$. A known construction through the incircle and the opposite excircle turns out to be the same move in different dress: there too a single area is evaluated twice, and the discrepancy is the Pythagorean defect, now scaled by a quarter. A natural next question is systematic: which other classical configurations admit a ``global area bookkeeping'' identity whose two evaluations are related by exactly the Pythagorean defect $a^2 + b^2 - c^2$? Any such configuration carries a proof of the theorem inside it, waiting to be weighed.

\appendix

A machine-checked formalisation

The argument of Section~2 has been formalised in Lean~4. The development is compact --- 309 lines of code across seven files, plus rather more again in documentation --- and its purpose is narrow, narrower than one might first suppose. It machine-checks coordinate shoelace identities at the places where hand algebra is most vulnerable. It also gives a name to the one hypothesis of the formulation involving a symbol \(c\), and proves precisely that this hypothesis is equivalent to the desired algebraic conclusion. What the development certifies is a collection of area identities in a coordinate model; it does not certify the informal argument of Section~2 or its claimed dependency structure. Section (ref) separates the machine-checked statements from that broader inference.

The design decision: an arbitrary ordered ring

A coordinate formalisation of this theorem has a characteristic failure mode. In \(\mathbb{R}^2\) with the usual metric, \(c\) --- the distance from \((0,b)\) to \((a,0)\) --- is defined to be \(\sqrt{a^2+b^2}\), so \(a^2+b^2=c^2\) unfolds to a lemma about square roots. Such a development is not worthless; it certifies the theorem relative to the inner-product-space definitions. But that is a different claim from the one a circularity audit makes, which concerns Euclid's pre-I.47 dependency order.

The development therefore states every result over an arbitrary commutative ring \(R\), with a compatible linear order added only where an order is genuinely needed (the sign data used by the hand proof of convexity, and the final cancellation of the factor \(2\)). No norm, metric, or square-root operation is assumed on the generic ring, so the expression \(\sqrt{a^2+b^2}\) is not expressible in the generic theorem statements.

Two caveats, both of which cut against reading more into this than it will bear.

First, removing the square root does not remove the relevant quadratic polynomials. The development still defines \(p \mathbin{.dot} q = p_xq_x + p_yq_y\) and \(p\mathbin{.sq} = p_x^2+p_y^2\), the algebraic formulas used for the Euclidean dot product and squared norm. The ring setting excludes the square-root operation, not these formulas. Correspondingly, \verb|hyp_equilateral| proves equality of four \(\mathrm{Pt.sq}\) values. That is a polynomial statement, not, on its own, a statement about lengths in any geometry. Likewise the equations in \verb|hyp_right_angles| are vanishing \(\mathrm{Pt.dot}\) values, not themselves statements about angles.

Second, the setting does not kill the circularity trap; it relocates it. The distinction is worth stating carefully, because it is easy to declare victory here and be wrong. The quadrilateral erected on the hypotenuse is specified by its coordinates, so its \verb|shoelace2| value is computed rather than posited, and that computation returns \(2a^2+2b^2\). Under the intended area interpretation this is an area of \(a^2+b^2\). The formal theorem's hypothesis that the shoelace value equals \(2c^2\) is therefore equivalent, inside the development, to the Pythagorean relation itself. Section (ref) states and proves that equivalence. The theorem establishes this fact about the particular \(c\)-based formulation; it is not a theorem about every possible formalisation or about Euclid's dependency order.

What survives, and it is not nothing, is this. The coordinate bookkeeping of Section~2 --- the stated shoelace evaluations, the equality between the sum of the seven piece-list shoelace functionals and the hexagon-list functional, the strict positivity of all six turns and of the hexagon's shoelace sum, the sector signs of the six edge vectors, and the equal \(\mathrm{Pt.sq}\) values and vanishing consecutive \(\mathrm{Pt.dot}\) values for the figure on \(AB\) --- is verified by the kernel. The polynomial identities hold over any commutative ring; the sign results add the stated order and positivity hypotheses. Convexity and simplicity of \(H\) are not among these; see \S (ref). The \(c\)-based formulation then exposes its additional premise explicitly, and \verb|hypothesis_is_the_conclusion| proves the equivalence just described.

One further gap should be stated, since nothing else in this appendix implies it. What the kernel does not check is the faithfulness of the model. The vertex lists in \verb|Config.lean| are hand-written definitions; no theorem asserts that the two leg lists represent squares (only the figure on \(AB\) receives the \(\mathrm{Pt.sq}\)/\(\mathrm{Pt.dot}\) checks), that the flank lists fill the reflex gaps, or that \verb|hexagon| is the outer boundary of the union. That correspondence between figure and coordinates is an assumption of the formalisation, read off the figure exactly as in Section~2.

What is proved

Areas are carried as twice the signed shoelace sum throughout, so that every statement is division-free and survives the passage to a general ring. Writing \verb|shoelace2| for that functional:

\begin{center} \begin{tabular}{@{}lll@{}} \hline Theorem & File & Content \\ \hline \verb|shoelace2_hexagon| & \verb|Areas| & hexagon sum \(=4a^2+4b^2+4ab\) \\ \verb|hexTurns_pos| & \verb|Convexity| & all six turns are strictly positive \\ \verb|hexEdges_sector_| & \verb|Convexity| & the six edge vectors have the signs of \\ \quad\verb|signs| & & sectors IV, \(+x\), I, II, III, \(-y\) \\ \verb|hyp_equilateral| & \verb|HypSquare| & equal \verb|Pt.sq| on four edges \\ \verb|hyp_right_angles| & \verb|HypSquare| & \verb|Pt.dot = 0| on adjacent edges \\ \verb|flanks_eq_central| & \verb|Areas| & flank sums \(=\) central sum \\ \verb|tiling_shoelace| & \verb|Tiling| & seven piece sums \(=\) hexagon sum \\ \verb|euclid_I47| & \verb|Tiling| & three-list coordinate shoelace equality \\ \verb|windmill_defect| & \verb|Tiling| & difference \(=2(a^2{+}b^2{-}c^2)\) \\ \verb|hypothesis_is_| & \verb|Tiling| & \verb|hc| is equivalent to the conclusion \\ \quad\verb|the_conclusion| & & \\ \hline \end{tabular} \end{center}

Three of these deserve comment.

The tiling.

\verb|tiling_shoelace| states that the seven piece lists' shoelace sums add to the hexagon list's sum. That is the numerical consequence expected from interior edges cancelling in pairs in the intended geometric model, and the proof establishes it by evaluating both sides --- each reducing to \(4a^2+4b^2+4ab\) --- not by exhibiting the cancellation. The cancellation is real: of the 24 directed edges of the seven pieces, nine opposed pairs annihilate and the residue is exactly the six edges of \(H\), correctly oriented. But it is the evaluation, not the pairing, that the kernel checks.

Convexity, and how far the kernel goes.

Lemma (ref) needs more than positive turns, since a closed chain of left turns can wind twice. The development supplies the two sign certificates that argument runs on: \verb|hexTurns_pos|, all six turns strictly positive, and \verb|hexEdges_sector_signs|, the six edge vectors occupying sectors IV, \(+x\), I, II, III, \(-y\) in order. It goes no further. Convexity is nowhere stated in the development; the passage from these signs to total turning \(2\pi\), and thence to simplicity, is the hand argument of Lemma (ref).

The coordinate figure on the hypotenuse.

\verb|HypSquare| certifies four equal values of the polynomial \(x^2+y^2\) and four vanishing dot products, without defining or computing any side length: the four edge vectors are successive quarter turns of one another, a quarter turn preserves \verb|Pt.sq|, and adjacent turns have \verb|Pt.dot| zero. In the intended real-coordinate model, these are the algebraic formulas associated with ``erect a perpendicular of equal length outward'' (Euclid I.11 and I.3). Over a general ring they remain polynomial statements; calling the figure a square, or the edge pairs perpendicular, is an interpretation of them rather than a further theorem.

The coordinate-model identity with no \(c\)

The development also gives the following equality of shoelace functionals for three coordinate-defined polygon lists. It has no proposition-valued hypothesis and no length symbol:

\begin{verbatim} theorem euclid_I47 : shoelace2 (sqHyp a b) = shoelace2 (sqLegA b) + shoelace2 (sqLegB a) \end{verbatim}

Under the intended Euclidean interpretation of the three lists as the squares on the sides of the right triangle, this is the area equality asserted by I.47. The Lean statement itself does not prove that interpretation: it is an equality of three \verb|shoelace2| values over a commutative ring. Its proof rests on \verb|propext| alone.

One point of provenance should be stated plainly, because the surface proof script is misleading. The body of \verb|euclid_I47| invokes \verb|tiling_shoelace| and rewrites the hexagon, central, flank, and two leg-list terms, leaving the \verb|sqHyp| term to solve for. But the proof of \verb|tiling_shoelace| itself rewrites with \verb|shoelace2_sqHyp_coordinate|, the direct coordinate evaluation of that same term. Thus the transitive proof of \verb|euclid_I47| depends on the direct \verb|sqHyp| evaluation. It is a coordinate-algebraic corollary, not an independent derivation of that term from a formalised tiling.

A structural boundary-edge-cancellation proof of \verb|tiling_shoelace| that did not use the direct \verb|sqHyp| evaluation would remove this particular dependency; none is supplied here. Even such a reproof would not by itself prove model faithfulness or synthetic Euclid I.47. The present theorem's exact virtue is narrower: it records a valid polynomial equality with no additional proposition and no free symbol \(c\).

What goes wrong if you insist on a length

The missing geometric interpretation is easiest to see in the formulation with a ring element \(c\), intended in the paper to denote the hypotenuse length. The formal theorem takes the following hypothesis:

\begin{verbatim} theorem pythagoras_of_hyp_square_area (hc : shoelace2 (sqHyp a b) = 2 * c ^ 2) : a ^ 2 + b ^ 2 = c ^ 2 \end{verbatim}

Under the paper's intended Euclidean reading, this says that the coordinate figure on \(AB\) has area \(c^2\), where \(c\) denotes the length of \(AB\). Euclid I.46 supplies the square on \(AB\) in the hand construction. The modern numerical notation \(c^2\) for its area is part of the paper's area convention; the Lean development does not formalise that convention or assign a Euclidean proposition as its provenance.

In Section~2 that hypothesis is discharged by the construction: \(c\) names the segment \(AB\), and the figure erected on \(AB\) is a square of side \(c\). In the formalisation it is not discharged, and no theorem here supplies the missing interpretation. Nothing stated over an ordered commutative ring relates the symbol \(c\) to the segment \(AB\), because no length function appears in the development. Section (ref) draws the consequence, which is that this formulation gives away the game.

The moral is narrow and worth stating precisely, because it is easy to inflate. There is no deep obstruction here. The particular difficulty is created by introducing a would-be length symbol in a setting that defines no lengths; omitting \(c\) removes that particular gap. It does not turn the coordinate identity of \S (ref) into a synthetic formalisation of Euclid or prove the faithfulness of the coordinate model. The exercise shows that a formalisation can look like a certificate for an informal argument while certifying something weaker, and that the gap is invisible until the statement and its dependencies are written out.

Axiom audit

The audit prints the axiom dependencies of twenty-one named declarations. None depends on an axiom outside Lean's three standard ones, and most need strictly fewer:

\begin{verbatim} 'Windmill.tiling_shoelace' depends on axioms: [propext] 'Windmill.hyp_equilateral' depends on axioms: [propext] 'Windmill.hyp_right_angles' depends on axioms: [propext] 'Windmill.windmill_defect' depends on axioms: [propext, Quot.sound] 'Windmill.pythagoras_of_hyp_square_area' depends on axioms: [propext, Classical.choice, Quot.sound] 'Windmill.hypothesis_is_the_conclusion' depends on axioms: [propext, Classical.choice, Quot.sound] \end{verbatim}

That is an excerpt; the audit prints twenty-one such lines.

There is no \verb|sorry|, no \verb|native_decide|, and no locally declared axiom; most of the bookkeeping needs only \verb|propext|. The script \verb|scripts/audit.sh| reproduces this, additionally greps the sources (comments stripped) for every tool on the Section~2.6 blacklist --- the distance formula, the law of cosines, \(\sin^2\theta+\cos^2\theta=1\), Heron, Stewart/Apollonius, the tangent-length formula --- and confirms that none occurs. The generic declarations assume no metric or trigonometric structure. The grep is a separate source-level check of the seven project modules; it does not scan transitive Mathlib imports.

The exact certification boundary

Being blunt here, because the temptation to overstate is strong and an earlier draft of this appendix yielded to it.

Because \verb|sqHyp| is specified by coordinates, its \verb|shoelace2| value is computed rather than posited, and evaluates to \(2a^2+2b^2\). The hypothesis \verb|hc| of \S (ref) therefore unfolds to \(2a^2+2b^2 = 2c^2\): the desired conclusion, divided by two. The development records this as a theorem rather than a footnote,

\begin{verbatim} theorem hypothesis_is_the_conclusion : shoelace2 (sqHyp a b) = 2 * c ^ 2 <-> a ^ 2 + b ^ 2 = c ^ 2 \end{verbatim}

so \verb|pythagoras_of_hyp_square_area| is algebraically a division by two. The generic setting removes the usual square-root definition of \(c\), but no length function is present to assert that \(c\) is the length of \(AB\). Closing that gap would require additional geometry in which length and the coordinate model are related; no such development is attempted here. The displayed equivalence proves only the claim about this particular hypothesis and conclusion.

\begin{sloppypar} Stating the boundary positively first: the development certifies the direct coordinate shoelace evaluations; \verb|tiling_shoelace| as an equality of functionals proved by those evaluations; \verb|euclid_I47| as the coordinate-algebraic corollary whose provenance is described above; \verb|pieces2_eq| and \verb|windmill_defect| for every ring element \(c\); the strict positivity of the six turns and of the hexagon list's shoelace sum, under the stated positivity hypotheses; the sector signs of the six edge vectors; and, for the figure on \(AB\), the equal \verb|Pt.sq| values together with the vanishing \verb|Pt.dot| values on consecutive sides. Under the intended real-coordinate interpretation, the shoelace equalities are area identities. \end{sloppypar}

It does not certify the informal argument of Section~2 or its claimed pre-I.47 dependency structure; it does not formalise I.46 synthetically; it does not prove the seven pieces have pairwise disjoint interiors; it does not establish convexity or simplicity of \(H\); it does not check that the hand-written vertex lists faithfully represent the figure; and it does not treat the known incircle construction of Section~3.2. These are statements about the development as inspected, not consequences of \verb|hypothesis_is_the_conclusion|.

Availability

The development builds against Lean~4.33.0 and mathlib~v4.33.0, both pinned in the ancillary source bundle. lake build completes with no warnings and no errors.

The complete Lean sources are attached to this preprint as ancillary files (directory anc/), so the development can be read and rebuilt without reference to any external service. Build with lake exe cache get \&\& lake build, and reproduce the audit of \S (ref) with ./scripts/audit.sh. The ancillary bundle identifies the exact sources accompanying this submission.

Upgrade Verification Tier for certxiv:2612.00004

Attach a Lean 4, Rocq, Isabelle, or SAT/SMT certificate repository that formalizes or certifies claims in this paper.

Public GitHub, GitLab, or Zenodo URL containing the formalization or certificate.