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.Quotients.FiniteDescent.PoleLine |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundDenominator |
| 3 | |
| 4 | /-! # Ground Pole Line -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundPoleLine.Construction.GroundPoleLineBundle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The pole line bundle and its canonical section over the actual ground field. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle |
| 17 | |
| 18 | variable {X : Scheme.{u}} [IsIntegral X] |
| 19 | |
| 20 | def lineBundle {K : Type u} [Field K] |
| 21 | (f : X ⟶ Spec (.of K)) [Smooth f] [GeometricallyIntegral f] (r : X.functionField) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X where |
| 22 | sheaf := Quotients.FiniteDescent.FractionalIdealIs.Construction.FractionalIdealSheaf.sheaf (Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.stalkModules r) |
| 23 | locallyTrivial x := by |
| 24 | obtain ⟨U, hxU, a, ha⟩ := GroundDenominator.Construction.GroundDenominatorNeighborhood.exists_principal f r x |
| 25 | have : Nonempty U.1 := ⟨⟨x, hxU⟩⟩ |
| 26 | change (Quotients.FiniteDescent.DenominatorSheafEq.Construction.DenominatorSheaf.data r).ideal U = Ideal.span {a} at ha |
| 27 | have hne : (X.germToFunctionField U.1 a)⁻¹ ≠ 0 := inv_ne_zero (by |
| 28 | simpa only [map_zero] using (X.germToFunctionField_injective U.1).ne |
| 29 | (Quotients.FiniteDescent.DenominatorLine.Construction.DenominatorLineBundle.generator_ne_zero r U a ha)) |
| 30 | have hmem (y : U.1) : (X.germToFunctionField U.1 a)⁻¹ ∈ Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.stalkModules r y := by |
| 31 | rw [Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.generator r U a ha y] |
| 32 | exact Submodule.mem_span_singleton_self _ |
| 33 | exact ⟨U.1, hxU, ⟨Quotients.FiniteDescent.FractionalIdealFrame.Construction.FractionalIdealFrames.frameIso (Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.stalkModules r) U.1 _ hmem hne |
| 34 | (Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.generator r U a ha)⟩⟩ |
| 35 | |
| 36 | def canonicalSection {K : Type u} [Field K] |
| 37 | (f : X ⟶ Spec (.of K)) [Smooth f] [GeometricallyIntegral f] (r : X.functionField) : |
| 38 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (lineBundle f r).sheaf where |
| 39 | val.app U := ModuleCat.ofHom (R := Γ(X, U.unop)) (X := Γ(X, U.unop)) |
| 40 | (Y := Γ(Quotients.FiniteDescent.FractionalIdealIs.Construction.FractionalIdealSheaf.sheaf (Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.stalkModules r), U.unop)) |
| 41 | (Quotients.FiniteDescent.FractionalIdealFrame.Construction.FractionalIdealFrames.multiply (Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.stalkModules r) (show U.unop ≤ ⊤ from le_top) 1 |
| 42 | (fun x => Quotients.FiniteDescent.InverseIdealEq.Construction.InverseIdeal.one_mem _)) |
| 43 | val.naturality {U V} h := by |
| 44 | apply ModuleCat.hom_ext |
| 45 | apply LinearMap.ext |
| 46 | intro s |
| 47 | change Γ(X, U.unop) at s |
| 48 | exact (Quotients.FiniteDescent.FractionalIdealFrame.Construction.FractionalIdealFrames.multiply_natural (Quotients.FiniteDescent.PoleLine.Construction.PoleLineBundle.stalkModules r) |
| 49 | (show U.unop ≤ ⊤ from le_top) h.unop.le 1 (fun x => Quotients.FiniteDescent.InverseIdealEq.Construction.InverseIdeal.one_mem _) s).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.GroundPoleLine.Construction.GroundPoleLineBundle |