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.CategoryTheory.Monoidal.Grp |
| 2 | |
| 3 | /-! # Group Subobject -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.GroupSubobject.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Group operations restricted through a monomorphism satisfy the group |
| 10 | axioms, because all their identities can be checked in the ambient group. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory |
| 13 | open _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | |
| 15 | universe u v |
| 16 | variable {C : Type u} [Category.{v} C] [CartesianMonoidalCategory C] |
| 17 | {X A : C} [GrpObj A] (i : X ⟶ A) [Mono i] |
| 18 | (e : 𝟙_ C ⟶ X) (m : X ⊗ X ⟶ X) (r : X ⟶ X) |
| 19 | (he : e ≫ i = MonObj.one) (hm : m ≫ i = (i ⊗ₘ i) ≫ MonObj.mul) |
| 20 | (hr : r ≫ i = i ≫ GrpObj.inv) |
| 21 | |
| 22 | @[instance_reducible] |
| 23 | def grpObjOfMono : GrpObj X where |
| 24 | one := e |
| 25 | mul := m |
| 26 | inv := r |
| 27 | one_mul := by |
| 28 | apply (cancel_mono i).mp |
| 29 | simpa only [← tensorHom_id, ← id_tensorHom, Category.assoc, |
| 30 | tensorHom_comp_tensorHom_assoc, Category.id_comp, Category.comp_id, he, hm] |
| 31 | using congrArg ((𝟙_ C ◁ i) ≫ ·) (MonObj.one_mul A) |>.trans |
| 32 | (leftUnitor_naturality i) |
| 33 | mul_one := by |
| 34 | apply (cancel_mono i).mp |
| 35 | simpa only [← tensorHom_id, ← id_tensorHom, Category.assoc, |
| 36 | tensorHom_comp_tensorHom_assoc, Category.id_comp, Category.comp_id, he, hm] |
| 37 | using congrArg ((i ▷ 𝟙_ C) ≫ ·) (MonObj.mul_one A) |>.trans |
| 38 | (rightUnitor_naturality i) |
| 39 | mul_assoc := by |
| 40 | apply (cancel_mono i).mp |
| 41 | simpa only [← tensorHom_id, ← id_tensorHom, Category.assoc, |
| 42 | associator_naturality_assoc, tensorHom_comp_tensorHom_assoc, |
| 43 | Category.id_comp, Category.comp_id, hm] |
| 44 | using congrArg (((i ⊗ₘ i) ⊗ₘ i) ≫ ·) (MonObj.mul_assoc A) |
| 45 | left_inv := by |
| 46 | apply (cancel_mono i).mp |
| 47 | simp only [Category.assoc, hm, he, lift_map_assoc, hr, Category.id_comp] |
| 48 | simpa only [comp_lift_assoc, Category.comp_id, comp_toUnit_assoc] |
| 49 | using congrArg (i ≫ ·) (GrpObj.left_inv A) |
| 50 | right_inv := by |
| 51 | apply (cancel_mono i).mp |
| 52 | simp only [Category.assoc, hm, he, lift_map_assoc, hr, Category.id_comp] |
| 53 | simpa only [comp_lift_assoc, Category.comp_id, comp_toUnit_assoc] |
| 54 | using congrArg (i ≫ ·) (GrpObj.right_inv A) |
| 55 | |
| 56 | theorem grpObjOfMono_isMonHom : |
| 57 | letI := grpObjOfMono i e m r he hm hr |
| 58 | IsMonHom i := by |
| 59 | let := grpObjOfMono i e m r he hm hr |
| 60 | exact ⟨he, hm⟩ |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.GroupSubobject.Construction |