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.PullbackComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Sheaf.AugmentationTransport |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.SheafificationStructure |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.PullbackAugmentation |
| 5 | |
| 6 | /-! # Pullback Sheaf -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackSheaf.BoundedFramePullbackSheaf |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Arbitrary geometric frame pullback induces a map of the original bounded |
| 13 | crystalline sheaf resolutions, with the original structure augmentation. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 18 | |
| 19 | universe u |
| 20 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 21 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 22 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 23 | [IsSeparated f] [IsSeparated fY] (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 24 | (FX : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 25 | (FY : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) |
| 26 | (α : (IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n).obj FX ⟶ FY) |
| 27 | |
| 28 | local notation "G" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 29 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 30 | local notation "SX" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) (J := J) (δ := δ) f n |
| 31 | local notation "SY" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeSheafComplex.sheafification (p := p) (J := J) (δ := δ) fY n |
| 32 | |
| 33 | def map : ((R).mapHomologicalComplex (.up ℕ)).obj (IntegralComparison.Bounded.RelativeSheafComplex.complex fY n FY) ⟶ |
| 34 | IntegralComparison.Bounded.RelativeSheafComplex.complex f n FX := |
| 35 | ((NatIso.mapHomologicalComplex (IntegralComparison.BoundedFrame.SheafRestriction.sheafificationIso g hg n) |
| 36 | (.up ℕ)).app (IntegralComparison.BoundedFrame.Diagram.complex FY)).hom ≫ |
| 37 | ((SX).mapHomologicalComplex (.up ℕ)).map (PullbackComplex.BoundedFramePullbackComplex.map g hg n FX FY α) |
| 38 | |
| 39 | theorem component (i : ℕ) : (BoundedFramePullbackSheaf.map g hg n FX FY α).f i = |
| 40 | (IntegralComparison.BoundedFrame.SheafRestriction.sheafificationIso g hg n).hom.app |
| 41 | ((IntegralComparison.BoundedFrame.Diagram.complex FY).X i) ≫ |
| 42 | (SX).map ((PullbackComplex.BoundedFramePullbackComplex.map g hg n FX FY α).f i) := rfl |
| 43 | |
| 44 | theorem augmentation_zero : (IntegralComparison.BoundedFrame.PullbackAugmentation.augmentation g hg n FY).f 0 ≫ |
| 45 | (BoundedFramePullbackSheaf.map g hg n FX FY α).f 0 = (IntegralComparison.Bounded.RelativeSheafComplex.augmentation f n FX).f 0 := by |
| 46 | have h := IntegralComparison.Sheaf.AugmentationTransport.augmentation |
| 47 | (IntegralComparison.Relative.ComplexRestriction.restriction (B := B) G) SY SX R |
| 48 | (IntegralComparison.BoundedFrame.SheafRestriction.sheafificationIso g hg n) |
| 49 | (IntegralComparison.Bounded.RelativeSheafComplex.structureIso fY n) |
| 50 | (IntegralComparison.BoundedOpen.Sheaves.structureTransport g hg n) |
| 51 | (IntegralComparison.Bounded.RelativeSheafComplex.structureIso f n) |
| 52 | (IntegralComparison.Bounded.SheafificationStructure.square g hg n) |
| 53 | ((IntegralComparison.BoundedFrame.Diagram.augmentation FY).f 0) |
| 54 | ((PullbackComplex.BoundedFramePullbackComplex.map g hg n FX FY α).f 0) |
| 55 | ((IntegralComparison.BoundedFrame.Diagram.augmentation FX).f 0) |
| 56 | (PullbackComplex.BoundedFramePullbackComplex.augmentation_zero g hg n FX FY α) |
| 57 | have h₀ := IntegralComparison.BoundedFrame.PullbackAugmentation.zero g hg n FY |
| 58 | have h₁ := IntegralComparison.Bounded.SheafAugmentationZero.zero fY n FY |
| 59 | have h₂ := component g hg n FX FY α 0 |
| 60 | have h₃ := IntegralComparison.Bounded.SheafAugmentationZero.zero f n FX |
| 61 | exact (congrArg₂ (fun a b => a ≫ b) |
| 62 | (h₀.trans (congrArg (fun a => (IntegralComparison.BoundedOpen.Sheaves.structureTransport g hg n).inv ≫ (R).map a) h₁)) |
| 63 | h₂).trans ((Category.assoc _ _ _).trans (h.trans h₃.symm)) |
| 64 | |
| 65 | theorem augmentation : IntegralComparison.BoundedFrame.PullbackAugmentation.augmentation g hg n FY ≫ |
| 66 | BoundedFramePullbackSheaf.map g hg n FX FY α = IntegralComparison.Bounded.RelativeSheafComplex.augmentation f n FX := by |
| 67 | apply (CochainComplex.fromSingle₀Equiv (IntegralComparison.Bounded.RelativeSheafComplex.complex f n FX) |
| 68 | (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf f n)).injective |
| 69 | apply Subtype.ext |
| 70 | exact augmentation_zero g hg n FX FY α |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.PullbackSheaf.BoundedFramePullbackSheaf |