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.ChartEvaluationCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.IncomingChartRestriction |
| 3 | |
| 4 | /-! # Chart Evaluation Restriction -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ChartEvaluationRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Original chart section coordinates intertwine the actual open-presheaf restriction maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {p : ℕ} {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 19 | {X Y Z : Scheme.{u}} (fZ : Z ⟶ Spec (CommRingCat.of B)) (n : ℕ) |
| 20 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf |
| 21 | (p := p) (J := J) (δ := δ) fZ n)) |
| 22 | {U V : Z.Opens} (hVU : V ≤ U) |
| 23 | |
| 24 | def map : |
| 25 | ((BoundedOpen.SectionComplex.evaluation (B := B) U).mapHomologicalComplex (.up ℕ)).obj |
| 26 | (BoundedOpen.SectionComplex.complex fZ n I) ⟶ |
| 27 | ((BoundedOpen.SectionComplex.evaluation (B := B) V).mapHomologicalComplex (.up ℕ)).obj |
| 28 | (BoundedOpen.SectionComplex.complex fZ n I) := |
| 29 | (HomologicalComplex.asFunctor (BoundedOpen.SectionComplex.complex fZ n I)).map (homOfLE hVU).op |
| 30 | |
| 31 | variable (g : X ⟶ Y) (h : Y ⟶ Z) [IsOpenImmersion g] [IsOpenImmersion h] |
| 32 | (eU : h.opensRange = U) (eV : (g ≫ h).opensRange = V) |
| 33 | |
| 34 | theorem component (i : ℕ) : |
| 35 | (ChartEvaluationCoordinates.iso fZ h n U eU I).hom.f i ≫ (ChartEvaluationRestriction.map fZ n I hVU).f i = |
| 36 | (IncomingChartRestriction.map fZ g h n I).f i ≫ |
| 37 | (ChartEvaluationCoordinates.iso fZ (g ≫ h) n V eV I).hom.f i := by |
| 38 | let m := (IncomingChartRestriction.map fZ g h n I).f i |
| 39 | let a := (ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))).map |
| 40 | (ChartEvaluationCoordinates.linearEquiv fZ h n U eU (I.cocomplex.X i)).toModuleIso.hom |
| 41 | let b := (ModuleCat.uliftFunctor.{u + 2, u + 1} (Crystalline.ExactRestriction.Coeff (B := B))).map |
| 42 | (ChartEvaluationCoordinates.linearEquiv fZ (g ≫ h) n V eV (I.cocomplex.X i)).toModuleIso.hom |
| 43 | have middle : a ≫ (ChartEvaluationRestriction.map fZ n I hVU).f i = m ≫ b := by |
| 44 | apply ModuleCat.hom_ext |
| 45 | apply LinearMap.ext |
| 46 | intro x |
| 47 | rfl |
| 48 | exact (congrArg (fun t => t ≫ (ChartEvaluationRestriction.map fZ n I hVU).f i) |
| 49 | (ChartEvaluationCoordinates.component fZ h n U eU I i)).trans |
| 50 | (middle.trans (congrArg (fun t => m ≫ t) |
| 51 | (ChartEvaluationCoordinates.component fZ (g ≫ h) n V eV I i).symm)) |
| 52 | |
| 53 | theorem complexes : |
| 54 | (ChartEvaluationCoordinates.iso fZ h n U eU I).hom ≫ ChartEvaluationRestriction.map fZ n I hVU = |
| 55 | IncomingChartRestriction.map fZ g h n I ≫ |
| 56 | (ChartEvaluationCoordinates.iso fZ (g ≫ h) n V eV I).hom := by |
| 57 | apply HomologicalComplex.Hom.ext |
| 58 | funext i |
| 59 | exact component fZ n I hVU g h eU eV i |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.ChartEvaluationRestriction |