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.RelativeTensorFunctional |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeCrossNonvanishing |
| 3 | |
| 4 | /-! # Relative Tensor Homology -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeTensorHomology.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # DegreeTwo: relative tensor evaluation on actual homology classes |
| 12 | |
| 13 | The canonical tensor functional associated to two relative cocycles |
| 14 | evaluates their algebraic tensor class as the product of the two genuine |
| 15 | relative evaluations. The proved cross-product retraction gives the same |
| 16 | formula after the relative Alexander–Whitney map. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 20 | open OAI.AlgebraicTopology.Kunneth.TensorAlexanderWhitney.Construction.TensorCocycles OAI.AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology |
| 21 | open scoped TensorProduct DirectSum |
| 22 | |
| 23 | set_option backward.isDefEq.respectTransparency false |
| 24 | |
| 25 | theorem relativeCocycleDual_closed (X : TopCat.{0}) (A : Set X) (p : ℕ) |
| 26 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) p) : |
| 27 | (CycleClass.Geometric.RelativeChainD.Cycles.relativeDegreewiseChainDualEquiv (ModuleCat.of ℚ ℚ) X A p c.val).comp |
| 28 | ((CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ X A).d (p+1) p).hom = 0 := by |
| 29 | rw [← CycleClass.Geometric.RelativeChainD.Cycles.relativeDegreewiseChainDualEquiv_d, |
| 30 | AlgebraicTopology.Cohomology.Singular.Evaluation.cochainCocycle_d_eq_zero _ p (p+1) c, map_zero] |
| 31 | |
| 32 | theorem relativeCocycleDual_representatives (X : TopCat.{0}) (A : Set X) (p : ℕ) |
| 33 | (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) p) |
| 34 | (u : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A p) : |
| 35 | CycleClass.Geometric.RelativeChainD.Cycles.relativeDegreewiseChainDualEquiv (ModuleCat.of ℚ ℚ) X A p c.val |
| 36 | (AlgebraicTopology.Kunneth.ChainSplittingD.Construction.ChainSplitting.representatives (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ X A) p u).val = |
| 37 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A p (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p c) u := by |
| 38 | have h := CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation_class_class (ModuleCat.of ℚ ℚ) X A p c |
| 39 | (AlgebraicTopology.Kunneth.ChainSplittingD.Construction.ChainSplitting.representatives (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ X A) p u) |
| 40 | rw [AlgebraicTopology.Kunneth.ChainSplittingD.Construction.ChainSplitting.class_representatives] at h |
| 41 | exact h.symm |
| 42 | |
| 43 | variable (X Y : TopCat.{0}) (A : Set X) (B : Set Y) (p q : ℕ) |
| 44 | variable (c : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) X A) p) |
| 45 | variable (d : AlgebraicTopology.Cohomology.Singular.Representatives.cochainCocycles (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCochains (ModuleCat.of ℚ ℚ) Y B) q) |
| 46 | |
| 47 | def relativeTensorHomologyFunctional : |
| 48 | Module.Dual ℚ ((CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ X A ⊗ CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ Y B).homology (p+q)) := |
| 49 | AlgebraicTopology.Kunneth.TensorAlexanderWhitney.Construction.TensorCocycles.tensorHomologyFunctional (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ X A) (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ Y B) p q |
| 50 | (CycleClass.Geometric.RelativeChainD.Cycles.relativeDegreewiseChainDualEquiv (ModuleCat.of ℚ ℚ) X A p c.val) |
| 51 | (CycleClass.Geometric.RelativeChainD.Cycles.relativeDegreewiseChainDualEquiv (ModuleCat.of ℚ ℚ) Y B q d.val) |
| 52 | (relativeCocycleDual_closed X A p c) (relativeCocycleDual_closed Y B q d) |
| 53 | |
| 54 | theorem relativeTensorHomologyFunctional_class |
| 55 | (z : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ X A ⊗ CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ Y B) (p+q)) : |
| 56 | relativeTensorHomologyFunctional X Y A B p q c d (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass _ (p+q) z) = |
| 57 | RelativeTensorFunctional.Constructions.relativeTensorFunctional X Y A B p q c.val d.val z.val := |
| 58 | AlgebraicTopology.Kunneth.TensorAlexanderWhitney.Construction.TensorCocycles.tensorHomologyFunctional_class _ _ _ _ _ _ _ _ z |
| 59 | |
| 60 | theorem relativeTensorHomologyFunctional_algebraic |
| 61 | (u : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A p) (v : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ Y B q) : |
| 62 | relativeTensorHomologyFunctional X Y A B p q c d |
| 63 | (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.algebraicKunneth (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ X A) (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ Y B) (p+q) |
| 64 | (DirectSum.lof ℚ (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.DegreePairs (p+q)) |
| 65 | (fun ij => CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A ij.val.1 ⊗[ℚ] |
| 66 | CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ Y B ij.val.2) ⟨(p,q),rfl⟩ (u ⊗ₜ[ℚ] v))) = |
| 67 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A p (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p c) u * |
| 68 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) Y B q (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q d) v := by |
| 69 | rw [relativeTensorHomologyFunctional, AlgebraicTopology.Kunneth.TensorAlexanderWhitney.Construction.TensorCocycles.tensorHomologyFunctional_algebraic_self, |
| 70 | relativeCocycleDual_representatives, relativeCocycleDual_representatives] |
| 71 | |
| 72 | theorem relativeTensorHomologyFunctional_cross (hA : IsOpen A) (hB : IsOpen B) |
| 73 | (u : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A p) (v : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ Y B q) : |
| 74 | relativeTensorHomologyFunctional X Y A B p q c d |
| 75 | (SmallProductComparison.Constructions.relativeAlexanderWhitneyHomology X Y A B hA hB (p+q) |
| 76 | (RelativeCrossNonvanishing.Constructions.relativeHomologyCrossClass X Y A B p q u v)) = |
| 77 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A p (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ p c) u * |
| 78 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) Y B q (AlgebraicTopology.Cohomology.Singular.Representatives.cochainClass _ q d) v := by |
| 79 | have h := ConcreteCategory.congr_hom (RelativeCrossNonvanishing.Constructions.relativeCrossWhitney_homology X Y A B hA hB (p+q)) |
| 80 | (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.algebraicKunneth (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ X A) (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ Y B) (p+q) |
| 81 | (DirectSum.lof ℚ (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.DegreePairs (p+q)) |
| 82 | (fun ij => CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A ij.val.1 ⊗[ℚ] |
| 83 | CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ Y B ij.val.2) ⟨(p,q),rfl⟩ (u ⊗ₜ[ℚ] v))) |
| 84 | change SmallProductComparison.Constructions.relativeAlexanderWhitneyHomology X Y A B hA hB (p+q) |
| 85 | (RelativeCrossNonvanishing.Constructions.relativeHomologyCrossClass X Y A B p q u v) = _ at h |
| 86 | rw [h] |
| 87 | exact relativeTensorHomologyFunctional_algebraic X Y A B p q c d u v |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeTensorHomology.Constructions |