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.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 2 | import OAI.AlgebraicGeometry.Foundations.Scheme.ComplexPointExistence |
| 3 | import Mathlib.Topology.Irreducible |
| 4 | |
| 5 | /-! # Finite Images Eq -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FiniteImagesEq.Constructions.FiniteImages |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # DegreeTwo: finite algebraic images of an integral variety |
| 13 | |
| 14 | An algebraic map with finitely many complex-point values is constant on the |
| 15 | complex points of an irreducible source. The proof uses the density of closed |
| 16 | points and their exact correspondence with complex-valued scheme points. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | variable {X Y : Over Foundations.Scheme.ProjectiveSpace.complexBase} [LocallyOfFiniteType X.hom] |
| 22 | [LocallyOfFiniteType Y.hom] [IrreducibleSpace X.left] |
| 23 | |
| 24 | /-- A finite set of closed points is a closed subset of the scheme. -/ |
| 25 | theorem finite_closedPoints_isClosed {T : Type*} [TopologicalSpace T] |
| 26 | {S : Set T} (hS : S.Finite) (hclosed : S ⊆ closedPoints T) : IsClosed S := by |
| 27 | simpa only [Set.biUnion_of_singleton] using |
| 28 | hS.isClosed_biUnion (fun x hx => hclosed hx) |
| 29 | |
| 30 | /-- An actual morphism with finite image on complex points is constant when |
| 31 | its source is irreducible. -/ |
| 32 | theorem map_eq_of_finite_range (f : X ⟶ Y) |
| 33 | (hf : (Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f)).Finite) |
| 34 | (x y : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f x = ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f y := by |
| 35 | let cp : Foundations.Scheme.ProjectiveSpace.complexBase := IsLocalRing.closedPoint ℂ |
| 36 | let ev : ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints Y → Y.left := fun q => q.left cp |
| 37 | let S : Set Y.left := ev '' Set.range (ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f) |
| 38 | have hS : S.Finite := hf.image ev |
| 39 | have hclosed : S ⊆ closedPoints Y.left := by |
| 40 | rintro z ⟨q, hq, rfl⟩ |
| 41 | exact ((Foundations.Scheme.ComplexPointExistence.complexOverPointsEquivClosedPoints Y.hom) q).property |
| 42 | have hcS : IsClosed S := finite_closedPoints_isClosed hS hclosed |
| 43 | let : JacobsonSpace X.left := LocallyOfFiniteType.jacobsonSpace X.hom |
| 44 | have hcl : closedPoints X.left ⊆ f.left ⁻¹' S := by |
| 45 | intro z hz |
| 46 | obtain ⟨q, hq⟩ := (Foundations.Scheme.ComplexPointExistence.complexOverPointsEquivClosedPoints X.hom).surjective ⟨z, hz⟩ |
| 47 | have hqz : q.left cp = z := congrArg Subtype.val hq |
| 48 | refine ⟨ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.map f q, ⟨q, rfl⟩, ?_⟩ |
| 49 | change f.left (q.left cp) = f.left z |
| 50 | rw [hqz] |
| 51 | have hfull : Set.univ ⊆ f.left ⁻¹' S := by |
| 52 | rw [← closure_closedPoints] |
| 53 | exact closure_minimal hcl (hcS.preimage f.left.continuous) |
| 54 | have hrS : Set.range f.left ⊆ S := by |
| 55 | rintro z ⟨w, rfl⟩ |
| 56 | exact hfull (Set.mem_univ w) |
| 57 | have hrfinite : (Set.range f.left).Finite := hS.subset hrS |
| 58 | have hrdiscrete := hrfinite.isDiscrete_of_subset_closedPoints (hrS.trans hclosed) |
| 59 | have hrpre : IsPreirreducible (Set.range f.left) := by |
| 60 | simpa only [Set.image_univ] using |
| 61 | (PreirreducibleSpace.isPreirreducible_univ (X := X.left)).image f.left |
| 62 | f.left.continuous.continuousOn |
| 63 | have hsub := hrdiscrete.subsingleton_of_isPreirreducible hrpre |
| 64 | apply (Foundations.Scheme.ComplexPointExistence.complexOverPointsEquivClosedPoints Y.hom).injective |
| 65 | apply Subtype.ext |
| 66 | exact hsub ⟨x.left cp, rfl⟩ ⟨y.left cp, rfl⟩ |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.DegreeTwo.FiniteImagesEq.Constructions.FiniteImages |