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 |
| 2 | import OAI.Geometry.ComplexBall.PrescribedSignsB |
| 3 | import OAI.AlgebraicGeometry.ComplexPoints.Analytic.ProjectiveCharts |
| 4 | |
| 5 | /-! # Data -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.ArithmeticGroups.Data.CongruenceLevel |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | CongruenceLevel definitions, copied from the committed specification with declaration-equivalent |
| 13 | repairs: `Σ` is renamed `Place`; imported definitions are rehosted/reused from |
| 14 | proved modules instead of importing statement stubs. No target result is assumed. |
| 15 | The analytical torus model and diagonal Hermitian form are unchanged. |
| 16 | -/ |
| 17 | open scoped Classical |
| 18 | open OAI.Geometry.ComplexBall.PrescribedSignsB |
| 19 | open OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates |
| 20 | |
| 21 | abbrev VE (E : Type*) := Fin 3 → E |
| 22 | |
| 23 | variable {E Place : Type*} |
| 24 | [Field E] [NumberField E] [Algebra ℚ E] |
| 25 | [NumberField.IsCMField E] [Fintype Place] |
| 26 | |
| 27 | def hermitian (b : E) (x y : VE E) : E := |
| 28 | ∑ i, (if i = 2 then b else 1) * x i * |
| 29 | NumberField.IsCMField.complexConj E (y i) |
| 30 | |
| 31 | def IsProjectiveComplexTorus (V : Type*) [NormedAddCommGroup V] [NormedSpace ℂ V] (Λ : AddSubgroup V) : Prop := |
| 32 | ∃ (n : ℕ) (f : V ⧸ Λ → Projectivization ℂ (Fin (n + 1) → ℂ)), |
| 33 | Topology.IsClosedEmbedding f ∧ |
| 34 | ∀ z : V, ∃ i : Fin (n + 1), |
| 35 | AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.InPatch i (f (QuotientAddGroup.mk z)) ∧ |
| 36 | DifferentiableAt ℂ |
| 37 | (fun w : V => AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.coordinates i (f (QuotientAddGroup.mk w))) z ∧ |
| 38 | Function.Injective (fderiv ℂ |
| 39 | (fun w : V => AlgebraicGeometry.Foundations.Scheme.ProjectiveCoordinatesIn.Algebraic.ProjectiveCoordinates.coordinates i (f (QuotientAddGroup.mk w))) z) |
| 40 | |
| 41 | /-- A full integral lattice in V, stable under O_E. -/ |
| 42 | def FullStableLattice (Λ : Submodule ℤ (VE E)) : Prop := |
| 43 | Λ.FG ∧ |
| 44 | Submodule.span ℚ (Λ : Set (VE E)) = ⊤ ∧ |
| 45 | ∀ (a : NumberField.RingOfIntegers E) (x : VE E), |
| 46 | x ∈ Λ → (a : E) • x ∈ Λ |
| 47 | |
| 48 | /-- Principal congruence level in the unitary isometry group. -/ |
| 49 | def PrincipalLevel |
| 50 | (b : E) (Λ : Submodule ℤ (VE E)) (N : ℕ) |
| 51 | (g : VE E ≃ₗ[E] VE E) : Prop := |
| 52 | (∀ x y, |
| 53 | hermitian b (g x) (g y) = hermitian b x y) ∧ |
| 54 | (∀ x, x ∈ Λ ↔ g x ∈ Λ) ∧ |
| 55 | ∀ x ∈ Λ, ∃ y ∈ Λ, g x - x = (N : ℤ) • y |
| 56 | |
| 57 | /-- |
| 58 | Analytic model of a polarized abelian fiber: |
| 59 | the tangent space is the quotient by P; its period lattice comes |
| 60 | from Λ; the integral action descends; and the polarization is ψ. |
| 61 | -/ |
| 62 | def AnalyticPolarizedFiber |
| 63 | (σ : Place → E →ₐ[ℚ] ℂ) |
| 64 | (Λ : Submodule ℤ (VE E)) |
| 65 | (ψ : VE E → VE E → ℚ) |
| 66 | (P : Submodule ℂ (Geometry.ComplexBall.PrescribedSignsB.Ambient Place)) : Prop := |
| 67 | let T := Fin (3 * Fintype.card Place) → ℂ |
| 68 | ∃ (π : Geometry.ComplexBall.PrescribedSignsB.Ambient Place →ₗ[ℂ] T) |
| 69 | (Γ : AddSubgroup T) |
| 70 | (H : T →ₗ⋆[ℂ] T →ₗ[ℂ] ℂ) |
| 71 | (ρ : NumberField.RingOfIntegers E →+* Module.End ℂ T), |
| 72 | π.ker = P ∧ |
| 73 | Function.Surjective π ∧ |
| 74 | Function.Injective (fun x : VE E => |
| 75 | π (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ x)) ∧ |
| 76 | (∀ t : T, t ∈ Γ ↔ |
| 77 | ∃ x : VE E, x ∈ Λ ∧ |
| 78 | t = π (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ x)) ∧ |
| 79 | DiscreteTopology Γ ∧ |
| 80 | CompactSpace (T ⧸ Γ) ∧ |
| 81 | IsProjectiveComplexTorus T Γ ∧ |
| 82 | (∀ u v : T, H v u = star (H u v)) ∧ |
| 83 | (∀ u : T, u ≠ 0 → 0 < (H u u).re) ∧ |
| 84 | (∀ x y : VE E, |
| 85 | (H (π (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ x)) |
| 86 | (π (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ y))).im = |
| 87 | (ψ x y : ℝ)) ∧ |
| 88 | (∀ (a : NumberField.RingOfIntegers E) (x : VE E), |
| 89 | ρ a (π (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ x)) = |
| 90 | π (Geometry.ComplexBall.PrescribedSignsB.embeddingCoordinates σ ((a : E) • x))) |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.ArithmeticGroups.Data.CongruenceLevel |