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.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 3 | |
| 4 | /-! # Support Fractions -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.SupportFractions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A support rational function has a numerator and denominator |
| 11 | lifted from every ambient affine chart meeting the support. The same |
| 12 | sections represent it at every support point in that chart. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.LocalFraction.Restriction |
| 20 | |
| 21 | theorem exists_sections (X : Scheme) (W : IrreducibleCloseds X) |
| 22 | (U : X.Opens) (hU : IsAffineOpen U) [Nonempty ((CycleClass.Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U)] |
| 23 | (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W).functionField) (hg : g ≠ 0) : |
| 24 | ∃ a b : Γ(X, U), (CycleClass.Geometric.GenericPoint.reducedSupportι W).app U a ≠ 0 ∧ (CycleClass.Geometric.GenericPoint.reducedSupportι W).app U b ≠ 0 ∧ |
| 25 | ∀ (x : X) (hxW : x ∈ (W : Set X)) (hxU : x ∈ U), |
| 26 | Support.LocalFraction.Restriction.toFunctionField X W x hxW (X.presheaf.germ U x hxU a) ≠ 0 ∧ |
| 27 | Support.LocalFraction.Restriction.toFunctionField X W x hxW (X.presheaf.germ U x hxU b) ≠ 0 ∧ |
| 28 | g = Support.LocalFraction.Restriction.toFunctionField X W x hxW (X.presheaf.germ U x hxU a) / |
| 29 | Support.LocalFraction.Restriction.toFunctionField X W x hxW (X.presheaf.germ U x hxU b) := by |
| 30 | let Y := CycleClass.Geometric.GenericPoint.reducedSupportScheme W |
| 31 | let V := (CycleClass.Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U |
| 32 | let A := Γ(Y, V) |
| 33 | let : IsFractionRing A Y.functionField := |
| 34 | functionField_isFractionRing_of_isAffineOpen Y V (hU.preimage (CycleClass.Geometric.GenericPoint.reducedSupportι W)) |
| 35 | obtain ⟨c, d, hd, hfrac⟩ := IsFractionRing.div_surjective A g |
| 36 | have hd₀ : d ≠ 0 := mem_nonZeroDivisors_iff_ne_zero.mp hd |
| 37 | have hc₀ : c ≠ 0 := by |
| 38 | intro h |
| 39 | exact hg (by rw [← hfrac, h, map_zero, zero_div]) |
| 40 | obtain ⟨a, ha⟩ := (CycleClass.Geometric.GenericPoint.reducedSupportι W).app_surjective U hU c |
| 41 | obtain ⟨b, hb⟩ := (CycleClass.Geometric.GenericPoint.reducedSupportι W).app_surjective U hU d |
| 42 | refine ⟨a, b, (ha ▸ hc₀), (hb ▸ hd₀), ?_⟩ |
| 43 | intro x hxW hxU |
| 44 | have hfa : Support.LocalFraction.Restriction.toFunctionField X W x hxW (X.presheaf.germ U x hxU a) = algebraMap A Y.functionField c := by |
| 45 | rw [Support.LocalFraction.Restriction.toFunctionField_germ X W U x hxW hxU a, ha] |
| 46 | rfl |
| 47 | have hfb : Support.LocalFraction.Restriction.toFunctionField X W x hxW (X.presheaf.germ U x hxU b) = algebraMap A Y.functionField d := by |
| 48 | rw [Support.LocalFraction.Restriction.toFunctionField_germ X W U x hxW hxU b, hb] |
| 49 | rfl |
| 50 | rw [hfa, hfb] |
| 51 | exact ⟨(map_ne_zero_iff _ (IsFractionRing.injective A Y.functionField)).mpr hc₀, |
| 52 | (map_ne_zero_iff _ (IsFractionRing.injective A Y.functionField)).mpr hd₀, hfrac.symm⟩ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.SupportFractions |