{
 "status": "proved",
 "decl": "EuclideanGeometry.pappus_area",
 "lean_source": "import Mathlib\n\n/-!\n# Pappus's area theorem\n\nWe prove Pappus's area theorem (Wikidata Q3527044) in the Euclidean plane\n`EuclideanSpace ℝ (Fin 2)`, for arbitrary (possibly oblique) parallelograms erected outside a\ntriangle, with area meaning Lebesgue measure (`MeasureTheory.volume`) of the parallelogram as a set.\n\nThe proof is by determinants: the area of the parallelogram `P +ᵥ parallelepiped ![p, q]` is\n`|p 0 * q 1 - p 1 * q 0|` (`EuclideanGeometry.volume_vadd_parallelepiped`), the \"outside\"\nhypotheses (`AffineSubspace.SOppSide`) are translated into sign conditions on such determinants,\nand the third signed area is the difference of the other two, which have opposite signs.\n\n## Main statements\n\n* `EuclideanGeometry.pappus_area`: Pappus's area theorem.\n-/\n\nopen MeasureTheory\nopen scoped Pointwise\n\nnamespace EuclideanGeometry\n\nlocal notation \"ℝ²\" => EuclideanSpace ℝ (Fin 2)\n\n/-- The planar cross product (a `2 × 2` determinant) of two vectors of the Euclidean plane. -/\nnoncomputable def cross₂ (p q : ℝ²) : ℝ := p 0 * q 1 - p 1 * q 0\n\ntheorem ext₂ {p q : ℝ²} (h0 : p 0 = q 0) (h1 : p 1 = q 1) : p = q := by\n  ext i; fin_cases i\n  · exact h0\n  · exact h1\n\ntheorem mem_line_iff {P Q X : ℝ²} : X ∈ line[ℝ, P, Q] ↔ ∃ r : ℝ, X = P + r • (Q - P) := by\n  have hX : X = (X - P) +ᵥ P := by simp [vadd_eq_add]\n  rw [hX, vadd_left_mem_affineSpan_pair]\n  simp only [vsub_eq_sub, vadd_eq_add, sub_add_cancel]\n  constructor\n  · rintro ⟨r, hr⟩\n    exact ⟨r, by rw [hr]; abel⟩\n  · rintro ⟨r, hr⟩\n    exact ⟨r, by rw [hr]; abel⟩\n\ntheorem volume_vadd_parallelepiped (P p q : ℝ²) :\n    volume (P +ᵥ parallelepiped ![p, q]) = ENNReal.ofReal |cross₂ p q| := by\n  rw [← Set.image_vadd]\n  simp only [vadd_eq_add, Set.image_add_left, measure_preimage_add]\n  rw [← (EuclideanSpace.basisFun (Fin 2) ℝ).addHaar_eq_volume, Measure.addHaar_parallelepiped,\n    Module.Basis.det_apply, Matrix.det_fin_two]\n  simp [Module.Basis.toMatrix_apply, cross₂]\n  congr 1; ring\n\ntheorem cross₂_mul_cross₂_neg_of_sOppSide {P Q X Y : ℝ²} (h : line[ℝ, P, Q].SOppSide X Y)\n    (hY : cross₂ (Q - P) (Y - P) ≠ 0) :\n    cross₂ (Q - P) (X - P) * cross₂ (Q - P) (Y - P) < 0 := by\n  rw [AffineSubspace.sOppSide_iff_exists_left (left_mem_affineSpan_pair ℝ P Q)] at h\n  obtain ⟨hX, hY', p₂, hp₂, hr⟩ := h\n  obtain ⟨r, rfl⟩ := mem_line_iff.1 hp₂\n  simp only [vsub_eq_sub] at hr\n  rcases hr with h0 | h0 | ⟨r₁, r₂, hr₁, hr₂, he⟩\n  · exact absurd (by rw [sub_eq_zero.1 h0]; exact left_mem_affineSpan_pair ℝ P Q) hX\n  · exact absurd (by rw [← sub_eq_zero.1 h0]; exact hp₂) hY'\n  · have e0 := congrArg (· 0) he\n    have e1 := congrArg (· 1) he\n    simp only [PiLp.smul_apply, PiLp.sub_apply, PiLp.add_apply, smul_eq_mul] at e0 e1\n    have key : r₁ * cross₂ (Q - P) (X - P) = -r₂ * cross₂ (Q - P) (Y - P) := by\n      simp only [cross₂, PiLp.sub_apply]\n      linear_combination (Q 0 - P 0) * e1 - (Q 1 - P 1) * e0\n    have hsq : 0 < cross₂ (Q - P) (Y - P) ^ 2 := by positivity\n    have h2 : r₁ * (cross₂ (Q - P) (X - P) * cross₂ (Q - P) (Y - P)) =\n        -(r₂ * cross₂ (Q - P) (Y - P) ^ 2) := by\n      rw [← mul_assoc, key]; ring\n    by_contra hc\n    push Not at hc\n    nlinarith [mul_nonneg hr₁.le hc, mul_pos hr₂ hsq]\n\ntheorem sOppSide_of_cross₂_mul_cross₂_neg {P Q X Y : ℝ²}\n    (h : cross₂ (Q - P) (X - P) * cross₂ (Q - P) (Y - P) < 0) :\n    line[ℝ, P, Q].SOppSide X Y := by\n  have hX : cross₂ (Q - P) (X - P) ≠ 0 := by rintro h0; rw [h0, zero_mul] at h; exact lt_irrefl _ h\n  have hY : cross₂ (Q - P) (Y - P) ≠ 0 := by rintro h0; rw [h0, mul_zero] at h; exact lt_irrefl _ h\n  rw [AffineSubspace.sOppSide_iff_exists_left (left_mem_affineSpan_pair ℝ P Q)]\n  refine ⟨fun hm => ?_, fun hm => ?_, ?_⟩\n  · obtain ⟨r, hr⟩ := mem_line_iff.1 hm\n    exact hX (by rw [hr]; simp only [cross₂, PiLp.sub_apply, PiLp.add_apply, PiLp.smul_apply,\n      smul_eq_mul]; ring)\n  · obtain ⟨r, hr⟩ := mem_line_iff.1 hm\n    exact hY (by rw [hr]; simp only [cross₂, PiLp.sub_apply, PiLp.add_apply, PiLp.smul_apply,\n      smul_eq_mul]; ring)\n  · set a := X - P\n    set b := Y - P\n    set d := Q - P\n    have had : cross₂ a d ≠ 0 := by\n      intro h0; apply hX; simp only [cross₂] at h0 ⊢; linarith\n    refine ⟨P + (cross₂ a b / cross₂ a d) • d, mem_line_iff.2 ⟨_, rfl⟩, ?_⟩\n    simp only [vsub_eq_sub]\n    have hc : 0 < cross₂ d b / cross₂ a d := by\n      have : cross₂ a d = -cross₂ d a := by simp only [cross₂]; ring\n      rw [this, div_neg, neg_pos]\n      rcases lt_or_gt_of_ne hX with hx | hx\n      · exact div_neg_of_pos_of_neg (by nlinarith) hx\n      · exact div_neg_of_neg_of_pos (by nlinarith) hx\n    have hY' : Y = P + b := by simp [b]\n    have key : P + (cross₂ a b / cross₂ a d) • d - Y = (cross₂ d b / cross₂ a d) • a := by\n      rw [hY']\n      simp only [cross₂] at had ⊢\n      refine ext₂ ?_ ?_ <;>\n      · simp only [PiLp.sub_apply, PiLp.add_apply, PiLp.smul_apply, smul_eq_mul]\n        field_simp\n        ring\n    rw [key]\n    exact SameRay.sameRay_pos_smul_right a hc\n\ntheorem cross₂_ne_zero_of_not_collinear {A B C : ℝ²} (h : ¬ Collinear ℝ {A, B, C}) :\n    cross₂ (B - A) (C - A) ≠ 0 := by\n  intro h0\n  apply h\n  by_cases hu : B = A\n  · subst hu\n    rw [Set.insert_eq_of_mem (Set.mem_insert _ _)]\n    exact collinear_pair ℝ B C\n  have hC : C ∈ line[ℝ, A, B] := by\n    simp only [cross₂, PiLp.sub_apply] at h0\n    by_cases h00 : B 0 - A 0 = 0\n    · have h11 : B 1 - A 1 ≠ 0 := by\n        intro h11; apply hu; exact ext₂ (by linarith) (by linarith)\n      have hv0 : C 0 - A 0 = 0 := by\n        rw [h00, zero_mul, zero_sub, neg_eq_zero] at h0\n        exact (mul_eq_zero.1 h0).resolve_left h11\n      refine mem_line_iff.2 ⟨(C 1 - A 1) / (B 1 - A 1), ext₂ ?_ ?_⟩ <;>\n        simp only [PiLp.sub_apply, PiLp.add_apply, PiLp.smul_apply, smul_eq_mul]\n      · rw [h00, mul_zero]; linarith\n      · rw [div_mul_cancel₀ _ h11]; ring\n    · have h1 : (C 0 - A 0) / (B 0 - A 0) * (B 1 - A 1) = C 1 - A 1 := by\n        rw [div_mul_eq_mul_div, div_eq_iff h00]; linear_combination -h0\n      refine mem_line_iff.2 ⟨(C 0 - A 0) / (B 0 - A 0), ext₂ ?_ ?_⟩ <;>\n        simp only [PiLp.sub_apply, PiLp.add_apply, PiLp.smul_apply, smul_eq_mul]\n      · rw [div_mul_cancel₀ _ h00]; ring\n      · rw [h1]; ring\n  have := collinear_insert_of_mem_affineSpan_pair hC\n  convert this using 1\n  ext p\n  simp only [Set.mem_insert_iff, Set.mem_singleton_iff]\n  tauto\n\nprivate theorem cramer_aux {u₀ u₁ v₀ v₁ x₀ x₁ y₀ y₁ : ℝ} (hk : u₀ * v₁ - u₁ * v₀ ≠ 0) :\n    x₀ + (v₀ * x₁ - v₁ * x₀ - (v₀ * y₁ - v₁ * y₀)) / (u₀ * v₁ - u₁ * v₀) * u₀ =\n        y₀ + (u₀ * x₁ - u₁ * x₀ - (u₀ * y₁ - u₁ * y₀)) / (u₀ * v₁ - u₁ * v₀) * v₀ ∧\n      x₁ + (v₀ * x₁ - v₁ * x₀ - (v₀ * y₁ - v₁ * y₀)) / (u₀ * v₁ - u₁ * v₀) * u₁ =\n        y₁ + (u₀ * x₁ - u₁ * x₀ - (u₀ * y₁ - u₁ * y₀)) / (u₀ * v₁ - u₁ * v₀) * v₁ := by\n  have hinv := mul_inv_cancel₀ hk\n  constructor\n  · linear_combination (y₀ - x₀) * hinv\n  · linear_combination (y₁ - x₁) * hinv\n\n/-- **Pappus's area theorem** (Wikidata [Q3527044](https://www.wikidata.org/wiki/Q3527044)).\n\n\"Given an arbitrary triangle with two arbitrary parallelograms attached to two of its sides the\ntheorem tells how to construct a parallelogram over the third side, such that the area of the third\nparallelogram equals the sum of the areas of the other two parallelograms.\" Concretely: let `A`, `B`, `C` be non-collinear\npoints of the Euclidean plane. Erect on `AB` the parallelogram with sides `AB` and `x`, and on `AC`\nthe parallelogram with sides `AC` and `y`, both outside the triangle (`A + x` lies strictly on the\nother side of line `AB` from `C`, and `A + y` strictly on the other side of line `AC` from `B`); the\nparallelograms may be oblique. Then the lines of the sides opposite to `AB` and `AC` meet in exactly\none point `H`, the parallelogram on `BC` whose second side is the vector `A - H` (from `H` to `A`)\nlies on the other side of line `BC` from `A`, and its area (Lebesgue measure) is the sum of the\nareas of the two given parallelograms. -/\ntheorem pappus_area (A B C x y : ℝ²) (hABC : ¬ Collinear ℝ {A, B, C})\n    (hx : line[ℝ, A, B].SOppSide (A + x) C) (hy : line[ℝ, A, C].SOppSide (A + y) B) :\n    (∃! H, H ∈ line[ℝ, A + x, B + x] ∧ H ∈ line[ℝ, A + y, C + y]) ∧\n    ∀ H, H ∈ line[ℝ, A + x, B + x] → H ∈ line[ℝ, A + y, C + y] →\n      line[ℝ, B, C].SOppSide (B + (A - H)) A ∧\n      volume (B +ᵥ parallelepiped ![C - B, A - H]) =\n        volume (A +ᵥ parallelepiped ![B - A, x]) + volume (A +ᵥ parallelepiped ![C - A, y]) := by\n  have hk := cross₂_ne_zero_of_not_collinear hABC\n  have hk' : cross₂ (C - A) (B - A) ≠ 0 := by\n    intro h0; apply hk; simp only [cross₂] at h0 ⊢; linarith\n  have h1 := cross₂_mul_cross₂_neg_of_sOppSide hx hk\n  have h2 := cross₂_mul_cross₂_neg_of_sOppSide hy hk'\n  simp only [add_sub_cancel_left] at h1 h2\n  have hl₁ : ∀ H, H ∈ line[ℝ, A + x, B + x] ↔ ∃ r : ℝ, H = A + x + r • (B - A) := by\n    intro H; rw [mem_line_iff, add_sub_add_right_eq_sub]\n  have hl₂ : ∀ H, H ∈ line[ℝ, A + y, C + y] ↔ ∃ r : ℝ, H = A + y + r • (C - A) := by\n    intro H; rw [mem_line_iff, add_sub_add_right_eq_sub]\n  simp only [hl₁, hl₂]\n  refine ⟨?_, ?_⟩\n  · -- Existence and uniqueness of the intersection point `H`.\n    set u := B - A\n    set v := C - A\n    refine ⟨A + x + ((cross₂ v x - cross₂ v y) / cross₂ u v) • u, ⟨⟨_, rfl⟩,\n      ⟨(cross₂ u x - cross₂ u y) / cross₂ u v, ?_⟩⟩, ?_⟩\n    · simp only [cross₂] at hk ⊢\n      have hc := cramer_aux (x₀ := x 0) (x₁ := x 1) (y₀ := y 0) (y₁ := y 1) hk\n      refine ext₂ ?_ ?_ <;> simp only [PiLp.add_apply, PiLp.smul_apply, smul_eq_mul]\n      · linarith [hc.1]\n      · linarith [hc.2]\n    · rintro H ⟨⟨r, hr⟩, ⟨r', hr'⟩⟩\n      have e0 := congrArg (· 0) (hr.symm.trans hr')\n      have e1 := congrArg (· 1) (hr.symm.trans hr')\n      simp only [PiLp.add_apply, PiLp.smul_apply, smul_eq_mul] at e0 e1\n      have hrs : r = (cross₂ v x - cross₂ v y) / cross₂ u v := by\n        rw [eq_div_iff hk]\n        simp only [cross₂]\n        linear_combination v 1 * e0 - v 0 * e1\n      rw [hr, hrs]\n  -- Components of the data, to work with real numbers.\n  set k := cross₂ (B - A) (C - A) with hk_def\n  set a := cross₂ (B - A) x with ha_def\n  set b := cross₂ (C - A) y with hb_def\n  have hkk : cross₂ (C - A) (B - A) = -k := by simp only [k, cross₂]; ring\n  rw [hkk] at h2\n  · rintro H ⟨r, hr⟩ ⟨r', hr'⟩\n    have hw₁ : cross₂ (B - A) (A - H) = -a := by\n      rw [hr]; simp only [a, cross₂, PiLp.sub_apply, PiLp.add_apply, PiLp.smul_apply, smul_eq_mul]\n      ring\n    have hw₂ : cross₂ (C - A) (A - H) = -b := by\n      rw [hr']; simp only [b, cross₂, PiLp.sub_apply, PiLp.add_apply, PiLp.smul_apply, smul_eq_mul]\n      ring\n    have hw : cross₂ (C - B) (B + (A - H) - B) = a - b := by\n      rw [add_sub_cancel_left]\n      have : cross₂ (C - B) (A - H) = cross₂ (C - A) (A - H) - cross₂ (B - A) (A - H) := by\n        simp only [cross₂, PiLp.sub_apply]; ring\n      rw [this, hw₁, hw₂]; ring\n    have hA : cross₂ (C - B) (A - B) = k := by\n      simp only [k, cross₂, PiLp.sub_apply]; ring\n    refine ⟨sOppSide_of_cross₂_mul_cross₂_neg ?_, ?_⟩\n    · rw [hw, hA]; nlinarith\n    · rw [volume_vadd_parallelepiped, volume_vadd_parallelepiped, volume_vadd_parallelepiped,\n        ← ENNReal.ofReal_add (abs_nonneg _) (abs_nonneg _)]\n      rw [add_sub_cancel_left] at hw\n      rw [hw]\n      congr 1\n      rcases lt_or_gt_of_ne hk with hk0 | hk0\n      · have ha : 0 < a := by nlinarith\n        have hb : b < 0 := by nlinarith\n        rw [abs_of_pos (by linarith), abs_of_pos ha, abs_of_neg hb]; ring\n      · have ha : a < 0 := by nlinarith\n        have hb : 0 < b := by nlinarith\n        rw [abs_of_neg (by linarith), abs_of_neg ha, abs_of_pos hb]; ring\n\nend EuclideanGeometry\n\n#print axioms EuclideanGeometry.pappus_area\n",
 "build_output": "Command: export PATH=\"$(ls -d D/lean/*/bin | head -n1):$PATH\" LEAN_PATH=\"$(ls -d D/pk/*/.lake/build/lib/lean | paste -sd: -)\" && lean -DautoImplicit=false PappusArea.lean  (Lean 4.36.0, Mathlib fc4f59e577feb1a4956671bc04ac18aaaf8cd842 prebuilt, bundle sha256s checked against fetch.json; exit code 0, no errors, no warnings). Full compiler output follows (timing lines from the shell `time` wrapper):\n'EuclideanGeometry.pappus_area' depends on axioms: [propext, Classical.choice, Quot.sound]\n\nreal\t0m19.641s\nuser\t0m20.882s\nsys\t0m4.331s\n",
 "explanation": "Statement. Let A, B, C be non-collinear points of the Euclidean plane (modelled as EuclideanSpace ℝ (Fin 2)). On side AB erect the parallelogram with vertices A, B, B+x, A+x and on side AC the parallelogram with vertices A, C, C+y, A+y, where x, y are arbitrary vectors (oblique parallelograms allowed) subject only to the parallelograms lying outside the triangle: A+x lies strictly on the other side of line AB from C, and A+y strictly on the other side of line AC from B (this also forces both parallelograms to be non-degenerate). Then (1) the line through A+x, B+x (the side opposite AB) and the line through A+y, C+y (the side opposite AC) meet in exactly one point H; and (2) for that H, the parallelogram on BC with second side the vector A−H (vertices B, C, C+(A−H), B+(A−H)) is erected on the side of BC away from A (B+(A−H) is strictly on the opposite side of line BC from A), and its Lebesgue measure equals the sum of the Lebesgue measures of the two given parallelograms. Proof. Write u = B−A, v = C−A and cross p q = p0 q1 − p1 q0; non-collinearity gives k = cross u v ≠ 0. The 'opposite sides' hypotheses (Mathlib's AffineSubspace.SOppSide, unfolded through sOppSide_iff_exists_left and SameRay) give cross u x · k < 0 and cross v y · (−k) < 0, i.e. a = cross u x and b = cross v y have opposite signs. A point of the first line is A+x+s u, of the second A+y+t v; Cramer's rule solves x+s u = y+t v uniquely (s = (cross v x − cross v y)/k, t = (cross u x − cross u y)/k), giving existence and uniqueness of H. With w = A−H = −(x+s u) = −(y+t v) one gets cross u w = −a and cross v w = −b, so cross (C−B) w = a − b, while cross (C−B) (A−B) = k; since (a−b)k < 0 the point B+w is strictly on the other side of BC from A (converse direction of the side lemma, constructing the crossing point explicitly). Finally the Lebesgue measure of P +ᵥ parallelepiped ![p, q] is ofReal |cross p q| (translation invariance plus Mathlib's addHaar_parallelepiped for the standard orthonormal basis, whose Haar measure is volume), so the three areas are |a−b|, |a|, |b|, and |a−b| = |a| + |b| because a, b have opposite signs.",
 "fidelity": [
  {
   "clause": "A, B, C are non-collinear points of the plane",
   "lean": "(A B C : EuclideanSpace ℝ (Fin 2)) (hABC : ¬ Collinear ℝ {A, B, C})",
   "verdict": "faithful; the plane is the standard Euclidean plane ℝ² (every Euclidean plane is isometric to it), not an abstract 2-dimensional space"
  },
  {
   "clause": "On AB and AC erect ANY two parallelograms (oblique allowed), second sides x on AB, y on AC",
   "lean": "x y : EuclideanSpace ℝ (Fin 2) arbitrary; parallelograms A +ᵥ parallelepiped ![B - A, x] and A +ᵥ parallelepiped ![C - A, y]",
   "verdict": "faithful; no orthogonality or length assumption on x, y"
  },
  {
   "clause": "outside the triangle: x pointing away from C, y pointing away from B",
   "lean": "hx : line[ℝ, A, B].SOppSide (A + x) C, hy : line[ℝ, A, C].SOppSide (A + y) B",
   "verdict": "faithful (strict opposite sides, Mathlib's notion)"
  },
  {
   "clause": "non-degenerate parallelograms",
   "lean": "implied by hx, hy (A + x ∉ line AB, A + y ∉ line AC)",
   "verdict": "faithful; no extra hypothesis needed"
  },
  {
   "clause": "the lines of their sides opposite AB and AC meet in exactly one point H (existence and uniqueness)",
   "lean": "∃! H, H ∈ line[ℝ, A + x, B + x] ∧ H ∈ line[ℝ, A + y, C + y]",
   "verdict": "faithful, proved"
  },
  {
   "clause": "the parallelogram on BC with second side the vector from H to A lies on the side of BC away from A",
   "lean": "∀ H on both lines, line[ℝ, B, C].SOppSide (B + (A - H)) A",
   "verdict": "faithful in the same sense as the hypotheses: the second side A−H points strictly to the other side of BC from A (equivalently the parallelogram minus its side BC lies in the open half-plane not containing A); stated as a property of the vertex B+(A−H), not as a set inclusion"
  },
  {
   "clause": "its area is the sum of the other two; area = Lebesgue measure of the parallelogram as a set",
   "lean": "volume (B +ᵥ parallelepiped ![C - B, A - H]) = volume (A +ᵥ parallelepiped ![B - A, x]) + volume (A +ᵥ parallelepiped ![C - A, y])",
   "verdict": "faithful; MeasureTheory.volume on EuclideanSpace ℝ (Fin 2) is Lebesgue measure, sets are the closed parallelograms, not just a determinant identity"
  },
  {
   "clause": "no sorry/admit/native_decide/new axioms",
   "lean": "#print axioms EuclideanGeometry.pappus_area: [propext, Classical.choice, Quot.sound]",
   "verdict": "satisfied; grep of the file finds no sorry, admit, native_decide, axiom, unsafe or implemented_by"
  },
  {
   "clause": "review by an independent agent from a clean clone",
   "lean": "-",
   "verdict": "UNVERIFIED: compiled and reviewed only by this worker; Step 4 independent re-check still to be done"
  }
 ],
 "prior_work": {
  "checked": [
   {
    "where": "https://leanprover-community.github.io/1000-missing.html",
    "finding": "Q3527044 'Pappus's area theorem' is listed as missing (fetched 2026-11-26)."
   },
   {
    "where": "Mathlib at fc4f59e577feb1a4956671bc04ac18aaaf8cd842 (local copy of the prebuilt bundle)",
    "finding": "case-insensitive grep for 'pappus' over Mathlib/ returns no file."
   },
   {
    "where": "GitHub issue/PR search API, repo:leanprover-community/mathlib4 'pappus'",
    "finding": "total_count 0 (no issue or PR, open or closed)."
   },
   {
    "where": "GitHub issue/PR search API, repo:leanprover-community/mathlib4 'parallelogram area'",
    "finding": "one hit, #7300 'feat: synthetic geometry' (closed), not Pappus's area theorem."
   },
   {
    "where": "https://github.com/rjwalters/lean-genius (full recursive tree via GitHub API, 39647 entries, not truncated)",
    "finding": "only Pappus-related file is proofs/Proofs/PappusTheoremOQ02.lean, which is Pappus's hexagon theorem, not the area theorem."
   },
   {
    "where": "GitHub repository search 'pappus lean'",
    "finding": "3 repos (jpbald93/pascal-hexagon, jpbald93/paperi_arbelos, jpbald93/cayley-bacharach): Pappus hexagon / arbelos, not the area theorem. Their file contents were not read in full."
   },
   {
    "where": "Web search (Pappus area theorem Lean 4 formalization; Zulip/mathlib parallelogram)",
    "finding": "no Lean formalization found; only Coq/area-method work on the Pappus hexagon theorem."
   }
  ],
  "unverified": "UNVERIFIED: no full-text search of the Lean Zulip archive was possible (only general web search); GitHub code search (needs authentication) was not run, so a Lean file for this theorem in some other repository cannot be excluded."
 },
 "database_entry": {
  "wikidata_id": "Q3527044",
  "title": "Pappus's area theorem",
  "decl": "EuclideanGeometry.pappus_area",
  "file": "PappusArea.lean"
 },
 "stuck": null,
 "sources": [
  "https://leanprover-community.github.io/1000-missing.html",
  "https://en.wikipedia.org/wiki/Pappus%27s_area_theorem",
  "https://raw.githubusercontent.com/leanprover-community/mathlib4/fc4f59e577feb1a4956671bc04ac18aaaf8cd842/Mathlib/MeasureTheory/Measure/Lebesgue/EqHaar.lean",
  "https://raw.githubusercontent.com/leanprover-community/mathlib4/fc4f59e577feb1a4956671bc04ac18aaaf8cd842/Mathlib/MeasureTheory/Measure/Haar/InnerProductSpace.lean",
  "https://raw.githubusercontent.com/leanprover-community/mathlib4/fc4f59e577feb1a4956671bc04ac18aaaf8cd842/Mathlib/Analysis/Convex/Side.lean",
  "https://raw.githubusercontent.com/rjwalters/lean-genius/main/proofs/Proofs/PappusTheoremOQ02.lean"
 ]
}