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.HodgeConjecture.LefschetzNormalization |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.CoefficientVectors |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.CMReduction.OppositePairs |
| 4 | |
| 5 | /-! # Geometric Coefficients -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.GeometricCoefficients.LefschetzNormalization.Geometry |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Concrete embedding classes for LefschetzNormalization |
| 13 | |
| 14 | All coefficients below belong to the rational singular cohomology of the |
| 15 | specified actual variety. Algebraicity means membership in the image of its |
| 16 | geometric cycle-class map after extending scalars to the given CM field. |
| 17 | The two realized factors and their markings are independent. No algebraicity |
| 18 | predicate, tensor comparison, or conjugation law is assumed. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory |
| 22 | open scoped TensorProduct Classical |
| 23 | |
| 24 | variable (E : IntermediateField ℚ ℂ) |
| 25 | [NumberField E] [IsGalois ℚ E] [NumberField.IsCMField E] |
| 26 | |
| 27 | /-- The specified CM line transported by its actual rational marking and |
| 28 | an algebraic map to the variety on which the cup product is taken. -/ |
| 29 | def pulledCoefficient {v : LefschetzNormalization.Sign E} (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 30 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : X.toOver ⟶ R.abelianVariety.toOver) |
| 31 | (a : LefschetzNormalization.G E) : E ⊗[ℚ] X.rationalCohomology 1 := |
| 32 | (((Betti.Scheme.schemeBettiMap (ModuleCat.of ℚ ℚ) 1 π).hom.comp |
| 33 | R.comparison.toLinearMap).baseChange E) (CMReduction.CoefficientVectors.CM.Construction.coefficientVector E a) |
| 34 | |
| 35 | def pulledClass {v : LefschetzNormalization.Sign E} (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 36 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : X.toOver ⟶ R.abelianVariety.toOver) |
| 37 | (a : LefschetzNormalization.G E) : X.complexCohomology 1 := |
| 38 | Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 π |
| 39 | (R.complexComparison (LefschetzNormalization.embeddingGenerator E a)) |
| 40 | |
| 41 | theorem pulledCoefficient_realize {v : LefschetzNormalization.Sign E} |
| 42 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 43 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : X.toOver ⟶ R.abelianVariety.toOver) |
| 44 | (a : LefschetzNormalization.G E) : |
| 45 | Coefficients.CM.SurfaceConstruction.realizeCoefficient E X 1 (pulledCoefficient E R X π a) = pulledClass E R X π a := by |
| 46 | unfold Coefficients.CM.SurfaceConstruction.realizeCoefficient pulledCoefficient |
| 47 | rw [ComplexMultiplication.EmbeddingCoefficientField.CM.coefficientInclusion_baseChange, CMReduction.CoefficientVectors.CM.Construction.coefficientVector_inclusion, |
| 48 | LinearMap.baseChange_comp, LinearMap.comp_apply, Pairs.CM.SurfaceConstruction.complexification_pullback] |
| 49 | rfl |
| 50 | |
| 51 | theorem pulledCoefficient_conjugate {v : LefschetzNormalization.Sign E} |
| 52 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 53 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : X.toOver ⟶ R.abelianVariety.toOver) |
| 54 | (g a : LefschetzNormalization.G E) : |
| 55 | ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ E (X.rationalCohomology 1) g (pulledCoefficient E R X π a) = |
| 56 | pulledCoefficient E R X π (g * a) := by |
| 57 | unfold pulledCoefficient |
| 58 | rw [ComplexMultiplication.EmbeddingCoefficientField.CM.scalarConjugate_baseChange, CMReduction.CoefficientVectors.CM.Construction.coefficientVector_conjugate] |
| 59 | |
| 60 | def pairCoefficient {u v : LefschetzNormalization.Sign E} |
| 61 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E u)) |
| 62 | (T : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 63 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 64 | (πR : X.toOver ⟶ R.abelianVariety.toOver) |
| 65 | (πT : X.toOver ⟶ T.abelianVariety.toOver) (a b : LefschetzNormalization.G E) : |
| 66 | E ⊗[ℚ] X.rationalCohomology 2 := |
| 67 | Pairs.CM.SurfaceConstruction.coefficientH1Cup E X (pulledCoefficient E R X πR a) (pulledCoefficient E T X πT b) |
| 68 | |
| 69 | def pairClass {u v : LefschetzNormalization.Sign E} |
| 70 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E u)) |
| 71 | (T : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 72 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 73 | (πR : X.toOver ⟶ R.abelianVariety.toOver) |
| 74 | (πT : X.toOver ⟶ T.abelianVariety.toOver) (a b : LefschetzNormalization.G E) : |
| 75 | X.complexCohomology 2 := |
| 76 | AlgebraicTopology.Products.CupCohomology.singularCohomologyCup (Betti.Scheme.schemePointSpace X.toOver) 1 1 |
| 77 | (pulledClass E R X πR a) (pulledClass E T X πT b) |
| 78 | |
| 79 | theorem pairCoefficient_realize {u v : LefschetzNormalization.Sign E} |
| 80 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E u)) |
| 81 | (T : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 82 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 83 | (πR : X.toOver ⟶ R.abelianVariety.toOver) |
| 84 | (πT : X.toOver ⟶ T.abelianVariety.toOver) (a b : LefschetzNormalization.G E) : |
| 85 | Coefficients.CM.SurfaceConstruction.realizeCoefficient E X 2 (pairCoefficient E R T X πR πT a b) = |
| 86 | pairClass E R T X πR πT a b := by |
| 87 | rw [pairCoefficient, Pairs.CM.SurfaceConstruction.realizeCoefficient_h1Cup, pulledCoefficient_realize, |
| 88 | pulledCoefficient_realize] |
| 89 | rfl |
| 90 | |
| 91 | theorem pairCoefficient_conjugate {u v : LefschetzNormalization.Sign E} |
| 92 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E u)) |
| 93 | (T : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 94 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 95 | (πR : X.toOver ⟶ R.abelianVariety.toOver) |
| 96 | (πT : X.toOver ⟶ T.abelianVariety.toOver) (g a b : LefschetzNormalization.G E) : |
| 97 | ComplexMultiplication.ScalarDescent.CM.scalarConjugate ℚ E (X.rationalCohomology 2) g |
| 98 | (pairCoefficient E R T X πR πT a b) = |
| 99 | pairCoefficient E R T X πR πT (g * a) (g * b) := by |
| 100 | rw [pairCoefficient, Pairs.CM.SurfaceConstruction.coefficientH1Cup_conjugate, pulledCoefficient_conjugate, |
| 101 | pulledCoefficient_conjugate] |
| 102 | rfl |
| 103 | |
| 104 | theorem pulledClass_holomorphic {v : LefschetzNormalization.Sign E} |
| 105 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 106 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : X.toOver ⟶ R.abelianVariety.toOver) |
| 107 | (a : LefschetzNormalization.G E) (ha : v.val a = true) : |
| 108 | pulledClass E R X π a ∈ X.pureBettiSubspace 1 0 := by |
| 109 | apply Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.complexBettiPullback_mem_pureBettiSubspace π 1 0 |
| 110 | apply (R.complexComparison_holomorphic _).mpr |
| 111 | exact (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure_holomorphic E v a).mpr ha |
| 112 | |
| 113 | theorem pulledClass_antiholomorphic {v : LefschetzNormalization.Sign E} |
| 114 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 115 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) (π : X.toOver ⟶ R.abelianVariety.toOver) |
| 116 | (a : LefschetzNormalization.G E) (ha : v.val a = false) : |
| 117 | pulledClass E R X π a ∈ X.pureBettiSubspace 0 1 := by |
| 118 | apply Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety.complexBettiPullback_mem_pureBettiSubspace π 0 1 |
| 119 | apply (R.complexComparison_antiholomorphic _).mpr |
| 120 | exact (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure_antiholomorphic E v a).mpr ha |
| 121 | |
| 122 | theorem pairClass_hodge {u v : LefschetzNormalization.Sign E} |
| 123 | (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E u)) |
| 124 | (T : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 125 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 126 | (πR : X.toOver ⟶ R.abelianVariety.toOver) |
| 127 | (πT : X.toOver ⟶ T.abelianVariety.toOver) (a b : LefschetzNormalization.G E) |
| 128 | (h : ComplexMultiplication.SignSwitch.CM.signValue (u.val a) + ComplexMultiplication.SignSwitch.CM.signValue (v.val b) = 0) : |
| 129 | pairClass E R T X πR πT a b ∈ X.pureBettiSubspace 1 1 := by |
| 130 | have ho := (LefschetzNormalization.sign_pair_zero_iff _ _).mp h |
| 131 | by_cases hu : u.val a = true |
| 132 | · have hv : v.val b = false := by simpa only [hu, Bool.not_true] using ho |
| 133 | exact AlgebraicTopology.Kunneth.ProjectiveCupPurity.Constructions.projectiveCup_mem_pure X 1 0 0 1 _ _ |
| 134 | (pulledClass_holomorphic E R X πR a hu) |
| 135 | (pulledClass_antiholomorphic E T X πT b hv) |
| 136 | · have hu' : u.val a = false := Bool.eq_false_iff.mpr hu |
| 137 | have hv : v.val b = true := by simpa only [hu', Bool.not_false] using ho |
| 138 | exact AlgebraicTopology.Kunneth.ProjectiveCupPurity.Constructions.projectiveCup_mem_pure X 0 1 1 0 _ _ |
| 139 | (pulledClass_antiholomorphic E R X πR a hu') |
| 140 | (pulledClass_holomorphic E T X πT b hv) |
| 141 | |
| 142 | /-- Full orbitwise sign cancellation produces an actual divisor class over E. |
| 143 | This invokes the specified scalar-descent and degree-two propositions. -/ |
| 144 | theorem pairCoefficient_algebraic |
| 145 | (hScalarDescent : Coefficients.CM.SurfaceConstruction.ScalarTraceDescent E) (hDegreeTwo : Coefficients.CM.SurfaceConstruction.DegreeTwoAlgebraicity) |
| 146 | {u v : LefschetzNormalization.Sign E} (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E u)) |
| 147 | (T : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 148 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 149 | (πR : X.toOver ⟶ R.abelianVariety.toOver) |
| 150 | (πT : X.toOver ⟶ T.abelianVariety.toOver) (a b : LefschetzNormalization.G E) |
| 151 | (h : ∀ g : LefschetzNormalization.G E, ComplexMultiplication.SignSwitch.CM.signValue (u.val (g * a)) + ComplexMultiplication.SignSwitch.CM.signValue (v.val (g * b)) = 0) : |
| 152 | pairCoefficient E R T X πR πT a b ∈ Coefficients.CM.SurfaceConstruction.coefficientAlgebraicClasses E X 1 := by |
| 153 | apply Coefficients.CM.SurfaceConstruction.degreeTwo_algebraic_of_conjugates E hScalarDescent hDegreeTwo |
| 154 | intro g |
| 155 | rw [pairCoefficient_conjugate, pairCoefficient_realize] |
| 156 | exact pairClass_hodge E R T X πR πT (g * a) (g * b) (h g) |
| 157 | |
| 158 | theorem pairClass_algebraic |
| 159 | (hScalarDescent : Coefficients.CM.SurfaceConstruction.ScalarTraceDescent E) (hDegreeTwo : Coefficients.CM.SurfaceConstruction.DegreeTwoAlgebraicity) |
| 160 | {u v : LefschetzNormalization.Sign E} (R : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E u)) |
| 161 | (T : ComplexMultiplication.CMKnownResults.CM.HodgeRealization (ComplexMultiplication.GaloisCMType.CM.CMCoefficientField.hodgeStructure E v)) |
| 162 | (X : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety) |
| 163 | (πR : X.toOver ⟶ R.abelianVariety.toOver) |
| 164 | (πT : X.toOver ⟶ T.abelianVariety.toOver) (a b : LefschetzNormalization.G E) |
| 165 | (h : ∀ g : LefschetzNormalization.G E, ComplexMultiplication.SignSwitch.CM.signValue (u.val (g * a)) + ComplexMultiplication.SignSwitch.CM.signValue (v.val (g * b)) = 0) : |
| 166 | pairClass E R T X πR πT a b ∈ X.complexGeometricAlgebraicClasses 1 := by |
| 167 | rw [← pairCoefficient_realize] |
| 168 | exact CMReduction.OppositePairs.CM.Construction.coefficient_algebraic_realize E X 1 |
| 169 | (pairCoefficient_algebraic E hScalarDescent hDegreeTwo R T X πR πT a b h) |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI.AlgebraicGeometry.HodgeConjecture.GeometricCoefficients.LefschetzNormalization.Geometry |