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.ConstantRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ConstantSection.ComplexRestriction |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.GeometricSectionMap |
| 4 | |
| 5 | /-! # Pulled Source -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.PulledSource |
| 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] |
| 20 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 21 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 22 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) [Mono g] (hg : g ≫ fY = f) (n : ℕ) |
| 23 | {FX : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n} |
| 24 | {FY : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 25 | (α : (BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 26 | |
| 27 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 28 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 29 | |
| 30 | def sourceIso : ((R).mapHomologicalComplex (.up ℕ)).obj |
| 31 | (((constantSheaf (BoundedCrystalline.Site.topology fY n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).obj |
| 32 | (DeRhamSections.frameComplex fY n FY)) ≅ |
| 33 | ((constantSheaf (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).obj |
| 34 | (DeRhamSections.frameComplex fY n FY) := |
| 35 | (NatIso.mapHomologicalComplex (ConstantSection.ComplexRestriction.constantIso G (Crystalline.ExactRestriction.Coeff (B := B)) |
| 36 | (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n)) (.up ℕ)).app (DeRhamSections.frameComplex fY n FY) |
| 37 | |
| 38 | omit [Fact p.Prime] [IsSeparated f] [IsSeparated fY] [Mono g] in |
| 39 | theorem component (i : ℕ) : (sourceIso g hg n (FY := FY)).inv.f i ≫ |
| 40 | (GeometricSectionMap.sourceMap g hg n α).f i = |
| 41 | (constantSheaf (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).map |
| 42 | ((SectionChange.frameMap α).f i) := by |
| 43 | let e := ConstantSection.ComplexRestriction.constantIso G (Crystalline.ExactRestriction.Coeff (B := B)) (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n) |
| 44 | let b := (SectionChange.frameMap α).f i |
| 45 | have hn := e.hom.naturality b |
| 46 | have hx := ConstantRestriction.component g hg n FX i |
| 47 | have h₁ := congrArg (fun a => (e.app _).inv ≫ |
| 48 | (R).map ((constantSheaf (BoundedCrystalline.Site.topology fY n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).map b) ≫ a) hx |
| 49 | have h₂ := congrArg (fun a => (e.app _).inv ≫ a) hn |
| 50 | exact h₁.trans (h₂.trans (Iso.inv_hom_id_assoc _ _)) |
| 51 | |
| 52 | omit [Fact p.Prime] [IsSeparated f] [IsSeparated fY] [Mono g] in |
| 53 | theorem complexes : (sourceIso g hg n (FY := FY)).inv ≫ |
| 54 | GeometricSectionMap.sourceMap g hg n α = |
| 55 | ((constantSheaf (BoundedCrystalline.Site.topology f n) (ModuleCat.{u + 1} (Crystalline.ExactRestriction.Coeff (B := B)))).mapHomologicalComplex (.up ℕ)).map |
| 56 | (SectionChange.frameMap α) := by |
| 57 | apply HomologicalComplex.Hom.ext |
| 58 | funext i |
| 59 | exact component g hg n α i |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.PulledSource |