Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import Mathlib.RingTheory.Ideal.Cotangent |
| 2 | import Mathlib.LinearAlgebra.Span.Basic |
| 3 | |
| 4 | /-! # Principal Conormal -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PrincipalConormal.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: the actual coefficient functional of a principal conormal class |
| 12 | |
| 13 | For a nonzero parameter, division by that parameter identifies its principal |
| 14 | ideal with the ambient domain. Reducing the coefficient modulo the ideal |
| 15 | annihilates its square and sends the parameter's conormal class to one. |
| 16 | -/ |
| 17 | |
| 18 | variable {R : Type*} [CommRing R] [IsDomain R] (p : R) (hp : p ≠ 0) |
| 19 | |
| 20 | def principalIdealCoefficient : Ideal.span ({p} : Set R) →ₗ[R] R ⧸ Ideal.span ({p} : Set R) := |
| 21 | (Ideal.Quotient.mkₐ R (Ideal.span {p})).toLinearMap.comp |
| 22 | (LinearEquiv.coord R R p hp).toLinearMap |
| 23 | |
| 24 | theorem principalIdealCoefficient_self : |
| 25 | principalIdealCoefficient p hp ⟨p, Ideal.subset_span (Set.mem_singleton p)⟩ = 1 := by |
| 26 | change Ideal.Quotient.mk (Ideal.span {p}) |
| 27 | (LinearEquiv.coord R R p hp ⟨p, Ideal.subset_span (Set.mem_singleton p)⟩) = 1 |
| 28 | rw [LinearEquiv.coord_self, map_one] |
| 29 | |
| 30 | theorem principalIdealCoefficient_mul (x y : Ideal.span ({p} : Set R)) : |
| 31 | principalIdealCoefficient p hp (x * y) = 0 := by |
| 32 | have hxy : x * y = (x : R) • y := rfl |
| 33 | rw [hxy, map_smul] |
| 34 | change Ideal.Quotient.mk (Ideal.span {p}) (x : R) * principalIdealCoefficient p hp y = 0 |
| 35 | rw [Ideal.Quotient.eq_zero_iff_mem.mpr x.property, zero_mul] |
| 36 | |
| 37 | /-- The actual conormal quotient has a coefficient map normalized on the |
| 38 | given regular parameter, independent of any analytic normal comparison. -/ |
| 39 | def principalConormalCoefficient : (Ideal.span ({p} : Set R)).Cotangent →ₗ[R] |
| 40 | R ⧸ Ideal.span ({p} : Set R) := |
| 41 | Ideal.Cotangent.lift (principalIdealCoefficient p hp) (principalIdealCoefficient_mul p hp) |
| 42 | |
| 43 | theorem principalConormalCoefficient_self : |
| 44 | principalConormalCoefficient p hp |
| 45 | ((Ideal.span ({p} : Set R)).toCotangent ⟨p, Ideal.subset_span (Set.mem_singleton p)⟩) = 1 := by |
| 46 | rw [principalConormalCoefficient, Ideal.Cotangent.lift_toCotangent, principalIdealCoefficient_self] |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.PrincipalConormal.Constructions |