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.ResolutionCongr |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricOpenSections |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ChartEvaluationCoordinates |
| 4 | |
| 5 | /-! # Geometric Sections Congr -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricSectionsCongr |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Equality of geometric chart maps respects original incoming and geometric section coordinates. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {X Y : Scheme.{u}} {fX : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 21 | (g g' : X ⟶ Y) [Mono g] [Mono g'] (hg : g ≫ fY = fX) (hg' : g' ≫ fY = fX) |
| 22 | (e : g = g') (n : ℕ) |
| 23 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 24 | (p := p) (J := J) (δ := δ) fY n)) |
| 25 | |
| 26 | def openIso : BoundedOpen.Resolution.complex fY g n I ≅ |
| 27 | BoundedOpen.Resolution.complex fY g' n I := |
| 28 | eqToIso (congrArg (fun t => BoundedOpen.Resolution.complex fY t n I) e) |
| 29 | |
| 30 | def sectionsIso : GeometricResolution.complex g hg n I ≅ |
| 31 | GeometricResolution.complex g' hg' n I := |
| 32 | ((Sheaf.PresheafSectionComplex.sectionFunctor.{u + 1, u, u + 1, u + 2} |
| 33 | (Crystalline.ExactRestriction.Coeff (B := B)) (BoundedCrystalline.Site.topology fX n)).mapHomologicalComplex (.up ℕ)).mapIso |
| 34 | (ResolutionCongr.iso g g' hg hg' e n I) |
| 35 | |
| 36 | theorem complexes : (GeometricOpenSections.complexIso g hg n I).hom ≫ |
| 37 | (sectionsIso g g' hg hg' e n I).hom = |
| 38 | (openIso g g' e n I).hom ≫ (GeometricOpenSections.complexIso g' hg' n I).hom := by |
| 39 | cases e |
| 40 | let S := (Sheaf.PresheafSectionComplex.sectionFunctor.{u + 1, u, u + 1, u + 2} |
| 41 | (Crystalline.ExactRestriction.Coeff (B := B)) (BoundedCrystalline.Site.topology (p := p) (J := J) (δ := δ) fX n)).mapHomologicalComplex (.up ℕ) |
| 42 | exact (congrArg (fun a => (GeometricOpenSections.complexIso g hg n I).hom ≫ a) |
| 43 | (S.map_id (GeometricResolution.resolution g hg n I).cocomplex)).trans |
| 44 | ((Category.comp_id _).trans (Category.id_comp _).symm) |
| 45 | |
| 46 | variable [IsOpenImmersion g] [IsOpenImmersion g'] (U : Y.Opens) |
| 47 | (eU : g.opensRange = U) (eU' : g'.opensRange = U) |
| 48 | |
| 49 | omit [Mono g] in |
| 50 | theorem evaluation : (openIso g g' e n I).hom ≫ |
| 51 | (ChartEvaluationCoordinates.iso fY g' n U eU' I).hom = |
| 52 | (ChartEvaluationCoordinates.iso fY g n U eU I).hom := by |
| 53 | cases e |
| 54 | exact Category.id_comp _ |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricSectionsCongr |