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 Mathlib.NumberTheory.NumberField.InfinitePlace.Embeddings |
| 3 | |
| 4 | /-! # Number Field Base Continuity -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.NumberFieldBaseContinuity.Abelian |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | An actual morphism from a complex scheme to a number-field spectrum has |
| 12 | locally constant complex embeddings on native points. This keeps the |
| 13 | arithmetic base embedding fixed when applying represented moduli data. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs |
| 17 | open scoped _root_.Topology Classical |
| 18 | |
| 19 | section |
| 20 | |
| 21 | variable {S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} {K : Type} [CommRing K] |
| 22 | |
| 23 | def schemeScalarValues (j : S.left ⟶ Spec (CommRingCat.of K)) |
| 24 | (s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) : K →+* ℂ := (Spec.preimage (s.left ≫ j)).hom |
| 25 | |
| 26 | theorem schemeScalarValues_affine (j : S.left ⟶ Spec (CommRingCat.of K)) |
| 27 | (A : CommAlgCat ℂ) (i : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineSchemeOver ℂ A ⟶ S) (x : AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) (a : K) : |
| 28 | schemeScalarValues j (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x) a = |
| 29 | x ((Spec.preimage (i.left ≫ j)).hom a) := by |
| 30 | let iA : Spec (CommRingCat.of A) ⟶ S.left := i.left |
| 31 | let r : K →+* A := (Spec.preimage (i.left ≫ j)).hom |
| 32 | have hmap : (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x).left ≫ j = |
| 33 | Spec.map (CommRingCat.ofHom (x.toRingHom.comp r)) := by |
| 34 | change ((AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv A x).left ≫ i.left) ≫ j = _ |
| 35 | rw [AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPointsOverEquiv_left] |
| 36 | change (Spec.map (CommRingCat.ofHom x.toRingHom) ≫ iA) ≫ j = _ |
| 37 | rw [Category.assoc] |
| 38 | have hr : Spec.map (CommRingCat.ofHom r) = iA ≫ j := Spec.map_preimage _ |
| 39 | rw [← hr, ← Spec.map_comp] |
| 40 | rfl |
| 41 | have hr : Spec.preimage ((AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.affinePointMap A i x).left ≫ j) = |
| 42 | CommRingCat.ofHom (x.toRingHom.comp r) := by |
| 43 | apply Spec.map_injective |
| 44 | rw [Spec.map_preimage] |
| 45 | exact hmap |
| 46 | exact congrArg (fun f : CommRingCat.of K ⟶ CommRingCat.of ℂ => f.hom a) hr |
| 47 | |
| 48 | theorem continuous_schemeScalarValues (j : S.left ⟶ Spec (CommRingCat.of K)) : |
| 49 | Continuous (fun s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S => (schemeScalarValues j s : K → ℂ)) := by |
| 50 | apply continuous_pi |
| 51 | intro a |
| 52 | apply (AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints.continuous_iff_affineTests _).mpr |
| 53 | intro A i |
| 54 | simp only [schemeScalarValues_affine] |
| 55 | exact AlgebraicGeometry.Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval _ |
| 56 | |
| 57 | end |
| 58 | |
| 59 | variable {S : Over AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace.complexBase} {K : Type} [Field K] [NumberField K] |
| 60 | |
| 61 | theorem numberField_structure_locally_constant |
| 62 | (j : S.left ⟶ Spec (CommRingCat.of K)) (s₀ : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S) : |
| 63 | ∀ᶠ s in 𝓝 s₀, s.left ≫ j = s₀.left ≫ j := by |
| 64 | let v := fun s : AlgebraicGeometry.ComplexPoints.Analytic.SchemePointHomeomorphs.schemeComplexPoints S => (schemeScalarValues j s : K → ℂ) |
| 65 | have hv : Continuous v := continuous_schemeScalarValues j |
| 66 | have hfinite : (Set.range v).Finite := |
| 67 | (Set.finite_range (fun f : K →+* ℂ => (f : K → ℂ))).subset (by |
| 68 | rintro f ⟨s, rfl⟩ |
| 69 | exact ⟨schemeScalarValues j s, rfl⟩) |
| 70 | let bad := Set.range v \ {v s₀} |
| 71 | have hbad : IsClosed bad := hfinite.sdiff.isClosed |
| 72 | have havoid : ∀ᶠ s in 𝓝 s₀, v s ∉ bad := |
| 73 | hv.continuousAt.preimage_mem_nhds (hbad.isOpen_compl.mem_nhds (by simp [bad])) |
| 74 | filter_upwards [havoid] with s hs |
| 75 | have heq : v s = v s₀ := by |
| 76 | by_contra hne |
| 77 | exact hs ⟨⟨s, rfl⟩, hne⟩ |
| 78 | have hr : Spec.preimage (s.left ≫ j) = Spec.preimage (s₀.left ≫ j) := by |
| 79 | apply CommRingCat.hom_ext |
| 80 | exact RingHom.ext (fun a => congrFun heq a) |
| 81 | exact (Spec.map_preimage (s.left ≫ j)).symm.trans |
| 82 | ((congrArg Spec.map hr).trans (Spec.map_preimage (s₀.left ≫ j))) |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.ArithmeticGeometry.Descent.CMVariety.NumberFieldBaseContinuity.Abelian |