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.DivisorClass.Chern.Regular.LineSections |
| 2 | |
| 3 | /-! # Line Section Modules -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineSectionModules |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Actual regular-coordinate sections are modules over the original structure sheaf. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | |
| 16 | variable {X : Scheme} {ι : Type} (D : FunctionGluing.RegularLineCocycle X ι) |
| 17 | |
| 18 | instance regularLineSection_smul (U : X.Opens) : SMul Γ(X, U) (LineSections.RegularLineSection D U) where |
| 19 | smul r s := ⟨fun i W => FunctionGluing.regularRestriction W.property.1 r * s.val i W, by |
| 20 | constructor |
| 21 | · intro i W V hWU hWi hVW |
| 22 | change FunctionGluing.regularRestriction hVW (FunctionGluing.regularRestriction hWU r * s.val i ⟨W, hWU, hWi⟩) = _ |
| 23 | rw [map_mul, FunctionGluing.regularRestriction_comp, s.property.1 i W V hWU hWi hVW] |
| 24 | · intro i j W hWU hWi hWj |
| 25 | change FunctionGluing.regularRestriction hWU r * s.val j ⟨W, hWU, hWj⟩ = _ |
| 26 | rw [s.property.2 i j W hWU hWi hWj] |
| 27 | exact mul_left_comm _ _ _⟩ |
| 28 | |
| 29 | @[simp] theorem regularLineSection_smul_apply {U : X.Opens} (r : Γ(X, U)) |
| 30 | (s : LineSections.RegularLineSection D U) (i : ι) (W : X.Opens) (hWU : W ≤ U) (hWi : W ≤ D.domain i) : |
| 31 | (r • s).val i ⟨W, hWU, hWi⟩ = FunctionGluing.regularRestriction hWU r * s.val i ⟨W, hWU, hWi⟩ := rfl |
| 32 | |
| 33 | instance regularLineSection_module (U : X.Opens) : Module Γ(X, U) (LineSections.RegularLineSection D U) where |
| 34 | one_smul s := by |
| 35 | apply LineSections.regularLineSection_ext |
| 36 | intro i W hWU hWi |
| 37 | change FunctionGluing.regularRestriction hWU 1 * s.val i ⟨W, hWU, hWi⟩ = _ |
| 38 | rw [map_one, one_mul] |
| 39 | mul_smul r q s := by |
| 40 | apply LineSections.regularLineSection_ext |
| 41 | intro i W hWU hWi |
| 42 | change FunctionGluing.regularRestriction hWU (r * q) * s.val i ⟨W, hWU, hWi⟩ = _ |
| 43 | rw [map_mul, mul_assoc] |
| 44 | rfl |
| 45 | smul_zero r := by |
| 46 | apply LineSections.regularLineSection_ext |
| 47 | intro i W hWU hWi |
| 48 | exact mul_zero _ |
| 49 | smul_add r s t := by |
| 50 | apply LineSections.regularLineSection_ext |
| 51 | intro i W hWU hWi |
| 52 | exact mul_add _ _ _ |
| 53 | add_smul r q s := by |
| 54 | apply LineSections.regularLineSection_ext |
| 55 | intro i W hWU hWi |
| 56 | change FunctionGluing.regularRestriction hWU (r + q) * s.val i ⟨W, hWU, hWi⟩ = _ |
| 57 | rw [map_add, add_mul] |
| 58 | rfl |
| 59 | zero_smul s := by |
| 60 | apply LineSections.regularLineSection_ext |
| 61 | intro i W hWU hWi |
| 62 | change FunctionGluing.regularRestriction hWU 0 * s.val i ⟨W, hWU, hWi⟩ = _ |
| 63 | rw [map_zero, zero_mul] |
| 64 | rfl |
| 65 | |
| 66 | theorem regularLineSectionRestrict_smul {U V : X.Opens} (hVU : V ≤ U) |
| 67 | (r : Γ(X, U)) (s : LineSections.RegularLineSection D U) : |
| 68 | LineSections.regularLineSectionRestrict D hVU (r • s) = |
| 69 | FunctionGluing.regularRestriction hVU r • LineSections.regularLineSectionRestrict D hVU s := by |
| 70 | apply LineSections.regularLineSection_ext |
| 71 | intro i W hWV hWi |
| 72 | change FunctionGluing.regularRestriction (hWV.trans hVU) r * s.val i ⟨W, hWV.trans hVU, hWi⟩ = |
| 73 | FunctionGluing.regularRestriction hWV (FunctionGluing.regularRestriction hVU r) * s.val i ⟨W, hWV.trans hVU, hWi⟩ |
| 74 | rw [FunctionGluing.regularRestriction_comp] |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineSectionModules |