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.Crystalline.FramePostcomposition |
| 2 | |
| 3 | /-! # Postcomposition -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.Postcomposition.CrystallineFrameGeometricPostcomposition |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A compatible map of affine charts induces a map of the original |
| 10 | global crystalline frames over an arbitrary geometric morphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BigCrystallineSite OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 15 | |
| 16 | universe u |
| 17 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 18 | {U V X Y : Scheme.{u}} {fU : U ⟶ Spec (CommRingCat.of B)} |
| 19 | {fV : V ⟶ Spec (CommRingCat.of B)} {fX : X ⟶ Spec (CommRingCat.of B)} |
| 20 | {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 21 | (s : U ⟶ V) (g : X ⟶ Y) (jU : U ⟶ X) (jV : V ⟶ Y) |
| 22 | (hs : s ≫ fV = fU) (hg : g ≫ fY = fX) |
| 23 | (hjU : jU ≫ fX = fU) (hjV : jV ≫ fY = fV) |
| 24 | (h : s ≫ jV = jU ≫ g) (n : ℕ) |
| 25 | {FU : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fU n} |
| 26 | {FV : IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fV n} |
| 27 | (a : (IntegralComparison.BoundedOpen.Equivalence.postcompose s hs n).obj FU ⟶ FV) |
| 28 | |
| 29 | def map : (IntegralComparison.BoundedOpen.Equivalence.postcompose g hg n).obj |
| 30 | ((IntegralComparison.BoundedOpen.Equivalence.postcompose jU hjU n).obj FU) ⟶ |
| 31 | (IntegralComparison.BoundedOpen.Equivalence.postcompose jV hjV n).obj FV := |
| 32 | ((IntegralComparison.Crystalline.PostcomposeComposition.boundedIso jU g hjU hg n).app FU).hom ≫ |
| 33 | FramePostcomposition.CrystallineFramePostcomposition.map s jV (jU ≫ g) hs hjV |
| 34 | (IntegralComparison.Crystalline.PostcomposeComposition.overBase jU g hjU hg) h n a |
| 35 | |
| 36 | theorem ringMap : (map s g jU jV hs hg hjU hjV h n a).hom.ringMap = a.hom.ringMap := by |
| 37 | ext x |
| 38 | exact congrArg (fun q => q x) (FramePostcomposition.CrystallineFramePostcomposition.ringMap s jV (jU ≫ g) |
| 39 | hs hjV (IntegralComparison.Crystalline.PostcomposeComposition.overBase jU g hjU hg) h n a) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.Postcomposition.CrystallineFrameGeometricPostcomposition |