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.RepresentationTheory.Weil.Local.FunctionsMetaplectic |
| 2 | |
| 3 | /-! # Unitary Inner -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Weil.Local.UnitaryInner.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! The concrete LocalWeil test space embeds in L² with its specified energy. -/ |
| 12 | |
| 13 | open _root_.MeasureTheory |
| 14 | open scoped ENNReal |
| 15 | |
| 16 | variable (F : Type) [NormedField F] [LocallyCompactSpace F] |
| 17 | [MeasurableSpace F] [BorelSpace F] [SecondCountableTopology F] |
| 18 | |
| 19 | abbrev referencePositionMeasure (d : ℕ) : Measure (FunctionsMetaplectic.Construction.Position F d) := |
| 20 | Measure.pi (fun _ : Fin d => (Measure.addHaar : Measure F)) |
| 21 | |
| 22 | theorem test_memLp_two (d : ℕ) (f : FunctionsMetaplectic.Construction.schwartzBruhat F d) : |
| 23 | MemLp f.val 2 (referencePositionMeasure F d) := |
| 24 | FunctionsMetaplectic.Construction.schwartzBruhat_memLp _ 2 f.property |
| 25 | |
| 26 | def testToL2 (d : ℕ) : FunctionsMetaplectic.Construction.schwartzBruhat F d →ₗ[ℂ] |
| 27 | Lp ℂ 2 (referencePositionMeasure F d) where |
| 28 | toFun f := (test_memLp_two F d f).toLp f.val |
| 29 | map_add' _ _ := rfl |
| 30 | map_smul' _ _ := rfl |
| 31 | |
| 32 | theorem testToL2_injective (d : ℕ) : Function.Injective (testToL2 F d) := by |
| 33 | intro f g h |
| 34 | apply Subtype.ext |
| 35 | have hae : f.val =ᵐ[referencePositionMeasure F d] g.val := |
| 36 | (MemLp.toLp_eq_toLp_iff (test_memLp_two F d f) (test_memLp_two F d g)).mp h |
| 37 | exact MeasureTheory.Measure.eq_of_ae_eq hae |
| 38 | (FunctionsMetaplectic.Construction.schwartzBruhat_continuous f.property) (FunctionsMetaplectic.Construction.schwartzBruhat_continuous g.property) |
| 39 | |
| 40 | theorem testToL2_norm (d : ℕ) (f : FunctionsMetaplectic.Construction.schwartzBruhat F d) : |
| 41 | ‖testToL2 F d f‖ = Real.sqrt (FunctionsMetaplectic.Construction.l2Energy F d f) := by |
| 42 | change ‖(test_memLp_two F d f).toLp f.val‖ = _ |
| 43 | rw [Lp.norm_toLp, |
| 44 | MemLp.eLpNorm_eq_integral_rpow_norm (by norm_num) (by norm_num) (test_memLp_two F d f)] |
| 45 | simp only [ENNReal.toReal_ofNat, Real.rpow_two] |
| 46 | rw [← one_div (2 : ℝ), ← Real.sqrt_eq_rpow, |
| 47 | ENNReal.toReal_ofReal (Real.sqrt_nonneg _)] |
| 48 | rfl |
| 49 | |
| 50 | end |
| 51 | |
| 52 | /-! Energy-preserving operators preserve the genuine L² inner product. -/ |
| 53 | |
| 54 | open _root_.MeasureTheory |
| 55 | open scoped InnerProductSpace ComplexConjugate |
| 56 | |
| 57 | theorem inner_eq_of_linear_norm_eq |
| 58 | {S V : Type} [AddCommGroup S] [Module ℂ S] |
| 59 | [NormedAddCommGroup V] [InnerProductSpace ℂ V] |
| 60 | (L M : S →ₗ[ℂ] V) (h : ∀ f, ‖L f‖ = ‖M f‖) (f g : S) : |
| 61 | ⟪L f, L g⟫_ℂ = ⟪M f, M g⟫_ℂ := by |
| 62 | simp only [inner_eq_sum_norm_sq_div_four, ← map_add, ← map_sub, ← map_smul, h] |
| 63 | |
| 64 | variable (F : Type) [NormedField F] [LocallyCompactSpace F] |
| 65 | [MeasurableSpace F] [BorelSpace F] [SecondCountableTopology F] |
| 66 | variable (d : ℕ) |
| 67 | |
| 68 | theorem testToL2_inner (f g : FunctionsMetaplectic.Construction.schwartzBruhat F d) : |
| 69 | ⟪testToL2 F d f, testToL2 F d g⟫_ℂ = |
| 70 | ∫ x, g.val x * conj (f.val x) ∂ referencePositionMeasure F d := by |
| 71 | change (∫ x, ⟪(testToL2 F d f) x, (testToL2 F d g) x⟫_ℂ |
| 72 | ∂ referencePositionMeasure F d) = _ |
| 73 | apply integral_congr_ae |
| 74 | filter_upwards [(test_memLp_two F d f).coeFn_toLp, |
| 75 | (test_memLp_two F d g).coeFn_toLp] with x hf hg |
| 76 | change (testToL2 F d f) x = f.val x at hf |
| 77 | change (testToL2 F d g) x = g.val x at hg |
| 78 | rw [hf, hg] |
| 79 | simp only [RCLike.inner_apply] |
| 80 | |
| 81 | theorem energy_preserving_inner |
| 82 | (A : FunctionsMetaplectic.Construction.schwartzBruhat F d →ₗ[ℂ] FunctionsMetaplectic.Construction.schwartzBruhat F d) |
| 83 | (hA : ∀ f, FunctionsMetaplectic.Construction.l2Energy F d (A f) = FunctionsMetaplectic.Construction.l2Energy F d f) |
| 84 | (f g : FunctionsMetaplectic.Construction.schwartzBruhat F d) : |
| 85 | ⟪testToL2 F d (A f), testToL2 F d (A g)⟫_ℂ = |
| 86 | ⟪testToL2 F d f, testToL2 F d g⟫_ℂ := by |
| 87 | apply inner_eq_of_linear_norm_eq ((testToL2 F d).comp A) (testToL2 F d) |
| 88 | intro h |
| 89 | change ‖testToL2 F d (A h)‖ = ‖testToL2 F d h‖ |
| 90 | rw [testToL2_norm, testToL2_norm, hA] |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.RepresentationTheory.Weil.Local.UnitaryInner.Construction |