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.FunctionFieldUnitGerm |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.GenericFieldComposition |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.RationalDivisorRestriction |
| 4 | |
| 5 | /-! # Function Field Units -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Open.FunctionFieldUnits.BundleCycles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: actual open-immersion pullback of unit-valued rational functions and regular germs -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] (i : Y ⟶ X) [IsOpenImmersion i] |
| 16 | |
| 17 | def openFunctionFieldUnits : X.functionFieldˣ →* Y.functionFieldˣ := |
| 18 | Units.map (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap i).hom.toMonoidHom |
| 19 | |
| 20 | instance openImage_nonempty (W : Y.Opens) [Nonempty W] : Nonempty (i ''ᵁ W) := by |
| 21 | obtain ⟨w⟩ := ‹Nonempty W› |
| 22 | exact ⟨⟨i w.val, w.val, w.property, rfl⟩⟩ |
| 23 | |
| 24 | theorem openFunctionFieldUnits_germ (W : Y.Opens) [Nonempty W] (a : Γ(X, i ''ᵁ W)ˣ) : |
| 25 | openFunctionFieldUnits i (FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm (i ''ᵁ W) a) = |
| 26 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W (Units.map (i.appIso W).hom.hom.toMonoidHom a) := by |
| 27 | apply Units.ext |
| 28 | change RationalDivisorRestriction.BundleCycles.openFunctionFieldMap i (X.germToFunctionField (i ''ᵁ W) a.val) = |
| 29 | Y.germToFunctionField W ((i.appIso W).hom a.val) |
| 30 | rw [Scheme.Hom.appIso_hom'] |
| 31 | exact ConcreteCategory.congr_hom |
| 32 | (GenericFieldComposition.BundleCycles.genericFieldMap_germ_appLE i (genericPoint_eq_of_isOpenImmersion i) |
| 33 | (i ''ᵁ W) W (i.preimage_image_eq W).ge) a.val |
| 34 | |
| 35 | theorem openFunctionFieldUnits_order [IsLocallyNoetherian X] [IsLocallyNoetherian Y] |
| 36 | (a : X.functionFieldˣ) (x : Y) : Y.ord (openFunctionFieldUnits i a).val x = X.ord a.val (i x) := |
| 37 | RationalDivisorRestriction.BundleCycles.ord_openImmersion i a.val x |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Open.FunctionFieldUnits.BundleCycles |