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.ExteriorCupSmallEvaluation |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RationalizedFunctionalExt |
| 3 | |
| 4 | /-! # Exterior Cup Cross Evaluation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExteriorCupCrossEvaluation.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: exact evaluation of the supported exterior cup on cross products |
| 12 | |
| 13 | The finite representative calculation determines the whole rational |
| 14 | homology functional. Combining it with the actual relative product |
| 15 | retraction gives the product of the two original relative evaluations. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | variable (X Y : TopCat.{0}) (A : Set X) (B : Set Y) (hA : IsOpen A) (hB : IsOpen B) (p q : ℕ) |
| 23 | |
| 24 | theorem relativeExteriorCup_evaluation_whitney |
| 25 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) p) |
| 26 | (d : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) Y B) q) |
| 27 | (z : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ (TopCat.of (X×Y)) (RelativeCrossSupport.Constructions.crossSupportComplement X Y A B) (p+q)) : |
| 28 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) (TopCat.of (X×Y)) |
| 29 | (RelativeCrossSupport.Constructions.crossSupportComplement X Y A B) (p+q) |
| 30 | (ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X Y A B hA hB p q (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p c) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q d)) z = |
| 31 | RelativeTensorHomology.Constructions.relativeTensorHomologyFunctional X Y A B p q c d |
| 32 | (SmallProductComparison.Constructions.relativeAlexanderWhitneyHomology X Y A B hA hB (p+q) z) := by |
| 33 | let e := RationalSmallDescent.Constructions.binaryRationalComplementHomologyIso (TopCat.of (X×Y)) |
| 34 | (Prod.fst ⁻¹' A) (Prod.snd ⁻¹' B) (hA.preimage continuous_fst) (hB.preimage continuous_snd) (p+q) |
| 35 | let ev := CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) (TopCat.of (X×Y)) |
| 36 | (RelativeCrossSupport.Constructions.crossSupportComplement X Y A B) (p+q) |
| 37 | (ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X Y A B hA hB p q (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p c) (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q d)) |
| 38 | let F : (SmallProductComparison.Constructions.productSmallComplementChains X Y A B).homology (p+q) ⟶ ModuleCat.of ℚ ℚ := |
| 39 | e.hom ≫ ModuleCat.ofHom ev |
| 40 | let G : (SmallProductComparison.Constructions.productSmallComplementChains X Y A B).homology (p+q) ⟶ ModuleCat.of ℚ ℚ := |
| 41 | HomologicalComplex.homologyMap (SmallProductComparison.Constructions.smallRelativeAlexanderWhitney X Y A B) (p+q) ≫ |
| 42 | ModuleCat.ofHom (RelativeTensorHomology.Constructions.relativeTensorHomologyFunctional X Y A B p q c d) |
| 43 | have hFG : F = G := by |
| 44 | apply RationalizedFunctionalExt.Constructions.rationalizedHomology_functional_ext |
| 45 | (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementChains (TopCat.of (X×Y)) (Prod.fst ⁻¹' A) (Prod.snd ⁻¹' B)) (p+q) |
| 46 | intro w |
| 47 | obtain ⟨u,hu⟩ := AlgebraicTopology.Duality.Poincare.TwoSupportRelativeCap.binarySmallComplementProjection_surjective |
| 48 | (TopCat.of (X×Y)) (Prod.fst ⁻¹' A) (Prod.snd ⁻¹' B) (p+q) w.val |
| 49 | have huc : (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementProjection (TopCat.of (X×Y)) (Prod.fst ⁻¹' A) |
| 50 | (Prod.snd ⁻¹' B)).f (p+q) u ∈ |
| 51 | AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles (CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementChains (TopCat.of (X×Y)) (Prod.fst ⁻¹' A) |
| 52 | (Prod.snd ⁻¹' B)) (p+q) := by rw [hu]; exact w.property |
| 53 | have hw : (⟨(CycleClass.Geometric.HomologyWithSupports.Cycles.binarySmallComplementProjection (TopCat.of (X×Y)) (Prod.fst ⁻¹' A) |
| 54 | (Prod.snd ⁻¹' B)).f (p+q) u,huc⟩ : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles _ (p+q)) = w := Subtype.ext hu |
| 55 | have h := ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup_small_projection X Y A B hA hB p q c d u huc |
| 56 | rw [hw] at h |
| 57 | exact h |
| 58 | have h := ConcreteCategory.congr_hom hFG (e.inv z) |
| 59 | change ev (e.hom (e.inv z)) = |
| 60 | RelativeTensorHomology.Constructions.relativeTensorHomologyFunctional X Y A B p q c d |
| 61 | (HomologicalComplex.homologyMap (SmallProductComparison.Constructions.smallRelativeAlexanderWhitney X Y A B) (p+q) (e.inv z)) at h |
| 62 | rw [Iso.inv_hom_id_apply] at h |
| 63 | exact h |
| 64 | |
| 65 | theorem relativeExteriorCup_cross_evaluation |
| 66 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A p) |
| 67 | (b : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y B q) |
| 68 | (u : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A p) (v : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ Y B q) : |
| 69 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) (TopCat.of (X×Y)) |
| 70 | (RelativeCrossSupport.Constructions.crossSupportComplement X Y A B) (p+q) |
| 71 | (ExteriorCupSmallEvaluation.Constructions.relativeExteriorCup X Y A B hA hB p q a b) |
| 72 | (RelativeCrossNonvanishing.Constructions.relativeHomologyCrossClass X Y A B p q u v) = |
| 73 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A p a u * |
| 74 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) Y B q b v := by |
| 75 | obtain ⟨c,rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) p a |
| 76 | obtain ⟨d,rfl⟩ := AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass_surjective (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) Y B) q b |
| 77 | rw [relativeExteriorCup_evaluation_whitney, RelativeTensorHomology.Constructions.relativeTensorHomologyFunctional_cross] |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.ExteriorCupCrossEvaluation.Constructions |