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.FiniteTypeAffineTopology |
| 2 | import Mathlib.Analysis.Polynomial.CauchyBound |
| 3 | import Mathlib.Topology.Order.Lattice |
| 4 | import Mathlib.Topology.Maps.Proper.Basic |
| 5 | import Mathlib.Topology.Maps.Proper.CompactlyGenerated |
| 6 | |
| 7 | /-! # Integral Topology -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.ComplexPoints.IntegralTopology.ClosednessConstruction |
| 10 | |
| 11 | /-! Closedness: compactness estimates for integral maps of affine complex points. -/ |
| 12 | |
| 13 | open scoped _root_.Polynomial NNReal |
| 14 | |
| 15 | variable {A B : Type*} [CommRing A] [Algebra ℂ A] [CommRing B] [Algebra ℂ B] |
| 16 | |
| 17 | /-- All evaluations together form a closed embedding of complex characters. -/ |
| 18 | theorem isClosedEmbedding_character_evaluations : |
| 19 | Topology.IsClosedEmbedding (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B => (x : B → ℂ)) := by |
| 20 | have hs : Function.Surjective |
| 21 | (MvPolynomial.aeval (id : B → B) : MvPolynomial B ℂ →ₐ[ℂ] B) := by |
| 22 | intro b |
| 23 | exact ⟨MvPolynomial.X b, MvPolynomial.aeval_X _ _⟩ |
| 24 | simpa only [MvPolynomial.aeval_X, id_eq] using |
| 25 | Analytic.FiniteTypeAffineTopology.isClosedEmbedding_polynomialPresentation |
| 26 | (MvPolynomial.aeval (id : B → B)) hs |
| 27 | |
| 28 | /-- Specializing a monic equation over a compact set gives a uniform root bound. -/ |
| 29 | theorem monic_specialization_root_bound (p : A[X]) (hp : p.Monic) |
| 30 | (K : Set (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A)) (hK : IsCompact K) : |
| 31 | ∃ M : ℝ≥0, ∀ x ∈ K, ∀ z : ℂ, |
| 32 | (p.map x.toRingHom).IsRoot z → ‖z‖₊ ≤ M := by |
| 33 | let b : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A → ℝ≥0 := fun x => |
| 34 | (Finset.range p.natDegree).sup (fun j => ‖x (p.coeff j)‖₊) + 1 |
| 35 | have hb : Continuous b := |
| 36 | (Continuous.finset_sup_apply (fun j _ => |
| 37 | (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval (p.coeff j)).nnnorm)).add continuous_const |
| 38 | obtain ⟨M, hM⟩ := (hK.image hb).bddAbove |
| 39 | refine ⟨M, fun x hx z hz => ?_⟩ |
| 40 | have hbound := hz.norm_lt_cauchyBound (hp.map x.toRingHom).ne_zero |
| 41 | have hcb : (p.map x.toRingHom).cauchyBound = b x := by |
| 42 | simp only [Polynomial.cauchyBound, hp.natDegree_map, |
| 43 | (hp.map x.toRingHom).leadingCoeff, nnnorm_one, div_one, |
| 44 | Polynomial.coeff_map, b] |
| 45 | rfl |
| 46 | rw [hcb] at hbound |
| 47 | exact hbound.le.trans (hM ⟨x, hx, rfl⟩) |
| 48 | |
| 49 | /-- Integral coordinates remain uniformly bounded over a compact set of base points. -/ |
| 50 | theorem integral_coordinate_bound (f : A →ₐ[ℂ] B) (hf : f.toRingHom.IsIntegral) |
| 51 | (K : Set (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A)) (hK : IsCompact K) (b : B) : |
| 52 | ∃ M : ℝ≥0, ∀ x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B, Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x ∈ K → ‖x b‖₊ ≤ M := by |
| 53 | obtain ⟨p, hp, heq⟩ := hf b |
| 54 | obtain ⟨M, hM⟩ := monic_specialization_root_bound p hp K hK |
| 55 | refine ⟨M, fun x hx => hM (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f x) hx (x b) ?_⟩ |
| 56 | change (p.map (x.comp f).toRingHom).eval (x b) = 0 |
| 57 | rw [Polynomial.eval_map] |
| 58 | change p.eval₂ (x.toRingHom.comp f.toRingHom) (x b) = 0 |
| 59 | exact (Polynomial.hom_eval₂ p f.toRingHom x.toRingHom b).symm.trans |
| 60 | ((congrArg x.toRingHom heq).trans (map_zero _)) |
| 61 | |
| 62 | /-- Integral affine maps have compact inverse images of compact sets of complex points. -/ |
| 63 | theorem integral_comap_isCompact_preimage |
| 64 | (f : A →ₐ[ℂ] B) (hf : f.toRingHom.IsIntegral) |
| 65 | (K : Set (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A)) (hK : IsCompact K) : |
| 66 | IsCompact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f ⁻¹' K) := by |
| 67 | classical |
| 68 | choose M hM using integral_coordinate_bound f hf K hK |
| 69 | have hc : IsCompact (Set.pi Set.univ (fun b : B => Metric.closedBall (0 : ℂ) (M b))) := |
| 70 | isCompact_univ_pi (fun b => isCompact_closedBall (0 : ℂ) (M b)) |
| 71 | have hpre := (isClosedEmbedding_character_evaluations (B := B)).isCompact_preimage hc |
| 72 | apply hpre.of_isClosed_subset (hK.isClosed.preimage (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f).continuous) |
| 73 | intro x hx b _ |
| 74 | rw [Metric.mem_closedBall, dist_zero_right] |
| 75 | exact_mod_cast hM b x hx |
| 76 | |
| 77 | /-- Over a finite-type complex base algebra, an integral map induces a proper |
| 78 | map for the ordinary topology on complex characters. -/ |
| 79 | theorem integral_comap_isProperMap [Algebra.FiniteType ℂ A] |
| 80 | (f : A →ₐ[ℂ] B) (hf : f.toRingHom.IsIntegral) : IsProperMap (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f) := |
| 81 | isProperMap_iff_isCompact_preimage.mpr |
| 82 | ⟨(Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap f).continuous, fun K hK => integral_comap_isCompact_preimage f hf K hK⟩ |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.ComplexPoints.IntegralTopology.ClosednessConstruction |