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.DivisorClass.Chern.Line.ProductDualEvaluation |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.LocalProductCoefficient |
| 3 | |
| 4 | /-! # Product Cup Normalization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Line.ProductCupNormalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The existing local tangent–normal cup coefficient is exactly one |
| 11 | for a complex line and every positive-dimensional complex tangent space. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | set_option backward.defeqAttrib.useBackward true |
| 18 | |
| 19 | theorem relativeEvaluation_changeDegree (X : TopCat.{0}) (A : Set X) (m n : ℕ) (h : m = n) |
| 20 | (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A m) |
| 21 | (z : CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A m) : |
| 22 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A n |
| 23 | (eqToHom (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A) h) a) |
| 24 | (eqToHom (congrArg (CycleClass.Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A) h) z) = |
| 25 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A m a z := by |
| 26 | subst n |
| 27 | rfl |
| 28 | |
| 29 | def lineTangentCupClass (p : ℕ) : |
| 30 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 31 | (TopCat.of ((Fin 1 → ℂ) × (Fin (p + 1) → ℂ))) ({0}ᶜ) (2 * p + 4) := |
| 32 | eqToHom (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) |
| 33 | (TopCat.of ((Fin 1 → ℂ) × (Fin (p + 1) → ℂ))) ({0}ᶜ)) |
| 34 | (show 2 * 1 + 2 * (p + 1) = 2 * p + 4 by omega)) (HodgeConjecture.DegreeTwo.LocalProductCup.Constructions.localProductCupClass 1 (p + 1)) |
| 35 | |
| 36 | theorem lineTangentCupClass_evaluation (p : ℕ) : |
| 37 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) |
| 38 | (TopCat.of ((Fin 1 → ℂ) × (Fin (p + 1) → ℂ))) ({0}ᶜ) (2 * p + 4) |
| 39 | (lineTangentCupClass p) (NamedLocalCrossGenerator.lineTangentCrossClass p) = 1 := |
| 40 | (relativeEvaluation_changeDegree _ _ (2 * 1 + 2 * (p + 1)) (2 * p + 4) (by omega) |
| 41 | (HodgeConjecture.DegreeTwo.LocalProductCup.Constructions.localProductCupClass 1 (p + 1)) (HodgeConjecture.DegreeTwo.LocalProductGenerator.Constructions.localProductCrossGenerator 1 (p + 1))).trans |
| 42 | (HodgeConjecture.DegreeTwo.LocalProductCup.Constructions.localProductCupClass_evaluation 1 (p + 1)) |
| 43 | |
| 44 | def lineTangentProductCoordinates (p : ℕ) : |
| 45 | ((Fin 1 → ℂ) × (Fin (p + 1) → ℂ)) ≃L[ℂ] (Fin (1 + (p + 1)) → ℂ) := |
| 46 | cast (congrArg (fun n => ((Fin 1 → ℂ) × (Fin (p + 1) → ℂ)) ≃L[ℂ] (Fin n → ℂ)) |
| 47 | (show p + 2 = 1 + (p + 1) by omega)) (Complex.LineProductCoordinates.complexLineProductCoordinates (p + 1)) |
| 48 | |
| 49 | theorem complexCoordinateLocalClass_transport_degree |
| 50 | {E : Type} [NormedAddCommGroup E] [NormedSpace ℂ E] |
| 51 | {a b : ℕ} (h : a = b) (e : E ≃L[ℂ] (Fin a → ℂ)) |
| 52 | (n : ℕ) (ha : 2 * a = n) (hb : 2 * b = n) : |
| 53 | eqToHom (congrArg (CycleClass.Geometric.FiniteComplexLocalPurity.Cycles.finiteComplexLocalCohomology E) hb) |
| 54 | (CycleClass.Geometric.ComplexLocalPurityNaturality.Cycles.complexCoordinateLocalClass (cast (congrArg (fun t => E ≃L[ℂ] (Fin t → ℂ)) h) e)) = |
| 55 | eqToHom (congrArg (CycleClass.Geometric.FiniteComplexLocalPurity.Cycles.finiteComplexLocalCohomology E) ha) (CycleClass.Geometric.ComplexLocalPurityNaturality.Cycles.complexCoordinateLocalClass e) := by |
| 56 | subst b |
| 57 | rfl |
| 58 | |
| 59 | theorem relativeCohomologyMap_changeDegree {X Y : TopCat.{0}} (f : X ⟶ Y) |
| 60 | {A : Set X} {B : Set Y} (h : Set.MapsTo f A B) (m n : ℕ) (hm : m = n) |
| 61 | (c : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y B m) : |
| 62 | eqToHom (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A) hm) |
| 63 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f h m c) = |
| 64 | AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) f h n |
| 65 | (eqToHom (congrArg (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) Y B) hm) c) := by |
| 66 | subst n |
| 67 | rfl |
| 68 | |
| 69 | theorem lineTangentCoordinateDualClass_eq_coordinate (p : ℕ) : |
| 70 | eqToHom (congrArg (CycleClass.Geometric.FiniteComplexLocalPurity.Cycles.finiteComplexLocalCohomology ((Fin 1 → ℂ) × (Fin (p + 1) → ℂ))) |
| 71 | (show 2 * (1 + (p + 1)) = 2 * p + 4 by omega)) |
| 72 | (CycleClass.Geometric.ComplexLocalPurityNaturality.Cycles.complexCoordinateLocalClass (lineTangentProductCoordinates p)) = ProductDualEvaluation.lineTangentCoordinateDualClass p := by |
| 73 | refine (complexCoordinateLocalClass_transport_degree |
| 74 | (show p + 2 = 1 + (p + 1) by omega) (Complex.LineProductCoordinates.complexLineProductCoordinates (p + 1)) |
| 75 | (2 * p + 4) (by omega) (by omega)).trans ?_ |
| 76 | change eqToHom (congrArg (CycleClass.Geometric.FiniteComplexLocalPurity.Cycles.finiteComplexLocalCohomology ((Fin 1 → ℂ) × (Fin (p + 1) → ℂ))) |
| 77 | (show 2 * (p + 2) = 2 * p + 4 by omega)) |
| 78 | (AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomologyMap (ModuleCat.of ℚ ℚ) |
| 79 | (Complex.ProductFactorMaps.complexProductLineMap p) (Complex.ProductFactorMaps.complexProductLineMap_puncture p) (2 * (p + 2)) |
| 80 | (CycleClass.Geometric.RationalLocalPurity.Cycles.complexNormalRationalDualClass (p + 2))) = _ |
| 81 | rw [relativeCohomologyMap_changeDegree] |
| 82 | unfold ProductDualEvaluation.lineTangentCoordinateDualClass |
| 83 | congr 1 |
| 84 | simp only [Nat.mul_succ] |
| 85 | |
| 86 | theorem lineTangentCupClass_eq_coefficient_smul (p : ℕ) : |
| 87 | lineTangentCupClass p = HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupCoefficient 1 (p + 1) • ProductDualEvaluation.lineTangentCoordinateDualClass p := by |
| 88 | have h := congrArg |
| 89 | (eqToHom (congrArg (CycleClass.Geometric.FiniteComplexLocalPurity.Cycles.finiteComplexLocalCohomology ((Fin 1 → ℂ) × (Fin (p + 1) → ℂ))) |
| 90 | (show 2 * (1 + (p + 1)) = 2 * p + 4 by omega))) |
| 91 | (HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupTop_eq_smul_coordinates 1 (p + 1) (lineTangentProductCoordinates p)) |
| 92 | rw [map_smul, lineTangentCoordinateDualClass_eq_coordinate] at h |
| 93 | refine Eq.trans ?_ h |
| 94 | unfold HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupTop lineTangentCupClass |
| 95 | rw [← ConcreteCategory.comp_apply, eqToHom_trans] |
| 96 | |
| 97 | theorem localProductCupCoefficient_line_positive (p : ℕ) : |
| 98 | HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupCoefficient 1 (p + 1) = 1 := by |
| 99 | have h := lineTangentCupClass_evaluation p |
| 100 | rw [lineTangentCupClass_eq_coefficient_smul, map_smul] at h |
| 101 | change HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupCoefficient 1 (p + 1) * |
| 102 | CycleClass.Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) |
| 103 | (TopCat.of ((Fin 1 → ℂ) × (Fin (p + 1) → ℂ))) ({0}ᶜ) (2 * p + 4) |
| 104 | (ProductDualEvaluation.lineTangentCoordinateDualClass p) (NamedLocalCrossGenerator.lineTangentCrossClass p) = 1 at h |
| 105 | rw [ProductDualEvaluation.lineTangentCoordinateDualClass_evaluation, mul_one] at h |
| 106 | exact h |
| 107 | |
| 108 | end |
| 109 | |
| 110 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Line.ProductCupNormalization |