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.HodgeConjecture.HeckeCycles.Finite.FiniteOscillator |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.LatticeVolumes |
| 3 | |
| 4 | /-! # Unitary Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.UnitaryTransport.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Normalize pullback along an actual continuous linear change of |
| 11 | finite adelic coordinates to a unitary automorphism of the test space. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.MeasureTheory |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.FiniteMeasure.CM |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.FiniteOscillator.CM |
| 17 | |
| 18 | variable {I : Type*} [Fintype I] |
| 19 | |
| 20 | def factor (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : NNReal := |
| 21 | Measure.addHaarScalarFactor ((Constructed.FiniteMeasure.CM.measure I).map e) (Constructed.FiniteMeasure.CM.measure I) |
| 22 | |
| 23 | theorem factor_pos (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : 0 < factor e := |
| 24 | Measure.addHaarScalarFactor_pos_of_isAddHaarMeasure _ _ |
| 25 | |
| 26 | theorem integral_change (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) (f : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) → ℂ) : |
| 27 | (∫ x, f (e x) ∂(Constructed.FiniteMeasure.CM.measure I)) = (factor e : ℂ) * ∫ x, f x ∂(Constructed.FiniteMeasure.CM.measure I) := by |
| 28 | have he := e.toHomeomorph.isClosedEmbedding.integral_map (μ := Constructed.FiniteMeasure.CM.measure I) f |
| 29 | change (∫ x, f x ∂((Constructed.FiniteMeasure.CM.measure I).map e)) = ∫ x, f (e x) ∂(Constructed.FiniteMeasure.CM.measure I) at he |
| 30 | rw [← he] |
| 31 | rw [Measure.isAddLeftInvariant_eq_smul ((Constructed.FiniteMeasure.CM.measure I).map e) (Constructed.FiniteMeasure.CM.measure I), |
| 32 | integral_smul_nnreal_measure] |
| 33 | rfl |
| 34 | |
| 35 | def scalar (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : ℝ := (Real.sqrt (factor e : ℝ))⁻¹ |
| 36 | |
| 37 | theorem scalar_ne_zero (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : scalar e ≠ 0 := by |
| 38 | apply inv_ne_zero |
| 39 | exact (Real.sqrt_pos.mpr (by exact_mod_cast factor_pos e)).ne' |
| 40 | |
| 41 | theorem scalar_sq (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : scalar e ^ 2 * (factor e : ℝ) = 1 := by |
| 42 | have hc : (factor e : ℝ) ≠ 0 := by exact_mod_cast (factor_pos e).ne' |
| 43 | have hs : (Real.sqrt (factor e : ℝ)) ^ 2 = (factor e : ℝ) := Real.sq_sqrt (factor e).property |
| 44 | unfold scalar |
| 45 | rw [inv_pow, hs, inv_mul_cancel₀ hc] |
| 46 | |
| 47 | def pullback (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I := |
| 48 | ⟨f.val ∘ e, (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_mem_iff _).mpr |
| 49 | ⟨((RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_mem_iff _).mp f.property).1.comp_continuous e.continuous, |
| 50 | (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Construction.finiteSchwartz_hasCompactSupport f).comp_homeomorph e.toHomeomorph⟩⟩ |
| 51 | |
| 52 | def pullbackEquiv (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I where |
| 53 | toFun := pullback e |
| 54 | invFun := pullback e.symm |
| 55 | left_inv f := by |
| 56 | apply Subtype.ext |
| 57 | funext x |
| 58 | change f.val (e (e.symm x)) = f.val x |
| 59 | rw [e.apply_symm_apply] |
| 60 | right_inv f := by |
| 61 | apply Subtype.ext |
| 62 | funext x |
| 63 | change f.val (e.symm (e x)) = f.val x |
| 64 | rw [e.symm_apply_apply] |
| 65 | map_add' _ _ := rfl |
| 66 | map_smul' _ _ := rfl |
| 67 | |
| 68 | def transport (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I ≃ₗ[ℂ] RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I := |
| 69 | (pullbackEquiv e).trans |
| 70 | (LinearEquiv.smulOfNeZero ℂ (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (scalar e : ℂ) |
| 71 | (Complex.ofReal_ne_zero.mpr (scalar_ne_zero e))) |
| 72 | |
| 73 | theorem transport_apply (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) (f : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 74 | (transport e f).val x = (scalar e : ℂ) * f.val (e x) := rfl |
| 75 | |
| 76 | theorem unitary (e : (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ≃L[RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf] (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) (f h : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : |
| 77 | FiniteOscillator.CM.integralPairing (transport e f) (transport e h) = FiniteOscillator.CM.integralPairing f h := by |
| 78 | have ha : (scalar e : ℂ) * star (scalar e : ℂ) * (factor e : ℂ) = 1 := by |
| 79 | rw [Complex.star_def, Complex.conj_ofReal, ← pow_two] |
| 80 | exact_mod_cast scalar_sq e |
| 81 | change (∫ x, (transport e f).val x * star ((transport e h).val x) ∂(Constructed.FiniteMeasure.CM.measure I)) = _ |
| 82 | simp_rw [transport_apply, star_mul] |
| 83 | calc |
| 84 | _ = ((scalar e : ℂ) * star (scalar e : ℂ)) * |
| 85 | ∫ x, f.val (e x) * star (h.val (e x)) ∂(Constructed.FiniteMeasure.CM.measure I) := by |
| 86 | rw [← integral_const_mul] |
| 87 | apply integral_congr_ae |
| 88 | exact Filter.Eventually.of_forall fun x => by ring |
| 89 | _ = _ := by |
| 90 | rw [integral_change e (fun x => f.val x * star (h.val x)), ← mul_assoc, ha, one_mul] |
| 91 | rfl |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.UnitaryTransport.CM |