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.OpenFrames |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.LineBundle.CoordinateRestriction |
| 3 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.FunctionFieldUnits |
| 4 | |
| 5 | /-! # Open Coefficient -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! # LineBundleCycles: the explicit rational coefficient comparing reference sections under open restriction -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 16 | (i : Y ⟶ X) [IsOpenImmersion i] |
| 17 | |
| 18 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openReferenceDomain : Y.Opens := |
| 19 | i ⁻¹ᵁ L.rationalReferenceOpen ⊓ (L.restrictToOpen i).rationalReferenceOpen |
| 20 | |
| 21 | instance Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openReferenceDomain_nonempty : Nonempty (L.openReferenceDomain i) := |
| 22 | ⟨⟨genericPoint Y, by |
| 23 | constructor |
| 24 | · change i (genericPoint Y) ∈ L.rationalReferenceOpen |
| 25 | rw [genericPoint_eq_of_isOpenImmersion i] |
| 26 | exact L.mem_trivializingOpen _ |
| 27 | · exact (L.restrictToOpen i).mem_trivializingOpen _⟩⟩ |
| 28 | |
| 29 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openReferenceDomain_image : i ''ᵁ L.openReferenceDomain i ≤ L.rationalReferenceOpen := by |
| 30 | rintro _ ⟨y, hy, rfl⟩ |
| 31 | exact hy.1 |
| 32 | |
| 33 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openRationalCoefficient : Y.functionFieldˣ := |
| 34 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm (L.openReferenceDomain i) |
| 35 | (L.openMixedTransitionOn i (genericPoint X) (genericPoint Y) _ |
| 36 | (L.openReferenceDomain_image i) inf_le_right) |
| 37 | |
| 38 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openRationalCoefficient_on_open (W : Y.Opens) [Nonempty W] |
| 39 | (hW : W ≤ L.openReferenceDomain i) : |
| 40 | L.openRationalCoefficient i = FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W |
| 41 | (L.openMixedTransitionOn i (genericPoint X) (genericPoint Y) W |
| 42 | ((i.image_mono hW).trans (L.openReferenceDomain_image i)) (hW.trans inf_le_right)) := by |
| 43 | rw [← L.openMixedTransitionOn_restrict i (genericPoint X) (genericPoint Y) hW |
| 44 | (L.openReferenceDomain_image i) inf_le_right] |
| 45 | exact (FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm_restrict hW _).symm |
| 46 | |
| 47 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openLocalDomain (x : Y) : Y.Opens := |
| 48 | i ⁻¹ᵁ L.trivializingOpen (i x) ⊓ (L.restrictToOpen i).trivializingOpen x |
| 49 | |
| 50 | omit [IsIntegral X] [IsIntegral Y] in |
| 51 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.mem_openLocalDomain (x : Y) : x ∈ L.openLocalDomain i x := |
| 52 | ⟨L.mem_trivializingOpen (i x), (L.restrictToOpen i).mem_trivializingOpen x⟩ |
| 53 | |
| 54 | instance Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openLocalDomain_nonempty (x : Y) : Nonempty (L.openLocalDomain i x) := |
| 55 | ⟨⟨x, L.mem_openLocalDomain i x⟩⟩ |
| 56 | |
| 57 | omit [IsIntegral X] [IsIntegral Y] in |
| 58 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openLocalDomain_image (x : Y) : i ''ᵁ L.openLocalDomain i x ≤ L.trivializingOpen (i x) := by |
| 59 | rintro _ ⟨y, hy, rfl⟩ |
| 60 | exact hy.1 |
| 61 | |
| 62 | def Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openLocalUnit (x : Y) : Γ(Y, L.openLocalDomain i x)ˣ := |
| 63 | L.openMixedTransitionOn i (i x) x _ (L.openLocalDomain_image i x) inf_le_right |
| 64 | |
| 65 | omit [IsIntegral X] in |
| 66 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.openLocalUnit_on_open (x : Y) (W : Y.Opens) [Nonempty W] |
| 67 | (hW : W ≤ L.openLocalDomain i x) : |
| 68 | FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm (L.openLocalDomain i x) (L.openLocalUnit i x) = FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W |
| 69 | (L.openMixedTransitionOn i (i x) x W |
| 70 | ((i.image_mono hW).trans (L.openLocalDomain_image i x)) (hW.trans inf_le_right)) := by |
| 71 | rw [← L.openMixedTransitionOn_restrict i (i x) x hW (L.openLocalDomain_image i x) inf_le_right] |
| 72 | exact (FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm_restrict hW _).symm |
| 73 | |
| 74 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.rationalSectionCoordinate_open_on_open (x : X) (W : Y.Opens) [Nonempty W] |
| 75 | (hW : i ''ᵁ W ≤ L.rationalCoordinateDomain x) : |
| 76 | Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits i (L.rationalSectionCoordinate x) = FunctionFieldUnitGerm.BundleCycles.functionFieldUnitGerm W |
| 77 | (Units.map (i.appIso W).hom.hom.toMonoidHom |
| 78 | (L.ambientTransitionOn x (genericPoint X) (i ''ᵁ W) |
| 79 | (hW.trans inf_le_left) (hW.trans inf_le_right))) := by |
| 80 | rw [L.rationalSectionCoordinate_on_open x (i ''ᵁ W) hW] |
| 81 | exact Open.FunctionFieldUnits.BundleCycles.openFunctionFieldUnits_germ i W _ |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.AlgebraicGeometry.Divisors.LineBundles |