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.IntersectSupportSheaf |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ClosedSupportThomResolution |
| 3 | |
| 4 | /-! # Support Section Changes -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportSectionChanges.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual changes of specified supports and open-set restrictions give natural section maps. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {R : Type} [Ring R] {X : TopCat.{0}} {C D : Opens X} (h : C ≤ D) |
| 17 | |
| 18 | def closedSupportChange (F : TopCat.Sheaf (ModuleCat.{0} R) X) : |
| 19 | CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf D F ⟶ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf C F := |
| 20 | kernel.lift _ (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion D F) |
| 21 | (IntersectSupportSheaf.Constructions.sheafMorphism_restrict_zero_of_le h _ (kernel.condition _)) |
| 22 | |
| 23 | @[reassoc] |
| 24 | theorem closedSupportChange_inclusion (F : TopCat.Sheaf (ModuleCat.{0} R) X) : |
| 25 | closedSupportChange h F ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C F = CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion D F := |
| 26 | kernel.lift_ι _ _ _ |
| 27 | |
| 28 | def closedSupportChangeNatTrans : ClosedSupportIs.Constructions.closedSupportSheafFunctor (R := R) D ⟶ ClosedSupportIs.Constructions.closedSupportSheafFunctor C where |
| 29 | app := closedSupportChange h |
| 30 | naturality F G f := by |
| 31 | apply (cancel_mono (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C G)).mp |
| 32 | change (ClosedSupportIs.Constructions.closedSupportSheafMap D f ≫ closedSupportChange h G) ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C G = |
| 33 | (closedSupportChange h F ≫ ClosedSupportIs.Constructions.closedSupportSheafMap C f) ≫ CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheafInclusion C G |
| 34 | rw [Category.assoc, closedSupportChange_inclusion, ClosedSupportIs.Constructions.closedSupportSheafMap_inclusion, |
| 35 | Category.assoc, ClosedSupportIs.Constructions.closedSupportSheafMap_inclusion, ← Category.assoc, closedSupportChange_inclusion] |
| 36 | |
| 37 | def closedSupportSectionChange (U : Opens X) : |
| 38 | ClosedSupportIs.Constructions.closedSupportSectionFunctor (R := R) D U ⟶ ClosedSupportIs.Constructions.closedSupportSectionFunctor C U := |
| 39 | Functor.whiskerRight (closedSupportChangeNatTrans h) (CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U) |
| 40 | |
| 41 | def closedSupportSectionRestriction (O : Opens X) {U W : Opens X} (i : U ⟶ W) : |
| 42 | ClosedSupportIs.Constructions.closedSupportSectionFunctor (R := R) O W ⟶ ClosedSupportIs.Constructions.closedSupportSectionFunctor O U where |
| 43 | app F := (CycleClass.Geometric.SheafClosedSupport.Cohomology.closedSupportSheaf O F).obj.map i.op |
| 44 | naturality _F _G f := ((ClosedSupportIs.Constructions.closedSupportSheafMap O f).hom.naturality i.op).symm |
| 45 | |
| 46 | variable {V : Foundations.Scheme.IntegralProjective.IntegralProjectiveVariety} |
| 47 | variable (Z : CycleClass.Geometric.DimensionCycles.DimensionCycleSupport V 1) |
| 48 | variable (a : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) |
| 49 | (TopCat.of Z.regularAmbientSpace) (Z.regularThomComplementOpen : Set Z.regularAmbientSpace)) 2) |
| 50 | variable (ha : AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ 2 a = Z.regularThomClass) |
| 51 | |
| 52 | include ha in |
| 53 | theorem regularSourceThomClosedSupportIso_naturality |
| 54 | (O U P W : Opens Z.regularAmbientSpace) |
| 55 | (α : ClosedSupportIs.Constructions.closedSupportSectionFunctor (R := ℚ) (X := TopCat.of Z.regularAmbientSpace) O U ⟶ |
| 56 | ClosedSupportIs.Constructions.closedSupportSectionFunctor P W) (n : ℕ) : |
| 57 | HomologicalComplex.homologyMap ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app |
| 58 | (RegularThomSourceSheaf.Constructions.regularSourceSheafComplex Z)) n ≫ (ClosedSupportThomResolution.Constructions.regularSourceThomClosedSupportIso Z a ha P W n).hom = |
| 59 | (ClosedSupportThomResolution.Constructions.regularSourceThomClosedSupportIso Z a ha O U n).hom ≫ |
| 60 | HomologicalComplex.homologyMap ((NatTrans.mapHomologicalComplex α (ComplexShape.up ℕ)).app |
| 61 | (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z)) n := |
| 62 | ClosedSupportThomResolution.Constructions.closedSupportDerivedResolutionIso_functor_naturality (X := TopCat.of Z.regularAmbientSpace) |
| 63 | O U P W α (RegularThomSourceSheaf.Constructions.regularSourceSheafComplex Z) |
| 64 | (ClosedSourceResolution.Constructions.closedSourceSheaf_isFlasque (RegularTopGysin.Constructions.regularSourceInclusionMap V Z)) (AllThomSource.Constructions.regularSourceSheaf_exact_positive Z) |
| 65 | (GoodShiftCohomology.Constructions.regularThomGoodShiftSheafComplex Z) (ThomGoodShiftFlasque.Constructions.regularThomGoodShift_isFlasque Z) |
| 66 | (AllThomSource.Constructions.regularThomGoodShift_exact_positive Z) (RegularThomSourceSheaf.Constructions.regularSourceThomZeroSheafIso Z a ha) n |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.SupportSectionChanges.Constructions |