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.SheafCohomology.Projective.TensorFrameSections |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.TensorComultiplication |
| 3 | |
| 4 | /-! # Global Tensor Section Coherence -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalTensorSectionCoherence |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Associators and unitors on actual pure tensor global sections. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory Opposite |
| 14 | universe u |
| 15 | |
| 16 | local instance globalTensorCoherenceMonoidal (X : Scheme.{u}) : MonoidalCategory X.Modules := |
| 17 | Monoidal.Scheme.Modules.monoidalCategory X |
| 18 | |
| 19 | theorem topSectionHom_injective {X : Scheme.{u}} (M : X.Modules) : |
| 20 | Function.Injective (SectionIdentities.Scheme.Modules.topSectionHom M) := by |
| 21 | intro x y h |
| 22 | have ha := congrArg (fun f => f.val.app (op ⊤) (show Γ(X, ⊤) from 1)) h |
| 23 | change (TensorFrameSections.poleTopSectionHom M x).val.app (op ⊤) _ = |
| 24 | (TensorFrameSections.poleTopSectionHom M y).val.app (op ⊤) _ at ha |
| 25 | simpa only [TensorFrameSections.poleTopSectionHom_app_top_apply_one] using ha |
| 26 | |
| 27 | theorem associator_tensorSection_top {X : Scheme.{u}} (M N P : X.Modules) |
| 28 | (x : Γ(M, ⊤)) (y : Γ(N, ⊤)) (z : Γ(P, ⊤)) : |
| 29 | (α_ M N P).hom.val.app (op ⊤) |
| 30 | (TensorSections.tensorSection (M ⊗ N) P ⊤ (TensorSections.tensorSection M N ⊤ x y) z) = |
| 31 | TensorSections.tensorSection M (N ⊗ P) ⊤ x (TensorSections.tensorSection N P ⊤ y z) := by |
| 32 | apply topSectionHom_injective (M ⊗ (N ⊗ P)) |
| 33 | rw [← TensorFrameSections.topSectionHom_comp] |
| 34 | simp only [TensorFrameSections.topSectionHom_tensorSection] |
| 35 | exact TensorComultiplication.tensorComulHom_assoc (D := X.Modules) (A := M) (B := N) (C := P) |
| 36 | (O := Invertible.Scheme.Modules.unitObj X) (SectionIdentities.Scheme.Modules.topSectionHom M x) |
| 37 | (SectionIdentities.Scheme.Modules.topSectionHom N y) (SectionIdentities.Scheme.Modules.topSectionHom P z) |
| 38 | (TensorSections.unitObjTensorIso X).inv |
| 39 | (TensorComultiplication.tensorIso_inv_coassoc (D := X.Modules) (O := Invertible.Scheme.Modules.unitObj X) |
| 40 | (TensorSections.unitObjTensorIso X) (TensorSections.unitObjTensorIso_hom_assoc X)) |
| 41 | |
| 42 | theorem topSectionHom_monoidalUnitSection (X : Scheme.{u}) : |
| 43 | SectionIdentities.Scheme.Modules.topSectionHom (𝟙_ X.Modules) (TensorSections.monoidalUnitSection X) = |
| 44 | (TensorSections.monoidalUnitObjIso X).inv := by |
| 45 | apply TensorFrameSections.poleUnitObj_hom_ext_top |
| 46 | change (TensorFrameSections.poleTopSectionHom _ _).val.app (op ⊤) _ = _ |
| 47 | rw [TensorFrameSections.poleTopSectionHom_app_top_apply_one] |
| 48 | rfl |
| 49 | |
| 50 | theorem leftUnitor_tensorSection_top {X : Scheme.{u}} (M : X.Modules) |
| 51 | (x : Γ(M, ⊤)) : |
| 52 | (λ_ M).hom.val.app (op ⊤) |
| 53 | (TensorSections.tensorSection (𝟙_ X.Modules) M ⊤ (TensorSections.monoidalUnitSection X) x) = x := by |
| 54 | apply topSectionHom_injective M |
| 55 | rw [← TensorFrameSections.topSectionHom_comp, TensorFrameSections.topSectionHom_tensorSection, |
| 56 | topSectionHom_monoidalUnitSection] |
| 57 | simp only [TensorSections.unitObjTensorIso, Iso.trans_inv, tensorIso_inv, Iso.symm_inv, |
| 58 | Category.assoc] |
| 59 | rw [tensorHom_comp_tensorHom_assoc, Iso.hom_inv_id, id_tensorHom, |
| 60 | leftUnitor_naturality] |
| 61 | simp only [Iso.inv_hom_id_assoc] |
| 62 | |
| 63 | theorem rightUnitor_tensorSection_top {X : Scheme.{u}} (M : X.Modules) |
| 64 | (x : Γ(M, ⊤)) : |
| 65 | (ρ_ M).hom.val.app (op ⊤) |
| 66 | (TensorSections.tensorSection M (𝟙_ X.Modules) ⊤ x (TensorSections.monoidalUnitSection X)) = x := by |
| 67 | apply topSectionHom_injective M |
| 68 | rw [← TensorFrameSections.topSectionHom_comp, TensorFrameSections.topSectionHom_tensorSection, |
| 69 | topSectionHom_monoidalUnitSection] |
| 70 | simp only [TensorSections.unitObjTensorIso, Iso.trans_inv, tensorIso_inv, Iso.symm_inv, |
| 71 | Category.assoc] |
| 72 | rw [tensorHom_comp_tensorHom_assoc, Iso.hom_inv_id, tensorHom_id, |
| 73 | rightUnitor_naturality, ← unitors_equal] |
| 74 | simp only [Iso.inv_hom_id_assoc] |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.GlobalTensorSectionCoherence |