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.NumberTheory.PadicHodge.GeometricComparison.AdditiveSheaf |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cohomology |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback |
| 4 | |
| 5 | /-! # Pro Etale Coefficients -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.ProEtaleCoefficients.RationalProEtaleCoefficients |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The original rational pro-étale cohomology is compared with its actual additive coefficient sheaf, and the integral coefficient inclusion is constructed. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Abelian _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Cohomology OAI.AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction |
| 16 | |
| 17 | variable (ℓ : ℕ) [Fact ℓ.Prime] (X : Scheme.{0}) |
| 18 | |
| 19 | instance coefficientCharZero : CharZero (IntegralComparison.Cohomology.Coeff.{0} ℓ) := |
| 20 | charZero_of_injective_ringHom |
| 21 | (f := (ULift.ringEquiv.symm : ℚ_[ℓ] ≃+* IntegralComparison.Cohomology.Coeff.{0} ℓ).toRingHom) |
| 22 | (ULift.ringEquiv.symm : ℚ_[ℓ] ≃+* IntegralComparison.Cohomology.Coeff.{0} ℓ).injective |
| 23 | |
| 24 | instance integerHasExt : HasExt.{1} (Sheaf (Scheme.ProEt.topology X) (ModuleCat.{1} ℤ)) := |
| 25 | hasExt_of_enoughInjectives _ |
| 26 | |
| 27 | abbrev additiveSheaf : Sheaf (Scheme.ProEt.topology X) Ab.{1} := |
| 28 | AdditiveSheaf.AdditiveSheafCohomology.underlyingSheaf (IntegralComparison.Cohomology.Coeff.{0} ℓ) (Scheme.ProEt.topology X) |
| 29 | (IntegralComparison.Cohomology.rationalCoefficientSheaf ℓ X) |
| 30 | |
| 31 | def cohomologyEquiv (n : ℕ) : IntegralComparison.Cohomology.RationalEllAdicCohomology ℓ X n ≃+ (additiveSheaf ℓ X).H n := |
| 32 | AdditiveSheaf.AdditiveSheafCohomology.equiv (IntegralComparison.Cohomology.Coeff.{0} ℓ) (Scheme.ProEt.topology X) |
| 33 | (IntegralComparison.Cohomology.rationalCoefficientSheaf ℓ X) n |
| 34 | |
| 35 | def coefficientInclusion (T : Type*) [TopologicalSpace T] : |
| 36 | ULift.{1} C(T, ℤ_[ℓ]) →+ C(T, IntegralComparison.Cohomology.Coeff.{0} ℓ) where |
| 37 | toFun := fun s => ⟨fun x => ULift.up (s.down x : ℚ_[ℓ]), |
| 38 | continuous_uliftUp.comp (continuous_subtype_val.comp s.down.continuous)⟩ |
| 39 | map_zero' := by ext x; rfl |
| 40 | map_add' := by intro s t; ext x; rfl |
| 41 | |
| 42 | def integralInclusion : AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X ⟶ additiveSheaf ℓ X where |
| 43 | hom.app U := AddCommGrpCat.ofHom (coefficientInclusion ℓ U.unop.left) |
| 44 | hom.naturality := by |
| 45 | intro U V f |
| 46 | apply AddCommGrpCat.hom_ext |
| 47 | apply AddMonoidHom.ext |
| 48 | intro s |
| 49 | change (coefficientInclusion ℓ V.unop.left _ : C(V.unop.left, IntegralComparison.Cohomology.Coeff.{0} ℓ)) = _ |
| 50 | ext x |
| 51 | rfl |
| 52 | |
| 53 | def cohomologyInclusion (n : ℕ) : X.EllAdicCohomology ℓ n →+ IntegralComparison.Cohomology.RationalEllAdicCohomology ℓ X n := |
| 54 | (cohomologyEquiv ℓ X n).symm.toAddMonoidHom.comp (Sheaf.H.map (integralInclusion ℓ X) n) |
| 55 | |
| 56 | def scalar (a : ℚ_[ℓ]) : additiveSheaf ℓ X ⟶ additiveSheaf ℓ X := |
| 57 | (IntegerSheaf.IntegerSheafEquivalence.forgetSheaf (Scheme.ProEt.topology X)).map |
| 58 | ((SheafCoefficientCo.SheafCoefficientAdjunction.restrictSheaf (IntegralComparison.Cohomology.Coeff.{0} ℓ) (Scheme.ProEt.topology X)).map |
| 59 | ((ULift.up a : IntegralComparison.Cohomology.Coeff.{0} ℓ) • 𝟙 (IntegralComparison.Cohomology.rationalCoefficientSheaf ℓ X))) |
| 60 | |
| 61 | theorem cohomologyEquiv_smul (n : ℕ) (a : ℚ_[ℓ]) (x : IntegralComparison.Cohomology.RationalEllAdicCohomology ℓ X n) : |
| 62 | cohomologyEquiv ℓ X n (a • x) = Sheaf.H.map (scalar ℓ X a) n (cohomologyEquiv ℓ X n x) := by |
| 63 | let y : Ext (AdditiveSheaf.AdditiveSheafCohomology.fieldConstant (IntegralComparison.Cohomology.Coeff.{0} ℓ) (Scheme.ProEt.topology X)) |
| 64 | (IntegralComparison.Cohomology.rationalCoefficientSheaf ℓ X) n := x |
| 65 | have h := AdditiveSheaf.AdditiveSheafCohomology.naturality (IntegralComparison.Cohomology.Coeff.{0} ℓ) (Scheme.ProEt.topology X) |
| 66 | ((ULift.up a : IntegralComparison.Cohomology.Coeff.{0} ℓ) • 𝟙 (IntegralComparison.Cohomology.rationalCoefficientSheaf ℓ X)) n y |
| 67 | rw [← Ext.smul_eq_comp_mk₀] at h |
| 68 | exact h |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.ProEtaleCoefficients.RationalProEtaleCoefficients |