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.Comparison.Betti.Complex.Extension |
| 2 | import OAI.AlgebraicGeometry.Comparison.Betti.Complex.Adjunction |
| 3 | |
| 4 | /-! # Complex Extension Adapter -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ComplexExtensionAdapter.FormsAdapter |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact coherence between extension of complexes and the actual adjunctions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits ZeroObject |
| 13 | |
| 14 | variable {C D : Type*} [Category* C] [Category* D] |
| 15 | [Preadditive C] [Preadditive D] [HasZeroObject C] [HasZeroObject D] |
| 16 | {F : C ⥤ D} [F.Additive] {G : D ⥤ C} [G.Additive] |
| 17 | (adj : F ⊣ G) {ι ι' : Type*} {c : ComplexShape ι} {c' : ComplexShape ι'} |
| 18 | {K : HomologicalComplex C c} {L : HomologicalComplex D c} |
| 19 | (φ : K ⟶ (G.mapHomologicalComplex c).obj L) |
| 20 | |
| 21 | omit [Preadditive C] [Preadditive D] [HasZeroObject C] [HasZeroObject D] |
| 22 | [F.Additive] [G.Additive] in |
| 23 | theorem adjoint_comp_id {A : C} {B : D} (f : A ⟶ G.obj B) : |
| 24 | (adj.homEquiv A B).symm (f ≫ 𝟙 _) = 𝟙 _ ≫ (F.map f ≫ adj.counit.app B) := by |
| 25 | rw [Category.comp_id, Category.id_comp] |
| 26 | rfl |
| 27 | |
| 28 | theorem adjoint_mapX (i : Option ι) : |
| 29 | (adj.homEquiv (HomologicalComplex.extend.X K i) (HomologicalComplex.extend.X L i)).symm |
| 30 | (HomologicalComplex.extend.mapX φ i ≫ (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapXIso G L i).inv) = |
| 31 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapXIso F K i).hom ≫ |
| 32 | HomologicalComplex.extend.mapX |
| 33 | (((AlgebraicGeometry.Comparison.Betti.Complex.Adjunction.onComplexes adj c).homEquiv K L).symm φ) i := by |
| 34 | cases i with |
| 35 | | none => exact (F.map_isZero (isZero_zero C)).eq_of_src _ _ |
| 36 | | some i => |
| 37 | exact adjoint_comp_id adj (φ.f i) |
| 38 | |
| 39 | theorem adjoint_extend (e : c.Embedding c') : |
| 40 | ((AlgebraicGeometry.Comparison.Betti.Complex.Adjunction.onComplexes adj c').homEquiv (K.extend e) (L.extend e)).symm |
| 41 | (HomologicalComplex.extendMap φ e ≫ (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso G e L).inv) = |
| 42 | (AlgebraicGeometry.Comparison.Betti.Complex.Extension.mapExtendIso F e K).hom ≫ |
| 43 | HomologicalComplex.extendMap |
| 44 | (((AlgebraicGeometry.Comparison.Betti.Complex.Adjunction.onComplexes adj c).homEquiv K L).symm φ) e := by |
| 45 | apply HomologicalComplex.Hom.ext |
| 46 | funext i |
| 47 | exact adjoint_mapX adj φ (e.r i) |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ComplexExtensionAdapter.FormsAdapter |