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.OpenCoefficient |
| 3 | |
| 4 | /-! # Generic Coefficient Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # LineBundleCycles: generic coefficients of actual restricted sections transform by the constructed open coefficient -/ |
| 11 | |
| 12 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 13 | |
| 14 | variable {X Y : Scheme.{0}} [IsIntegral X] [IsIntegral Y] (i : Y ⟶ X) [IsOpenImmersion i] |
| 15 | |
| 16 | theorem LineBundle.GenericCoefficientOpen.Cycles.openFunctionFieldMap_germ (U : Y.Opens) [Nonempty U] (r : Γ(X, i ''ᵁ U)) : |
| 17 | RationalDivisorRestriction.BundleCycles.openFunctionFieldMap i (X.germToFunctionField (i ''ᵁ U) r) = |
| 18 | Y.germToFunctionField U ((i.appIso U).hom r) := by |
| 19 | rw [Scheme.Hom.appIso_hom'] |
| 20 | exact ConcreteCategory.congr_hom |
| 21 | (GenericFieldComposition.BundleCycles.genericFieldMap_germ_appLE i (genericPoint_eq_of_isOpenImmersion i) |
| 22 | (i ''ᵁ U) U (i.preimage_image_eq U).ge) r |
| 23 | |
| 24 | variable (L : LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle X) |
| 25 | |
| 26 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.genericSectionCoefficient_open_on_reference (U : Y.Opens) [Nonempty U] |
| 27 | (hU : U ≤ L.openReferenceDomain i) (s : Γ((L.restrictToOpen i).sheaf, U)) : |
| 28 | RationalDivisorRestriction.BundleCycles.openFunctionFieldMap i |
| 29 | (L.genericSectionCoefficient (i ''ᵁ U) ((L.sheaf.restrictAppIso i U).hom s)) = |
| 30 | (L.openRationalCoefficient i).val * (L.restrictToOpen i).genericSectionCoefficient U s := by |
| 31 | have hUX : i ''ᵁ U ≤ L.rationalReferenceOpen := |
| 32 | (i.image_mono hU).trans (L.openReferenceDomain_image i) |
| 33 | rw [L.genericSectionCoefficient_eq_local (genericPoint X) (i ''ᵁ U) hUX, |
| 34 | (L.restrictToOpen i).genericSectionCoefficient_eq_local (genericPoint Y) U (hU.trans inf_le_right)] |
| 35 | unfold LineBundles.Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.localRationalCoefficient |
| 36 | rw [L.rationalSectionCoordinate_reference, (L.restrictToOpen i).rationalSectionCoordinate_reference] |
| 37 | simp only [Units.val_one, div_one] |
| 38 | rw [LineBundle.GenericCoefficientOpen.Cycles.openFunctionFieldMap_germ, L.openRationalCoefficient_on_open i U hU] |
| 39 | change Y.germToFunctionField U (L.openSectionFrame i (genericPoint X) U hUX s) = |
| 40 | Y.germToFunctionField U (L.openMixedTransitionOn i (genericPoint X) (genericPoint Y) U hUX |
| 41 | (hU.trans inf_le_right)).val * |
| 42 | Y.germToFunctionField U ((L.restrictToOpen i).sectionFrame (genericPoint Y) U (hU.trans inf_le_right) s) |
| 43 | rw [← map_mul] |
| 44 | exact congrArg (Y.germToFunctionField U) (LineBundle.FrameComparison.Cycles.LineBundleConstruction.frameTransitionUnit_coordinates _ _ s) |
| 45 | |
| 46 | omit [IsIntegral Y] in |
| 47 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.genericSectionCoefficient_restrictAppIso {U V : Y.Opens} [Nonempty U] [Nonempty V] |
| 48 | (hVU : V ≤ U) (s : Γ((L.restrictToOpen i).sheaf, U)) : |
| 49 | L.genericSectionCoefficient (i ''ᵁ V) |
| 50 | ((L.sheaf.restrictAppIso i V).hom ((L.restrictToOpen i).sheaf.presheaf.map (homOfLE hVU).op s)) = |
| 51 | L.genericSectionCoefficient (i ''ᵁ U) ((L.sheaf.restrictAppIso i U).hom s) := by |
| 52 | have h := Scheme.Modules.map_restrictAppIso_hom_apply i L.sheaf (homOfLE hVU).op s |
| 53 | exact (congrArg (L.genericSectionCoefficient (i ''ᵁ V)) h).trans |
| 54 | (L.genericSectionCoefficient_restrict (i.image_mono hVU) _) |
| 55 | |
| 56 | theorem Scheme.SchemeIdealModule.BundleCycles.SchemeLineBundle.genericSectionCoefficient_open (U : Y.Opens) [Nonempty U] |
| 57 | (s : Γ((L.restrictToOpen i).sheaf, U)) : |
| 58 | RationalDivisorRestriction.BundleCycles.openFunctionFieldMap i |
| 59 | (L.genericSectionCoefficient (i ''ᵁ U) ((L.sheaf.restrictAppIso i U).hom s)) = |
| 60 | (L.openRationalCoefficient i).val * (L.restrictToOpen i).genericSectionCoefficient U s := by |
| 61 | let V : Y.Opens := U ⊓ L.openReferenceDomain i |
| 62 | let : Nonempty V := ⟨⟨genericPoint Y, |
| 63 | ((genericPoint_spec Y).mem_open_set_iff U.isOpen).mpr (by simpa using ‹Nonempty U›), |
| 64 | ((genericPoint_spec Y).mem_open_set_iff (L.openReferenceDomain i).isOpen).mpr |
| 65 | (by simpa using (inferInstance : Nonempty (L.openReferenceDomain i)))⟩⟩ |
| 66 | have hVU : V ≤ U := inf_le_left |
| 67 | let t := (L.restrictToOpen i).sheaf.presheaf.map (homOfLE hVU).op s |
| 68 | calc |
| 69 | _ = RationalDivisorRestriction.BundleCycles.openFunctionFieldMap i (L.genericSectionCoefficient (i ''ᵁ V) |
| 70 | ((L.sheaf.restrictAppIso i V).hom t)) := |
| 71 | congrArg (RationalDivisorRestriction.BundleCycles.openFunctionFieldMap i) (L.genericSectionCoefficient_restrictAppIso i hVU s).symm |
| 72 | _ = (L.openRationalCoefficient i).val * (L.restrictToOpen i).genericSectionCoefficient V t := |
| 73 | L.genericSectionCoefficient_open_on_reference i V inf_le_right t |
| 74 | _ = _ := congrArg (fun z => (L.openRationalCoefficient i).val * z) |
| 75 | ((L.restrictToOpen i).genericSectionCoefficient_restrict hVU s) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.AlgebraicGeometry.Divisors.LineBundles |