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.TensorChainQuotient |
| 2 | |
| 3 | /-! # Tensor Descent -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.TensorDescent.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Degreewise tensor quotient descent, also applicable to homotopy components. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 12 | open _root_.HomologicalComplex |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | variable {k : Type} [Field k] |
| 17 | variable (s t : ShortComplex (ChainComplex (ModuleCat.{0} k) ℕ)) |
| 18 | variable (hs : s.ShortExact) (ht : t.ShortExact) (n : ℕ) |
| 19 | variable {M : ModuleCat.{0} k} (f : (s.X₂ ⊗ t.X₂).X n ⟶ M) |
| 20 | variable (hl : (s.f ⊗ₘ 𝟙 t.X₂).f n ≫ f = 0) |
| 21 | variable (hr : (𝟙 s.X₂ ⊗ₘ t.f).f n ≫ f = 0) |
| 22 | |
| 23 | include hl in |
| 24 | private theorem degreeBidegree_left (p q : ℕ) (hpq : p + q = n) : |
| 25 | (s.f.f p ▷ t.X₂.X q) ≫ ιTensorObj s.X₂ t.X₂ p q n hpq ≫ f = 0 := by |
| 26 | have h := congrArg (fun a => ιTensorObj s.X₁ t.X₂ p q n hpq ≫ a) hl |
| 27 | have hi : ιTensorObj s.X₁ t.X₂ p q n hpq ≫ (s.f ⊗ₘ 𝟙 t.X₂).f n = |
| 28 | (s.f.f p ⊗ₘ 𝟙 (t.X₂.X q)) ≫ ιTensorObj s.X₂ t.X₂ p q n hpq := |
| 29 | AlgebraicTopology.Kunneth.CohomologyTensorNe.Construction.TensorProjections.inclusion_tensorHom s.X₁ t.X₂ s.f (𝟙 t.X₂) |
| 30 | n ⟨(p,q), hpq⟩ |
| 31 | rw [← Category.assoc, hi, Category.assoc, tensorHom_id, comp_zero] at h |
| 32 | exact h |
| 33 | |
| 34 | include hr in |
| 35 | private theorem degreeBidegree_right (p q : ℕ) (hpq : p + q = n) : |
| 36 | (s.X₂.X p ◁ t.f.f q) ≫ ιTensorObj s.X₂ t.X₂ p q n hpq ≫ f = 0 := by |
| 37 | have h := congrArg (fun a => ιTensorObj s.X₂ t.X₁ p q n hpq ≫ a) hr |
| 38 | have hi : ιTensorObj s.X₂ t.X₁ p q n hpq ≫ (𝟙 s.X₂ ⊗ₘ t.f).f n = |
| 39 | (𝟙 (s.X₂.X p) ⊗ₘ t.f.f q) ≫ ιTensorObj s.X₂ t.X₂ p q n hpq := |
| 40 | AlgebraicTopology.Kunneth.CohomologyTensorNe.Construction.TensorProjections.inclusion_tensorHom s.X₂ t.X₁ (𝟙 s.X₂) t.f |
| 41 | n ⟨(p,q), hpq⟩ |
| 42 | rw [← Category.assoc, hi, Category.assoc, id_tensorHom, comp_zero] at h |
| 43 | exact h |
| 44 | |
| 45 | private def degreeBidegreeDesc (p q : ℕ) (hpq : p + q = n) : |
| 46 | s.X₃.X p ⊗ t.X₃.X q ⟶ M := by |
| 47 | let sp := s.map (HomologicalComplex.eval (ModuleCat.{0} k) (ComplexShape.down ℕ) p) |
| 48 | let tq := t.map (HomologicalComplex.eval (ModuleCat.{0} k) (ComplexShape.down ℕ) q) |
| 49 | have hsp : sp.ShortExact := (shortExact_iff_degreewise_shortExact s).mp hs p |
| 50 | have htq : tq.ShortExact := (shortExact_iff_degreewise_shortExact t).mp ht q |
| 51 | letI : Epi sp.g := hsp.epi_g |
| 52 | letI : Epi tq.g := htq.epi_g |
| 53 | exact TensorChainQuotient.Constructions.moduleTensorQuotientDesc sp tq hsp.exact htq.exact |
| 54 | (ιTensorObj s.X₂ t.X₂ p q n hpq ≫ f) |
| 55 | (degreeBidegree_left s t n f hl p q hpq) (degreeBidegree_right s t n f hr p q hpq) |
| 56 | |
| 57 | private theorem degreeBidegreeDesc_fac (p q : ℕ) (hpq : p + q = n) : |
| 58 | (s.g.f p ⊗ₘ t.g.f q) ≫ degreeBidegreeDesc s t hs ht n f hl hr p q hpq = |
| 59 | ιTensorObj s.X₂ t.X₂ p q n hpq ≫ f := by |
| 60 | let sp := s.map (HomologicalComplex.eval (ModuleCat.{0} k) (ComplexShape.down ℕ) p) |
| 61 | let tq := t.map (HomologicalComplex.eval (ModuleCat.{0} k) (ComplexShape.down ℕ) q) |
| 62 | have hsp : sp.ShortExact := (shortExact_iff_degreewise_shortExact s).mp hs p |
| 63 | have htq : tq.ShortExact := (shortExact_iff_degreewise_shortExact t).mp ht q |
| 64 | have : Epi sp.g := hsp.epi_g |
| 65 | have : Epi tq.g := htq.epi_g |
| 66 | exact TensorChainQuotient.Constructions.moduleTensorQuotientDesc_fac sp tq hsp.exact htq.exact |
| 67 | (ιTensorObj s.X₂ t.X₂ p q n hpq ≫ f) |
| 68 | (degreeBidegree_left s t n f hl p q hpq) (degreeBidegree_right s t n f hr p q hpq) |
| 69 | |
| 70 | def tensorDegreeQuotientDesc : (s.X₃ ⊗ t.X₃).X n ⟶ M := |
| 71 | mapBifunctorDesc (fun p q hpq => degreeBidegreeDesc s t hs ht n f hl hr p q hpq) |
| 72 | |
| 73 | theorem tensorDegreeQuotientDesc_fac : |
| 74 | (s.g ⊗ₘ t.g).f n ≫ tensorDegreeQuotientDesc s t hs ht n f hl hr = f := by |
| 75 | apply mapBifunctor.hom_ext |
| 76 | intro p q hpq |
| 77 | have hi : ιTensorObj s.X₂ t.X₂ p q n hpq ≫ (s.g ⊗ₘ t.g).f n = |
| 78 | (s.g.f p ⊗ₘ t.g.f q) ≫ ιTensorObj s.X₃ t.X₃ p q n hpq := |
| 79 | AlgebraicTopology.Kunneth.CohomologyTensorNe.Construction.TensorProjections.inclusion_tensorHom s.X₂ t.X₂ s.g t.g n ⟨(p,q), hpq⟩ |
| 80 | rw [← Category.assoc, hi, Category.assoc] |
| 81 | change _ ≫ (ιTensorObj s.X₃ t.X₃ p q n hpq ≫ mapBifunctorDesc _) = _ |
| 82 | rw [ι_mapBifunctorDesc] |
| 83 | exact degreeBidegreeDesc_fac s t hs ht n f hl hr p q hpq |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.TensorDescent.Constructions |