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 Mathlib.Analysis.Complex.Basic |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | import Mathlib.Analysis.Normed.Module.RCLike.Basic |
| 4 | import Mathlib.Analysis.RCLike.Lemmas |
| 5 | import Mathlib.LinearAlgebra.Projectivization.Basic |
| 6 | import Mathlib.Topology.Constructions |
| 7 | |
| 8 | /-! # Projective Compactness -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCompactness |
| 11 | |
| 12 | /-! |
| 13 | # The ordinary quotient topology on projective space |
| 14 | |
| 15 | This module equips mathlib's projectivization with the quotient topology of its |
| 16 | nonzero vectors, with their given topology. It does not use the Zariski topology. |
| 17 | -/ |
| 18 | |
| 19 | section QuotientTopology |
| 20 | |
| 21 | variable (K V : Type*) [DivisionRing K] [AddCommGroup V] [Module K V] |
| 22 | [TopologicalSpace V] |
| 23 | |
| 24 | /-- The ordinary quotient topology on the lines of a topological vector space. -/ |
| 25 | instance projectivizationTopologicalSpace : TopologicalSpace (Projectivization K V) := |
| 26 | TopologicalSpace.coinduced (Projectivization.mk' K) inferInstance |
| 27 | |
| 28 | /-- The projection of nonzero vectors to their lines is a quotient map. -/ |
| 29 | theorem isQuotientMap_projectivization_mk' : |
| 30 | Topology.IsQuotientMap (Projectivization.mk' K : {v : V // v ≠ 0} → |
| 31 | Projectivization K V) := |
| 32 | isQuotientMap_quotient_mk' |
| 33 | |
| 34 | /-- The projection of nonzero vectors to projective space is continuous. -/ |
| 35 | theorem continuous_projectivization_mk' : |
| 36 | Continuous (Projectivization.mk' K : {v : V // v ≠ 0} → Projectivization K V) := |
| 37 | continuous_coinduced_rng |
| 38 | |
| 39 | /-- Openness is tested by pulling back to the nonzero-vector space. -/ |
| 40 | theorem isOpen_projectivization_iff (s : Set (Projectivization K V)) : |
| 41 | IsOpen s ↔ IsOpen ((Projectivization.mk' K) ⁻¹' s) := |
| 42 | (isQuotientMap_projectivization_mk' K V).isCoinducing.isOpen_preimage.symm |
| 43 | |
| 44 | /-- Closedness is tested by pulling back to the nonzero-vector space. -/ |
| 45 | theorem isClosed_projectivization_iff (s : Set (Projectivization K V)) : |
| 46 | IsClosed s ↔ IsClosed ((Projectivization.mk' K) ⁻¹' s) := |
| 47 | (isQuotientMap_projectivization_mk' K V).isCoinducing.isClosed_preimage.symm |
| 48 | |
| 49 | end QuotientTopology |
| 50 | |
| 51 | variable (K V : Type*) [RCLike K] [NormedAddCommGroup V] [NormedSpace K V] |
| 52 | |
| 53 | /-- Project a unit vector to its line. -/ |
| 54 | def unitSphereToProjectivization : Metric.sphere (0 : V) 1 → Projectivization K V := |
| 55 | fun v => Projectivization.mk K v (ne_zero_of_mem_unit_sphere v) |
| 56 | |
| 57 | /-- Unit-sphere projection is continuous for the ordinary quotient topology. -/ |
| 58 | theorem continuous_unitSphereToProjectivization : |
| 59 | Continuous (unitSphereToProjectivization K V) := by |
| 60 | exact (continuous_projectivization_mk' K V).comp |
| 61 | (continuous_subtype_val.subtype_mk (fun v => ne_zero_of_mem_unit_sphere v)) |
| 62 | |
| 63 | /-- Every projective line has a unit representative. -/ |
| 64 | theorem unitSphereToProjectivization_surjective : |
| 65 | Function.Surjective (unitSphereToProjectivization K V) := by |
| 66 | intro p |
| 67 | induction p using Projectivization.ind with |
| 68 | | h v hv => |
| 69 | let w : Metric.sphere (0 : V) 1 := |
| 70 | ⟨(‖v‖⁻¹ : K) • v, by |
| 71 | rw [mem_sphere_zero_iff_norm] |
| 72 | exact norm_smul_inv_norm hv⟩ |
| 73 | refine ⟨w, ?_⟩ |
| 74 | apply (Projectivization.mk_eq_mk_iff' K _ _ _ _).2 |
| 75 | exact ⟨(‖v‖⁻¹ : K), rfl⟩ |
| 76 | |
| 77 | /-- Finite-dimensional real or complex projective space is compact in its |
| 78 | ordinary quotient topology: it is the continuous image of the unit sphere. -/ |
| 79 | instance projectivization_compactSpace [FiniteDimensional K V] : |
| 80 | CompactSpace (Projectivization K V) := by |
| 81 | let : ProperSpace V := FiniteDimensional.proper_rclike K V |
| 82 | exact Function.Surjective.compactSpace |
| 83 | (continuous_unitSphereToProjectivization K V) |
| 84 | (unitSphereToProjectivization_surjective K V) |
| 85 | |
| 86 | /-- Complex projective n-space, with its usual quotient topology, is compact. -/ |
| 87 | theorem complexProjectiveSpace_compact (n : ℕ) : |
| 88 | CompactSpace (Projectivization ℂ (Fin (n + 1) → ℂ)) := |
| 89 | inferInstance |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCompactness |