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.IntersectionTheory.ProjectionFormula.Closed.Equalizer |
| 2 | |
| 3 | /-! # Coincidence Closed Point Test -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoincidenceClosedPointTest |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! Closing a coincidence locus from an open subscheme adds no |
| 12 | new points inside that open subscheme. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | |
| 19 | namespace OpenClosure |
| 20 | |
| 21 | variable {X Y : Over (Spec (.of ℂ))} (U : X.left.Opens) |
| 22 | (f g : Over.mk (U.ι ≫ X.hom) ⟶ Y) [IsSeparated Y.hom] |
| 23 | |
| 24 | def openLocus : Closeds (U : Scheme) := Closed.Equalizer.locus f g |
| 25 | |
| 26 | def locus : Closeds X.left := |
| 27 | ⟨closure (U.ι '' (openLocus U f g : Set (U : Scheme))), isClosed_closure⟩ |
| 28 | |
| 29 | theorem mem_on_open (x : U) : |
| 30 | U.ι x ∈ locus U f g ↔ x ∈ Closed.Equalizer.locus f g := by |
| 31 | have he := U.ι.isOpenEmbedding.isEmbedding.closure_eq_preimage_closure_image |
| 32 | (openLocus U f g : Set (U : Scheme)) |
| 33 | rw [(openLocus U f g).isClosed.closure_eq] at he |
| 34 | exact (congrArg (fun S : Set (U : Scheme) => x ∈ S) he).to_iff.symm |
| 35 | |
| 36 | theorem not_mem_of_ne (x : U) (hx : f.left x ≠ g.left x) : U.ι x ∉ locus U f g := |
| 37 | fun h => hx (Closed.Equalizer.eq_of_mem f g x ((mem_on_open U f g x).mp h)) |
| 38 | |
| 39 | theorem mem_iff_closed [LocallyOfFiniteType X.hom] [LocallyOfFiniteType Y.hom] |
| 40 | (x : U) (hx : IsClosed ({x} : Set (U : Scheme))) : |
| 41 | U.ι x ∈ locus U f g ↔ f.left x = g.left x := by |
| 42 | let : LocallyOfFiniteType (Over.mk (U.ι ≫ X.hom)).hom := |
| 43 | inferInstanceAs (LocallyOfFiniteType (U.ι ≫ X.hom)) |
| 44 | exact (mem_on_open U f g x).trans (Closed.Equalizer.mem_iff_closed f g x hx) |
| 45 | |
| 46 | end OpenClosure |
| 47 | |
| 48 | end |
| 49 | |
| 50 | /-! Inclusion of closed coincidence loci can be checked at closed |
| 51 | points on the open domain, using the Jacobson property over the complex field. -/ |
| 52 | |
| 53 | set_option backward.isDefEq.respectTransparency false |
| 54 | set_option backward.isDefEq.respectTransparency.types false |
| 55 | |
| 56 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 57 | |
| 58 | theorem subset {X Y : Over (Spec (.of ℂ))} [LocallyOfFiniteType X.hom] |
| 59 | (U : X.left.Opens) (f g : Over.mk (U.ι ≫ X.hom) ⟶ Y) [IsSeparated Y.hom] |
| 60 | (S : Closeds X.left) |
| 61 | (h : ∀ x : U, IsClosed ({x} : Set (U : Scheme)) → |
| 62 | x ∈ OpenClosure.openLocus U f g → U.ι x ∈ S) : |
| 63 | (OpenClosure.locus U f g : Set X.left) ⊆ S := by |
| 64 | let : JacobsonSpace (U : Scheme) := LocallyOfFiniteType.jacobsonSpace (U.ι ≫ X.hom) |
| 65 | let A := OpenClosure.openLocus U f g |
| 66 | have he : closure ((A : Set (U : Scheme)) ∩ closedPoints (U : Scheme)) = (A : Set (U : Scheme)) := |
| 67 | (JacobsonSpace.closure_inter_closedPoints_eq_closure A.isClosed.isLocallyClosed).trans A.isClosed.closure_eq |
| 68 | have hs : (A : Set (U : Scheme)) ⊆ U.ι ⁻¹' (S : Set X.left) := by |
| 69 | rw [← he] |
| 70 | exact closure_minimal (fun x hx => h x hx.2 hx.1) (S.isClosed.preimage U.ι.continuous) |
| 71 | change closure (U.ι '' (A : Set (U : Scheme))) ⊆ S |
| 72 | apply closure_minimal _ S.isClosed |
| 73 | rintro _ ⟨x, hx, rfl⟩ |
| 74 | exact hs hx |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.CoincidenceClosedPointTest |