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.BoundedLevel.FrameConstant |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FrameSectionMap |
| 4 | |
| 5 | /-! # Frame Pulled Source -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FramePulledSource |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Pulling back the original constant frame source gives the actual coefficient-linear frame map. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {X : Scheme.{u}} (f : X ⟶ Spec (CommRingCat.of B)) [IsSeparated f] |
| 21 | (n m : ℕ) (hnm : n ≤ m) |
| 22 | {FX : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 23 | {FY : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f m} |
| 24 | (α : (BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm).obj FX ⟶ FY) |
| 25 | |
| 26 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) (J := J) (δ := δ) f n m hnm |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.LevelMaps.restriction (p := p) (J := J) (δ := δ) f n m hnm |
| 28 | |
| 29 | def sourceIso : ((R).mapHomologicalComplex (.up ℕ)).obj |
| 30 | (((constantSheaf (BoundedCrystalline.Site.topology f m) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).obj |
| 31 | (BoundedFrame.DeRhamSections.frameComplex f m FY)) ≅ |
| 32 | ((constantSheaf (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).obj |
| 33 | (BoundedFrame.DeRhamSections.frameComplex f m FY) := |
| 34 | (NatIso.mapHomologicalComplex (ConstantSection.ComplexRestriction.constantIso G (Crystalline.ExactRestriction.Coeff (B := B)) |
| 35 | (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology f m)) (.up ℕ)).app (BoundedFrame.DeRhamSections.frameComplex f m FY) |
| 36 | |
| 37 | omit [Fact p.Prime] [IsSeparated f] in |
| 38 | theorem component (i : ℕ) : (sourceIso f n m hnm (FY := FY)).inv.f i ≫ |
| 39 | (FrameSectionMap.sourceMap f n m hnm α).f i = |
| 40 | (constantSheaf (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).map |
| 41 | ((BoundedFrame.SectionChange.frameMap α).f i) := by |
| 42 | let e := ConstantSection.ComplexRestriction.constantIso G (Crystalline.ExactRestriction.Coeff (B := B)) (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology f m) |
| 43 | let b := (BoundedFrame.SectionChange.frameMap α).f i |
| 44 | have hn := e.hom.naturality b |
| 45 | have hx := FrameConstant.component f n m hnm FX i |
| 46 | have h₁ := congrArg (fun a => (e.app _).inv ≫ |
| 47 | (R).map ((constantSheaf (BoundedCrystalline.Site.topology f m) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).map b) ≫ a) hx |
| 48 | have h₂ := congrArg (fun a => (e.app _).inv ≫ a) hn |
| 49 | exact h₁.trans (h₂.trans (Iso.inv_hom_id_assoc _ _)) |
| 50 | |
| 51 | omit [Fact p.Prime] [IsSeparated f] in |
| 52 | theorem complexes : (sourceIso f n m hnm (FY := FY)).inv ≫ |
| 53 | FrameSectionMap.sourceMap f n m hnm α = |
| 54 | ((constantSheaf (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).map |
| 55 | (BoundedFrame.SectionChange.frameMap α) := by |
| 56 | apply HomologicalComplex.Hom.ext |
| 57 | funext i |
| 58 | exact component f n m hnm α i |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedLevel.FramePulledSource |