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.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueDerivedComparison |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ResolutionHomotopy |
| 3 | |
| 4 | /-! # Flasque Derived Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueDerivedNaturality.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The all-degree flasque-to-derived comparison intertwines every actual cochain map. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | section LiftNaturality |
| 17 | |
| 18 | variable {C : Type*} [Category C] [Abelian C] |
| 19 | variable {K L : CochainComplex C ℕ} (f : K ⟶ L) |
| 20 | variable (hK : ∀ n, K.ExactAt (n+1)) (hL : ∀ n, L.ExactAt (n+1)) |
| 21 | variable (I : InjectiveResolution (K.homology 0)) (J : InjectiveResolution (L.homology 0)) |
| 22 | |
| 23 | def resolutionLiftNaturalityHomotopy : |
| 24 | Homotopy (f ≫ ResolutionHomotopy.Constructions.resolutionLift L hL J) |
| 25 | (ResolutionHomotopy.Constructions.resolutionLift K hK I ≫ InjectiveResolution.desc (HomologicalComplex.homologyMap f 0) J I) := by |
| 26 | apply ResolutionHomotopy.Constructions.resolutionHomotopy K J.cocomplex hK |
| 27 | rw [← Category.assoc, ← ThomResolutionDiagram.Constructions.cochainZeroHomologyAugmentation_naturality f, Category.assoc, |
| 28 | ResolutionHomotopy.Constructions.resolutionLift_augmentation, ← Category.assoc, ResolutionHomotopy.Constructions.resolutionLift_augmentation, |
| 29 | InjectiveResolution.desc_commutes] |
| 30 | |
| 31 | end LiftNaturality |
| 32 | |
| 33 | variable {X : TopCat.{0}} |
| 34 | variable {K L : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ} (f : K ⟶ L) |
| 35 | variable (hK : ∀ n, TopCat.Sheaf.IsFlasque (K.X n)) (heK : ∀ n, K.ExactAt (n+1)) |
| 36 | variable (hL : ∀ n, TopCat.Sheaf.IsFlasque (L.X n)) (heL : ∀ n, L.ExactAt (n+1)) |
| 37 | |
| 38 | theorem flasqueResolutionDerivedCohomologyIso_naturality (U : Opens X) (n : ℕ) : |
| 39 | HomologicalComplex.homologyMap |
| 40 | (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U).mapHomologicalComplex (ComplexShape.up ℕ)).map f) n ≫ |
| 41 | (FlasqueDerivedComparison.Constructions.flasqueResolutionDerivedCohomologyIso L hL heL U n).hom = |
| 42 | (FlasqueDerivedComparison.Constructions.flasqueResolutionDerivedCohomologyIso K hK heK U n).hom ≫ |
| 43 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U).rightDerived n).map (HomologicalComplex.homologyMap f 0) := by |
| 44 | let I := FlasqueDerivedComparison.Constructions.rationalSheafInjectiveResolution (K.homology 0) |
| 45 | let J := FlasqueDerivedComparison.Constructions.rationalSheafInjectiveResolution (L.homology 0) |
| 46 | let F := CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections (R := ℚ) U |
| 47 | let F' := F.mapHomologicalComplex (ComplexShape.up ℕ) |
| 48 | let d := InjectiveResolution.desc (HomologicalComplex.homologyMap f 0) J I |
| 49 | have hh : HomologicalComplex.homologyMap (F'.map f) n ≫ |
| 50 | HomologicalComplex.homologyMap (F'.map (ResolutionHomotopy.Constructions.resolutionLift L heL J)) n = |
| 51 | HomologicalComplex.homologyMap (F'.map (ResolutionHomotopy.Constructions.resolutionLift K heK I)) n ≫ |
| 52 | HomologicalComplex.homologyMap (F'.map d) n := by |
| 53 | rw [← HomologicalComplex.homologyMap_comp, ← HomologicalComplex.homologyMap_comp, |
| 54 | ← Functor.map_comp, ← Functor.map_comp] |
| 55 | exact (F.mapHomotopy (resolutionLiftNaturalityHomotopy f heK heL I J)).homologyMap_eq n |
| 56 | have hn := InjectiveResolution.isoRightDerivedObj_inv_naturality |
| 57 | (HomologicalComplex.homologyMap f 0) I J d |
| 58 | (InjectiveResolution.desc_commutes_zero (HomologicalComplex.homologyMap f 0) J I) F n |
| 59 | change (I.isoRightDerivedObj F n).inv ≫ (F.rightDerived n).map (HomologicalComplex.homologyMap f 0) = |
| 60 | HomologicalComplex.homologyMap (F'.map d) n ≫ (J.isoRightDerivedObj F n).inv at hn |
| 61 | change HomologicalComplex.homologyMap (F'.map f) n ≫ |
| 62 | (HomologicalComplex.homologyMap (F'.map (ResolutionHomotopy.Constructions.resolutionLift L heL J)) n ≫ |
| 63 | (J.isoRightDerivedObj F n).inv) = |
| 64 | (HomologicalComplex.homologyMap (F'.map (ResolutionHomotopy.Constructions.resolutionLift K heK I)) n ≫ |
| 65 | (I.isoRightDerivedObj F n).inv) ≫ (F.rightDerived n).map (HomologicalComplex.homologyMap f 0) |
| 66 | rw [← Category.assoc, hh, Category.assoc, ← hn, ← Category.assoc] |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FlasqueDerivedNaturality.Constructions |