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.AbelianModuli.HilbertConstruction.BasisSectionRatioSubring |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectivePresentation |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.CoefficientRecovery |
| 4 | |
| 5 | /-! # Ratio Field Coordinates -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.RatioFieldCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Section ratios record precisely where a section vanishes on a |
| 12 | denominator chart. For a field base, the generating condition for these |
| 13 | ratios can be expressed over the field itself. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | universe u |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | variable {K : Type u} [Field K] {X : Scheme.{u}} {M : X.Modules} |
| 19 | |
| 20 | theorem sectionRatio_basicOpen (s t : Line.Bundles.structureModule X ⟶ M) : |
| 21 | (Ample.LineBundles.sectionNonvanishing s).toScheme.basicOpen (Frames.sectionRatio s t) = |
| 22 | (Ample.LineBundles.sectionNonvanishing s).ι ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing t := by |
| 23 | rw [Frame.Coordinates.sectionRatio_eq_frameCoordinate, ← Scalar.Nonvanishing.sectionNonvanishing_frameCoordinate, |
| 24 | Nonvanishing.sectionNonvanishing_pullback] |
| 25 | |
| 26 | theorem sectionRatio_coefficientDifference (p : X ⟶ Spec (.of K)) |
| 27 | (s t : Line.Bundles.structureModule X ⟶ M) (c : K) : |
| 28 | Frames.sectionRatio s (t - Coefficient.ScalarSections.coefficientScalarSection p c s) = |
| 29 | Frames.sectionRatio s t - Coefficient.ModulePresheaf.schemeCoefficientMap ((Ample.LineBundles.sectionNonvanishing s).ι ≫ p) c := by |
| 30 | change BasisSectionRatioSubring.sectionRatioAddHom s (t - Coefficient.ScalarSections.coefficientScalarSection p c s) = _ |
| 31 | rw [map_sub] |
| 32 | change Frames.sectionRatio s t - Frames.sectionRatio s (Coefficient.ScalarSections.coefficientScalarSection p c s) = _ |
| 33 | rw [BasisSectionRatioSubring.sectionRatio_coefficientScalar, Frames.sectionRatio_self, mul_one] |
| 34 | |
| 35 | private theorem adjoin_top_of_base_map {R S A : Type*} |
| 36 | [CommRing R] [CommRing S] [CommRing A] [Algebra R A] [Algebra S A] |
| 37 | (ρ : R →+* S) (hρ : ∀ r, algebraMap S A (ρ r) = algebraMap R A r) |
| 38 | (s : Set A) (hs : Algebra.adjoin R s = ⊤) : Algebra.adjoin S s = ⊤ := by |
| 39 | let C := Algebra.adjoin S s |
| 40 | let D : Subalgebra R A := |
| 41 | { __ := C.toSubring |
| 42 | algebraMap_mem' := fun r => hρ r ▸ C.algebraMap_mem (ρ r) } |
| 43 | have hD : Algebra.adjoin R s ≤ D := |
| 44 | Algebra.adjoin_le (fun x hx => Algebra.subset_adjoin (R := S) hx) |
| 45 | rw [hs] at hD |
| 46 | apply top_unique |
| 47 | intro x _ |
| 48 | exact hD (show x ∈ (⊤ : Subalgebra R A) from trivial) |
| 49 | |
| 50 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.ProjectivePresentation.SectionRatiosGenerate.overField (p : X ⟶ Spec (.of K)) {n : ℕ} |
| 51 | (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ M)) (hs : ProjectivePresentation.SectionRatiosGenerate p s) |
| 52 | (i : Fin (n + 1)) : |
| 53 | let := (Coefficient.ModulePresheaf.schemeCoefficientMap ((Ample.LineBundles.sectionNonvanishing (s i)).ι ≫ p)).toAlgebra; |
| 54 | Algebra.adjoin K (Set.range fun j => Frames.sectionRatio (s i) (s j)) = ⊤ := by |
| 55 | let U := Ample.LineBundles.sectionNonvanishing (s i) |
| 56 | let q := U.ι ≫ p |
| 57 | let := (Coefficient.ModulePresheaf.schemeCoefficientMap q).toAlgebra |
| 58 | let := q.appTop.hom.toAlgebra |
| 59 | exact adjoin_top_of_base_map (Scheme.ΓSpecIso (.of K)).hom.hom |
| 60 | (fun r => DFunLike.congr_fun (ProjectiveChart.CoefficientRecovery.schemeCoefficientMap_comp_specGlobalIso q) r) |
| 61 | (Set.range fun j => Frames.sectionRatio (s i) (s j)) (hs i) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.RatioFieldCoordinates |