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.Affine.SectionCoefficients |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ScalarFormsChange |
| 3 | |
| 4 | /-! # Relative Section Coefficients -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace NumberTheory.PadicHodge.GeometricComparison.RelativeSectionCoefficients.AffineCoordinates |
| 11 | |
| 12 | /-! The native coefficients on a relative affine spectrum are the actual composite of the base and coordinate-ring maps. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable (R A : Type) [CommRing R] [CommRing A] [Algebra R A] |
| 17 | |
| 18 | attribute [local instance] Affine.CoordinateLocalization.AffineCoordinates.sectionAlgebra |
| 19 | |
| 20 | def relativeSpecModel : Over (Spec (CommRingCat.of R)) := |
| 21 | ScalarFormsChange.SectionScalarChange.restrictBase (algebraMap R A) (AlgebraicGeometry.Crystalline.Cohomology.Affine.Cech.AffineCech.model A) |
| 22 | |
| 23 | theorem relative_sectionBaseMap_eq (U : (Spec (CommRingCat.of A)).Opens) : |
| 24 | AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionBaseMap R (relativeSpecModel R A) U = |
| 25 | (algebraMap A Γ(Spec (CommRingCat.of A), U)).comp (algebraMap R A) := |
| 26 | (ScalarFormsChange.SectionScalarChange.sectionBaseMap_comp (algebraMap R A) (AlgebraicGeometry.Crystalline.Cohomology.Affine.Cech.AffineCech.model A) U).trans |
| 27 | (congrArg (fun f : A →+* Γ(Spec (CommRingCat.of A), U) => f.comp (algebraMap R A)) |
| 28 | (Affine.SectionCoefficients.AffineCoordinates.sectionBaseMap_eq A U)) |
| 29 | |
| 30 | end NumberTheory.PadicHodge.GeometricComparison.RelativeSectionCoefficients.AffineCoordinates |
| 31 | |
| 32 | namespace NumberTheory.PadicHodge.GeometricComparison.RelativeSectionCoefficients.RelativeSpecMaps |
| 33 | |
| 34 | /-! Actual homomorphisms of base algebras induce morphisms between the native relative affine models. -/ |
| 35 | |
| 36 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 37 | |
| 38 | variable (R A : Type) [CommRing R] [CommRing A] [Algebra R A] |
| 39 | |
| 40 | theorem structure_eq : (AffineCoordinates.relativeSpecModel R A).hom = |
| 41 | Spec.map (CommRingCat.ofHom (algebraMap R A)) := Category.id_comp _ |
| 42 | |
| 43 | variable {R A} {B : Type} [CommRing B] [Algebra R B] |
| 44 | |
| 45 | theorem spec_condition (f : A →ₐ[R] B) : |
| 46 | Spec.map (CommRingCat.ofHom f.toRingHom) ≫ Spec.map (CommRingCat.ofHom (algebraMap R A)) = |
| 47 | Spec.map (CommRingCat.ofHom (algebraMap R B)) := by |
| 48 | have h : CommRingCat.ofHom (algebraMap R A) ≫ CommRingCat.ofHom f.toRingHom = |
| 49 | CommRingCat.ofHom (algebraMap R B) := by |
| 50 | apply CommRingCat.hom_ext |
| 51 | exact RingHom.ext f.commutes |
| 52 | exact (Spec.map_comp (CommRingCat.ofHom (algebraMap R A)) (CommRingCat.ofHom f.toRingHom)).symm.trans |
| 53 | (congrArg Spec.map h) |
| 54 | |
| 55 | def map (f : A →ₐ[R] B) : AffineCoordinates.relativeSpecModel R B ⟶ |
| 56 | AffineCoordinates.relativeSpecModel R A := |
| 57 | Over.homMk (Spec.map (CommRingCat.ofHom f.toRingHom)) (by |
| 58 | exact (congrArg (fun g : Spec (CommRingCat.of A) ⟶ Spec (CommRingCat.of R) => |
| 59 | Spec.map (CommRingCat.ofHom f.toRingHom) ≫ g) (structure_eq R A)).trans |
| 60 | ((spec_condition f).trans (structure_eq R B).symm)) |
| 61 | |
| 62 | theorem map_left (f : A →ₐ[R] B) : (RelativeSpecMaps.map f).left = Spec.map (CommRingCat.ofHom f.toRingHom) := rfl |
| 63 | |
| 64 | end NumberTheory.PadicHodge.GeometricComparison.RelativeSectionCoefficients.RelativeSpecMaps |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI |