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.Tensor.Cycles |
| 2 | |
| 3 | /-! # Homology Product Associativity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.HomologyProductAssociativity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Products induced by actual chain maps, with explicit homogeneous degrees. |
| 12 | Associativity follows from a homotopy between the two actual chain composites. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.HomologicalComplex |
| 18 | open OAI.AlgebraicTopology.Kunneth.Add.Construction |
| 19 | open OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.Cycles.Constructions |
| 20 | open scoped TensorProduct DirectSum |
| 21 | |
| 22 | namespace Constructions.Products |
| 23 | |
| 24 | variable {k : Type} [Field k] |
| 25 | variable {C D E T : ChainComplex (ModuleCat.{0} k) ℕ} |
| 26 | |
| 27 | def homologyProduct (F : C ⊗ D ⟶ E) (p q n : ℕ) (hpq : p + q = n) |
| 28 | (a : C.homology p) (b : D.homology q) : E.homology n := |
| 29 | homologyMap F n (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.algebraicKunneth C D n |
| 30 | (DirectSum.lof k (AlgebraicTopology.Kunneth.TensorHomologyD.Construction.TensorHomology.DegreePairs n) |
| 31 | (fun d => C.homology d.val.1 ⊗[k] D.homology d.val.2) ⟨(p, q), hpq⟩ (a ⊗ₜ[k] b))) |
| 32 | |
| 33 | theorem homologyProduct_of_cycles (F : C ⊗ D ⟶ E) (p q n : ℕ) (hpq : p + q = n) |
| 34 | (x : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles C p) (y : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles D q) : |
| 35 | homologyProduct F p q n hpq (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass C p x) (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass D q y) = |
| 36 | AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass E n (AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap F n (Tensor.Cycles.Constructions.tensorCycleAt C D p q n hpq x y)) := by |
| 37 | rw [homologyProduct, DivisorClass.Chern.TensorArbitraryRepresentatives.algebraicKunneth_of_tensor_cycle C D n ⟨(p, q), hpq⟩ x y |
| 38 | (Tensor.Cycles.Constructions.tensorCycleAt C D p q n hpq x y) rfl, AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainClass_naturality] |
| 39 | |
| 40 | theorem homologyProduct_comp (F : C ⊗ D ⟶ E) (G : E ⟶ T) |
| 41 | (p q n : ℕ) (hpq : p + q = n) (a : C.homology p) (b : D.homology q) : |
| 42 | homologyProduct (F ≫ G) p q n hpq a b = |
| 43 | homologyMap G n (homologyProduct F p q n hpq a b) := by |
| 44 | simp only [homologyProduct, homologyMap_comp, ModuleCat.comp_apply] |
| 45 | |
| 46 | @[simp] |
| 47 | theorem cycleMap_id (p : ℕ) (x : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles C p) : AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap (𝟙 C) p x = x := by |
| 48 | apply Subtype.ext |
| 49 | rfl |
| 50 | |
| 51 | theorem cycleMap_comp (F : C ⟶ D) (G : D ⟶ E) (p : ℕ) (x : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles C p) : |
| 52 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap (F ≫ G) p x = AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap G p (AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap F p x) := by |
| 53 | apply Subtype.ext |
| 54 | rfl |
| 55 | |
| 56 | end Constructions.Products |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-! Associativity on actual homology classes from an actual chain homotopy. -/ |
| 61 | |
| 62 | set_option backward.isDefEq.respectTransparency false |
| 63 | set_option backward.isDefEq.respectTransparency.types false |
| 64 | |
| 65 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory _root_.HomologicalComplex |
| 66 | open OAI.AlgebraicGeometry.CycleClass.Thom.Tensor.Cycles.Constructions |
| 67 | open OAI.AlgebraicGeometry.CycleClass.Thom.HomologyProductAssociativity.Constructions.Products |
| 68 | |
| 69 | namespace Constructions |
| 70 | |
| 71 | variable {k : Type} [Field k] |
| 72 | variable {C D E CD DE T : ChainComplex (ModuleCat.{0} k) ℕ} |
| 73 | variable (F : C ⊗ D ⟶ CD) (G : CD ⊗ E ⟶ T) (H : D ⊗ E ⟶ DE) (I : C ⊗ DE ⟶ T) |
| 74 | variable (p q r n : ℕ) (h : (p + q) + r = n) |
| 75 | variable (x : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles C p) (y : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles D q) (z : AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainCycles E r) |
| 76 | |
| 77 | theorem leftComposite_cycle : |
| 78 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap ((F ⊗ₘ 𝟙 E) ≫ G) n |
| 79 | (Tensor.Cycles.Constructions.tensorCycleAt (C ⊗ D) E (p + q) r n h (Tensor.Cycles.Constructions.tensorCycleAt C D p q (p + q) rfl x y) z) = |
| 80 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap G n (Tensor.Cycles.Constructions.tensorCycleAt CD E (p + q) r n h |
| 81 | (AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap F (p + q) (Tensor.Cycles.Constructions.tensorCycleAt C D p q (p + q) rfl x y)) z) := by |
| 82 | rw [Products.cycleMap_comp, Tensor.Cycles.Constructions.tensorCycleAt_natural, Products.cycleMap_id] |
| 83 | |
| 84 | theorem rightComposite_cycle : |
| 85 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap ((α_ C D E).hom ≫ (𝟙 C ⊗ₘ H) ≫ I) n |
| 86 | (Tensor.Cycles.Constructions.tensorCycleAt (C ⊗ D) E (p + q) r n h (Tensor.Cycles.Constructions.tensorCycleAt C D p q (p + q) rfl x y) z) = |
| 87 | AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap I n (Tensor.Cycles.Constructions.tensorCycleAt C DE p (q + r) n ((Nat.add_assoc p q r).symm.trans h) x |
| 88 | (AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainCycleMap H (q + r) (Tensor.Cycles.Constructions.tensorCycleAt D E q r (q + r) rfl y z))) := by |
| 89 | rw [Products.cycleMap_comp, Tensor.Cycles.Constructions.tensorCycleAt_associator, Products.cycleMap_comp, Tensor.Cycles.Constructions.tensorCycleAt_natural, Products.cycleMap_id] |
| 90 | |
| 91 | theorem homologyProduct_associative |
| 92 | (hh : Homotopy ((F ⊗ₘ 𝟙 E) ≫ G) ((α_ C D E).hom ≫ (𝟙 C ⊗ₘ H) ≫ I)) |
| 93 | (a : C.homology p) (b : D.homology q) (c : E.homology r) : |
| 94 | Products.homologyProduct G (p + q) r n h (Products.homologyProduct F p q (p + q) rfl a b) c = |
| 95 | Products.homologyProduct I p (q + r) n ((Nat.add_assoc p q r).symm.trans h) a |
| 96 | (Products.homologyProduct H q r (q + r) rfl b c) := by |
| 97 | obtain ⟨x, rfl⟩ := AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_surjective C p a |
| 98 | obtain ⟨y, rfl⟩ := AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_surjective D q b |
| 99 | obtain ⟨z, rfl⟩ := AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass_surjective E r c |
| 100 | simp only [Products.homologyProduct_of_cycles] |
| 101 | have he := ConcreteCategory.congr_hom (hh.homologyMap_eq n) |
| 102 | (AlgebraicTopology.Cohomology.Singular.ChainRepresentatives.chainClass ((C ⊗ D) ⊗ E) n |
| 103 | (Tensor.Cycles.Constructions.tensorCycleAt (C ⊗ D) E (p + q) r n h (Tensor.Cycles.Constructions.tensorCycleAt C D p q (p + q) rfl x y) z)) |
| 104 | rw [AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainClass_naturality, AlgebraicTopology.Cohomology.Singular.EvaluationNaturality.chainClass_naturality, |
| 105 | leftComposite_cycle F G p q r n h x y z, rightComposite_cycle H I p q r n h x y z] at he |
| 106 | exact he |
| 107 | |
| 108 | end Constructions |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.CycleClass.Thom.HomologyProductAssociativity |