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.AbelianModuli.ReferenceFamily.ReflectionOrbit |
| 2 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 3 | |
| 4 | /-! # Reflection Continuity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReflectionContinuity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Continuity of the actual rank-three reflection formula and approximation |
| 11 | of its negative-unit orbits by any dense set of reflection vectors. Arithmetic |
| 12 | density and finite-prime congruence conditions remain separate obligations. |
| 13 | -/ |
| 14 | |
| 15 | open scoped _root_.Topology |
| 16 | |
| 17 | variable (B : (Fin 3 → ℂ) →ₗ[ℂ] (Fin 3 → ℂ) →ₛₗ[starRingEnd ℂ] ℂ) |
| 18 | |
| 19 | def complexPairingFunctional (y : Fin 3 → ℂ) : (Fin 3 → ℂ) →ₗ[ℂ] ℂ where |
| 20 | toFun x := B x y |
| 21 | map_add' x z := by simp only [map_add, LinearMap.add_apply] |
| 22 | map_smul' a x := by simp only [map_smul, LinearMap.smul_apply, smul_eq_mul, |
| 23 | RingHom.id_apply] |
| 24 | |
| 25 | theorem continuous_complexPairing_left (y : Fin 3 → ℂ) : Continuous (fun x => B x y) := |
| 26 | (complexPairingFunctional B y).continuous_of_finiteDimensional |
| 27 | |
| 28 | theorem continuous_complexPairing_right |
| 29 | (hB : ∀ x y, B x y = star (B y x)) (y : Fin 3 → ℂ) : |
| 30 | Continuous (fun x => B y x) := |
| 31 | (continuous_star.comp (continuous_complexPairing_left B y)).congr |
| 32 | (fun x => (hB y x).symm) |
| 33 | |
| 34 | theorem continuous_complexPairing_diagonal |
| 35 | (hB : ∀ x y, B x y = star (B y x)) : Continuous (fun x => B x x) := by |
| 36 | have hsum : Continuous (fun v : Fin 3 → ℂ => |
| 37 | ∑ i, v i * B (Pi.single i 1) v) := |
| 38 | continuous_finsetSum _ (fun i _ => |
| 39 | (continuous_apply i).mul (continuous_complexPairing_right B hB (Pi.single i 1))) |
| 40 | apply hsum.congr |
| 41 | intro v |
| 42 | exact ReflectionDeterminant.linearFunctional_single_sum (complexPairingFunctional B v) v |
| 43 | |
| 44 | /-- The formula is defined everywhere; it agrees with the constructed |
| 45 | reflection whenever its reflection vector is nonisotropic. -/ |
| 46 | def complexReflectionValue (x v : Fin 3 → ℂ) : Fin 3 → ℂ := |
| 47 | x - (2 * (B x v / B v v)) • v |
| 48 | |
| 49 | theorem complexReflectionValue_eq (x v : Fin 3 → ℂ) (hv : B v v ≠ 0) : |
| 50 | complexReflectionValue B x v = Hermitian.Reflection.hermitianReflection (starRingEnd ℂ) B v hv x := rfl |
| 51 | |
| 52 | theorem continuousAt_complexReflectionValue |
| 53 | (hB : ∀ x y, B x y = star (B y x)) (x v : Fin 3 → ℂ) (hv : B v v ≠ 0) : |
| 54 | ContinuousAt (complexReflectionValue B x) v := by |
| 55 | have hs : ContinuousAt (fun a => (2 : ℂ) * (B x a / B a a)) v := |
| 56 | continuousAt_const.mul |
| 57 | ((continuous_complexPairing_right B hB x).continuousAt.div |
| 58 | (continuous_complexPairing_diagonal B hB).continuousAt hv) |
| 59 | have hi : ContinuousAt (fun a : Fin 3 → ℂ => a) v := continuousAt_id |
| 60 | exact continuousAt_const.sub (hs.smul hi) |
| 61 | |
| 62 | theorem exists_dense_reflection_vector_in_orbit_neighborhood |
| 63 | (hB : ∀ x y, B x y = star (B y x)) |
| 64 | (D : Set (Fin 3 → ℂ)) (hD : Dense D) |
| 65 | (w : Fin 3 → ℂ) (hw : B w w ≠ 0) |
| 66 | (x y : Fin 3 → ℂ) (hx : B x x = -1) (hy : B y y = -1) |
| 67 | (U : Set (Fin 3 → ℂ)) (hU : IsOpen U) |
| 68 | (hyU : ∀ u : ℂ, ‖u‖ = 1 → u • y ∈ U) : |
| 69 | ∃ v ∈ D, ∃ hv : B v v ≠ 0, |
| 70 | ReflectionDeterminant.twoHermitianReflections (starRingEnd ℂ) B v w hv hw x ∈ U := by |
| 71 | obtain ⟨u, hu, v, hv, hmove, _, _⟩ := |
| 72 | ReflectionOrbit.exists_two_reflections_between_negative_unit_vectors B hB w hw x y hx hy |
| 73 | let z := Hermitian.Reflection.hermitianReflection (starRingEnd ℂ) B w hw x |
| 74 | have hhit : complexReflectionValue B z v ∈ U := by |
| 75 | change ReflectionDeterminant.twoHermitianReflections (starRingEnd ℂ) B v w hv hw x ∈ U |
| 76 | rw [hmove] |
| 77 | exact hyU u hu |
| 78 | have hnoniso : {a | B a a ≠ 0} ∈ 𝓝 v := |
| 79 | (isOpen_ne_fun (continuous_complexPairing_diagonal B hB) continuous_const).mem_nhds hv |
| 80 | have hpre : (complexReflectionValue B z) ⁻¹' U ∈ 𝓝 v := |
| 81 | (continuousAt_complexReflectionValue B hB z v hv).preimage_mem_nhds |
| 82 | (hU.mem_nhds hhit) |
| 83 | obtain ⟨W, hWsub, hW, hvW⟩ := mem_nhds_iff.mp (Filter.inter_mem hnoniso hpre) |
| 84 | obtain ⟨a, haD, haW⟩ := hD.exists_mem_open hW ⟨v, hvW⟩ |
| 85 | obtain ⟨ha, hUa⟩ := hWsub haW |
| 86 | exact ⟨a, haD, ha, hUa⟩ |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ReflectionContinuity |