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.TripleDegreeQuotient |
| 2 | |
| 3 | /-! # Triple Chain Quotient -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TripleChainQuotient |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The chain-map universal property of three genuine factor quotients. -/ |
| 10 | |
| 11 | set_option backward.isDefEq.respectTransparency false |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 14 | open _root_.HomologicalComplex OAI.AlgebraicGeometry.CycleClass.Thom.TripleDegreeQuotient.Constructions |
| 15 | |
| 16 | namespace Constructions |
| 17 | |
| 18 | variable {k : Type} [Field k] |
| 19 | variable (s t u : ShortComplex (ChainComplex (ModuleCat.{0} k) ℕ)) |
| 20 | variable (hs : s.ShortExact) (ht : t.ShortExact) (hu : u.ShortExact) |
| 21 | |
| 22 | include hs ht hu in |
| 23 | theorem tripleQuotient_degree_epi (n : ℕ) : Epi (((s.g ⊗ₘ t.g) ⊗ₘ u.g).f n) := by |
| 24 | let : ∀ n, Epi (s.g.f n) := fun n => |
| 25 | ((shortExact_iff_degreewise_shortExact s).mp hs n).epi_g |
| 26 | let : ∀ n, Epi (t.g.f n) := fun n => |
| 27 | ((shortExact_iff_degreewise_shortExact t).mp ht n).epi_g |
| 28 | let : ∀ n, Epi (u.g.f n) := fun n => |
| 29 | ((shortExact_iff_degreewise_shortExact u).mp hu n).epi_g |
| 30 | let : ∀ n, Epi ((s.g ⊗ₘ t.g).f n) := fun n => HodgeConjecture.DegreeTwo.TensorChainQuotient.Constructions.tensorChainHom_degree_epi s.g t.g n |
| 31 | exact HodgeConjecture.DegreeTwo.TensorChainQuotient.Constructions.tensorChainHom_degree_epi (s.g ⊗ₘ t.g) u.g n |
| 32 | |
| 33 | variable {D : ChainComplex (ModuleCat.{0} k) ℕ} (F : (s.X₂ ⊗ t.X₂) ⊗ u.X₂ ⟶ D) |
| 34 | variable (h₁ : ((s.f ⊗ₘ 𝟙 t.X₂) ⊗ₘ 𝟙 u.X₂) ≫ F = 0) |
| 35 | variable (h₂ : ((𝟙 s.X₂ ⊗ₘ t.f) ⊗ₘ 𝟙 u.X₂) ≫ F = 0) |
| 36 | variable (h₃ : (𝟙 (s.X₂ ⊗ t.X₂) ⊗ₘ u.f) ≫ F = 0) |
| 37 | |
| 38 | private def quotientComponent (n : ℕ) : ((s.X₃ ⊗ t.X₃) ⊗ u.X₃).X n ⟶ D.X n := |
| 39 | TripleDegreeQuotient.Constructions.tripleDegreeQuotientDesc s t u hs ht hu n (F.f n) |
| 40 | (HomologicalComplex.congr_hom h₁ n) (HomologicalComplex.congr_hom h₂ n) |
| 41 | (HomologicalComplex.congr_hom h₃ n) |
| 42 | |
| 43 | private theorem quotientComponent_fac (n : ℕ) : |
| 44 | ((s.g ⊗ₘ t.g) ⊗ₘ u.g).f n ≫ quotientComponent s t u hs ht hu F h₁ h₂ h₃ n = F.f n := |
| 45 | TripleDegreeQuotient.Constructions.tripleDegreeQuotientDesc_fac s t u hs ht hu n (F.f n) |
| 46 | (HomologicalComplex.congr_hom h₁ n) (HomologicalComplex.congr_hom h₂ n) |
| 47 | (HomologicalComplex.congr_hom h₃ n) |
| 48 | |
| 49 | def tripleChainQuotientDesc : (s.X₃ ⊗ t.X₃) ⊗ u.X₃ ⟶ D where |
| 50 | f n := quotientComponent s t u hs ht hu F h₁ h₂ h₃ n |
| 51 | comm' i j _ := by |
| 52 | let : Epi (((s.g ⊗ₘ t.g) ⊗ₘ u.g).f i) := tripleQuotient_degree_epi s t u hs ht hu i |
| 53 | apply (cancel_epi (((s.g ⊗ₘ t.g) ⊗ₘ u.g).f i)).mp |
| 54 | rw [← Category.assoc, quotientComponent_fac] |
| 55 | rw [← Category.assoc, ((s.g ⊗ₘ t.g) ⊗ₘ u.g).comm i j, Category.assoc, |
| 56 | quotientComponent_fac] |
| 57 | exact F.comm i j |
| 58 | |
| 59 | theorem tripleChainQuotientDesc_fac : |
| 60 | ((s.g ⊗ₘ t.g) ⊗ₘ u.g) ≫ tripleChainQuotientDesc s t u hs ht hu F h₁ h₂ h₃ = F := by |
| 61 | apply HomologicalComplex.Hom.ext |
| 62 | funext n |
| 63 | exact quotientComponent_fac s t u hs ht hu F h₁ h₂ h₃ n |
| 64 | |
| 65 | theorem tripleChainQuotientDesc_unique (G : (s.X₃ ⊗ t.X₃) ⊗ u.X₃ ⟶ D) |
| 66 | (hG : ((s.g ⊗ₘ t.g) ⊗ₘ u.g) ≫ G = F) : |
| 67 | tripleChainQuotientDesc s t u hs ht hu F h₁ h₂ h₃ = G := by |
| 68 | apply HomologicalComplex.Hom.ext |
| 69 | funext n |
| 70 | let : Epi (((s.g ⊗ₘ t.g) ⊗ₘ u.g).f n) := tripleQuotient_degree_epi s t u hs ht hu n |
| 71 | apply (cancel_epi (((s.g ⊗ₘ t.g) ⊗ₘ u.g).f n)).mp |
| 72 | change ((s.g ⊗ₘ t.g) ⊗ₘ u.g).f n ≫ quotientComponent s t u hs ht hu F h₁ h₂ h₃ n = _ |
| 73 | rw [quotientComponent_fac] |
| 74 | exact (HomologicalComplex.congr_hom hG n).symm |
| 75 | |
| 76 | end Constructions |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.CycleClass.Thom.TripleChainQuotient |