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.Relative.Slant |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeProductEquivalence |
| 3 | |
| 4 | /-! # Cross Spanning -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Relative.CrossSpanning.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual relative cross classes span product homology for open complements. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory |
| 13 | open OAI.AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.RelativeProductEquivalence.Constructions |
| 14 | open scoped TensorProduct DirectSum |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.Relative.CrossAssociateForward.Constructions.HomologyAssociativity OAI.AlgebraicGeometry.CycleClass.Thom.HomologyProductAssociativity.Constructions.Products |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | theorem linearMap_ext (X Y : TopCat.{0}) (A : Set X) (B : Set Y) |
| 22 | (hA : IsOpen A) (hB : IsOpen B) (n : ℕ) |
| 23 | {V : Type} [AddCommGroup V] [Module ℚ V] |
| 24 | (F G : Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ (TopCat.of (X × Y)) |
| 25 | (HodgeConjecture.DegreeTwo.RelativeCrossSupport.Constructions.crossSupportComplement X Y A B) n →ₗ[ℚ] V) |
| 26 | (h : ∀ (p q : ℕ) (hpq : p + q = n) |
| 27 | (a : Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ X A p) (b : Geometric.RelativeScalarChains.Cycles.relativeScalarHomology ℚ Y B q), |
| 28 | F (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ X Y A B p q n hpq a b) = |
| 29 | G (CrossAssociateForward.Constructions.HomologyAssociativity.relativeCrossClassAt ℚ X Y A B p q n hpq a b)) : F = G := by |
| 30 | let e := (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.algebraicKunneth (Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ X A) (Geometric.RelativeScalarChains.Cycles.relativeScalarChains ℚ Y B) n).trans |
| 31 | (HodgeConjecture.DegreeTwo.RelativeProductEquivalence.Constructions.relativeCrossHomologyIso X Y A B hA hB n).toLinearEquiv |
| 32 | apply (LinearMap.cancel_right e.surjective).mp |
| 33 | apply DirectSum.linearMap_ext |
| 34 | intro ij |
| 35 | apply TensorProduct.ext' |
| 36 | intro a b |
| 37 | exact h ij.val.1 ij.val.2 ij.property a b |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.CycleClass.Thom.Relative.CrossSpanning.Constructions |