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.RepresentationTheory.Theta.Geometric.Complex.SectionEvaluation |
| 2 | import OAI.AlgebraicGeometry.Albanese.Construction.ProjectiveCoordinates |
| 3 | import OAI.AlgebraicGeometry.Albanese.Construction.ClosedPoints |
| 4 | |
| 5 | /-! # Points Detect Sections -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Theta.Geometric.Complex.PointsDetectSections |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Complex points detect algebraic opens and regular sections on reduced |
| 12 | schemes locally of finite type over C. This permits gluing by identities |
| 13 | verified in the period coordinates. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | theorem opens_le_of_complex_points (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType X.hom] |
| 18 | (U V : X.left.Opens) |
| 19 | (h : ∀ p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X, |
| 20 | p.left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ U → p.left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ V) : U ≤ V := by |
| 21 | let : JacobsonSpace X.left := LocallyOfFiniteType.jacobsonSpace X.hom |
| 22 | intro x hx |
| 23 | by_contra hxV |
| 24 | have hne : ((U : Set X.left) ∩ (V : Set X.left)ᶜ).Nonempty := ⟨x, hx, hxV⟩ |
| 25 | have hlc : IsLocallyClosed ((U : Set X.left) ∩ (V : Set X.left)ᶜ) := |
| 26 | U.isOpen.isLocallyClosed.inter V.isOpen.isClosed_compl.isLocallyClosed |
| 27 | obtain ⟨y, hy, hyc⟩ := nonempty_inter_closedPoints hne hlc |
| 28 | change IsClosed {y} at hyc |
| 29 | let p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X := |
| 30 | Over.homMk (pointOfClosedPoint X.hom y hyc) (pointOfClosedPoint_comp X.hom y hyc) |
| 31 | have hp : p.left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) = y := |
| 32 | pointOfClosedPoint_apply X.hom y hyc _ |
| 33 | have hpU : p.left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ U := by |
| 34 | rw [hp] |
| 35 | exact hy.1 |
| 36 | have hpV := h p hpU |
| 37 | rw [hp] at hpV |
| 38 | exact hy.2 hpV |
| 39 | |
| 40 | theorem opens_eq_of_complex_points (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType X.hom] |
| 41 | (U V : X.left.Opens) |
| 42 | (h : ∀ p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X, |
| 43 | p.left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ U ↔ p.left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ V) : U = V := |
| 44 | le_antisymm (opens_le_of_complex_points X U V (fun p => (h p).mp)) |
| 45 | (opens_le_of_complex_points X V U (fun p => (h p).mpr)) |
| 46 | |
| 47 | theorem complexSectionValue_mem_basicOpen {X : Scheme} (p : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase ⟶ X) |
| 48 | (r : Γ(X, ⊤)) : p (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ X.basicOpen r ↔ |
| 49 | SectionEvaluation.complexSectionValue p ⊤ (by trivial) r ≠ 0 := by |
| 50 | have h := AlgebraicGeometry.Albanese.Construction.ProjectiveCoordinates.pointEvaluate_mem_basicOpen p r |
| 51 | rw [Subsingleton.elim (IsLocalRing.closedPoint ℂ) (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)] at h |
| 52 | exact h |
| 53 | |
| 54 | theorem complexSectionValue_top_ext (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 55 | [LocallyOfFiniteType X.hom] [IsReduced X.left] (s t : Γ(X.left, ⊤)) |
| 56 | (h : ∀ p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X, |
| 57 | SectionEvaluation.complexSectionValue p.left ⊤ (by trivial) s = SectionEvaluation.complexSectionValue p.left ⊤ (by trivial) t) : |
| 58 | s = t := by |
| 59 | apply sub_eq_zero.mp |
| 60 | apply eq_zero_of_basicOpen_eq_bot |
| 61 | apply le_antisymm _ bot_le |
| 62 | apply opens_le_of_complex_points X |
| 63 | intro p hp |
| 64 | have hn := (complexSectionValue_mem_basicOpen p.left (s - t)).mp hp |
| 65 | exact False.elim (hn (by rw [map_sub, h p, sub_self])) |
| 66 | |
| 67 | theorem complexSectionValue_ext (X : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) |
| 68 | [LocallyOfFiniteType X.hom] [IsReduced X.left] (U : X.left.Opens) (s t : Γ(X.left, U)) |
| 69 | (h : ∀ (p : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X) (hp : p.left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase) ∈ U), |
| 70 | SectionEvaluation.complexSectionValue p.left U hp s = SectionEvaluation.complexSectionValue p.left U hp t) : s = t := by |
| 71 | let Y : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase := Over.mk (U.ι ≫ X.hom) |
| 72 | let : LocallyOfFiniteType Y.hom := by |
| 73 | change LocallyOfFiniteType (U.ι ≫ X.hom) |
| 74 | infer_instance |
| 75 | let : IsReduced Y.left := by |
| 76 | change IsReduced U.toScheme |
| 77 | infer_instance |
| 78 | have he : U.topIso.inv s = U.topIso.inv t := by |
| 79 | apply complexSectionValue_top_ext Y |
| 80 | intro p |
| 81 | let q : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints X := p ≫ Over.homMk U.ι rfl |
| 82 | have hq := h q (p.left (default : AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase)).property |
| 83 | exact (SectionEvaluation.complexSectionValue_open U p.left s).symm.trans |
| 84 | (hq.trans (SectionEvaluation.complexSectionValue_open U p.left t)) |
| 85 | have hh := congrArg (fun a => U.topIso.hom a) he |
| 86 | simpa only [Iso.inv_hom_id_apply] using hh |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.RepresentationTheory.Theta.Geometric.Complex.PointsDetectSections |