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.AlgebraPushout |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.OpenSectionBase |
| 3 | |
| 4 | /-! # Affine Reduction Ring -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineReductionRing.IntrinsicAffineReductionRing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Reduction on the actual rings of affine geometric sections is surjective |
| 11 | with the original extended coefficient kernel. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.GeometricComparison.OpenSectionBase.OpenSectionScalarAlgebras |
| 16 | |
| 17 | variable (R S : Type) [CommRing R] [CommRing S] [Algebra R S] |
| 18 | (X : Over (Spec (CommRingCat.of R))) (Y : Over (Spec (CommRingCat.of S))) |
| 19 | (f : Y.left ⟶ X.left) |
| 20 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (algebraMap R S)))) |
| 21 | (U : X.left.Opens) (hU : IsAffineOpen U) (hS : Function.Surjective (algebraMap R S)) |
| 22 | |
| 23 | local instance sourceCoefficients : Algebra R Γ(X.left, U) := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra R X U |
| 24 | local instance targetCoefficients : Algebra S Γ(Y.left, f ⁻¹ᵁ U) := |
| 25 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra S Y (f ⁻¹ᵁ U) |
| 26 | local instance targetBase : Algebra R Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.baseAlgebra R S X Y f U |
| 27 | local instance reductionAlgebra : Algebra Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceAlgebra R S X Y f U |
| 28 | local instance baseTower : IsScalarTower R S Γ(Y.left, f ⁻¹ᵁ U) := |
| 29 | IsScalarTower.of_algebraMap_eq (fun _ => rfl) |
| 30 | |
| 31 | include hp hU hS in |
| 32 | theorem surjective : Function.Surjective (f.app U).hom := by |
| 33 | let : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U hp.w |
| 34 | let : Algebra.IsPushout R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.pushout R S X Y f U hp hU |
| 35 | exact AlgebraPushout.AlgebraPushoutReduction.surjective R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) hS |
| 36 | |
| 37 | include hp hU hS in |
| 38 | theorem kernel : RingHom.ker (f.app U).hom = |
| 39 | (RingHom.ker (algebraMap R S)).map (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap R X U) := by |
| 40 | let : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U hp.w |
| 41 | let : Algebra.IsPushout R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.pushout R S X Y f U hp hU |
| 42 | exact AlgebraPushout.AlgebraPushoutReduction.kernel R S Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) hS |
| 43 | |
| 44 | include hp hU hS in |
| 45 | theorem kernel_principal (r : R) (hr : RingHom.ker (algebraMap R S) = Ideal.span {r}) : |
| 46 | RingHom.ker (f.app U).hom = Ideal.span {AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap R X U r} := by |
| 47 | rw [kernel R S X Y f hp U hU hS, hr, Ideal.map_span, Set.image_singleton] |
| 48 | |
| 49 | include hp in |
| 50 | theorem base (r : R) : (f.app U).hom (AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap R X U r) = |
| 51 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap S Y (f ⁻¹ᵁ U) (algebraMap R S r) := by |
| 52 | let : IsScalarTower R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) := OpenSectionBase.OpenSectionScalarAlgebras.sourceTower R S X Y f U hp.w |
| 53 | exact (IsScalarTower.algebraMap_apply R Γ(X.left, U) Γ(Y.left, f ⁻¹ᵁ U) r).symm |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.AffineReductionRing.IntrinsicAffineReductionRing |