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.Rational.ProEtaleCoefficients |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Cohomology |
| 3 | |
| 4 | /-! # Cohomology Linearity -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.CohomologyLinearity.RationalProEtaleCoefficients |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual integral-to-rational cohomology inclusion is linear over the p-adic integers. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction OAI.NumberTheory.PadicHodge.IntegralComparison.Cohomology |
| 15 | |
| 16 | variable (ℓ : ℕ) [Fact ℓ.Prime] (X : Scheme.{0}) |
| 17 | |
| 18 | instance rationalIntegerModule (n : ℕ) : Module ℤ_[ℓ] (IntegralComparison.Cohomology.RationalEllAdicCohomology ℓ X n) := |
| 19 | Module.compHom _ (algebraMap ℤ_[ℓ] ℚ_[ℓ]) |
| 20 | |
| 21 | instance rationalIntegerTower (n : ℕ) : |
| 22 | IsScalarTower ℤ_[ℓ] ℚ_[ℓ] (IntegralComparison.Cohomology.RationalEllAdicCohomology ℓ X n) where |
| 23 | smul_assoc a b x := by |
| 24 | change ((a : ℚ_[ℓ]) * b) • x = (a : ℚ_[ℓ]) • (b • x) |
| 25 | exact mul_smul _ _ _ |
| 26 | |
| 27 | theorem integralInclusion_scalar (a : ℤ_[ℓ]) : |
| 28 | AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction.liftedEllAdicScalar ℓ X a ≫ ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X = |
| 29 | ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X ≫ ProEtaleCoefficients.RationalProEtaleCoefficients.scalar ℓ X (a : ℚ_[ℓ]) := by |
| 30 | apply Sheaf.hom_ext |
| 31 | apply NatTrans.ext |
| 32 | funext U |
| 33 | apply AddCommGrpCat.hom_ext |
| 34 | apply AddMonoidHom.ext |
| 35 | intro s |
| 36 | change ULift.{1} C(U.unop.left, ℤ_[ℓ]) at s |
| 37 | change (ProEtaleCoefficients.RationalProEtaleCoefficients.coefficientInclusion ℓ U.unop.left (ULift.up (a • s.down)) : |
| 38 | C(U.unop.left, IntegralComparison.Cohomology.Coeff.{0} ℓ)) = _ |
| 39 | apply ContinuousMap.ext |
| 40 | intro x |
| 41 | apply ULift.ext |
| 42 | rfl |
| 43 | |
| 44 | theorem cohomologyEquiv_inclusion (n : ℕ) (x : X.EllAdicCohomology ℓ n) : |
| 45 | ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X n (ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyInclusion ℓ X n x) = |
| 46 | Sheaf.H.map (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) n x := |
| 47 | (ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X n).apply_symm_apply _ |
| 48 | |
| 49 | private theorem coefficient_scalar_cohomology (n : ℕ) (a : ℤ_[ℓ]) |
| 50 | (x : (AlgebraicGeometry.FormalGeometry.Completion.ProetalePullback.Construction.liftedEllAdicCoefficient ℓ X).H n) : |
| 51 | Sheaf.H.map (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) n (Sheaf.H.map (AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction.liftedEllAdicScalar ℓ X a) n x) = |
| 52 | Sheaf.H.map (ProEtaleCoefficients.RationalProEtaleCoefficients.scalar ℓ X (a : ℚ_[ℓ])) n (Sheaf.H.map (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) n x) := by |
| 53 | rw [← Sheaf.H.map_comp_apply, ← Sheaf.H.map_comp_apply, integralInclusion_scalar] |
| 54 | |
| 55 | theorem cohomologyInclusion_smul (n : ℕ) (a : ℤ_[ℓ]) (x : X.EllAdicCohomology ℓ n) : |
| 56 | ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyInclusion ℓ X n (a • x) = (a : ℚ_[ℓ]) • ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyInclusion ℓ X n x := by |
| 57 | apply (ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv ℓ X n).injective |
| 58 | rw [cohomologyEquiv_inclusion, ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyEquiv_smul, cohomologyEquiv_inclusion] |
| 59 | change Sheaf.H.map (ProEtaleCoefficients.RationalProEtaleCoefficients.integralInclusion ℓ X) n (Sheaf.H.map (AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction.liftedEllAdicScalar ℓ X a) n x) = _ |
| 60 | exact coefficient_scalar_cohomology ℓ X n a x |
| 61 | |
| 62 | def cohomologyInclusionLinear (n : ℕ) : |
| 63 | X.EllAdicCohomology ℓ n →ₗ[ℤ_[ℓ]] IntegralComparison.Cohomology.RationalEllAdicCohomology ℓ X n where |
| 64 | __ := ProEtaleCoefficients.RationalProEtaleCoefficients.cohomologyInclusion ℓ X n |
| 65 | map_smul' := cohomologyInclusion_smul ℓ X n |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Rational.CohomologyLinearity.RationalProEtaleCoefficients |