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.CycleClass.Thom.IntersectionGeometry |
| 2 | import OAI.AlgebraicGeometry.Betti.SmoothDimension |
| 3 | |
| 4 | /-! # Dimension -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Dimension |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Smooth relative dimensions agree with the actual function-field |
| 11 | dimensions used in ThomClass's codimension grading. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 14 | |
| 15 | theorem integral_dimension_of_relativeDimension {X : Scheme} [IsIntegral X] |
| 16 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) (n : ℕ) [SmoothOfRelativeDimension n f] : |
| 17 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension f = n := by |
| 18 | let : Smooth f := SmoothOfRelativeDimension.smooth n f |
| 19 | obtain ⟨U, hU, V, hV, hx, e, hstd⟩ := |
| 20 | SmoothOfRelativeDimension.exists_isStandardSmoothOfRelativeDimension |
| 21 | (n := n) (f := f) (genericPoint X) |
| 22 | have htop : U = ⊤ := by |
| 23 | ext y |
| 24 | constructor |
| 25 | · intro _ |
| 26 | trivial |
| 27 | · intro _ |
| 28 | have hy : f (genericPoint X) = y := Subsingleton.elim _ _ |
| 29 | exact hy ▸ e hx |
| 30 | subst U |
| 31 | let : Nonempty V := ⟨⟨genericPoint X, hx⟩⟩ |
| 32 | let := Betti.AffineDimension.Realization.sectionBaseAlgebra f V |
| 33 | change Algebra.IsStandardSmoothOfRelativeDimension n Γ(Foundations.Scheme.ProjectiveSpace.complexBase, ⊤) Γ(X, V) at hstd |
| 34 | obtain ⟨ι, σ, hσ, hι, P, hP⟩ := hstd.out |
| 35 | let : Finite σ := hσ |
| 36 | let : Finite ι := hι |
| 37 | rw [Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension_eq_functionFieldDifferentialDimension f] |
| 38 | exact (Betti.AffineDimension.Realization.affinePresentation_dimension f V hV ι σ P).symm.trans hP |
| 39 | |
| 40 | theorem component_dimension (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 41 | [SmoothOfRelativeDimension m P.structureMap] |
| 42 | (C : irreducibleComponents P.carrier) : |
| 43 | Foundations.Scheme.TranscendenceDimension.schemeTranscendenceDimension (P.componentVariety C).structureMap = m := by |
| 44 | let : SmoothOfRelativeDimension (0 + m) (P.componentInclusion C ≫ P.structureMap) := |
| 45 | smoothOfRelativeDimension_comp 0 m (P.componentInclusion C) P.structureMap |
| 46 | let : SmoothOfRelativeDimension m (P.componentVariety C).structureMap := by |
| 47 | simpa only [zero_add, P.componentInclusion_over] using |
| 48 | (inferInstance : SmoothOfRelativeDimension (0 + m) |
| 49 | (P.componentInclusion C ≫ P.structureMap)) |
| 50 | exact integral_dimension_of_relativeDimension _ m |
| 51 | |
| 52 | theorem supportDimension_add_codimension (P : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (m : ℕ) |
| 53 | [SmoothOfRelativeDimension m P.structureMap] (W : IrreducibleCloseds P.carrier) : |
| 54 | Foundations.Scheme.SupportDimension.supportTranscendenceDimension W P.structureMap + P.supportCodimension W = m := by |
| 55 | let C := P.supportComponent W |
| 56 | let Z := P.componentSupportPreimage C W (P.support_subset_component W) |
| 57 | have hW : P.componentSupportImage C Z = W := P.componentSupportImage_preimage C W _ |
| 58 | have h := Geometric.DimensionCycles.supportDimension_add_dimensionCodimension (P.componentVariety C) Z |
| 59 | rw [← P.componentSupportImage_transcendenceDimension C Z, |
| 60 | ← P.supportCodimension_componentSupportImage C Z, hW, |
| 61 | component_dimension P m C] at h |
| 62 | exact h |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.CycleClass.Thom.Intersection.Dimension |