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.IntersectSupportInclusion |
| 2 | |
| 3 | /-! # Intersect Support Section Lift -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntersectSupportSectionLift.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Two compatible supported cochain maps lift to the actual intersection-support section complex. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | variable {X : TopCat.{0}} (C O U : Opens X) |
| 16 | variable (K : CochainComplex (TopCat.Sheaf (ModuleCat.{0} ℚ) X) ℕ) |
| 17 | |
| 18 | def supportedSectionInclusion : CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) ⟶ |
| 19 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U K := |
| 20 | ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C K) |
| 21 | |
| 22 | instance supportedSectionInclusion_mono : Mono (supportedSectionInclusion C U K) := by |
| 23 | unfold supportedSectionInclusion |
| 24 | rw [← ClosedSupportIs.Constructions.closedSupportFunctorComplexIso_inclusion, Functor.map_comp] |
| 25 | have hm : Mono (((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 26 | (ClosedSupportIs.Constructions.closedSupportCochainInclusion C K)) := ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion_mono C U K |
| 27 | infer_instance |
| 28 | |
| 29 | theorem supportedSectionInclusion_restriction_zero : |
| 30 | supportedSectionInclusion O U K ≫ |
| 31 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction K (homOfLE (inf_le_left : U ⊓ O ≤ U)) = 0 := by |
| 32 | change ((CycleClass.Geometric.SheafClosedSupport.Cohomology.moduleSheafSections U).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 33 | (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion O K) ≫ _ = 0 |
| 34 | rw [← ClosedSupportIs.Constructions.supportedSheafSectionsIsoKernel_inclusion, Category.assoc, kernel.condition, comp_zero] |
| 35 | |
| 36 | variable {N : CochainComplex (ModuleCat.{0} ℚ) ℕ} |
| 37 | variable (fC : N ⟶ CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K)) |
| 38 | variable (fO : N ⟶ CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsComplex U (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex O K)) |
| 39 | variable (hf : fC ≫ supportedSectionInclusion C U K = fO ≫ supportedSectionInclusion O U K) |
| 40 | |
| 41 | include hf in |
| 42 | theorem intersectSupportSectionLift_condition : |
| 43 | fC ≫ CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) |
| 44 | (homOfLE (inf_le_left : U ⊓ O ≤ U)) = 0 := by |
| 45 | apply (cancel_mono (supportedSectionInclusion C (U ⊓ O) K)).mp |
| 46 | rw [zero_comp, Category.assoc] |
| 47 | have hn : CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) |
| 48 | (homOfLE (inf_le_left : U ⊓ O ≤ U)) ≫ supportedSectionInclusion C (U ⊓ O) K = |
| 49 | supportedSectionInclusion C U K ≫ |
| 50 | CycleClass.Geometric.SupportStalkVanishes.Cohomology.moduleSheafSectionsRestriction K (homOfLE (inf_le_left : U ⊓ O ≤ U)) := |
| 51 | (ClosedSupportComparison.Constructions.moduleSheafSectionsRestriction_naturality (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplexInclusion C K) |
| 52 | (homOfLE (inf_le_left : U ⊓ O ≤ U))).symm |
| 53 | rw [hn, ← Category.assoc, hf, Category.assoc, supportedSectionInclusion_restriction_zero, comp_zero] |
| 54 | |
| 55 | def intersectSupportSectionLift : |
| 56 | N ⟶ GoodShiftFunctor.Constructions.functorCochainComplex (ClosedSupportIs.Constructions.closedSupportSectionFunctor O U) (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) := |
| 57 | kernel.lift _ fC (intersectSupportSectionLift_condition C O U K fC fO hf) ≫ |
| 58 | (ClosedSupportIs.Constructions.closedSupportSectionKernelIso O U (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K)).inv |
| 59 | |
| 60 | theorem intersectSupportSectionLift_left : |
| 61 | intersectSupportSectionLift C O U K fC fO hf ≫ |
| 62 | ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O U (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) = fC := by |
| 63 | unfold intersectSupportSectionLift ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion |
| 64 | rw [Category.assoc, ← ClosedSupportIs.Constructions.closedSupportSectionKernelIso_inclusion, Iso.inv_hom_id_assoc, kernel.lift_ι] |
| 65 | |
| 66 | theorem intersectSupportSectionLift_inclusion : |
| 67 | intersectSupportSectionLift C O U K fC fO hf ≫ IntersectSupportInclusion.Constructions.intersectSupportSectionInclusion C O K U = |
| 68 | fC ≫ supportedSectionInclusion C U K := by |
| 69 | change intersectSupportSectionLift C O U K fC fO hf ≫ |
| 70 | (ClosedSourceRelativeMap.Constructions.closedSupportSectionInclusion O U (CycleClass.Geometric.SupportStalkVanishes.Cohomology.supportedSheafComplex C K) ≫ supportedSectionInclusion C U K) = _ |
| 71 | rw [← Category.assoc, intersectSupportSectionLift_left] |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.IntersectSupportSectionLift.Constructions |