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.Foundations.Scheme.AffineComplexPoints |
| 2 | import Mathlib.Topology.Constructions |
| 3 | import Mathlib.Topology.Separation.Hausdorff |
| 4 | |
| 5 | /-! # Affine -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry |
| 8 | |
| 9 | /-! |
| 10 | # Ordinary topology on affine complex points |
| 11 | |
| 12 | For a complex algebra `A`, a complex point is an algebra homomorphism `A →ₐ[ℂ] ℂ`. |
| 13 | We give these points the topology induced by evaluation into the product `A → ℂ`, |
| 14 | where each factor has the usual topology on the complex numbers. Thus this is |
| 15 | the topology generated by evaluations of regular functions, not a scheme's |
| 16 | Zariski topology. The connection with finite-dimensional affine coordinates is |
| 17 | proved separately in `PolynomialEvaluation`. |
| 18 | -/ |
| 19 | |
| 20 | universe u v |
| 21 | |
| 22 | variable {A : Type u} [CommRing A] [Algebra ℂ A] |
| 23 | |
| 24 | /-- Evaluation of a regular function at an affine complex point. -/ |
| 25 | def Foundations.Scheme.AffineComplexPoints.affineComplexPoints.eval (a : A) (x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : ℂ := x a |
| 26 | |
| 27 | /-- The ordinary topology generated by all complex-valued regular functions. -/ |
| 28 | noncomputable instance Foundations.Scheme.AffineComplexPoints.affineComplexPoints.instTopologicalSpace : TopologicalSpace (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) := |
| 29 | TopologicalSpace.induced |
| 30 | (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => (x : A → ℂ)) inferInstance |
| 31 | |
| 32 | /-- The topology on affine points is induced by their evaluations. -/ |
| 33 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isInducing_coe : |
| 34 | Topology.IsInducing (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => (x : A → ℂ)) := |
| 35 | ⟨rfl⟩ |
| 36 | |
| 37 | /-- Distinct algebra characters are separated by evaluation. -/ |
| 38 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isEmbedding_coe : |
| 39 | Topology.IsEmbedding (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => (x : A → ℂ)) := |
| 40 | ⟨Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isInducing_coe, DFunLike.coe_injective⟩ |
| 41 | |
| 42 | /-- Evaluation of every regular function is continuous. -/ |
| 43 | @[continuity, fun_prop] |
| 44 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_eval (a : A) : Continuous (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.eval a) := |
| 45 | (continuous_apply a).comp continuous_induced_dom |
| 46 | |
| 47 | /-- Continuity into affine points is exactly continuity of all evaluations. -/ |
| 48 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.continuous_iff {X : Type v} [TopologicalSpace X] |
| 49 | (f : X → Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) : |
| 50 | Continuous f ↔ ∀ a : A, Continuous (fun x => f x a) := by |
| 51 | exact continuous_induced_rng.trans continuous_pi_iff |
| 52 | |
| 53 | /-- Equivalently, the point topology is the infimum of the evaluation topologies. -/ |
| 54 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.topology_eq_iInf : |
| 55 | (inferInstance : TopologicalSpace (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A)) = |
| 56 | ⨅ a : A, TopologicalSpace.induced (Foundations.Scheme.AffineComplexPoints.affineComplexPoints.eval a) inferInstance := by |
| 57 | change TopologicalSpace.induced |
| 58 | (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => (x : A → ℂ)) |
| 59 | (⨅ a : A, TopologicalSpace.induced (fun f : A → ℂ => f a) inferInstance) = _ |
| 60 | rw [induced_iInf] |
| 61 | apply iInf_congr |
| 62 | intro a |
| 63 | rw [induced_compose] |
| 64 | rfl |
| 65 | |
| 66 | /-- Open sets of affine points are intersections with open sets of the product. -/ |
| 67 | theorem Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isOpen_iff (s : Set (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A)) : |
| 68 | IsOpen s ↔ ∃ t : Set (A → ℂ), IsOpen t ∧ |
| 69 | (fun x : Foundations.Scheme.AffineComplexPoints.affineComplexPoints A => (x : A → ℂ)) ⁻¹' t = s := |
| 70 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isInducing_coe.isOpen_iff |
| 71 | |
| 72 | /-- The ordinary topology on affine complex points is Hausdorff. -/ |
| 73 | instance Foundations.Scheme.AffineComplexPoints.affineComplexPoints.instT2Space : T2Space (Foundations.Scheme.AffineComplexPoints.affineComplexPoints A) := |
| 74 | Foundations.Scheme.AffineComplexPoints.affineComplexPoints.isEmbedding_coe.t2Space |
| 75 | |
| 76 | end OAI.AlgebraicGeometry |