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.CosetPhase |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.ProjectiveLevel |
| 3 | |
| 4 | /-! # Projective Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.ProjectiveOpen.CM |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Every concrete finite Schwartz test has an open projective |
| 11 | symplectic stabilizer. A finite coset expansion supplies all bounds; |
| 12 | no integral-support or smooth-action hypothesis is imposed. -/ |
| 13 | |
| 14 | open scoped Classical _root_.Matrix _root_.Topology |
| 15 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.ProjectiveLevel.TestTransport |
| 16 | |
| 17 | variable {I : Type*} [Fintype I] [DecidableEq I] |
| 18 | |
| 19 | def CosetControl (N : ℕ) (hN : 0 < N) (a : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : Prop := |
| 20 | CMExtraction.Finite.PhaseAction.TestTransport.finiteMomentum g 0 a ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (N : ℚ)⁻¹ (inv_ne_zero (by exact_mod_cast hN.ne')) ∧ |
| 21 | CMExtraction.Finite.PhaseAction.TestTransport.finitePosition g 0 a - a ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (N : ℚ) (by exact_mod_cast hN.ne') ∧ |
| 22 | (∑ i, CMExtraction.Finite.PhaseAction.TestTransport.finiteMomentum g 0 a i * (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) (CMExtraction.Finite.PhaseAction.TestTransport.finitePosition g 0 a)) i) ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele |
| 23 | |
| 24 | theorem cosetControl_one (N : ℕ) (hN : 0 < N) (a : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 25 | CosetControl N hN a 1 := by |
| 26 | have hp : CMExtraction.Finite.PhaseAction.TestTransport.finiteMomentum (1 : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) 0 a = 0 := by |
| 27 | unfold CMExtraction.Finite.PhaseAction.TestTransport.finiteMomentum |
| 28 | rw [show (1 : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf).val = 1 from rfl, Matrix.one_mulVec] |
| 29 | rfl |
| 30 | have hq : CMExtraction.Finite.PhaseAction.TestTransport.finitePosition (1 : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) 0 a = a := by |
| 31 | unfold CMExtraction.Finite.PhaseAction.TestTransport.finitePosition |
| 32 | rw [show (1 : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf).val = 1 from rfl, Matrix.one_mulVec] |
| 33 | rfl |
| 34 | simp only [CosetControl, hp, hq, sub_self, Pi.zero_apply, zero_mul, Finset.sum_const_zero] |
| 35 | exact ⟨(RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice _ _).zero_mem, (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice _ _).zero_mem, RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.zero_mem⟩ |
| 36 | |
| 37 | theorem cosetControl_isOpen (N : ℕ) (hN : 0 < N) (a : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 38 | IsOpen {g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf | CosetControl N hN a g} := by |
| 39 | have hp : Continuous (fun g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf => CMExtraction.Finite.PhaseAction.TestTransport.finiteMomentum g 0 a) := by fun_prop |
| 40 | have hq : Continuous (fun g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf => CMExtraction.Finite.PhaseAction.TestTransport.finitePosition g 0 a - a) := by fun_prop |
| 41 | have hc : Continuous (fun g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf => |
| 42 | ∑ i, CMExtraction.Finite.PhaseAction.TestTransport.finiteMomentum g 0 a i * (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) (CMExtraction.Finite.PhaseAction.TestTransport.finitePosition g 0 a)) i) := by |
| 43 | unfold RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale |
| 44 | fun_prop |
| 45 | exact ((RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice_isOpen _ _).preimage hp).inter |
| 46 | (((RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice_isOpen _ _).preimage hq).inter (RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.isOpen_integralAdele.preimage hc)) |
| 47 | |
| 48 | variable {MpR MpF MpA : Type*} [Group MpR] [Group MpF] [Group MpA] |
| 49 | (D : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.WeilData I MpR MpF MpA) |
| 50 | |
| 51 | theorem controlled_cosets (N : ℕ) (hN : 0 < N) (m : MpF) |
| 52 | (hm : CMExtraction.Finite.LatticeControl.TestTransport.FiniteLatticeControl N hN (D.finite.project m)) : |
| 53 | ∃ c : ℂ, ∀ a : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf, CosetControl N hN a (D.finite.project m) → |
| 54 | D.finite.action m (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeCosetTest (N : ℚ) (by exact_mod_cast hN.ne') a) = |
| 55 | c • RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeCosetTest (N : ℚ) (by exact_mod_cast hN.ne') a := by |
| 56 | let r : ℚ := N |
| 57 | have hr : r ≠ 0 := by |
| 58 | change (N : ℚ) ≠ 0 |
| 59 | exact_mod_cast hN.ne' |
| 60 | let f := RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction (ι := I) r hr |
| 61 | obtain ⟨c, hc⟩ := CMExtraction.Finite.LatticeControl.TestTransport.finite_lattice_control_scalar D N hN m hm f |
| 62 | (fun x hx => RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_of_notMem r hr |
| 63 | (fun h => hx (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice_nat_subset_integral N hN h))) |
| 64 | (fun u hu x => RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_add r hr hu x) |
| 65 | refine ⟨c, ?_⟩ |
| 66 | intro a ha |
| 67 | apply Subtype.ext |
| 68 | funext x |
| 69 | have ht := D.finite.intertwines m 0 a f (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeCosetTest r hr a) |
| 70 | (fun y => by rw [RepresentationTheory.Hecke.RadialDilation.FiniteHeisenberg.Realization.finite_heisenberg_translation]; rfl) x |
| 71 | change (D.finite.action m (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeCosetTest r hr a)).val x = |
| 72 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.heisenberg D.finiteCharacter (CMExtraction.Finite.PhaseAction.TestTransport.finiteMomentum (D.finite.project m) 0 a) |
| 73 | (CMExtraction.Finite.PhaseAction.TestTransport.finitePosition (D.finite.project m) 0 a) (D.finite.action m f).val x at ht |
| 74 | rw [ht, hc] |
| 75 | change _ * (c * f.val _) = c * (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeCosetTest r hr a).val x |
| 76 | rw [← mul_left_comm] |
| 77 | exact congrArg (fun z : ℂ => c * z) |
| 78 | (CosetPhase.CM.translate D r hr _ _ a ha.1 ha.2.1 ha.2.2 x) |
| 79 | |
| 80 | theorem isOpen (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (hφ : φ ≠ 0) : |
| 81 | IsOpen (CMExtraction.Finite.ProjectiveLevel.TestTransport.finiteProjectiveStabilizer D φ : Set (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) := by |
| 82 | obtain ⟨N, hN, s, hs⟩ := RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.finiteSchwartz_coset_expansion_eq φ |
| 83 | let r : ℚ := N |
| 84 | have hr : r ≠ 0 := by |
| 85 | change (N : ℚ) ≠ 0 |
| 86 | exact_mod_cast hN.ne' |
| 87 | let a := fun z : RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.FiniteQuotient (ι := I) r hr => RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteDiagonal (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteQuotientRep r hr z) |
| 88 | let S := s.image a |
| 89 | let W : Set (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) := {g | CMExtraction.Finite.LatticeControl.TestTransport.FiniteLatticeControl N hN g ∧ ∀ b ∈ S, CosetControl N hN b g} |
| 90 | have hw : IsOpen W := by |
| 91 | have hi := isOpen_biInter_finset (s := S) (fun b _ => cosetControl_isOpen N hN b) |
| 92 | have he : W = {g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf | CMExtraction.Finite.LatticeControl.TestTransport.FiniteLatticeControl N hN g} ∩ |
| 93 | (⋂ b ∈ S, {g : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf | CosetControl N hN b g}) := by |
| 94 | ext g |
| 95 | simp [W] |
| 96 | rw [he] |
| 97 | exact (CMExtraction.Finite.ControlOpen.TestTransport.finiteLatticeControl_isOpen N hN).inter hi |
| 98 | have h1 : (1 : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) ∈ W := |
| 99 | ⟨CMExtraction.Finite.ControlOpen.TestTransport.finiteLatticeControl_one N hN, fun b _ => cosetControl_one N hN b⟩ |
| 100 | apply (CMExtraction.Finite.ProjectiveLevel.TestTransport.finiteProjectiveStabilizer D φ).isOpen_of_mem_nhds (g := 1) |
| 101 | apply Filter.mem_of_superset (hw.mem_nhds h1) |
| 102 | intro g hg |
| 103 | obtain ⟨m, rfl⟩ := D.finite.surjective g |
| 104 | obtain ⟨c, hc⟩ := controlled_cosets D N hN m hg.1 |
| 105 | have he : D.finite.action m φ = c • φ := by |
| 106 | rw [hs, map_sum, Finset.smul_sum] |
| 107 | apply Finset.sum_congr rfl |
| 108 | intro z hz |
| 109 | rw [map_smul, hc (a z) (hg.2 (a z) (Finset.mem_image_of_mem a hz)), |
| 110 | smul_smul, smul_smul, mul_comm] |
| 111 | exact (CMExtraction.Finite.ProjectiveLevel.TestTransport.finiteProjectiveStabilizer_mem D φ m).mpr |
| 112 | ⟨Units.mk0 c (CMExtraction.EigenlineStabilizer.TestTransport.scalar_ne_zero_of_equiv D.finite.action φ m hφ c he), he⟩ |
| 113 | |
| 114 | def level (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) (hφ : φ ≠ 0) : OpenSubgroup (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) where |
| 115 | toSubgroup := CMExtraction.Finite.ProjectiveLevel.TestTransport.finiteProjectiveStabilizer D φ |
| 116 | isOpen' := isOpen D φ hφ |
| 117 | |
| 118 | theorem isOpen_all (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : |
| 119 | IsOpen (CMExtraction.Finite.ProjectiveLevel.TestTransport.finiteProjectiveStabilizer D φ : Set (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) := by |
| 120 | by_cases hφ : φ = 0 |
| 121 | · subst φ |
| 122 | have ht : (CMExtraction.Finite.ProjectiveLevel.TestTransport.finiteProjectiveStabilizer D (0 : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : Set (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) = Set.univ := by |
| 123 | apply Set.eq_univ_of_forall |
| 124 | intro g |
| 125 | obtain ⟨m, rfl⟩ := D.finite.surjective g |
| 126 | exact (CMExtraction.Finite.ProjectiveLevel.TestTransport.finiteProjectiveStabilizer_mem D 0 m).mpr ⟨1, by simp⟩ |
| 127 | rw [ht] |
| 128 | exact isOpen_univ |
| 129 | · exact isOpen D φ hφ |
| 130 | |
| 131 | def allLevel (φ : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.finiteSchwartz I) : OpenSubgroup (RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.Sp I RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) where |
| 132 | toSubgroup := CMExtraction.Finite.ProjectiveLevel.TestTransport.finiteProjectiveStabilizer D φ |
| 133 | isOpen' := isOpen_all D φ |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.ProjectiveOpen.CM |