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.AbelianModuli.HilbertConstruction.LineBundle.ClassGroup |
| 2 | |
| 3 | /-! # Normalized Line Bundle -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Normalize a line bundle along a section by removing its base fiber. |
| 10 | The resulting class is trivial on the section and is unchanged by tensoring |
| 11 | with a line bundle pulled back from the base. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | variable {X S : Scheme.{u}} (p : X ⟶ S) (z : S ⟶ X) |
| 15 | |
| 16 | def Line.Bundles.LineBundle.sectionNormalized (L : Line.Bundles.LineBundle X) : Line.Bundles.LineBundle X := |
| 17 | L.tensor ((L.pullback z).reciprocalFrameBundle.pullback p) |
| 18 | |
| 19 | def Line.Bundles.LineBundle.sectionNormalizeClass (q : Line.Bundles.LineBundle.IsoClass X) : Line.Bundles.LineBundle.IsoClass X := |
| 20 | q / Line.Bundles.LineBundle.pullbackClass p (Line.Bundles.LineBundle.pullbackClass z q) |
| 21 | |
| 22 | theorem Line.Bundles.LineBundle.classOf_sectionNormalized (L : Line.Bundles.LineBundle X) : |
| 23 | Line.Bundles.LineBundle.classOf (Line.Bundles.LineBundle.sectionNormalized p z L) = Line.Bundles.LineBundle.sectionNormalizeClass p z (Line.Bundles.LineBundle.classOf L) := by |
| 24 | rw [Line.Bundles.LineBundle.sectionNormalized, Line.Bundles.LineBundle.classOf_tensor] |
| 25 | change Line.Bundles.LineBundle.classOf L * (Line.Bundles.LineBundle.pullbackClassMonoidHom p) (Line.Bundles.LineBundle.classOf (L.pullback z).reciprocalFrameBundle) = _ |
| 26 | rw [Line.Bundles.LineBundle.classOf_reciprocalFrameBundle, map_inv] |
| 27 | rfl |
| 28 | |
| 29 | variable (hz : z ≫ p = 𝟙 S) |
| 30 | |
| 31 | include hz in |
| 32 | theorem Line.Bundles.LineBundle.sectionNormalizeClass_section (q : Line.Bundles.LineBundle.IsoClass X) : |
| 33 | Line.Bundles.LineBundle.pullbackClass z (Line.Bundles.LineBundle.sectionNormalizeClass p z q) = 1 := by |
| 34 | let Hp := Line.Bundles.LineBundle.pullbackClassMonoidHom p |
| 35 | let Hz := Line.Bundles.LineBundle.pullbackClassMonoidHom z |
| 36 | have h : Hz (Hp (Hz q)) = Hz q := by |
| 37 | change Line.Bundles.LineBundle.pullbackClass z (Line.Bundles.LineBundle.pullbackClass p (Line.Bundles.LineBundle.pullbackClass z q)) = _ |
| 38 | rw [← Line.Bundles.LineBundle.pullbackClass_comp, hz, Line.Bundles.LineBundle.pullbackClass_id] |
| 39 | rfl |
| 40 | change Hz (q / Hp (Hz q)) = 1 |
| 41 | rw [map_div, h] |
| 42 | exact div_self' (Hz q) |
| 43 | |
| 44 | include hz in |
| 45 | theorem Line.Bundles.LineBundle.sectionNormalizeClass_baseTensor (q : Line.Bundles.LineBundle.IsoClass X) (b : Line.Bundles.LineBundle.IsoClass S) : |
| 46 | Line.Bundles.LineBundle.sectionNormalizeClass p z (q * Line.Bundles.LineBundle.pullbackClass p b) = Line.Bundles.LineBundle.sectionNormalizeClass p z q := by |
| 47 | let Hp := Line.Bundles.LineBundle.pullbackClassMonoidHom p |
| 48 | let Hz := Line.Bundles.LineBundle.pullbackClassMonoidHom z |
| 49 | have h : Hz (Hp b) = b := by |
| 50 | change Line.Bundles.LineBundle.pullbackClass z (Line.Bundles.LineBundle.pullbackClass p b) = b |
| 51 | rw [← Line.Bundles.LineBundle.pullbackClass_comp, hz, Line.Bundles.LineBundle.pullbackClass_id] |
| 52 | change (q * Hp b) / Hp (Hz (q * Hp b)) = q / Hp (Hz q) |
| 53 | rw [Hz.map_mul, h, Hp.map_mul] |
| 54 | exact mul_div_mul_right_eq_div q (Hp (Hz q)) (Hp b) |
| 55 | |
| 56 | theorem Line.Bundles.LineBundle.sectionNormalizeClass_fixed (q : Line.Bundles.LineBundle.IsoClass X) (hq : Line.Bundles.LineBundle.pullbackClass z q = 1) : |
| 57 | Line.Bundles.LineBundle.sectionNormalizeClass p z q = q := by |
| 58 | change q / (Line.Bundles.LineBundle.pullbackClassMonoidHom p) (Line.Bundles.LineBundle.pullbackClass z q) = q |
| 59 | rw [hq, map_one, div_one] |
| 60 | |
| 61 | def Line.Bundles.LineBundle.sectionNormalized_sectionIso (L : Line.Bundles.LineBundle X) : |
| 62 | ((Line.Bundles.LineBundle.sectionNormalized p z L).pullback z).sheaf ≅ Line.Bundles.structureModule S := |
| 63 | Classical.choice (Quotient.exact |
| 64 | ((congrArg (Line.Bundles.LineBundle.pullbackClass z) (Line.Bundles.LineBundle.classOf_sectionNormalized p z L)).trans |
| 65 | (Line.Bundles.LineBundle.sectionNormalizeClass_section p z hz (Line.Bundles.LineBundle.classOf L)))) |
| 66 | |
| 67 | def Line.Bundles.LineBundle.sectionNormalized_fixedIso (L : Line.Bundles.LineBundle X) |
| 68 | (hL : Nonempty ((L.pullback z).sheaf ≅ Line.Bundles.structureModule S)) : |
| 69 | (Line.Bundles.LineBundle.sectionNormalized p z L).sheaf ≅ L.sheaf := |
| 70 | Classical.choice (Quotient.exact ((Line.Bundles.LineBundle.classOf_sectionNormalized p z L).trans |
| 71 | (Line.Bundles.LineBundle.sectionNormalizeClass_fixed p z (Line.Bundles.LineBundle.classOf L) (Quotient.sound hL)))) |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |