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.BoundedFrame.LocalPDSquare |
| 2 | |
| 3 | /-! # Local PD Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalPDMap.Square |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The entire target local comparison is reindexed before native |
| 10 | model specialization, preserving the original composite map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | universe u v w v' w' |
| 17 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 18 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) [IsSeparated f] (n : ℕ) |
| 19 | {C : Type v} [Category.{w} C] {D : Type v'} [Category.{w'} D] |
| 20 | (r : D ⥤ C) (O₁ : D ⥤ Y.Opensᵒᵖ) (O₂ : C ⥤ Y.Opensᵒᵖ) |
| 21 | (G₁ : D ⥤ (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 22 | (G₂ : C ⥤ (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 23 | (F₁ F₂ : (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 24 | (ρ₁ : (Functor.const D).obj F₁ ⟶ G₁) (ρ₂ : (Functor.const C).obj F₂ ⟶ G₂) |
| 25 | [IsIso (LocalMap.restriction f n O₁ G₁ F₁ ρ₁)] |
| 26 | [IsIso (LocalMap.restriction f n O₂ G₂ F₂ ρ₂)] |
| 27 | (eG : G₁ ≅ r ⋙ G₂) (eF : F₁ ≅ F₂) |
| 28 | (hρ : ∀ d, ρ₁.app d ≫ eG.hom.app d = eF.hom ≫ ρ₂.app (r.obj d)) |
| 29 | (hO : O₁ = r ⋙ O₂) |
| 30 | |
| 31 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor (p := p) (J := J) (δ := δ) f n |
| 32 | local notation "ρ'" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SectionReindex.cone f n r G₂ F₂ ρ₂ |
| 33 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalReindexSteps.restriction (B := B) r |
| 34 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 35 | |
| 36 | variable (K : CochainComplex (D ⥤ ModuleCat.{u+2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ) |
| 37 | (K' : CochainComplex (C ⥤ ModuleCat.{u+2} (Crystalline.ExactRestriction.Coeff (B := B))) ℕ) |
| 38 | (a : K ⟶ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FamilySections.Family.source f n G₁)) |
| 39 | (a' : K' ⟶ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FamilySections.Family.source f n G₂)) |
| 40 | (k : K ⟶ ((LocalReindexSteps.restriction (B := B) r).mapHomologicalComplex (.up ℕ)).obj K') |
| 41 | (ha : a ≫ AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) |
| 42 | (Functor.whiskerRight eG.hom (GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source f n)) = |
| 43 | k ≫ ((LocalReindexSteps.restriction (B := B) r).mapHomologicalComplex (.up ℕ)).map a') |
| 44 | |
| 45 | abbrev mapped_comparison := |
| 46 | (LocalPDSquare.comparison f n r O₁ O₂ G₁ G₂ F₁ F₂ ρ₁ ρ₂ eG eF hρ hO K K' a a' k ha).trans |
| 47 | (congrArg (fun z => k ≫ z) |
| 48 | (((H).mapHomologicalComplex (.up ℕ)).map_comp a' |
| 49 | (LocalMap.map f n O₂ G₂ F₂ ρ₂)).symm) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalPDMap.Square |