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.FunctionGluing |
| 2 | |
| 3 | /-! # Line Sections -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineSections |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Compatible regular coordinates on every subopen form actual additive section groups. -/ |
| 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 | abbrev regularLineLocalSections (U : X.Opens) := |
| 19 | ∀ (i : ι) (W : {W : X.Opens // W ≤ U ∧ W ≤ D.domain i}), Γ(X, W.val) |
| 20 | |
| 21 | def regularLineSectionAddSubgroup (U : X.Opens) : |
| 22 | AddSubgroup (regularLineLocalSections D U) where |
| 23 | carrier := {s | (∀ (i : ι) (W V : X.Opens) (hWU : W ≤ U) |
| 24 | (hWi : W ≤ D.domain i) (hVW : V ≤ W), |
| 25 | FunctionGluing.regularRestriction hVW (s i ⟨W, hWU, hWi⟩) = s i ⟨V, hVW.trans hWU, hVW.trans hWi⟩) ∧ |
| 26 | (∀ (i j : ι) (W : X.Opens) (hWU : W ≤ U) |
| 27 | (hWi : W ≤ D.domain i) (hWj : W ≤ D.domain j), |
| 28 | s j ⟨W, hWU, hWj⟩ = (D.transition i j W hWi hWj : Γ(X, W)) * s i ⟨W, hWU, hWi⟩)} |
| 29 | zero_mem' := by |
| 30 | constructor |
| 31 | · intro i W V hWU hWi hVW |
| 32 | exact map_zero _ |
| 33 | · intro i j W hWU hWi hWj |
| 34 | exact (mul_zero _).symm |
| 35 | add_mem' := by |
| 36 | intro s t hs ht |
| 37 | constructor |
| 38 | · intro i W V hWU hWi hVW |
| 39 | change FunctionGluing.regularRestriction hVW (s i ⟨W, hWU, hWi⟩ + t i ⟨W, hWU, hWi⟩) = _ |
| 40 | rw [map_add, hs.1 i W V hWU hWi hVW, ht.1 i W V hWU hWi hVW] |
| 41 | rfl |
| 42 | · intro i j W hWU hWi hWj |
| 43 | change s j ⟨W, hWU, hWj⟩ + t j ⟨W, hWU, hWj⟩ = _ |
| 44 | rw [hs.2 i j W hWU hWi hWj, ht.2 i j W hWU hWi hWj] |
| 45 | exact (mul_add _ _ _).symm |
| 46 | neg_mem' := by |
| 47 | intro s hs |
| 48 | constructor |
| 49 | · intro i W V hWU hWi hVW |
| 50 | change FunctionGluing.regularRestriction hVW (-s i ⟨W, hWU, hWi⟩) = _ |
| 51 | rw [map_neg, hs.1 i W V hWU hWi hVW] |
| 52 | rfl |
| 53 | · intro i j W hWU hWi hWj |
| 54 | change -s j ⟨W, hWU, hWj⟩ = _ |
| 55 | rw [hs.2 i j W hWU hWi hWj] |
| 56 | exact (mul_neg _ _).symm |
| 57 | |
| 58 | abbrev RegularLineSection (U : X.Opens) := ↥(regularLineSectionAddSubgroup D U) |
| 59 | |
| 60 | @[ext] theorem regularLineSection_ext {U : X.Opens} {s t : RegularLineSection D U} |
| 61 | (h : ∀ i W hWU hWi, s.val i ⟨W, hWU, hWi⟩ = t.val i ⟨W, hWU, hWi⟩) : s = t := by |
| 62 | apply Subtype.ext |
| 63 | funext i ⟨W, hWU, hWi⟩ |
| 64 | exact h i W hWU hWi |
| 65 | |
| 66 | def regularLineSectionRestrict {U V : X.Opens} (hVU : V ≤ U) : |
| 67 | RegularLineSection D U →+ RegularLineSection D V where |
| 68 | toFun s := ⟨fun i W => s.val i ⟨W.val, W.property.1.trans hVU, W.property.2⟩, by |
| 69 | constructor |
| 70 | · intro i W A hWV hWi hAW |
| 71 | exact s.property.1 i W A (hWV.trans hVU) hWi hAW |
| 72 | · intro i j W hWV hWi hWj |
| 73 | exact s.property.2 i j W (hWV.trans hVU) hWi hWj⟩ |
| 74 | map_zero' := rfl |
| 75 | map_add' _ _ := rfl |
| 76 | |
| 77 | @[simp] theorem regularLineSectionRestrict_self {U : X.Opens} (s : RegularLineSection D U) : |
| 78 | regularLineSectionRestrict D (le_refl U) s = s := rfl |
| 79 | |
| 80 | @[simp] theorem regularLineSectionRestrict_comp {U V W : X.Opens} |
| 81 | (hVU : V ≤ U) (hWV : W ≤ V) (s : RegularLineSection D U) : |
| 82 | regularLineSectionRestrict D hWV (regularLineSectionRestrict D hVU s) = |
| 83 | regularLineSectionRestrict D (hWV.trans hVU) s := rfl |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineSections |