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.AdjunctionComplexUniqueness |
| 2 | |
| 3 | /-! # Coefficient Diagram Two -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.CoefficientDiagramTwo.CoefficientDiagram |
| 6 | |
| 7 | /-! Small categorical diagram chases used in native coefficient comparisons. -/ |
| 8 | |
| 9 | open _root_.CategoryTheory |
| 10 | |
| 11 | theorem map_square {C D : Type*} [Category* C] [Category* D] (F : C ⥤ D) |
| 12 | {A B B' E : C} (a : A ⟶ B) (b : B ⟶ E) (c : A ⟶ B') (d : B' ⟶ E) |
| 13 | (h : a ≫ b = c ≫ d) : F.map a ≫ F.map b = F.map c ≫ F.map d := |
| 14 | (F.map_comp a b).symm.trans ((congrArg F.map h).trans (F.map_comp c d)) |
| 15 | |
| 16 | theorem unit_image_comp {C D : Type*} [Category* C] [Category* D] (F : C ⥤ D) |
| 17 | {P : D} {A B E : C} (η : P ⟶ F.obj A) (a : A ⟶ B) (b : B ⟶ E) : |
| 18 | η ≫ F.map (a ≫ b) = (η ≫ F.map a) ≫ F.map b := by |
| 19 | rw [F.map_comp, Category.assoc] |
| 20 | |
| 21 | theorem two_step_square {C : Type*} [Category* C] {A B D E F G H : C} |
| 22 | (p : A ⟶ B) (η : B ⟶ D) (u : D ⟶ E) (x : B ⟶ F) (v : F ⟶ E) |
| 23 | (q : A ⟶ G) (θ : G ⟶ H) (w : H ⟶ E) (y : G ⟶ F) |
| 24 | (hη : η ≫ u = x ≫ v) (hθ : θ ≫ w = y ≫ v) (hp : p ≫ x = q ≫ y) : |
| 25 | (p ≫ η) ≫ u = (q ≫ θ) ≫ w := by |
| 26 | rw [Category.assoc, hη, ← Category.assoc, hp, Category.assoc, ← hθ, ← Category.assoc] |
| 27 | |
| 28 | theorem mate_paste {C : Type*} [Category* C] {A B D E F G : C} |
| 29 | (d : A ⟶ B) (ηX : B ⟶ D) (ηY : A ⟶ E) (a : E ⟶ D) |
| 30 | (b : D ⟶ F) (c : E ⟶ G) (t : G ⟶ F) |
| 31 | (hu : d ≫ ηX = ηY ≫ a) (hs : a ≫ b = c ≫ t) : |
| 32 | d ≫ ηX ≫ b = (ηY ≫ c) ≫ t := by |
| 33 | rw [← Category.assoc, hu, Category.assoc, hs, ← Category.assoc] |
| 34 | |
| 35 | theorem inverse_left_square {C : Type*} [Category* C] {A B D : C} |
| 36 | (e : A ≅ B) (a : A ⟶ D) (b : B ⟶ D) (h : a = e.hom ≫ b) : |
| 37 | b = e.inv ≫ a := by |
| 38 | rw [h, Iso.inv_hom_id_assoc] |
| 39 | |
| 40 | end OAI.NumberTheory.PadicHodge.GeometricComparison.CoefficientDiagramTwo.CoefficientDiagram |