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.CycleClass.Thom.Local.HomologyCoordinates |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.LocalProductCoefficient |
| 3 | |
| 4 | /-! # Product Homology Coefficient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Local.ProductHomologyCoefficient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The local cross-product coefficient is the reciprocal of the actual |
| 11 | local cup coefficient, by canonical evaluation on the actual cross cycle. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.Local.HomologyCoordinates.Constructions |
| 18 | |
| 19 | namespace Constructions |
| 20 | |
| 21 | theorem relativeEvaluation_changeDegree (X : TopCat.{0}) (A : Set X) {n m : ℕ} |
| 22 | (h : n = m) (a : AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A n) |
| 23 | (z : Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A n) : |
| 24 | Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A m |
| 25 | (eqToHom (congrArg (fun j => AlgebraicTopology.Cohomology.Singular.RelativeSequence.relativeSingularCohomology (ModuleCat.of ℚ ℚ) X A j) h) a) |
| 26 | (eqToHom (congrArg (fun j => Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A j) h) z) = |
| 27 | Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) X A n a z := by |
| 28 | subst m |
| 29 | rfl |
| 30 | |
| 31 | def localProductCrossTop (d c : ℕ) : |
| 32 | Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ (TopCat.of ((Fin d → ℂ) × (Fin c → ℂ))) ({0}ᶜ) (2 * (d + c)) := |
| 33 | eqToHom (congrArg (fun j => Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ |
| 34 | (TopCat.of ((Fin d → ℂ) × (Fin c → ℂ))) ({0}ᶜ) j) (Nat.mul_add 2 d c).symm) |
| 35 | (HodgeConjecture.DegreeTwo.LocalProductGenerator.Constructions.localProductCrossGenerator d c) |
| 36 | |
| 37 | theorem localProductCupTop_evaluation (d c : ℕ) : |
| 38 | Geometric.RelativeChainD.Cycles.relativeHomologyEvaluation (ModuleCat.of ℚ ℚ) |
| 39 | (TopCat.of ((Fin d → ℂ) × (Fin c → ℂ))) ({0}ᶜ) (2 * (d + c)) |
| 40 | (HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupTop d c) (localProductCrossTop d c) = 1 := by |
| 41 | rw [HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupTop, localProductCrossTop, |
| 42 | relativeEvaluation_changeDegree _ _ (Nat.mul_add 2 d c).symm] |
| 43 | exact HodgeConjecture.DegreeTwo.LocalProductCup.Constructions.localProductCupClass_evaluation d c |
| 44 | |
| 45 | def localProductCrossCoefficient (d c : ℕ) : ℚ := |
| 46 | HomologyCoordinates.Constructions.coordinateHomologyEquiv (HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.productFlattenCoordinates d c) (localProductCrossTop d c) |
| 47 | |
| 48 | theorem localProductCupCoefficient_mul_crossCoefficient (d c : ℕ) : |
| 49 | HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupCoefficient d c * localProductCrossCoefficient d c = 1 := by |
| 50 | have h := localProductCupTop_evaluation d c |
| 51 | rw [HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupTop_eq_smul] at h |
| 52 | rw [localProductCrossCoefficient, HomologyCoordinates.Constructions.coordinateHomologyEquiv_eq_evaluation] |
| 53 | simpa only [map_smul, LinearMap.smul_apply, smul_eq_mul] using h |
| 54 | |
| 55 | theorem localProductCrossCoefficient_eq_inv (d c : ℕ) : |
| 56 | localProductCrossCoefficient d c = (HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupCoefficient d c)⁻¹ := by |
| 57 | apply mul_left_cancel₀ (HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupCoefficient_ne_zero d c) |
| 58 | rw [localProductCupCoefficient_mul_crossCoefficient, |
| 59 | mul_inv_cancel₀ (HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupCoefficient_ne_zero d c)] |
| 60 | |
| 61 | theorem localProductCrossCoefficient_ne_zero (d c : ℕ) : |
| 62 | localProductCrossCoefficient d c ≠ 0 := by |
| 63 | rw [localProductCrossCoefficient_eq_inv] |
| 64 | exact inv_ne_zero (HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.localProductCupCoefficient_ne_zero d c) |
| 65 | |
| 66 | theorem localProductCrossTop_eq_smul_coordinates (d c : ℕ) |
| 67 | (e : ((Fin d → ℂ) × (Fin c → ℂ)) ≃L[ℂ] (Fin (d + c) → ℂ)) : |
| 68 | localProductCrossTop d c = localProductCrossCoefficient d c • HomologyCoordinates.Constructions.coordinateHomologyGenerator e := by |
| 69 | apply (HomologyCoordinates.Constructions.coordinateHomologyEquiv e).injective |
| 70 | rw [map_smul, HomologyCoordinates.Constructions.coordinateHomologyGenerator_normalization, smul_eq_mul, mul_one, |
| 71 | ← HomologyCoordinates.Constructions.coordinateHomologyEquiv_eq (HodgeConjecture.DegreeTwo.LocalProductCoefficient.Constructions.productFlattenCoordinates d c) e] |
| 72 | rfl |
| 73 | |
| 74 | end Constructions |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.CycleClass.Thom.Local.ProductHomologyCoefficient |