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.RelativeFrame.ChangeNaturality |
| 2 | |
| 3 | /-! # Diagram Change -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeFrame.DiagramChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # IntegralComparison: changing a product diagram preserves the fixed-frame section map |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite |
| 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 | |
| 23 | theorem frameMap_id (F : BigCrystallineSite.Object p B J δ f) : |
| 24 | ChangeNaturality.frameMap F F (𝟙 F) = 𝟙 (ComplexMap.frameComplex F) := by |
| 25 | apply HomologicalComplex.Hom.ext |
| 26 | funext n |
| 27 | exact (Crystalline.DeRham.formsPresheaf f n).map_id (op F) |
| 28 | |
| 29 | variable (H K Q : C ⥤ BigCrystallineSite.Object p B J δ f) (π : H ⟶ Q) (ρ : K ⟶ Q) |
| 30 | (θ : H ⟶ K) (hθ : θ ≫ ρ = π) (F : BigCrystallineSite.Object p B J δ f) |
| 31 | (τ : H ⟶ (Functor.const C).obj F) (υ : K ⟶ (Functor.const C).obj F) (hτ : θ ≫ υ = τ) |
| 32 | |
| 33 | include hτ in |
| 34 | theorem complexes : ComplexMap.map K Q ρ F υ ≫ |
| 35 | Relative.DiagramComplexMap.map H K Q π ρ θ hθ = ComplexMap.map H Q π F τ := by |
| 36 | have hτ' : θ ≫ υ = τ ≫ (Functor.const C).map (𝟙 F) := |
| 37 | hτ.trans ((Category.comp_id τ).symm.trans (congrArg (fun a => τ ≫ a) ((Functor.const C).map_id F).symm)) |
| 38 | have h := ChangeNaturality.complexes H K Q π ρ θ hθ F F (𝟙 F) τ υ hτ' |
| 39 | let M := (Functor.const Cᵒᵖ : ModuleCat.{u} B ⥤ Cᵒᵖ ⥤ ModuleCat.{u} B).mapHomologicalComplex (ComplexShape.up ℕ) |
| 40 | have he : M.map (ChangeNaturality.frameMap F F (𝟙 F)) = 𝟙 _ := |
| 41 | (congrArg M.map (frameMap_id F)).trans (M.map_id _) |
| 42 | exact h.trans ((congrArg (fun a => a ≫ ComplexMap.map H Q π F τ) he).trans |
| 43 | (Category.id_comp _)) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeFrame.DiagramChange |