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.Divisors.LineBundles.LineBundle.RationalCoefficient |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.GlobalCoordinate |
| 3 | |
| 4 | /-! # Generic Coefficient Global Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.GenericCoefficientGlobalFrame.Cycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: actual global-frame coordinates of a local section determine its generic rational coefficient -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | variable {X : Scheme.{0}} [IsIntegral X] {L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X} |
| 15 | (e : L.sheaf ≅ DivisorClass.Chern.Line.Bundles.Construction.structureModule X) |
| 16 | |
| 17 | theorem genericSectionCoefficient_globalFrame_on_reference (U : X.Opens) [Nonempty U] |
| 18 | (hU : U ≤ L.rationalReferenceOpen) (s : Γ(L.sheaf, U)) : |
| 19 | X.germToFunctionField U (GlobalFrame.Cycles.lineBundleGlobalFrame e U s) = |
| 20 | (GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e).val * L.genericSectionCoefficient U s := by |
| 21 | rw [L.genericSectionCoefficient_eq_local (genericPoint X) U hU] |
| 22 | unfold LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.localRationalCoefficient |
| 23 | rw [L.rationalSectionCoordinate_reference] |
| 24 | simp only [Units.val_one, div_one] |
| 25 | rw [GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient_on_open e U hU] |
| 26 | change X.germToFunctionField U (GlobalFrame.Cycles.lineBundleGlobalFrame e U s) = |
| 27 | X.germToFunctionField U (GlobalFrame.Cycles.lineBundleGlobalFrameTransition e (genericPoint X) U hU).val * |
| 28 | X.germToFunctionField U (L.sectionFrame (genericPoint X) U hU s) |
| 29 | rw [← map_mul] |
| 30 | exact congrArg (X.germToFunctionField U) |
| 31 | (FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_coordinates (GlobalFrame.Cycles.lineBundleGlobalFrame e U) |
| 32 | (L.sectionFrame (genericPoint X) U hU) s) |
| 33 | |
| 34 | theorem genericSectionCoefficient_globalFrame (U : X.Opens) [Nonempty U] (s : Γ(L.sheaf, U)) : |
| 35 | X.germToFunctionField U (GlobalFrame.Cycles.lineBundleGlobalFrame e U s) = |
| 36 | (GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e).val * L.genericSectionCoefficient U s := by |
| 37 | let V := L.genericCoefficientDomain U |
| 38 | have hVU : V ≤ U := inf_le_left |
| 39 | have H := congrArg (X.germToFunctionField V) (GlobalFrame.Cycles.lineBundleGlobalFrame_naturality e hVU s) |
| 40 | calc |
| 41 | X.germToFunctionField U (GlobalFrame.Cycles.lineBundleGlobalFrame e U s) = |
| 42 | X.germToFunctionField V (GlobalFrame.Cycles.lineBundleGlobalFrame e V (L.sheaf.presheaf.map (homOfLE hVU).op s)) := |
| 43 | (H.trans (RationalBoundary.BundleCycles.RationalUnitRepresentative.germ_restrict hVU (GlobalFrame.Cycles.lineBundleGlobalFrame e U s))).symm |
| 44 | _ = (GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e).val * |
| 45 | L.genericSectionCoefficient V (L.sheaf.presheaf.map (homOfLE hVU).op s) := |
| 46 | genericSectionCoefficient_globalFrame_on_reference e V inf_le_right _ |
| 47 | _ = _ := congrArg (fun z => (GlobalCoordinate.Cycles.lineBundleGlobalRationalCoefficient e).val * z) |
| 48 | (L.genericSectionCoefficient_restrict hVU s) |
| 49 | |
| 50 | omit [IsIntegral X] in |
| 51 | theorem lineBundleGlobalFrame_isUnit_of_localFrame (x : X) (U : X.Opens) |
| 52 | (hU : U ≤ L.trivializingOpen x) (s : Γ(L.sheaf, U)) (hs : IsUnit (L.sectionFrame x U hU s)) : |
| 53 | IsUnit (GlobalFrame.Cycles.lineBundleGlobalFrame e U s) := by |
| 54 | have H : GlobalFrame.Cycles.lineBundleGlobalFrame e U s = (GlobalFrame.Cycles.lineBundleGlobalFrameTransition e x U hU).val * L.sectionFrame x U hU s := |
| 55 | FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_coordinates _ _ _ |
| 56 | rw [H] |
| 57 | exact (GlobalFrame.Cycles.lineBundleGlobalFrameTransition e x U hU).isUnit.mul hs |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.GenericCoefficientGlobalFrame.Cycles |