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.Incoming.EquivalentProperties |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Support |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionComplex |
| 4 | |
| 5 | /-! # Chart Open Image -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ChartOpenImage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # IntegralComparison: actual crystalline chart sections equal the Zariski resolution sections on the chart image |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction OAI.NumberTheory.PadicHodge.IntegralComparison.Incoming.SectionRestriction |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 22 | {X Y : Scheme.{u}} (fY : Y ⟶ Spec (CommRingCat.of B)) (g : X ⟶ Y) [IsOpenImmersion g] (n : ℕ) |
| 23 | |
| 24 | local notation "P" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Subsite.property (p := p) (J := J) (δ := δ) fY g n |
| 25 | local notation "Q" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.SectionPresheaf.property (p := p) (J := J) (δ := δ) fY n g.opensRange |
| 26 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 27 | |
| 28 | theorem property_iff (T : BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) : P T ↔ Q T := by |
| 29 | rw [BoundedOpen.Support.property_iff_range_subset] |
| 30 | change (∃ t, t ≫ g = T.obj.mapToX) ↔ Set.range T.obj.mapToX ⊆ Set.range g |
| 31 | constructor |
| 32 | · rintro ⟨t, ht⟩ x ⟨w, rfl⟩ |
| 33 | exact ⟨t w, congrArg (fun a => a w) ht⟩ |
| 34 | · intro h |
| 35 | exact ⟨IsOpenImmersion.lift g T.obj.mapToX h, IsOpenImmersion.lift_fac g T.obj.mapToX h⟩ |
| 36 | |
| 37 | def linearEquiv (F : BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) fY n) : |
| 38 | Incoming.SectionRestriction.Sections R (ModuleCat.of R R) P F.obj ≃ₗ[R] Incoming.SectionRestriction.Sections R (ModuleCat.of R R) Q F.obj := |
| 39 | Incoming.EquivalentProperties.linearEquiv R (ModuleCat.of R R) P Q |
| 40 | (fun T h => (property_iff fY g n T).mp h) (fun T h => (property_iff fY g n T).mpr h) F.obj |
| 41 | |
| 42 | variable (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 43 | (p := p) (J := J) (δ := δ) fY n)) |
| 44 | |
| 45 | def complexIso : BoundedOpen.Resolution.complex fY g n I ≅ |
| 46 | BoundedOpen.Resolution.complex fY g.opensRange.ι n I := |
| 47 | HomologicalComplex.Hom.isoOfComponents |
| 48 | (fun i => (ModuleCat.uliftFunctor.{u + 2, u + 1} R).mapIso (linearEquiv fY g n (I.cocomplex.X i)).toModuleIso) |
| 49 | (by |
| 50 | intro i j hij |
| 51 | apply ModuleCat.hom_ext |
| 52 | apply LinearMap.ext |
| 53 | intro x |
| 54 | rfl) |
| 55 | |
| 56 | def evaluationIso : BoundedOpen.Resolution.complex fY g n I ≅ |
| 57 | ((BoundedOpen.SectionComplex.evaluation (B := B) g.opensRange).mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 58 | (BoundedOpen.SectionComplex.complex fY n I) := |
| 59 | complexIso fY g n I ≪≫ (BoundedOpen.SectionComplex.evaluationIso fY n I g.opensRange).symm |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ChartOpenImage |