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.Graph.OpenAmbient |
| 2 | import OAI.AlgebraicGeometry.Divisors.LineBundles.Open.KernelBaseChange |
| 3 | |
| 4 | /-! # Open Square -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.OpenSquare.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The graph of the restricted morphism is the actual scheme-theoretic open base change of the original graph. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | variable {X Y X' Y' : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation} |
| 15 | (f : X.toOver ⟶ Y.toOver) (g : X'.toOver ⟶ Y'.toOver) |
| 16 | (a : X'.toOver ⟶ X.toOver) (b : Y'.toOver ⟶ Y.toOver) |
| 17 | [IsOpenImmersion a.left] [IsOpenImmersion b.left] (h : a ≫ f = g ≫ b) |
| 18 | |
| 19 | include h in |
| 20 | theorem graphOpenAmbientMap_graph_preimage : |
| 21 | OpenAmbient.BundleCycles.graph f ⁻¹ᵁ (OpenAmbient.BundleCycles.graphOpenAmbientMap f g a b).opensRange = a.left.opensRange := by |
| 22 | apply TopologicalSpace.Opens.ext |
| 23 | ext x |
| 24 | change OpenAmbient.BundleCycles.graph f x ∈ Set.range (OpenAmbient.BundleCycles.graphOpenAmbientMap f g a b) ↔ x ∈ Set.range a.left |
| 25 | constructor |
| 26 | · rintro ⟨u, hu⟩ |
| 27 | refine ⟨OpenAmbient.BundleCycles.graphFirstProjection g u, ?_⟩ |
| 28 | exact (congrArg (fun k => k u) (OpenAmbient.BundleCycles.graphOpenAmbientMap_first f g a b)).symm.trans |
| 29 | ((congrArg (OpenAmbient.BundleCycles.graphFirstProjection f) hu).trans (congrArg (fun k => k x) (OpenAmbient.BundleCycles.graph_firstProjection f))) |
| 30 | · rintro ⟨u, rfl⟩ |
| 31 | exact ⟨OpenAmbient.BundleCycles.graph g u, congrArg (fun k => k u) (OpenAmbient.BundleCycles.graphOpenAmbientMap_graph f g a b h)⟩ |
| 32 | |
| 33 | include h in |
| 34 | theorem graphOpenAmbientMap_isPullback : |
| 35 | IsPullback (OpenAmbient.BundleCycles.graph g) a.left (OpenAmbient.BundleCycles.graphOpenAmbientMap f g a b) (OpenAmbient.BundleCycles.graph f) := |
| 36 | @IsOpenImmersion.isPullback _ _ _ _ (OpenAmbient.BundleCycles.graph g) a.left (OpenAmbient.BundleCycles.graphOpenAmbientMap f g a b) (OpenAmbient.BundleCycles.graph f) |
| 37 | (inferInstanceAs (IsOpenImmersion a.left)) (OpenAmbient.BundleCycles.graphOpenAmbientMap_open f g a b) |
| 38 | (OpenAmbient.BundleCycles.graphOpenAmbientMap_graph f g a b h).symm |
| 39 | (graphOpenAmbientMap_graph_preimage f g a b h) |
| 40 | |
| 41 | include h in |
| 42 | theorem graphOpenAmbientMap_kernel : |
| 43 | (OpenAmbient.BundleCycles.graph f).ker.comap (OpenAmbient.BundleCycles.graphOpenAmbientMap f g a b) = (OpenAmbient.BundleCycles.graph g).ker := |
| 44 | Open.KernelBaseChange.BundleCycles.openKernel_comap_of_isPullback (OpenAmbient.BundleCycles.graph f) (OpenAmbient.BundleCycles.graph g) a.left (OpenAmbient.BundleCycles.graphOpenAmbientMap f g a b) |
| 45 | (graphOpenAmbientMap_isPullback f g a b h) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Graph.OpenSquare.BundleCycles |