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.Projective.RegularRatioCocycle |
| 2 | import OAI.AlgebraicGeometry.DivisorClass.Chern.Regular.LineBundle |
| 3 | import OAI.AlgebraicGeometry.ComplexMultiplication.HodgeComparison.ProjectiveScheme |
| 4 | |
| 5 | /-! # Regular Line Bundle -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.DivisorClass.Chern.Projective.RegularLineBundle |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual projective algebraic line bundle with transition functions `Xᵢ / Xⱼ`. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | |
| 18 | /-- Coordinates relative to the generating section `Xᵢ` change to those |
| 19 | relative to `Xⱼ` by the regular unit `Xᵢ / Xⱼ`. -/ |
| 20 | def projectiveRegularTransition (n : ℕ) (i j : Fin (n + 1)) |
| 21 | (W : (Foundations.Scheme.ProjectiveSpace.projectiveSpace n).Opens) |
| 22 | (hWi : W ≤ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n i) (hWj : W ≤ Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n j) : |
| 23 | Γ(Foundations.Scheme.ProjectiveSpace.projectiveSpace n, W)ˣ where |
| 24 | val := RegularRatios.projectiveRegularRatio n j i W hWj |
| 25 | inv := RegularRatios.projectiveRegularRatio n i j W hWi |
| 26 | val_inv := (RegularRatioCocycle.projectiveRegularRatio_mul n j i j W hWj hWi).trans |
| 27 | (RegularRatioCocycle.projectiveRegularRatio_self n j W hWj) |
| 28 | inv_val := (RegularRatioCocycle.projectiveRegularRatio_mul n i j i W hWi hWj).trans |
| 29 | (RegularRatioCocycle.projectiveRegularRatio_self n i W hWi) |
| 30 | |
| 31 | def projectiveRegularLineCocycle (n : ℕ) : Regular.FunctionGluing.RegularLineCocycle (Foundations.Scheme.ProjectiveSpace.projectiveSpace n) (Fin (n + 1)) where |
| 32 | domain := Foundations.Scheme.ProjectiveCoordinateCover.projectiveCoordinateOpen n |
| 33 | covers := Foundations.Scheme.ProjectiveCoordinateCover.iSup_projectiveCoordinateOpen n |
| 34 | transition := projectiveRegularTransition n |
| 35 | restrict _ _ _ _ _ _ _ := rfl |
| 36 | refl i W hi := by |
| 37 | apply Units.ext |
| 38 | exact RegularRatioCocycle.projectiveRegularRatio_self n i W hi |
| 39 | cocycle i j k W hi hj hk := by |
| 40 | apply Units.ext |
| 41 | change RegularRatios.projectiveRegularRatio n j i W hj * RegularRatios.projectiveRegularRatio n k j W hk = |
| 42 | RegularRatios.projectiveRegularRatio n k i W hk |
| 43 | rw [mul_comm] |
| 44 | exact RegularRatioCocycle.projectiveRegularRatio_mul n k j i W hk hj |
| 45 | |
| 46 | /-- The native module sheaf is locally trivial by the constructed regular frames. -/ |
| 47 | def projectiveAlgebraicLineBundle (n : ℕ) : |
| 48 | Line.Bundles.AlgebraicLineBundle (ComplexMultiplication.HodgeComparison.ProjectiveScheme.CM.Construction.projectiveSpaceVariety n).presentation := |
| 49 | Regular.LineBundle.regularCocycleAlgebraicLineBundle _ (projectiveRegularLineCocycle n) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.DivisorClass.Chern.Projective.RegularLineBundle |