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.IntegralComparison.Relative.DiagramComplexMap |
| 2 | |
| 3 | /-! # Diagram Composition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.DiagramComposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: identity and composition for the actual relative crystalline complex maps |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCrystalline.FormData OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.DiagramFormMap |
| 16 | |
| 17 | universe u v w |
| 18 | |
| 19 | variable {C : Type v} [Category.{w} C] {p : ℕ} {B : Type u} [CommRing B] |
| 20 | {J : Ideal B} {δ : DividedPowers J} {X : Scheme.{u}} |
| 21 | {f : X ⟶ Spec (CommRingCat.of B)} |
| 22 | (H K L Q : C ⥤ BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) (ρ : K ⟶ Q) (σ : L ⟶ Q) |
| 23 | |
| 24 | theorem forms_id (U : C) (n : ℕ) (ω : RelativeCrystalline.FormData.Forms H Q π U n) : |
| 25 | DiagramFormMap.map H H Q π π (𝟙 H) (Category.id_comp π) U n ω = ω := by |
| 26 | let : Algebra (Q.obj U).ring (H.obj U).ring := RelativeCrystalline.FormData.relativeAlgebra H Q π U |
| 27 | exact AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap_id |
| 28 | (A := CommAlgCat.of (Q.obj U).ring (H.obj U).ring) |
| 29 | (DividedPowers.DPMorphism.id (H.obj U).dividedPowers).isDPMorphism n ω |
| 30 | |
| 31 | theorem complex_id : DiagramComplexMap.map H H Q π π (𝟙 H) (Category.id_comp π) = |
| 32 | 𝟙 (RelativeCrystalline.ModuleComplex.complex H Q π) := by |
| 33 | apply HomologicalComplex.Hom.ext |
| 34 | funext n |
| 35 | apply NatTrans.ext |
| 36 | funext U |
| 37 | apply ModuleCat.hom_ext |
| 38 | apply LinearMap.ext |
| 39 | intro ω |
| 40 | exact forms_id H Q π U.unop n ω |
| 41 | |
| 42 | variable (θ : H ⟶ K) (τ : K ⟶ L) (hθ : θ ≫ ρ = π) (hτ : τ ≫ σ = ρ) |
| 43 | |
| 44 | include hθ hτ in |
| 45 | theorem triangle : (θ ≫ τ) ≫ σ = π := |
| 46 | (Category.assoc θ τ σ).trans ((congrArg (fun t => θ ≫ t) hτ).trans hθ) |
| 47 | |
| 48 | theorem forms_comp (U : C) (n : ℕ) (ω : RelativeCrystalline.FormData.Forms L Q σ U n) : |
| 49 | DiagramFormMap.map H L Q π σ (θ ≫ τ) (triangle H K L Q π ρ σ θ τ hθ hτ) U n ω = |
| 50 | DiagramFormMap.map H K Q π ρ θ hθ U n (DiagramFormMap.map K L Q ρ σ τ hτ U n ω) := by |
| 51 | let : Algebra (Q.obj U).ring (H.obj U).ring := RelativeCrystalline.FormData.relativeAlgebra H Q π U |
| 52 | let : Algebra (Q.obj U).ring (K.obj U).ring := RelativeCrystalline.FormData.relativeAlgebra K Q ρ U |
| 53 | let : Algebra (Q.obj U).ring (L.obj U).ring := RelativeCrystalline.FormData.relativeAlgebra L Q σ U |
| 54 | exact AlgebraicGeometry.Crystalline.Cohomology.PD.DeRhamGlobal.PDDeRhamGlobal.formMap_comp |
| 55 | (CommAlgCat.ofHom (DiagramFormMap.algebraMap K L Q ρ σ τ hτ U)) (CommAlgCat.ofHom (DiagramFormMap.algebraMap H K Q π ρ θ hθ U)) |
| 56 | (τ.app U).ringMap.isDPMorphism (θ.app U).ringMap.isDPMorphism |
| 57 | ((θ ≫ τ).app U).ringMap.isDPMorphism n ω |
| 58 | |
| 59 | theorem complex_comp : |
| 60 | DiagramComplexMap.map H L Q π σ (θ ≫ τ) (triangle H K L Q π ρ σ θ τ hθ hτ) = |
| 61 | DiagramComplexMap.map K L Q ρ σ τ hτ ≫ DiagramComplexMap.map H K Q π ρ θ hθ := by |
| 62 | apply HomologicalComplex.Hom.ext |
| 63 | funext n |
| 64 | apply NatTrans.ext |
| 65 | funext U |
| 66 | apply ModuleCat.hom_ext |
| 67 | apply LinearMap.ext |
| 68 | intro ω |
| 69 | exact forms_comp H K L Q π ρ σ θ τ hθ hτ U.unop n ω |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.DiagramComposition |