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 OAI.AlgebraicTopology.DeRham.Comparison.GeometricCycleClass |
| 2 | import OAI.AlgebraicTopology.DeRham.Comparison.ProjectiveDegreeBounds |
| 3 | |
| 4 | /-! # Geometric Classes -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Rational classes of geometric algebraic cycles |
| 12 | |
| 13 | The map used here is constructed from actual fundamental-class traces and |
| 14 | canonical Poincare duality. Its source is the finite rational coefficient |
| 15 | module on the genuine algebraic supports. The algebraic subspace is its |
| 16 | actual image, equivalently the rational span of the individual cycle classes. |
| 17 | -/ |
| 18 | |
| 19 | variable (V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 20 | |
| 21 | /-- Rational algebraic classes under the geometric fundamental-cycle map. -/ |
| 22 | def Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.geometricAlgebraicClasses (p : ℕ) : Submodule ℚ (V.rationalCohomology (p + p)) := |
| 23 | LinearMap.range (V.geometricCycleClassMap p) |
| 24 | |
| 25 | /-- Membership means being the image of an actual finite rational cycle. -/ |
| 26 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.mem_geometricAlgebraicClasses_iff (p : ℕ) |
| 27 | (a : V.rationalCohomology (p + p)) : |
| 28 | a ∈ V.geometricAlgebraicClasses p ↔ |
| 29 | ∃ z : CycleClass.Geometric.DimensionCycles.RationalDimensionCycle V p, V.geometricCycleClassMap p z = a := Iff.rfl |
| 30 | |
| 31 | /-- The actual image is exactly the rational linear span of the genuine |
| 32 | geometric classes of the irreducible algebraic supports. -/ |
| 33 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.geometricAlgebraicClasses_eq_span (p : ℕ) : |
| 34 | V.geometricAlgebraicClasses p = Submodule.span ℚ |
| 35 | (Set.range (fun Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V p => Z.geometricCycleClass)) := |
| 36 | V.range_geometricCycleClassMap p |
| 37 | |
| 38 | /-- A class outside the rational algebraic image cannot be zero. -/ |
| 39 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.ne_zero_of_not_mem_geometricAlgebraicClasses (p : ℕ) |
| 40 | (a : V.rationalCohomology (p + p)) (ha : a ∉ V.geometricAlgebraicClasses p) : |
| 41 | a ≠ 0 := by |
| 42 | intro h |
| 43 | apply ha |
| 44 | rw [h] |
| 45 | exact (V.geometricAlgebraicClasses p).zero_mem |
| 46 | |
| 47 | /-- Such a class necessarily lies in the actual codimension range. This |
| 48 | uses the proved dimension bound for ordinary rational cohomology. -/ |
| 49 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.codimension_le_of_not_mem_geometricAlgebraicClasses (p : ℕ) |
| 50 | (a : V.rationalCohomology (p + p)) (ha : a ∉ V.geometricAlgebraicClasses p) : |
| 51 | p ≤ V.complexDimension := by |
| 52 | by_contra h |
| 53 | have hp : V.complexDimension < p := Nat.lt_of_not_ge h |
| 54 | have hn : 2 * V.complexDimension < p + p := by |
| 55 | rw [two_mul] |
| 56 | exact Nat.add_lt_add hp hp |
| 57 | exact (V.ne_zero_of_not_mem_geometricAlgebraicClasses p a ha) |
| 58 | (V.rationalCohomology_eq_zero_of_dimension_lt (p + p) hn a) |
| 59 | |
| 60 | /-- A geometric counterexample is nonzero and has possible codimension. -/ |
| 61 | theorem Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.rationalHodgeClass_not_geometric_algebraic_bounds (p : ℕ) |
| 62 | (a : V.rationalCohomology (p + p)) |
| 63 | (ha : V.IsRationalHodgeClass p a ∧ a ∉ V.geometricAlgebraicClasses p) : |
| 64 | a ≠ 0 ∧ p ≤ V.complexDimension := |
| 65 | ⟨V.ne_zero_of_not_mem_geometricAlgebraicClasses p a ha.2, |
| 66 | V.codimension_le_of_not_mem_geometricAlgebraicClasses p a ha.2⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry |