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.Geometric.ComparisonSpecialization |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeScalar |
| 3 | |
| 4 | /-! # Specialized -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Rational specialization of GeometricComparison's Hecke realization respects its |
| 11 | actual integral representatives and their stated denominator clearings. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 15 | open OAI.NumberTheory.PadicHodge.GeometricComparison.HeckeScalar |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Geometric.ComparisonSpecialization.CM |
| 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 specializeRational : FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd A.variety.scheme →ₐ[ℚ] |
| 22 | FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd A.specialFiber.scheme := |
| 23 | Algebra.TensorProduct.map (AlgHom.id ℚ ℚ) (Geometric.ComparisonSpecialization.CM.specializeEnd A).toIntAlgHom |
| 24 | |
| 25 | theorem specializeRational_tmul (r : ℚ) (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.variety.scheme) : |
| 26 | specializeRational A (r ⊗ₜ[ℤ] f) = r ⊗ₜ[ℤ] Geometric.ComparisonSpecialization.CM.specializeEnd A f := by |
| 27 | simp [specializeRational] |
| 28 | |
| 29 | def specialEndOfExtending (f : A.ExtendingEndomorphism) : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.specialFiber.scheme := by |
| 30 | let u : A.integral.scheme ⟶ A.integral.scheme := f.integral.toMul.hom.hom |
| 31 | let : IsMonHom u := f.integral.toMul.hom.isMonHom_hom |
| 32 | let : GrpObj ((Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q))).obj |
| 33 | A.integral.scheme) := |
| 34 | Functor.grpObjObj (F := Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q))) |
| 35 | let fS : A.specialFiber.scheme ⟶ A.specialFiber.scheme := |
| 36 | (Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q))).map u |
| 37 | let : IsMonHom fS := inferInstanceAs (IsMonHom |
| 38 | ((Over.pullback (NumberTheory.PadicHodge.GeometricComparison.Geometry.scalarBaseMap (PadicInt.toZMod : ℤ_[q] →+* ZMod q))).map u)) |
| 39 | exact Additive.ofMul (Grp.ofHom fS) |
| 40 | |
| 41 | theorem specializeEnd_eq (f : A.ExtendingEndomorphism) : |
| 42 | Geometric.ComparisonSpecialization.CM.specializeEnd A f.generic = specialEndOfExtending A f := by |
| 43 | apply Additive.toMul.injective |
| 44 | apply Grp.hom_ext |
| 45 | exact Geometric.ComparisonSpecialization.CM.specializeEnd_extending A f |
| 46 | |
| 47 | variable {H : Type} [CommRing H] [Algebra ℚ H] |
| 48 | |
| 49 | def specializedHeckeAction (ρ : A.HeckeRealization H) : |
| 50 | H →ₐ[ℚ] FormalGeometry.Completion.Endomorphisms.Construction.RationalAlgebraicEnd A.specialFiber.scheme := |
| 51 | (specializeRational A).comp ρ.action |
| 52 | |
| 53 | theorem specializedHeckeAction_presentation (ρ : A.HeckeRealization H) (h : H) : |
| 54 | (ρ.presentation h).sum (fun f r => r ⊗ₜ[ℤ] specialEndOfExtending A f) = |
| 55 | specializedHeckeAction A ρ h := by |
| 56 | calc |
| 57 | _ = (ρ.presentation h).sum (fun f r => specializeRational A (r ⊗ₜ[ℤ] f.generic)) := by |
| 58 | apply Finsupp.sum_congr |
| 59 | intro f _ |
| 60 | rw [specializeRational_tmul, specializeEnd_eq] |
| 61 | _ = specializeRational A ((ρ.presentation h).sum (fun f r => r ⊗ₜ[ℤ] f.generic)) := |
| 62 | (map_finsuppSum (specializeRational A) _ _).symm |
| 63 | _ = specializedHeckeAction A ρ h := congrArg (specializeRational A) (ρ.represents h) |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Specialized.CM.Hecke |