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 Mathlib |
| 2 | |
| 3 | /-! # Adjunction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Comparison.Betti.Complex.Adjunction |
| 6 | |
| 7 | /-! Lifting the actual adjunctions used in BettiComparison to complexes, degree by degree. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | universe v₁ v₂ u₁ u₂ |
| 12 | |
| 13 | variable {C : Type u₁} [Category.{v₁} C] [Preadditive C] |
| 14 | {D : Type u₂} [Category.{v₂} D] [Preadditive D] |
| 15 | {F : C ⥤ D} [F.Additive] {G : D ⥤ C} [G.Additive] |
| 16 | (adj : F ⊣ G) {ι : Type*} (c : ComplexShape ι) |
| 17 | |
| 18 | def onComplexes : F.mapHomologicalComplex c ⊣ G.mapHomologicalComplex c where |
| 19 | unit := |
| 20 | { app := fun K => |
| 21 | { f := fun i => adj.unit.app (K.X i) |
| 22 | comm' := fun i j _ => (adj.unit.naturality (K.d i j)).symm } |
| 23 | naturality := fun K L φ => by |
| 24 | apply HomologicalComplex.Hom.ext |
| 25 | funext i |
| 26 | exact adj.unit.naturality (φ.f i) } |
| 27 | counit := |
| 28 | { app := fun K => |
| 29 | { f := fun i => adj.counit.app (K.X i) |
| 30 | comm' := fun i j _ => (adj.counit.naturality (K.d i j)).symm } |
| 31 | naturality := fun K L φ => by |
| 32 | apply HomologicalComplex.Hom.ext |
| 33 | funext i |
| 34 | exact adj.counit.naturality (φ.f i) } |
| 35 | left_triangle_components K := by |
| 36 | apply HomologicalComplex.Hom.ext |
| 37 | funext i |
| 38 | exact adj.left_triangle_components (K.X i) |
| 39 | right_triangle_components K := by |
| 40 | apply HomologicalComplex.Hom.ext |
| 41 | funext i |
| 42 | exact adj.right_triangle_components (K.X i) |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.Comparison.Betti.Complex.Adjunction |