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.AffinePrincipal.Injective |
| 2 | |
| 3 | /-! # Injective Restriction -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.InjectiveRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The injective-resolution comparison commutes with the literal |
| 10 | restriction between two diagrams of opens on the same scheme. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Injective.Comparison |
| 16 | variable {X : Scheme.{u}} {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 17 | (G₁ G₂ : C ⥤ X.Opens) (α : G₂ ⟶ G₁) |
| 18 | {ι : Type u} [LinearOrder ι] (W : ι → C) |
| 19 | |
| 20 | def coefficientsMap : Injective.Comparison.coefficients G₁ ⟶ Injective.Comparison.coefficients G₂ where |
| 21 | app P := Functor.whiskerRight (NatTrans.op α) P.obj |
| 22 | naturality P Q a := by |
| 23 | apply NatTrans.ext |
| 24 | funext r |
| 25 | exact (a.hom.naturality (α.app r.unop).op).symm |
| 26 | |
| 27 | def map (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) ℕ) : |
| 28 | (Injective.Comparison.functor G₁ W).obj K ⟶ (Injective.Comparison.functor G₂ W).obj K := |
| 29 | AugmentedOrdered.CechForgetNaturality.map W |
| 30 | ((NatTrans.mapHomologicalComplex (coefficientsMap G₁ G₂ α) (.up ℕ)).app K) |
| 31 | |
| 32 | theorem naturality {K L : CochainComplex (Sheaf (Opens.grothendieckTopology X) AddCommGrpCat.{u}) ℕ} |
| 33 | (a : K ⟶ L) : |
| 34 | (Injective.Comparison.functor G₁ W).map a ≫ InjectiveRestriction.map G₁ G₂ α W L = |
| 35 | InjectiveRestriction.map G₁ G₂ α W K ≫ (Injective.Comparison.functor G₂ W).map a := by |
| 36 | let T := (AugmentedOrdered.CechFunctor.functor W (D := AddCommGrpCat.{u})).mapHomologicalComplex (.up ℕ) ⋙ |
| 37 | HomologicalComplex₂.totalFunctor AddCommGrpCat.{u} (.up ℕ) (.up ℕ) (.up ℕ) |
| 38 | change T.map _ ≫ T.map _ = T.map _ ≫ T.map _ |
| 39 | rw [← T.map_comp, ← T.map_comp] |
| 40 | exact congrArg T.map |
| 41 | ((NatTrans.mapHomologicalComplex (coefficientsMap G₁ G₂ α) (.up ℕ)).naturality a) |
| 42 | |
| 43 | variable (N : X.Modules) (c : ℕ) |
| 44 | |
| 45 | abbrev sourceMap := InjectiveRestriction.map G₁ G₂ α W ((single _ (.up ℕ) c).obj (Injective.Comparison.sheaf N)) |
| 46 | abbrev targetMap := InjectiveRestriction.map G₁ G₂ α W (ShiftedOpenInjectiveResolution.complex (Injective.Comparison.sheaf N) c) |
| 47 | |
| 48 | theorem comparison_square : Injective.Comparison.comparison G₁ W N c ≫ targetMap G₁ G₂ α W N c = |
| 49 | sourceMap G₁ G₂ α W N c ≫ Injective.Comparison.comparison G₂ W N c := |
| 50 | InjectiveRestriction.naturality G₁ G₂ α W (ShiftedOpenInjectiveResolution.augmentation (Injective.Comparison.sheaf N) c) |
| 51 | |
| 52 | theorem homology_square [N.IsQuasicoherent] |
| 53 | (h₁ : ∀ r, IsAffineOpen (G₁.obj r)) (h₂ : ∀ r, IsAffineOpen (G₂.obj r)) (q : ℕ) : |
| 54 | (Injective.Comparison.homologyIso G₁ W N c h₁ q).hom ≫ homologyMap (targetMap G₁ G₂ α W N c) q = |
| 55 | homologyMap (sourceMap G₁ G₂ α W N c) q ≫ (Injective.Comparison.homologyIso G₂ W N c h₂ q).hom := by |
| 56 | change homologyMap (Injective.Comparison.comparison G₁ W N c) q ≫ homologyMap _ q = |
| 57 | homologyMap _ q ≫ homologyMap (Injective.Comparison.comparison G₂ W N c) q |
| 58 | rw [← homologyMap_comp, ← homologyMap_comp, comparison_square] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.InjectiveRestriction |