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.AdelicSplitting.LocalCompact |
| 2 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Oscillator |
| 3 | import OAI.RepresentationTheory.Weil.AdelicSplitting.Integral |
| 4 | |
| 5 | /-! # Vacuum -/ |
| 6 | |
| 7 | namespace OAI.RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Integral symplectic groups and the actual unramified vacuum. |
| 12 | The cover's restricted subgroup fixes the characteristic function of O_v^N. -/ |
| 13 | |
| 14 | open scoped _root_.NumberField Classical |
| 15 | open IsDedekindDomain Filter |
| 16 | |
| 17 | def mapSymplectic {R S : Type*} [CommRing R] [CommRing S] (N : ℕ) (f : R →+* S) : |
| 18 | Matrix.symplecticGroup (Fin N) R →* Matrix.symplecticGroup (Fin N) S where |
| 19 | toFun g := ⟨g.val.map f, SymplecticGroup.map_mem g.property f⟩ |
| 20 | map_one' := by apply Subtype.ext; simp |
| 21 | map_mul' g h := by apply Subtype.ext; exact Matrix.map_mul |
| 22 | |
| 23 | variable (F : Type) [Field F] [NumberField F] (N : ℕ) |
| 24 | |
| 25 | def symplecticIntegral (v : ArchimedeanAdeles.Construction.Places F) : Subgroup (Local.FunctionsMetaplectic.Construction.Symplectic (ArchimedeanAdeles.Construction.Completion F v) N) := |
| 26 | Integral.Construction.integralMatrixGroup (Matrix.symplecticGroup (Fin N) (ArchimedeanAdeles.Construction.Completion F v)).subtype |
| 27 | (Integral.Construction.localIntegerRing F v) |
| 28 | |
| 29 | def rationalSymplecticLocal (v : ArchimedeanAdeles.Construction.Places F) : Local.FunctionsMetaplectic.Construction.Symplectic F N →* Local.FunctionsMetaplectic.Construction.Symplectic (ArchimedeanAdeles.Construction.Completion F v) N := |
| 30 | mapSymplectic N (ArchimedeanAdeles.Construction.rationalScalar F v) |
| 31 | |
| 32 | theorem rationalSymplecticLocal_integral (g : Local.FunctionsMetaplectic.Construction.Symplectic F N) : |
| 33 | ∀ᶠ v in cofinite, rationalSymplecticLocal F N v g ∈ symplecticIntegral F N v := by |
| 34 | have hv : ∀ᶠ v in cofinite, ∀ i j, ArchimedeanAdeles.Construction.rationalScalar F v (g.val i j) ∈ Integral.Construction.localIntegerRing F v := |
| 35 | Filter.eventually_all.mpr fun i => Filter.eventually_all.mpr fun j => |
| 36 | Integral.Construction.rationalScalar_integral F (g.val i j) |
| 37 | have hi : ∀ᶠ v in cofinite, ∀ i j, ArchimedeanAdeles.Construction.rationalScalar F v ((g⁻¹).val i j) ∈ Integral.Construction.localIntegerRing F v := |
| 38 | Filter.eventually_all.mpr fun i => Filter.eventually_all.mpr fun j => |
| 39 | Integral.Construction.rationalScalar_integral F ((g⁻¹).val i j) |
| 40 | filter_upwards [hv, hi] with v hv hi |
| 41 | refine ⟨hv, ?_⟩ |
| 42 | intro i j |
| 43 | change ((rationalSymplecticLocal F N v g)⁻¹).val i j ∈ Integral.Construction.localIntegerRing F v |
| 44 | rw [← map_inv] |
| 45 | exact hi i j |
| 46 | |
| 47 | abbrev AdelicSymplectic := RestrictedLimits.Construction.RestrictedGroup (symplecticIntegral F N) |
| 48 | |
| 49 | def rationalSymplectic : Local.FunctionsMetaplectic.Construction.Symplectic F N →* AdelicSymplectic F N := |
| 50 | RestrictedLimits.Construction.diagonalMap (symplecticIntegral F N) (rationalSymplecticLocal F N) |
| 51 | (rationalSymplecticLocal_integral F N) |
| 52 | |
| 53 | def finitePositionLattice (v : HeightOneSpectrum (𝓞 F)) : Set (Local.FunctionsMetaplectic.Construction.Position (v.adicCompletion F) N) := |
| 54 | Set.univ.pi (fun _ => (v.adicCompletionIntegers F : Set (v.adicCompletion F))) |
| 55 | |
| 56 | theorem finitePositionLattice_clopen (v : HeightOneSpectrum (𝓞 F)) : |
| 57 | IsClopen (finitePositionLattice F N v) := by |
| 58 | constructor |
| 59 | · exact isClosed_set_pi fun _ _ => Valued.isClosed_integer _ |
| 60 | · exact isOpen_set_pi Set.finite_univ fun _ _ => Valued.isOpen_integer _ |
| 61 | |
| 62 | theorem finitePositionLattice_compact (v : HeightOneSpectrum (𝓞 F)) : |
| 63 | IsCompact (finitePositionLattice F N v) := by |
| 64 | have h : (v.adicCompletionIntegers F : Set (v.adicCompletion F)) = |
| 65 | Metric.closedBall (0 : v.adicCompletion F) 1 := by |
| 66 | ext x |
| 67 | simp only [Metric.mem_closedBall, dist_zero_right, |
| 68 | Valued.toNormedField.norm_le_one_iff] |
| 69 | rfl |
| 70 | have hc : IsCompact (v.adicCompletionIntegers F : Set (v.adicCompletion F)) := by |
| 71 | rw [h] |
| 72 | exact isCompact_closedBall 0 1 |
| 73 | simpa [finitePositionLattice, Set.pi] using |
| 74 | (isCompact_pi_infinite fun _ : Fin N => hc) |
| 75 | |
| 76 | def finiteVacuum (v : HeightOneSpectrum (𝓞 F)) : Local.FunctionsMetaplectic.Construction.schwartzBruhat (v.adicCompletion F) N := by |
| 77 | let f := LocallyConstant.charFn ℂ (finitePositionLattice_clopen F N v) |
| 78 | refine ⟨f, Local.FunctionsMetaplectic.Construction.compact_locallyConstant_mem f.isLocallyConstant ?_⟩ |
| 79 | apply HasCompactSupport.intro (finitePositionLattice_compact F N v) |
| 80 | intro x hx |
| 81 | exact Set.indicator_of_notMem hx 1 |
| 82 | |
| 83 | theorem finiteVacuum_zero (v : HeightOneSpectrum (𝓞 F)) : |
| 84 | (finiteVacuum F N v).val 0 = 1 := by |
| 85 | change (LocallyConstant.charFn ℂ (finitePositionLattice_clopen F N v)) 0 = 1 |
| 86 | apply (LocallyConstant.charFn_eq_one ℂ 0 (finitePositionLattice_clopen F N v)).mpr |
| 87 | intro i hi |
| 88 | exact (v.adicCompletionIntegers F).zero_mem |
| 89 | |
| 90 | variable (ψ : AddChar (ArchimedeanAdeles.Construction.Adeles F) ℂ) |
| 91 | |
| 92 | abbrev CoverAt (v : ArchimedeanAdeles.Construction.Places F) := |
| 93 | Oscillator.Construction.LocalCover (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) |
| 94 | |
| 95 | def projectionAt (v : ArchimedeanAdeles.Construction.Places F) : CoverAt F N ψ v →* Local.FunctionsMetaplectic.Construction.Symplectic (ArchimedeanAdeles.Construction.Completion F v) N := |
| 96 | Oscillator.Construction.localProjection (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) |
| 97 | |
| 98 | def scalarAt (v : ArchimedeanAdeles.Construction.Places F) : Circle →* CoverAt F N ψ v := |
| 99 | Oscillator.Construction.localScalar (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) |
| 100 | |
| 101 | def coverIntegral (v : ArchimedeanAdeles.Construction.Places F) : Subgroup (CoverAt F N ψ v) := |
| 102 | (symplecticIntegral F N v).comap (projectionAt F N ψ v) ⊓ |
| 103 | match v with |
| 104 | | Sum.inl _ => ⊤ |
| 105 | | Sum.inr p => |
| 106 | letI : MeasurableSpace (p.adicCompletion F) := ArchimedeanAdeles.Construction.completionMeasurableSpace F (Sum.inr p) |
| 107 | letI : BorelSpace (p.adicCompletion F) := ArchimedeanAdeles.Construction.completionBorelSpace F (Sum.inr p) |
| 108 | Oscillator.Construction.vacuumStabilizer (p.adicCompletion F) N |
| 109 | (Characters.Construction.localAdditiveCharacter F ψ (Sum.inr p)) (finiteVacuum F N p) |
| 110 | |
| 111 | theorem coverIntegral_projects (v : ArchimedeanAdeles.Construction.Places F) : |
| 112 | Set.MapsTo (projectionAt F N ψ v) (coverIntegral F N ψ v) (symplecticIntegral F N v) := |
| 113 | fun _ h => h.1 |
| 114 | |
| 115 | abbrev GlobalCover := CentralProduct.Construction.AdelicCover (coverIntegral F N ψ) (scalarAt F N ψ) |
| 116 | |
| 117 | def globalProjection : GlobalCover F N ψ →* AdelicSymplectic F N := |
| 118 | CentralProduct.Construction.adelicProjection (coverIntegral F N ψ) (symplecticIntegral F N) (scalarAt F N ψ) |
| 119 | (projectionAt F N ψ) (Filter.Eventually.of_forall (coverIntegral_projects F N ψ)) |
| 120 | (fun v z => Oscillator.Construction.localProjection_scalar (ArchimedeanAdeles.Construction.Completion F v) N (Characters.Construction.localAdditiveCharacter F ψ v) z) |
| 121 | |
| 122 | def globalInclude (v : ArchimedeanAdeles.Construction.Places F) : CoverAt F N ψ v →ₜ* GlobalCover F N ψ := |
| 123 | CentralProduct.Construction.includeCoverContinuous (coverIntegral F N ψ) (scalarAt F N ψ) v |
| 124 | |
| 125 | @[simp] theorem globalProjection_include (v : ArchimedeanAdeles.Construction.Places F) (g : CoverAt F N ψ v) : |
| 126 | globalProjection F N ψ (globalInclude F N ψ v g) = |
| 127 | RestrictedLimits.Construction.includePlace (symplecticIntegral F N) v (projectionAt F N ψ v g) := |
| 128 | CentralProduct.Construction.adelicProjection_include (coverIntegral F N ψ) (symplecticIntegral F N) (scalarAt F N ψ) |
| 129 | (projectionAt F N ψ) (Filter.Eventually.of_forall (coverIntegral_projects F N ψ)) |
| 130 | (fun w z => Oscillator.Construction.localProjection_scalar (ArchimedeanAdeles.Construction.Completion F w) N (Characters.Construction.localAdditiveCharacter F ψ w) z) v g |
| 131 | |
| 132 | end |
| 133 | |
| 134 | end OAI.RepresentationTheory.Weil.AdelicSplitting.Vacuum.Construction |