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.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.DifferentialBasis |
| 2 | import Mathlib.AlgebraicGeometry.IdealSheaf.Basic |
| 3 | import Mathlib.RingTheory.Regular.Flat |
| 4 | |
| 5 | /-! # Parameter Restriction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.ParameterRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Literal affine-open restriction preserves the section ideal, |
| 12 | weak regularity, and the differential basis of a parameter tuple. -/ |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | variable (R : Type u) [CommRing R] (X : Over (Spec (CommRingCat.of R))) |
| 19 | (U V : X.left.Opens) (hU : IsAffineOpen U) (hV : IsAffineOpen V) (hVU : V ≤ U) |
| 20 | {g : ℕ} (t : Fin g → IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) |
| 21 | |
| 22 | def parameters : Fin g → IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V := |
| 23 | fun j => X.left.presheaf.map (homOfLE hVU).op (t j) |
| 24 | |
| 25 | theorem span (I : X.left.IdealSheafData) |
| 26 | (ht : Ideal.span (Set.range t) = I.ideal ⟨U,hU⟩) : |
| 27 | Ideal.span (Set.range (parameters R X U V hVU t)) = I.ideal ⟨V,hV⟩ := by |
| 28 | rw [← I.map_ideal (U := ⟨V,hV⟩) (V := ⟨U,hU⟩) hVU, |
| 29 | ← ht, Ideal.map_span, ← Set.range_comp] |
| 30 | rfl |
| 31 | |
| 32 | include hU hV in |
| 33 | theorem regular (ht : RingTheory.Sequence.IsWeaklyRegular (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (List.ofFn t)) : |
| 34 | RingTheory.Sequence.IsWeaklyRegular (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) |
| 35 | (List.ofFn (parameters R X U V hVU t)) := by |
| 36 | let : Algebra (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionAlgebra R X (homOfLE hVU) |
| 37 | let : Algebra.Etale (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) := IntrinsicDeRham.SectionRestriction.IntrinsicUnit.restrictionEtale R X (homOfLE hVU) hU hV |
| 38 | change RingTheory.Sequence.IsWeaklyRegular (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) |
| 39 | (List.ofFn (fun j => algebraMap (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) (t j))) |
| 40 | simpa only [List.map_ofFn, Function.comp_def] using ht.of_flat (S := IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) |
| 41 | |
| 42 | def basis (b : Module.Basis (Fin g) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) Ω[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U⁄R]) : |
| 43 | Module.Basis (Fin g) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) Ω[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V⁄R] := |
| 44 | DifferentialBasis.basis R X (homOfLE hVU) hU hV b |
| 45 | |
| 46 | theorem basis_apply (b : Module.Basis (Fin g) (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) Ω[IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U⁄R]) |
| 47 | (hb : ∀ j, b j = KaehlerDifferential.D R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X U) (t j)) (j : Fin g) : |
| 48 | basis R X U V hU hV hVU b j = |
| 49 | KaehlerDifferential.D R (IntrinsicDeRham.SectionUnit.Intrinsic.ring R X V) (parameters R X U V hVU t j) := |
| 50 | DifferentialBasis.basis_apply R X (homOfLE hVU) hU hV b t hb j |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.ParameterRestriction |