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.AbelianModuli.HilbertConstruction.Rational.FiberEndRing |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.SectionNonvanishing |
| 3 | |
| 4 | /-! # Inverse Section Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.InverseSectionFrames |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Sections of inverse line bundles which are both frames at a rational point are global frames on a connected reduced proper scheme. The inverse pairing and the rational-fiber maps are the actual sheaf maps. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem tensorInverse_sections_frames_of_rationalFiber |
| 15 | {K : Type u} [Field K] {X : Scheme.{u}} |
| 16 | (p : X ⟶ Spec (.of K)) [UniversallyClosed p] [IsReduced X] [ConnectedSpace X] |
| 17 | (x : Spec (.of K) ⟶ X) (hx : x ≫ p = 𝟙 _) |
| 18 | (L M : Line.Bundles.LineBundle X) (e : (L.tensor M).sheaf ≅ Line.Bundles.structureModule X) |
| 19 | (s : Line.Bundles.structureModule X ⟶ L.sheaf) (t : Line.Bundles.structureModule X ⟶ M.sheaf) |
| 20 | [IsIso (Ample.LineBundles.pullbackSection x s)] [IsIso (Ample.LineBundles.pullbackSection x t)] : |
| 21 | IsIso s ∧ IsIso t := by |
| 22 | let F := Scheme.Modules.pullback x |
| 23 | let e' : ProductSheaf.tensorModule L.sheaf M.sheaf ≅ Line.Bundles.structureModule X := e |
| 24 | let q : End (Line.Bundles.structureModule X) := ProductSections.tensorProductSection s t ≫ e'.hom |
| 25 | have hp : IsIso (Ample.LineBundles.pullbackSection x (ProductSections.tensorProductSection s t)) := |
| 26 | (SectionNonvanishing.tensorProductSection_pullback_isIso_iff x L M s t).mpr |
| 27 | ⟨inferInstance, inferInstance⟩ |
| 28 | have : IsIso (F.map (ProductSections.tensorProductSection s t)) := |
| 29 | (Section.Nonvanishing.isIso_pullbackSection_iff x (ProductSections.tensorProductSection s t)).mp hp |
| 30 | have hq : IsIso (F.map q) := by |
| 31 | change IsIso (F.map (ProductSections.tensorProductSection s t ≫ e'.hom)) |
| 32 | rw [F.map_comp] |
| 33 | infer_instance |
| 34 | let r := (Line.Bundles.LineBundle.trivial X).rationalFiberEndRingEquiv p x hx |
| 35 | have hu : IsUnit (r q) := (isUnit_iff_isIso _).mpr hq |
| 36 | have hqu : IsUnit q := by |
| 37 | have h := hu.map r.symm.toRingHom |
| 38 | change IsUnit (r.symm (r q)) at h |
| 39 | exact (r.symm_apply_apply q) ▸ h |
| 40 | have hqiso : IsIso q := (isUnit_iff_isIso q).mp hqu |
| 41 | have hprod : IsIso (ProductSections.tensorProductSection s t) := |
| 42 | (isIso_comp_right_iff (ProductSections.tensorProductSection s t) e'.hom).mp hqiso |
| 43 | exact (SectionFrames.tensorProductSection_isIso_iff L M s t).mp hprod |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.InverseSectionFrames |