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.HeckeCycles.BettiEndAdditivity |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ComparisonRelations |
| 3 | import OAI.ArithmeticGeometry.Models.SpreadingOut.SmoothGeometricIntegrality |
| 4 | |
| 5 | /-! # Extending Additivity -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ExtendingAdditivity.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Additivity on crystalline H1 for genuinely extending endomorphisms |
| 12 | is a consequence of Betti H1 and the complete comparison proposition. |
| 13 | The complex fiber retains its given scheme, group, and projective embedding. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {K : Type} [Field K] [NumberField K] |
| 19 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 20 | |
| 21 | def addEnd (f g : A.ExtendingEndomorphism) : A.ExtendingEndomorphism where |
| 22 | generic := f.generic + g.generic |
| 23 | integral := f.integral + g.integral |
| 24 | compatible := by |
| 25 | let bi := NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (algebraMap ℤ_[q] ℚ_[q]) |
| 26 | let bg := NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap jq |
| 27 | let fi : (A.integral.pullback bi).scheme ⟶ (A.integral.pullback bi).scheme := |
| 28 | (Over.pullback bi).map f.integral.toMul.hom.hom |
| 29 | let gi : (A.integral.pullback bi).scheme ⟶ (A.integral.pullback bi).scheme := |
| 30 | (Over.pullback bi).map g.integral.toMul.hom.hom |
| 31 | let fg : (A.variety.pullback bg).scheme ⟶ (A.variety.pullback bg).scheme := |
| 32 | (Over.pullback bg).map f.generic.toMul.hom.hom |
| 33 | let gg : (A.variety.pullback bg).scheme ⟶ (A.variety.pullback bg).scheme := |
| 34 | (Over.pullback bg).map g.generic.toMul.hom.hom |
| 35 | let : IsMonHom A.genericIso.hom := A.genericIso_group |
| 36 | change (Over.pullback bi).map (f.integral.toMul.hom.hom * g.integral.toMul.hom.hom) ≫ |
| 37 | A.genericIso.hom = A.genericIso.hom ≫ |
| 38 | (Over.pullback bg).map (f.generic.toMul.hom.hom * g.generic.toMul.hom.hom) |
| 39 | calc |
| 40 | _ = (fi * gi) ≫ A.genericIso.hom := congrArg (· ≫ A.genericIso.hom) |
| 41 | ((Over.pullback bi).map_mul f.integral.toMul.hom.hom g.integral.toMul.hom.hom) |
| 42 | _ = (fi ≫ A.genericIso.hom) * (gi ≫ A.genericIso.hom) := MonObj.mul_comp fi gi _ |
| 43 | _ = (A.genericIso.hom ≫ fg) * (A.genericIso.hom ≫ gg) := |
| 44 | congrArg₂ (· * ·) f.compatible g.compatible |
| 45 | _ = A.genericIso.hom ≫ (fg * gg) := (MonObj.comp_mul _ fg gg).symm |
| 46 | _ = _ := congrArg (A.genericIso.hom ≫ ·) |
| 47 | ((Over.pullback bg).map_mul f.generic.toMul.hom.hom g.generic.toMul.hom.hom).symm |
| 48 | |
| 49 | theorem special_addEnd (f g : A.ExtendingEndomorphism) : |
| 50 | A.specialEndomorphism (addEnd A f g) = A.specialEndomorphism f * A.specialEndomorphism g := |
| 51 | (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q))).map_mul |
| 52 | f.integral.toMul.hom.hom g.integral.toMul.hom.hom |
| 53 | |
| 54 | theorem complex_addEnd (j : K →+* ℂ) (f g : A.ExtendingEndomorphism) : |
| 55 | A.complexEndomorphism j (addEnd A f g) = |
| 56 | A.complexEndomorphism j f * A.complexEndomorphism j g := |
| 57 | (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap j)).map_mul f.generic.toMul.hom.hom g.generic.toMul.hom.hom |
| 58 | |
| 59 | def complexAbelianVariety (j : K →+* ℂ) |
| 60 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) : |
| 61 | ComplexMultiplication.CMAbelianVariety.CM.AbelianVariety := by |
| 62 | let : SmoothOfRelativeDimension A.dimension (A.complexFiber j).scheme.hom := |
| 63 | (A.complexFiber j).smoothDimension |
| 64 | let : Smooth (A.complexFiber j).scheme.hom := |
| 65 | SmoothOfRelativeDimension.smooth A.dimension (A.complexFiber j).scheme.hom |
| 66 | have : ConnectedSpace (A.complexFiber j).scheme.left := |
| 67 | GeometricallyConnected.connectedSpace_of_subsingleton (A.complexFiber j).scheme.hom |
| 68 | have hIntegral : IsIntegral (A.complexFiber j).scheme.left := |
| 69 | ArithmeticGeometry.Models.SpreadingOut.SmoothGeometricIntegrality.Construction.smooth_connected_scheme_integral (A.complexFiber j).scheme.hom |
| 70 | exact { |
| 71 | variety := ⟨A.smoothProjectiveFiber j P, hIntegral⟩ |
| 72 | group := (A.complexFiber j).group |
| 73 | commutative := (A.complexFiber j).commutative } |
| 74 | |
| 75 | theorem complexBetti_addEnd (j : K →+* ℂ) |
| 76 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 77 | (f g : A.ExtendingEndomorphism) : |
| 78 | A.complexBettiPullback j (addEnd A f g) = |
| 79 | A.complexBettiPullback j f + A.complexBettiPullback j g := by |
| 80 | change (Betti.Scheme.schemeBettiMap (ModuleCat.of ℂ ℂ) 1 (A.complexEndomorphism j (addEnd A f g))).hom = _ |
| 81 | rw [complex_addEnd] |
| 82 | exact BettiEndAdditivity.CM.complex_pullback_mul_map (complexAbelianVariety A j P) |
| 83 | (A.complexEndomorphism j f) (A.complexEndomorphism j g) |
| 84 | |
| 85 | theorem crystalline_addEnd_of_full_comparison |
| 86 | (κ : K →+* AlgebraicClosure ℚ) (jComplex : AlgebraicClosure ℚ →+* ℂ) |
| 87 | (iota : AlgebraicClosure ℚ →+* AlgebraicClosure ℚ_[q]) |
| 88 | {H : Type} [CommRing H] [Algebra ℚ H] (ρ : A.HeckeRealization H) |
| 89 | (P : Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber (jComplex.comp κ)).scheme.left |
| 90 | (A.complexFiber (jComplex.comp κ)).scheme.hom) |
| 91 | (ℓ : ℕ) [Fact ℓ.Prime] |
| 92 | (hcomparison : NumberTheory.PadicHodge.GeometricComparison.HeckeScalar.ComparisonTarget q κ jComplex iota jq A H ρ P ℓ) |
| 93 | (f g : A.ExtendingEndomorphism) : |
| 94 | A.crystallinePullback (addEnd A f g) = A.crystallinePullback f + A.crystallinePullback g := by |
| 95 | let fs : Fin 3 → A.ExtendingEndomorphism := ![addEnd A f g, f, g] |
| 96 | let cs : Fin 3 → ℤ := ![1, -1, -1] |
| 97 | have hb : (∑ i : Fin 3, cs i • A.complexBettiPullback (jComplex.comp κ) (fs i)) = 0 := by |
| 98 | simp only [Fin.sum_univ_three, fs, cs, Matrix.cons_val_zero, Matrix.cons_val_one, |
| 99 | Matrix.cons_val_two, Matrix.head_cons, Matrix.tail_cons, one_smul, neg_smul, complexBetti_addEnd A _ P] |
| 100 | abel |
| 101 | have hc := ComparisonRelations.CM.crystalline_relations_of_full_comparison A κ jComplex iota |
| 102 | ρ P ℓ hcomparison Finset.univ fs cs hb |
| 103 | simp only [Fin.sum_univ_three, fs, cs, Matrix.cons_val_zero, Matrix.cons_val_one, |
| 104 | Matrix.cons_val_two, Matrix.head_cons, Matrix.tail_cons, one_smul, neg_smul] at hc |
| 105 | apply sub_eq_zero.mp |
| 106 | calc |
| 107 | _ = A.crystallinePullback (addEnd A f g) + -A.crystallinePullback f + |
| 108 | -A.crystallinePullback g := by abel |
| 109 | _ = 0 := hc |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ExtendingAdditivity.CM |