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.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.Rotation |
| 2 | |
| 3 | /-! # Rotation Injection -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RotationInjection |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The native regrouping preserves each actual form/Čech/Čech |
| 10 | coproduct injection, without a sign or a reindexing premise. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u v |
| 15 | variable {A : Type u} [Category.{v} A] [Abelian A] [HasFiniteCoproducts A] |
| 16 | attribute [local instance] Rotation.total Rotation.complexTotal |
| 17 | variable (S : HomologicalComplex₂ (CochainComplex A ℕ) (.up ℕ) (.up ℕ)) |
| 18 | |
| 19 | def nativeInjection (r i j N : ℕ) (h : r+i+j=N) : |
| 20 | ((S.X i).X j).X r ⟶ ((HomologicalComplex₂.flip (S.total (.up ℕ))).total (.up ℕ)).X N := |
| 21 | (S.ιTotal (.up ℕ) i j (i+j) rfl).f r ≫ |
| 22 | (HomologicalComplex₂.flip (S.total (.up ℕ))).ιTotal (.up ℕ) r (i+j) N (by change r+(i+j)=N; omega) |
| 23 | |
| 24 | @[reassoc] |
| 25 | theorem rightInjection_totalIso (r i j N : ℕ) (h : r+i+j=N) : |
| 26 | Components.rightInjection (Rotation.rotate S) r i j N h ≫ (Rotation.totalIso S).hom.f N = |
| 27 | nativeInjection S r i j N h := by |
| 28 | dsimp only [Components.rightInjection, Rotation.totalIso, Rotation.bicomplexIso, |
| 29 | HomologicalComplex₂.total.mapIso] |
| 30 | erw [Category.assoc, HomologicalComplex₂.ιTotal_map] |
| 31 | change HomologicalComplex₂.ιTotal |
| 32 | (AlgebraicGeometry.Comparison.Betti.TotalComplexFunctor.mapBicomplex (HomologicalComplex.eval A (.up ℕ) r) S) |
| 33 | (.up ℕ) i j (i+j) rfl ≫ |
| 34 | AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.finiteTotalComparisonComponent (HomologicalComplex.eval A (.up ℕ) r) S (i+j) ≫ |
| 35 | (HomologicalComplex₂.flip (S.total (.up ℕ))).ιTotal (.up ℕ) r (i+j) N _ = _ |
| 36 | erw [← Category.assoc, AlgebraicGeometry.Comparison.Betti.Finite.TotalFunctor.ι_finiteTotalComparisonComponent] |
| 37 | rfl |
| 38 | |
| 39 | @[reassoc] |
| 40 | theorem injection_regroup (r i j N : ℕ) (h : r+i+j=N) : |
| 41 | nativeInjection S r i j N h ≫ (Rotation.regroup S).f N = |
| 42 | Components.leftInjection (Rotation.rotate S) r i j N h := by |
| 43 | rw [← rightInjection_totalIso] |
| 44 | dsimp only [Rotation.regroup, HomologicalComplex.comp_f] |
| 45 | erw [Category.assoc, ← Category.assoc ((Rotation.totalIso S).hom.f N), |
| 46 | ← HomologicalComplex.comp_f, Iso.hom_inv_id, HomologicalComplex.id_f, |
| 47 | Category.id_comp] |
| 48 | exact Association.injection (Rotation.rotate S) r i j N h |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TripleTotal.RotationInjection |