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.RepresentationTheory.Theta.Geometric.SquareZero.AffineFactorization |
| 2 | import OAI.RepresentationTheory.Theta.Geometric.SquareZero.Reduction |
| 3 | import OAI.RepresentationTheory.Theta.Geometric.OpenRegularFunctionValues |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.DualOpen.Lifts |
| 5 | |
| 6 | /-! # Scheme Factorization -/ |
| 7 | |
| 8 | namespace OAI.RepresentationTheory.Theta.Geometric.SquareZero.SchemeFactorization |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every native scheme parameter constant modulo a square-zero ideal |
| 13 | factors through the actual constants-plus-ideal split test. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | |
| 18 | attribute [local instance] SquareZero.Ideal.idealCoefficientOppositeModule SquareZero.Ideal.idealCoefficientCentralScalar |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false in |
| 21 | theorem squareZero_schemeTest_factorization |
| 22 | {R : Type} [CommRing R] [Algebra ℂ R] [Nontrivial R] |
| 23 | (I : Ideal R) (hI : I * I = ⊥) (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 24 | (r : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ R ⟶ X) (e : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) |
| 25 | (h : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R (R ⧸ I) (Ideal.Quotient.mkₐ ℂ I) ≫ r = |
| 26 | toUnit (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (R ⧸ I)) ≫ e) : |
| 27 | ∃ a : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (TrivSqZeroExt ℂ I) ⟶ X, |
| 28 | AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ (TrivSqZeroExt ℂ I) R (SquareZero.Ideal.squareZeroIdealMap I hI) ≫ a = r := by |
| 29 | let t : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := (⊥ : PrimeSpectrum ℂ) |
| 30 | obtain ⟨U, hU, heU, _⟩ := exists_isAffineOpen_mem_and_subset |
| 31 | (show e.left t ∈ (⊤ : X.left.Opens) by trivial) |
| 32 | let j := OpenRegularFunctionValues.regularOpenInclusion X U |
| 33 | have : IsAffine (OpenRegularFunctionValues.regularOpenScheme X U).left := hU |
| 34 | have hRe : Set.range e.left ⊆ Set.range j.left := by |
| 35 | rintro _ ⟨z, rfl⟩ |
| 36 | have hz : e.left z ∈ U := (congrArg e.left (Subsingleton.elim t z)) ▸ heU |
| 37 | exact ⟨⟨e.left z, hz⟩, rfl⟩ |
| 38 | let red := AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineAlgHomOverSpecEquiv ℂ R (R ⧸ I) (Ideal.Quotient.mkₐ ℂ I) |
| 39 | have : Surjective red.left := Reduction.squareZeroIdeal_reduction_surjective I hI |
| 40 | have hRr : Set.range r.left ⊆ Set.range j.left := |
| 41 | (Reduction.scheme_range_subset_of_surjective_reduction red.left r.left |
| 42 | (toUnit (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (R ⧸ I))).left e.left (congrArg Over.Hom.left h)).trans hRe |
| 43 | let r' := AlgebraicGeometry.AbelianModuli.ReferenceFamily.DualOpen.Lifts.overOpenLift j r hRr |
| 44 | let e' := AlgebraicGeometry.AbelianModuli.ReferenceFamily.DualOpen.Lifts.overOpenLift j e hRe |
| 45 | have hr' : r' ≫ j = r := AlgebraicGeometry.AbelianModuli.ReferenceFamily.DualOpen.Lifts.overOpenLift_fac j r hRr |
| 46 | have he' : e' ≫ j = e := AlgebraicGeometry.AbelianModuli.ReferenceFamily.DualOpen.Lifts.overOpenLift_fac j e hRe |
| 47 | have hred : red ≫ r' = toUnit (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (R ⧸ I)) ≫ e' := by |
| 48 | apply Over.OverMorphism.ext |
| 49 | apply (cancel_mono j.left).mp |
| 50 | have H : (red ≫ r') ≫ j = (toUnit (AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ (R ⧸ I)) ≫ e') ≫ j := by |
| 51 | rw [Category.assoc, Category.assoc, hr', he'] |
| 52 | exact h |
| 53 | exact congrArg Over.Hom.left H |
| 54 | obtain ⟨a, ha⟩ := AffineFactorization.squareZero_affineTest_factorization I hI (OpenRegularFunctionValues.regularOpenScheme X U) r' e' hred |
| 55 | refine ⟨a ≫ j, ?_⟩ |
| 56 | rw [← Category.assoc, ha, hr'] |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.RepresentationTheory.Theta.Geometric.SquareZero.SchemeFactorization |