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.LineSectionModules |
| 2 | |
| 3 | /-! # Line Section Frames -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineSectionFrames |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Explicit native regular frames for the cocycle section modules. -/ |
| 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 | variable {U : X.Opens} (i : ι) (hUi : U ≤ D.domain i) |
| 18 | |
| 19 | def regularLineSectionOfFrame (r : Γ(X, U)) : LineSections.RegularLineSection D U := |
| 20 | ⟨fun j W => (D.transition i j W.val (W.property.1.trans hUi) W.property.2 : Γ(X, W.val)) * |
| 21 | FunctionGluing.regularRestriction W.property.1 r, by |
| 22 | constructor |
| 23 | · intro j W V hWU hWj hVW |
| 24 | change FunctionGluing.regularRestriction hVW ((D.transition i j W _ _ : Γ(X, W)) * |
| 25 | FunctionGluing.regularRestriction hWU r) = _ |
| 26 | rw [map_mul, D.restrict, FunctionGluing.regularRestriction_comp] |
| 27 | · intro j k W hWU hWj hWk |
| 28 | change (D.transition i k W _ _ : Γ(X, W)) * FunctionGluing.regularRestriction hWU r = _ |
| 29 | have hc := congrArg (fun t : Γ(X, W)ˣ => (t : Γ(X, W))) |
| 30 | (D.cocycle i j k W (hWU.trans hUi) hWj hWk) |
| 31 | change (D.transition i j W _ _ : Γ(X, W)) * (D.transition j k W _ _ : Γ(X, W)) = _ at hc |
| 32 | change (D.transition i k W (hWU.trans hUi) hWk : Γ(X, W)) * FunctionGluing.regularRestriction hWU r = |
| 33 | (D.transition j k W hWj hWk : Γ(X, W)) * |
| 34 | ((D.transition i j W (hWU.trans hUi) hWj : Γ(X, W)) * FunctionGluing.regularRestriction hWU r) |
| 35 | rw [← hc, mul_assoc] |
| 36 | exact mul_left_comm _ _ _⟩ |
| 37 | |
| 38 | def regularLineSectionFrameValue (s : LineSections.RegularLineSection D U) : Γ(X, U) := |
| 39 | s.val i ⟨U, le_rfl, hUi⟩ |
| 40 | |
| 41 | @[simp] theorem regularLineSectionFrameValue_ofFrame (r : Γ(X, U)) : |
| 42 | regularLineSectionFrameValue D i hUi (regularLineSectionOfFrame D i hUi r) = r := by |
| 43 | change (D.transition i i U hUi hUi : Γ(X, U)) * FunctionGluing.regularRestriction le_rfl r = r |
| 44 | rw [D.refl, Units.val_one, FunctionGluing.regularRestriction_self, one_mul] |
| 45 | |
| 46 | @[simp] theorem regularLineSectionOfFrame_frameValue (s : LineSections.RegularLineSection D U) : |
| 47 | regularLineSectionOfFrame D i hUi (regularLineSectionFrameValue D i hUi s) = s := by |
| 48 | apply LineSections.regularLineSection_ext |
| 49 | intro j W hWU hWj |
| 50 | change (D.transition i j W _ _ : Γ(X, W)) * |
| 51 | FunctionGluing.regularRestriction hWU (s.val i ⟨U, le_rfl, hUi⟩) = _ |
| 52 | rw [s.property.1 i U W le_rfl hUi hWU] |
| 53 | exact (s.property.2 i j W hWU (hWU.trans hUi) hWj).symm |
| 54 | |
| 55 | def regularLineSectionLinearFrame : LineSections.RegularLineSection D U ≃ₗ[Γ(X, U)] Γ(X, U) where |
| 56 | toFun := regularLineSectionFrameValue D i hUi |
| 57 | invFun := regularLineSectionOfFrame D i hUi |
| 58 | left_inv := regularLineSectionOfFrame_frameValue D i hUi |
| 59 | right_inv := regularLineSectionFrameValue_ofFrame D i hUi |
| 60 | map_add' _ _ := rfl |
| 61 | map_smul' r s := by |
| 62 | change FunctionGluing.regularRestriction le_rfl r * s.val i ⟨U, le_rfl, hUi⟩ = _ |
| 63 | rw [FunctionGluing.regularRestriction_self] |
| 64 | rfl |
| 65 | |
| 66 | theorem regularLineSectionFrameValue_restrict {V : X.Opens} (hVU : V ≤ U) |
| 67 | (s : LineSections.RegularLineSection D U) : |
| 68 | regularLineSectionFrameValue D i (hVU.trans hUi) (LineSections.regularLineSectionRestrict D hVU s) = |
| 69 | FunctionGluing.regularRestriction hVU (regularLineSectionFrameValue D i hUi s) := |
| 70 | (s.property.1 i U V le_rfl hUi hVU).symm |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineSectionFrames |