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.GeometricComparison.BoundedFrame.PullbackSheafNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedGeneral.FrameGeometricMap |
| 4 | |
| 5 | /-! # Pullback Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackCoordinates.BoundedFramePullbackCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The natural combined product-map construction is the original |
| 12 | general geometric frame sheaf map, including for non-monomorphisms. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | universe u |
| 18 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 19 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 20 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 21 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 22 | (F : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 23 | |
| 24 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 25 | local notation "QY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) fY n |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 27 | local notation "SX" => Functor.mapHomologicalComplex |
| 28 | (IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) (J := J) (δ := δ) f n) (ComplexShape.up ℕ) |
| 29 | |
| 30 | theorem comparison_refl : PullbackDiagram.BoundedFramePullbackDiagram.comparison g hg n F ((G).obj F) (𝟙 _) = |
| 31 | IntegralComparison.BoundedGeneral.GeneralFrameComparison.comparison g hg n F := by |
| 32 | apply NatTrans.ext |
| 33 | funext U |
| 34 | change (QY).map (prod.lift ((G).map prod.fst ≫ 𝟙 _) ((G).map prod.snd)) = |
| 35 | (QY).map (prodComparison G F U) |
| 36 | rw [Category.comp_id] |
| 37 | rfl |
| 38 | |
| 39 | theorem diagram_refl : PullbackComplex.BoundedFramePullbackComplex.diagramMap g hg n F ((G).obj F) (𝟙 _) = |
| 40 | IntegralComparison.BoundedGeneral.FrameRestriction.diagramMap g hg n F := by |
| 41 | unfold PullbackComplex.BoundedFramePullbackComplex.diagramMap IntegralComparison.BoundedGeneral.FrameRestriction.diagramMap |
| 42 | congr 1 |
| 43 | |
| 44 | theorem presheaf_refl : PullbackComplex.BoundedFramePullbackComplex.map g hg n F ((G).obj F) (𝟙 _) = |
| 45 | IntegralComparison.BoundedGeneral.FrameRestriction.presheafMap g hg n F := |
| 46 | congrArg (fun a => (IntegralComparison.BoundedGeneral.FrameRestriction.restrictionIso g hg n F).hom ≫ a ≫ |
| 47 | (IntegralComparison.BoundedGeneral.FrameRestriction.postcomposeIso g hg n F).hom) (diagram_refl g hg n F) |
| 48 | |
| 49 | theorem sheaf_refl : PullbackSheaf.BoundedFramePullbackSheaf.map g hg n F ((G).obj F) (𝟙 _) = |
| 50 | IntegralComparison.BoundedGeneral.FrameSheafMap.map g hg n F := |
| 51 | congrArg (fun a => ((NatIso.mapHomologicalComplex |
| 52 | (IntegralComparison.BoundedFrame.SheafRestriction.sheafificationIso g hg n) (.up ℕ)).app |
| 53 | (IntegralComparison.BoundedFrame.Diagram.complex ((G).obj F))).hom ≫ (SX).map a) (presheaf_refl g hg n F) |
| 54 | |
| 55 | variable {FY : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n} |
| 56 | (α : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj F ⟶ FY) |
| 57 | |
| 58 | theorem factor : ((R).mapHomologicalComplex (.up ℕ)).map (IntegralComparison.BoundedFrame.Change.sheafMap α) ≫ |
| 59 | PullbackSheaf.BoundedFramePullbackSheaf.map g hg n F ((G).obj F) (𝟙 _) = |
| 60 | PullbackSheaf.BoundedFramePullbackSheaf.map g hg n F FY α := by |
| 61 | have h := PullbackSheafNaturality.BoundedFramePullbackSheafNaturality.natural g hg n (𝟙 F) α (𝟙 _) α |
| 62 | (by |
| 63 | exact (congrArg (fun a => a ≫ α) ((G).map_id F)).trans (Category.id_comp α)) |
| 64 | have hi : IntegralComparison.BoundedFrame.Change.sheafMap (𝟙 F) = 𝟙 _ := |
| 65 | (ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor f n).map_id (op F) |
| 66 | exact h.trans ((congrArg (fun a => PullbackSheaf.BoundedFramePullbackSheaf.map g hg n F FY α ≫ a) hi).trans |
| 67 | (Category.comp_id _)) |
| 68 | |
| 69 | theorem map_eq : PullbackSheaf.BoundedFramePullbackSheaf.map g hg n F FY α = |
| 70 | IntegralComparison.BoundedGeneral.FrameGeometricMap.map g hg n α := |
| 71 | (factor g hg n F α).symm.trans |
| 72 | (congrArg (fun a => ((R).mapHomologicalComplex (.up ℕ)).map (IntegralComparison.BoundedFrame.Change.sheafMap α) ≫ a) |
| 73 | (sheaf_refl g hg n F)) |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackCoordinates.BoundedFramePullbackCoordinates |