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.Comparison.Betti.StandardSmoothOpens |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Open.AffineIsoEvaluation |
| 3 | import OAI.AlgebraicGeometry.Comparison.Betti.Affine.ExteriorRestrictions |
| 4 | |
| 5 | /-! # Standard Smooth Basis -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Comparison.Betti.StandardSmoothBasis |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! The standard smooth neighborhoods have their actual open subschemes and scalar structures. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 18 | |
| 19 | attribute [local instance] Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra |
| 20 | |
| 21 | def openSectionTopAlgEquiv (U : X.left.Opens) : |
| 22 | Γ(X.left, U) ≃ₐ[ℂ] Affine.ExteriorRestrictions.globalCoordinateAlgebra (Open.AffineIsoEvaluation.openOver X U) := |
| 23 | AlgEquiv.ofBijective (Open.AffineIsoEvaluation.openSectionTopAlgHom X U) (ConcreteCategory.bijective_of_isIso U.topIso.inv) |
| 24 | |
| 25 | theorem standardSmooth_openOver (U : X.left.Opens) |
| 26 | [Algebra.IsStandardSmooth ℂ Γ(X.left, U)] : |
| 27 | Algebra.IsStandardSmooth ℂ (Affine.ExteriorRestrictions.globalCoordinateAlgebra (Open.AffineIsoEvaluation.openOver X U)) := |
| 28 | Algebra.IsStandardSmooth.of_algEquiv (openSectionTopAlgEquiv X U) |
| 29 | |
| 30 | theorem exists_standardSmooth_openOver [Smooth X.hom] (x : X.left) : |
| 31 | ∃ (U : X.left.Opens), x ∈ U ∧ IsAffine (Open.AffineIsoEvaluation.openOver X U).left ∧ |
| 32 | Algebra.IsStandardSmooth ℂ (Affine.ExteriorRestrictions.globalCoordinateAlgebra (Open.AffineIsoEvaluation.openOver X U)) := by |
| 33 | obtain ⟨U, hU, hx, hstd⟩ := StandardSmoothOpens.exists_standardSmooth_affineOpen X x |
| 34 | have : Algebra.IsStandardSmooth ℂ Γ(X.left, U) := hstd |
| 35 | exact ⟨U, hx, hU, standardSmooth_openOver X U⟩ |
| 36 | |
| 37 | end |
| 38 | |
| 39 | /-! Standard smooth affine neighborhoods form a basis on the actual Zariski space. -/ |
| 40 | |
| 41 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 42 | |
| 43 | variable (X : Over Foundations.Scheme.ProjectiveSpace.complexBase) |
| 44 | |
| 45 | attribute [local instance] Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra |
| 46 | |
| 47 | theorem standardSmooth_section_basicOpen (U : X.left.Opens) (hU : IsAffineOpen U) |
| 48 | [Algebra.IsStandardSmooth ℂ Γ(X.left, U)] (r : Γ(X.left, U)) : |
| 49 | Algebra.IsStandardSmooth ℂ Γ(X.left, X.left.basicOpen r) := by |
| 50 | let i : op U ⟶ op (X.left.basicOpen r) := (homOfLE (X.left.basicOpen_le r)).op |
| 51 | let g : Γ(X.left, U) →ₐ[ℂ] Γ(X.left, X.left.basicOpen r) := |
| 52 | ((Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebras ℂ X).map i).hom |
| 53 | let := g.toRingHom.toAlgebra |
| 54 | have : IsLocalization.Away r Γ(X.left, X.left.basicOpen r) := |
| 55 | hU.isLocalization_of_eq_basicOpen r (homOfLE (X.left.basicOpen_le r)) rfl |
| 56 | have : Algebra.IsStandardSmooth Γ(X.left, U) Γ(X.left, X.left.basicOpen r) := |
| 57 | Algebra.IsStandardSmooth.localization_away r |
| 58 | exact Algebra.IsStandardSmooth.trans ℂ Γ(X.left, U) Γ(X.left, X.left.basicOpen r) |
| 59 | |
| 60 | theorem exists_standardSmooth_openOver_le [Smooth X.hom] |
| 61 | (W : X.left.Opens) (x : W) : |
| 62 | ∃ (U : X.left.Opens), U ≤ W ∧ (x : X.left) ∈ U ∧ IsAffine (Open.AffineIsoEvaluation.openOver X U).left ∧ |
| 63 | Algebra.IsStandardSmooth ℂ (Affine.ExteriorRestrictions.globalCoordinateAlgebra (Open.AffineIsoEvaluation.openOver X U)) := by |
| 64 | obtain ⟨V, hV, hxV, hstd⟩ := StandardSmoothOpens.exists_standardSmooth_affineOpen X x |
| 65 | have : Algebra.IsStandardSmooth ℂ Γ(X.left, V) := hstd |
| 66 | obtain ⟨r, hrW, hxr⟩ := hV.exists_basicOpen_le x hxV |
| 67 | have : Algebra.IsStandardSmooth ℂ Γ(X.left, X.left.basicOpen r) := |
| 68 | standardSmooth_section_basicOpen X V hV r |
| 69 | exact ⟨X.left.basicOpen r, hrW, hxr, hV.basicOpen r, standardSmooth_openOver X _⟩ |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.Comparison.Betti.StandardSmoothBasis |