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.Bounded.RelativeStructureUnit |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.SheafRestriction |
| 3 | |
| 4 | /-! # Relative Structure Square -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeStructureSquare |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # IntegralComparison: the actual relative-resolution structure isomorphism commutes with geometric restriction |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 21 | {X Y : Scheme.{u}} {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 22 | (g : X ⟶ Y) (hg : g ≫ fY = 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 "QX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f n |
| 27 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 28 | local notation "restriction" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 29 | |
| 30 | def transported : (RelativeSheafComplex.sheafification f n).obj |
| 31 | (RelativeCrystalline.ModuleComplex.ambientPresheaf QX) ⟶ |
| 32 | BoundedCrystalline.CrystallineCohomology.structureSheaf f n := |
| 33 | ((G).pushforwardContinuousSheafificationCompatibility (ModuleCat.{u + 1} R) |
| 34 | (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n)).hom.app ((QY).op ⋙ BigCrystallineCohomology.largePresheaf fY) ≫ |
| 35 | (restriction).map (RelativeSheafComplex.structureIso fY n).hom ≫ |
| 36 | (BoundedOpen.Sheaves.structureTransport g hg n).hom |
| 37 | |
| 38 | theorem transported_app (U : (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) : |
| 39 | (transported g hg n).hom.app U = |
| 40 | (((G).pushforwardContinuousSheafificationCompatibility (ModuleCat.{u + 1} R) |
| 41 | (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n)).hom.app |
| 42 | ((QY).op ⋙ BigCrystallineCohomology.largePresheaf fY)).hom.app U ≫ |
| 43 | (RelativeSheafComplex.structureIso fY n).hom.hom.app (op ((G).obj U.unop)) ≫ |
| 44 | (BoundedOpen.Sheaves.structureTransport g hg n).hom.hom.app U := rfl |
| 45 | |
| 46 | theorem unit_coordinates : toSheafify (BoundedCrystalline.Site.topology f n) ((QX).op ⋙ BigCrystallineCohomology.largePresheaf f) ≫ |
| 47 | (transported g hg n).hom = (StructureCoordinates.presheafIso f n).hom := by |
| 48 | apply NatTrans.ext |
| 49 | funext U |
| 50 | apply ModuleCat.hom_ext |
| 51 | apply LinearMap.ext |
| 52 | intro x |
| 53 | let β := (BoundedOpen.Sheaves.structureTransport g hg n).hom.hom.app U |
| 54 | let γ := (RelativeSheafComplex.structureIso fY n).hom.hom.app (op ((G).obj U.unop)) |
| 55 | have h₁ := congrArg (fun η => β (γ (η.app U x))) |
| 56 | ((G).toSheafify_pullbackSheafificationCompatibility (ModuleCat.{u + 1} R) |
| 57 | (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n) ((QY).op ⋙ BigCrystallineCohomology.largePresheaf fY)) |
| 58 | have h₂ := congrArg (fun η => β (η.app (op ((G).obj U.unop)) x)) |
| 59 | (RelativeStructureUnit.unit (p := p) (J := J) (δ := δ) fY n) |
| 60 | have h₃ := congrArg (fun η => η.app U x) (StructureCoordinates.coordinates n g hg) |
| 61 | have h₀ := congrArg (fun η => η ((toSheafify (BoundedCrystalline.Site.topology f n) |
| 62 | ((QX).op ⋙ BigCrystallineCohomology.largePresheaf f)).app U x)) (transported_app g hg n U) |
| 63 | exact h₀.trans (h₁.trans (h₂.trans h₃)) |
| 64 | |
| 65 | theorem square : transported (p := p) (J := J) (δ := δ) g hg n = |
| 66 | (RelativeSheafComplex.structureIso (p := p) (J := J) (δ := δ) f n).hom := by |
| 67 | apply Sheaf.hom_ext |
| 68 | apply CategoryTheory.sheafify_hom_ext (BoundedCrystalline.Site.topology f n) _ _ |
| 69 | (BoundedCrystalline.CrystallineCohomology.structureSheaf f n).property |
| 70 | exact (unit_coordinates g hg n).trans (RelativeStructureUnit.unit f n).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.RelativeStructureSquare |