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.CycleClass.Thom.Integral.CharacterBound |
| 2 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.AffinePointMaps |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.FiniteTypeAffineTopology |
| 4 | import Mathlib.Topology.Maps.Proper.CompactlyGenerated |
| 5 | |
| 6 | /-! # Affine Compactness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.Integral.AffineCompactness.Constructions |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Integral complex algebra maps have compact inverse images of compact |
| 13 | sets in the actual character topology. Finite type on the base then gives |
| 14 | an ordinary proper continuous map. -/ |
| 15 | |
| 16 | open scoped NNReal |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Affine.CharacterClosed.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Integral.CharacterBound.Constructions |
| 19 | |
| 20 | variable (A B : Type*) [CommRing A] [Algebra ℂ A] |
| 21 | [CommRing B] [Algebra ℂ B] [Algebra A B] [IsScalarTower ℂ A B] |
| 22 | [Algebra.IsIntegral A B] |
| 23 | |
| 24 | theorem isCompact_character_preimage (K : Set (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A)) (hK : IsCompact K) : |
| 25 | IsCompact (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (IsScalarTower.toAlgHom ℂ A B) ⁻¹' K) := by |
| 26 | let f := Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (IsScalarTower.toAlgHom ℂ A B) |
| 27 | let P := f ⁻¹' K |
| 28 | have hb (b : B) : ∃ r : ℝ≥0, ∀ y : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B, |
| 29 | y ∈ P → ‖y b‖₊ ≤ r := |
| 30 | CharacterBound.Constructions.integralCharacter_norm_bound K hK b (Algebra.IsIntegral.isIntegral b) |
| 31 | choose r hr using hb |
| 32 | let j : Foundations.Scheme.AffineComplexPoints.affineComplexPoints B → B → ℂ := fun y => y |
| 33 | have hclosed : IsClosed (j '' P) := |
| 34 | (Affine.CharacterClosed.Constructions.isClosedEmbedding_character_coe B).isClosedMap P (hK.isClosed.preimage f.continuous) |
| 35 | have hsub : j '' P ⊆ Set.pi Set.univ (fun b => Metric.closedBall (0 : ℂ) (r b : ℝ)) := by |
| 36 | rintro _ ⟨y, hy, rfl⟩ b _ |
| 37 | change dist (y b) 0 ≤ (r b : ℝ) |
| 38 | rw [dist_zero_right] |
| 39 | exact hr b y hy |
| 40 | have hc := (isCompact_univ_pi (fun b => isCompact_closedBall (0 : ℂ) (r b : ℝ))).of_isClosed_subset |
| 41 | hclosed hsub |
| 42 | exact Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isEmbedding_coe.isCompact_iff.mpr hc |
| 43 | |
| 44 | theorem isProperMap_character_comap [Algebra.FiniteType ℂ A] : |
| 45 | IsProperMap (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (IsScalarTower.toAlgHom ℂ A B)) := by |
| 46 | apply isProperMap_iff_isCompact_preimage.mpr |
| 47 | exact ⟨(Foundations.Scheme.AffineComplexPoints.affineComplexPoints.comap (IsScalarTower.toAlgHom ℂ A B)).continuous, |
| 48 | fun K hK => isCompact_character_preimage A B K hK⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.CycleClass.Thom.Integral.AffineCompactness.Constructions |