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.GeometricComparison.CechCone.Total |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Finite.CechCoefficientTransformation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechCoefficient.Total |
| 4 | |
| 5 | /-! # Complex Diagram Coordinates -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexDiagramCoordinates |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The Čech total of a complex-valued diagram is canonically the |
| 12 | Čech total of the same diagram written degree by degree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v w z |
| 17 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 18 | {A : Type w} [Category.{z} A] [Abelian A] [HasProducts.{0} A] [HasCoproducts.{0} A] |
| 19 | {ι : Type} [Finite ι] (U : ι → C) (P : Cᵒᵖ ⥤ CochainComplex A ℕ) |
| 20 | |
| 21 | local notation "N" => OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechNerve.nerve U |
| 22 | |
| 23 | def differential (i j : ℕ) : HomologicalComplex.eval A (.up ℕ) i ⟶ |
| 24 | HomologicalComplex.eval A (.up ℕ) j where |
| 25 | app K := K.d i j |
| 26 | naturality _ _ f := f.comm i j |
| 27 | |
| 28 | def complex : CochainComplex (Cᵒᵖ ⥤ A) ℕ where |
| 29 | X n := P ⋙ HomologicalComplex.eval A (.up ℕ) n |
| 30 | d i j := Functor.whiskerLeft P (differential i j) |
| 31 | shape i j h := by |
| 32 | apply NatTrans.ext |
| 33 | funext V |
| 34 | exact (P.obj V).shape i j h |
| 35 | d_comp_d' i j k _ _ := by |
| 36 | apply NatTrans.ext |
| 37 | funext V |
| 38 | exact (P.obj V).d_comp_d i j k |
| 39 | |
| 40 | def rowIso (i : ℕ) : (GeometricComparison.CechCone.Total.CechConeTotal.bicomplex U P).X i ≅ |
| 41 | (CechCoefficient.Total.bicomplex N (complex P)).X i := |
| 42 | GeometricComparison.Finite.CechCoefficientChange.FiniteCechCoefficientChange.complexIso (HomologicalComplex.eval A (.up ℕ) i) N |
| 43 | (fun _ => inferInstanceAs (Finite (Fin _ → ι))) P |
| 44 | |
| 45 | def bicomplexIso : GeometricComparison.CechCone.Total.CechConeTotal.bicomplex U P ≅ |
| 46 | CechCoefficient.Total.bicomplex N (complex P) := |
| 47 | HomologicalComplex.Hom.isoOfComponents (rowIso U P) (fun i j _ => |
| 48 | (GeometricComparison.Finite.CechCoefficientTransformation.FiniteCechCoefficientTransformation.complexes |
| 49 | (HomologicalComplex.eval A (.up ℕ) i) (HomologicalComplex.eval A (.up ℕ) j) |
| 50 | (differential i j) N (fun _ => inferInstanceAs (Finite (Fin _ → ι))) P).symm) |
| 51 | |
| 52 | def totalIso : GeometricComparison.CechCone.Total.CechConeTotal.total U P ≅ |
| 53 | (CechCoefficient.Total.bicomplex N (complex P)).total (.up ℕ) := |
| 54 | HomologicalComplex₂.total.mapIso (bicomplexIso U P) (.up ℕ) |
| 55 | |
| 56 | end |
| 57 | |
| 58 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexDiagramCoordinates |