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.LocalMap |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SectionReindexCoordinates |
| 3 | |
| 4 | /-! # Local Reindex Steps -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalReindexSteps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The local bounded-frame map commutes with reindexing and with |
| 11 | the canonical identification of equal families of geometric opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u v w v' w' |
| 19 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) [IsSeparated f] (n : ℕ) |
| 21 | {C : Type v} [Category.{w} C] {D : Type v'} [Category.{w'} D] |
| 22 | (r : D ⥤ C) (O : C ⥤ Y.Opensᵒᵖ) |
| 23 | (G : C ⥤ (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 24 | (F : (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 25 | (ρ : (Functor.const C).obj F ⟶ G) |
| 26 | [IsIso (LocalMap.restriction f n O G F ρ)] |
| 27 | |
| 28 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor (p := p) (J := J) (δ := δ) f n |
| 29 | local notation "ρ'" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SectionReindex.cone f n r G F ρ |
| 30 | abbrev restriction : |
| 31 | (C ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) ⥤ |
| 32 | (D ⥤ ModuleCat.{u + 2} (Crystalline.ExactRestriction.Coeff (B := B))) := |
| 33 | GeometricComparison.FixedFrameEq.FixedFrameSectionReindex.restriction r |
| 34 | |
| 35 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalReindexSteps.restriction (B := B) r |
| 36 | |
| 37 | local instance pulled_isIso : IsIso |
| 38 | (LocalMap.restriction f n (r ⋙ O) (r ⋙ G) F ρ') := |
| 39 | SectionReindex.fixed_isIso f n r O G F ρ |
| 40 | |
| 41 | abbrev diagonal := GeometricComparison.FixedFrameDiagonalNaturality.FixedFrameSectionNaturality.diagonal |
| 42 | (FamilySections.Family.sections f n O) |
| 43 | (FamilySections.Family.source f n G) |
| 44 | (FamilySections.Family.diagram f n G) |
| 45 | (FamilySections.Family.openTransformation f n O G) |
| 46 | |
| 47 | omit [IsIso (LocalMap.restriction f n O G F ρ)] in |
| 48 | theorem restriction_component (q : ℕ) (d : D) : |
| 49 | ((LocalMap.restriction f n O G F ρ).f q).app (r.obj d) = |
| 50 | ((LocalMap.restriction f n (r ⋙ O) (r ⋙ G) F ρ').f q).app d := by |
| 51 | rw [GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.component, GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.component, |
| 52 | SectionReindexCoordinates.cone_app, |
| 53 | SectionReindexCoordinates.section_map] |
| 54 | |
| 55 | omit [IsIso (LocalMap.restriction f n O G F ρ)] in |
| 56 | abbrev restriction_eq := |
| 57 | GeometricComparison.FixedFrameEq.FixedFrameSectionReindex.map_eq r (FamilySections.Family.sections f n O) |
| 58 | ((Q).obj F) (FamilySections.Family.diagram f n G) |
| 59 | (FamilySections.Family.cone f n F ρ) |
| 60 | |
| 61 | /-- Reindex the diagonal in the same source and target complexes as the new family. -/ |
| 62 | def reindexedDiagonal : |
| 63 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) (FamilySections.Family.source f n (r ⋙ G)) ⟶ |
| 64 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.complex (.up ℕ) |
| 65 | (GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.target (FamilySections.Family.sections f n (r ⋙ O)) |
| 66 | (FamilySections.Family.diagram f n (r ⋙ G))) := |
| 67 | ((H).mapHomologicalComplex (.up ℕ)).map (diagonal f n O G) |
| 68 | |
| 69 | theorem diagonal_eq : reindexedDiagonal f n r O G = |
| 70 | diagonal f n (r ⋙ O) (r ⋙ G) := by |
| 71 | apply HomologicalComplex.Hom.ext |
| 72 | funext q |
| 73 | apply NatTrans.ext |
| 74 | funext d |
| 75 | rfl |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.LocalReindexSteps |