chars
int64
40
24k
content_type
stringclasses
9 values
id
stringlengths
13
64
source
stringclasses
5 values
subset
stringclasses
31 values
text
stringlengths
40
24k
72
leanexplore_declaration
leanexplore:381971
leanexplore_sqlite
leanexplore_declarations
@[to_additive] instance {α : Type*} [Finite α] : Finite (CommGroup α) :=
194
leanexplore_declaration
leanexplore:381972
leanexplore_sqlite
leanexplore_declarations
instance {α : Type*} [Finite α] : Finite (Ring α) := .of_injective (fun g ↦ (g.toMonoid, g.toAddMonoid)) fun g₁ g₂ e ↦ by ext a b; exacts [congr(($e).2.1.1.1 a b), congr(($e).1.1.1.1 a b)]
790
leanexplore_declaration
leanexplore:381973
leanexplore_sqlite
leanexplore_declarations
instance {α : Type*} [Finite α] [AddCommGroup α] : Finite (Module R α) := by obtain ⟨s, hs⟩ := Algebra.FiniteType.out (self := ‹_›) refine .of_injective (fun g ↦ g.1.1.1.1.1 ∘ ((↑) : s → R)) fun g₁ g₂ e ↦ ?_ ext r a replace hs := SetLike.le_def.mp hs.ge (x := r) trivial induction hs using Algebra.adjoin_induc...
101
leanexplore_declaration
leanexplore:381974
leanexplore_sqlite
leanexplore_declarations
def ModuleTypeCardLT (N : ℕ) : Type _ := Σ (n : Fin N) (_ : AddCommGroup (Fin n)), Module R (Fin n)
93
leanexplore_declaration
leanexplore:381975
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) : Finite (ModuleTypeCardLT R N) := by delta ModuleTypeCardLT; infer_instance
77
leanexplore_declaration
leanexplore:381976
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : ModuleTypeCardLT R N) : AddCommGroup (Fin α.1) := α.2.1
73
leanexplore_declaration
leanexplore:381977
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : ModuleTypeCardLT R N) : Module R (Fin α.1) := α.2.2
251
leanexplore_declaration
leanexplore:381978
leanexplore_sqlite
leanexplore_declarations
noncomputable def ModuleTypeCardLT.ofModule (N : ℕ) (M : Type*) [AddCommGroup M] [Module R M] [Finite M] (hM : Nat.card M < N) : ModuleTypeCardLT R N := ⟨⟨Nat.card M, hM⟩, (Finite.equivFin M).symm.addCommGroup, (Finite.equivFin M).symm.module R⟩
304
leanexplore_declaration
leanexplore:381979
leanexplore_sqlite
leanexplore_declarations
noncomputable def ModuleTypeCardLT.equivOfModule (N : ℕ) {M : Type*} [AddCommGroup M] [Module R M] [Finite M] (hM : Nat.card M < N) : M ≃ₗ[R] Fin ((ModuleTypeCardLT.ofModule R N M hM).1) := ((show M ≃ Fin ((ModuleTypeCardLT.ofModule R N M hM).1) from Finite.equivFin M).symm.linearEquiv R).symm
172
leanexplore_declaration
leanexplore:381980
leanexplore_sqlite
leanexplore_declarations
instance {α : Type*} [Finite α] [Ring α] : Finite (Algebra R α) := by refine .of_injective (fun g ↦ g.toModule) fun g₁ g₂ e ↦ ?_ ext r a exact congr($e.1.1.1.1.1 r a)
95
leanexplore_declaration
leanexplore:381981
leanexplore_sqlite
leanexplore_declarations
def AlgebraTypeCardLT (N : ℕ) : Type _ := Σ (n : Fin N) (_ : Ring (Fin n)), Algebra R (Fin n)
95
leanexplore_declaration
leanexplore:381982
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) : Finite (AlgebraTypeCardLT R N) := by delta AlgebraTypeCardLT; infer_instance
70
leanexplore_declaration
leanexplore:381983
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : AlgebraTypeCardLT R N) : Ring (Fin α.1) := α.2.1
75
leanexplore_declaration
leanexplore:381984
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : AlgebraTypeCardLT R N) : Algebra R (Fin α.1) := α.2.2
240
leanexplore_declaration
leanexplore:381985
leanexplore_sqlite
leanexplore_declarations
noncomputable def AlgebraTypeCardLT.ofAlgebra (N : ℕ) (M : Type*) [Ring M] [Algebra R M] [Finite M] (hM : Nat.card M < N) : AlgebraTypeCardLT R N := ⟨⟨Nat.card M, hM⟩, (Finite.equivFin M).symm.ring, (Finite.equivFin M).symm.algebra R⟩
300
leanexplore_declaration
leanexplore:381986
leanexplore_sqlite
leanexplore_declarations
noncomputable def AlgebraTypeCardLT.equivOfAlgebra (N : ℕ) {M : Type*} [Ring M] [Algebra R M] [Finite M] (hM : Nat.card M < N) : M ≃ₐ[R] Fin ((AlgebraTypeCardLT.ofAlgebra R N M hM).1) := ((show M ≃ Fin ((AlgebraTypeCardLT.ofAlgebra R N M hM).1) from Finite.equivFin M).symm.algEquiv R).symm
117
leanexplore_declaration
leanexplore:381987
leanexplore_sqlite
leanexplore_declarations
instance {α} [Finite α] : Finite (TopologicalSpace α) := .of_injective (fun t ↦ t.1) fun _ _ ↦ TopologicalSpace.ext
480
leanexplore_declaration
leanexplore:381988
leanexplore_sqlite
leanexplore_declarations
instance {α : Type*} [Finite α] [AddCommGroup α] [TopologicalSpace α] [T2Space α] : Finite (Σ' (_ : Module R α), ContinuousSMul R α) := by obtain ⟨s, hs⟩ := Algebra.TopologicallyFG.out (self := ‹_›) refine .of_injective (fun g ↦ g.1.1.1.1.1.1 ∘ ((↑) : s → R)) fun g₁ g₂ e ↦ ?_ obtain ⟨g₁, hg₁⟩ := g₁ obtain ⟨...
201
leanexplore_declaration
leanexplore:381989
leanexplore_sqlite
leanexplore_declarations
def TopologicalModuleTypeCardLT (N : ℕ) : Type _ := Σ' (n : Fin N) (_ : AddCommGroup (Fin n)) (_ : TopologicalSpace (Fin n)) (_ : T2Space (Fin n)) (_ : Module R (Fin n)), ContinuousSMul R (Fin n)
386
leanexplore_declaration
leanexplore:381990
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) : Finite (TopologicalModuleTypeCardLT R N) := by apply (config := { allowSynthFailures := true }) Finite.instPSigma; intro apply (config := { allowSynthFailures := true }) Finite.instPSigma; intro apply (config := { allowSynthFailures := true }) Finite.instPSigma; intro apply (config := { allow...
88
leanexplore_declaration
leanexplore:381991
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalModuleTypeCardLT R N) : AddCommGroup (Fin α.1) := α.2.1
94
leanexplore_declaration
leanexplore:381992
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalModuleTypeCardLT R N) : TopologicalSpace (Fin α.1) := α.2.2.1
87
leanexplore_declaration
leanexplore:381993
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalModuleTypeCardLT R N) : T2Space (Fin α.1) := α.2.2.2.1
90
leanexplore_declaration
leanexplore:381994
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalModuleTypeCardLT R N) : Module R (Fin α.1) := α.2.2.2.2.1
98
leanexplore_declaration
leanexplore:381995
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalModuleTypeCardLT R N) : ContinuousSMul R (Fin α.1) := α.2.2.2.2.2
1,015
leanexplore_declaration
leanexplore:381996
leanexplore_sqlite
leanexplore_declarations
noncomputable def TopologicalModuleTypeCardLT.ofModule (N : ℕ) (M : Type*) [AddCommGroup M] [Module R M] [TopologicalSpace M] [T2Space M] [ContinuousSMul R M] [Finite M] (hM : Nat.card M < N) : TopologicalModuleTypeCardLT R N := ⟨⟨Nat.card M, hM⟩, (Finite.equivFin M).symm.addCommGroup, .coinduced (Finite.equi...
487
leanexplore_declaration
leanexplore:381997
leanexplore_sqlite
leanexplore_declarations
noncomputable def TopologicalModuleTypeCardLT.equivOfModule (N : ℕ) (M : Type*) [AddCommGroup M] [Module R M] [TopologicalSpace M] [T2Space M] [ContinuousSMul R M] [Finite M] (hM : Nat.card M < N) : M ≃L[R] Fin (TopologicalModuleTypeCardLT.ofModule R N M hM).1 where __ := ((show M ≃ Fin ((ModuleTypeCardLT...
362
leanexplore_declaration
leanexplore:381998
leanexplore_sqlite
leanexplore_declarations
instance {α : Type*} [Finite α] [Ring α] [TopologicalSpace α] [T2Space α] : Finite (Σ' (_ : Algebra R α), ContinuousSMul R α) := by refine .of_injective (β := Σ' (_ : Module R α), ContinuousSMul R α) (fun g ↦ PSigma.mk g.1.toModule g.2) fun g₁ g₂ e ↦ ?_ obtain ⟨g₁, hg₁⟩ := g₁ obtain ⟨g₂, hg₂⟩ := g₂ ...
251
leanexplore_declaration
leanexplore:381999
leanexplore_sqlite
leanexplore_declarations
def TopologicalAlgebraTypeCardLT [IsTopologicalRing R] [Algebra.TopologicallyFG ℤ R] (N : ℕ) : Type _ := Σ' (n : Fin N) (_ : Ring (Fin n)) (_ : TopologicalSpace (Fin n)) (_ : T2Space (Fin n)) (_ : Algebra R (Fin n)), ContinuousSMul R (Fin n)
387
leanexplore_declaration
leanexplore:382000
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) : Finite (TopologicalAlgebraTypeCardLT R N) := by apply (config := { allowSynthFailures := true }) Finite.instPSigma; intro apply (config := { allowSynthFailures := true }) Finite.instPSigma; intro apply (config := { allowSynthFailures := true }) Finite.instPSigma; intro apply (config := { allo...
81
leanexplore_declaration
leanexplore:382001
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalAlgebraTypeCardLT R N) : Ring (Fin α.1) := α.2.1
95
leanexplore_declaration
leanexplore:382002
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalAlgebraTypeCardLT R N) : TopologicalSpace (Fin α.1) := α.2.2.1
88
leanexplore_declaration
leanexplore:382003
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalAlgebraTypeCardLT R N) : T2Space (Fin α.1) := α.2.2.2.1
92
leanexplore_declaration
leanexplore:382004
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalAlgebraTypeCardLT R N) : Algebra R (Fin α.1) := α.2.2.2.2.1
99
leanexplore_declaration
leanexplore:382005
leanexplore_sqlite
leanexplore_declarations
instance (N : ℕ) (α : TopologicalAlgebraTypeCardLT R N) : ContinuousSMul R (Fin α.1) := α.2.2.2.2.2
678
leanexplore_declaration
leanexplore:382006
leanexplore_sqlite
leanexplore_declarations
noncomputable def TopologicalAlgebraTypeCardLT.ofAlgebra (N : ℕ) (M : Type*) [Ring M] [Algebra R M] [TopologicalSpace M] [T2Space M] [ContinuousSMul R M] [Finite M] (hM : Nat.card M < N) : TopologicalAlgebraTypeCardLT R N := ⟨⟨Nat.card M, hM⟩, (Finite.equivFin M).symm.ring, .coinduced (Finite.equivFin M) infe...
382
leanexplore_declaration
leanexplore:382007
leanexplore_sqlite
leanexplore_declarations
noncomputable def TopologicalAlgebraTypeCardLT.equivOfAlgebra (N : ℕ) (M : Type*) [Ring M] [Algebra R M] [TopologicalSpace M] [T2Space M] [ContinuousSMul R M] [Finite M] (hM : Nat.card M < N) : M ≃ₐ[R] Fin (TopologicalAlgebraTypeCardLT.ofAlgebra R N M hM).1 := ((show M ≃ Fin ((AlgebraTypeCardLT.ofAlgebra ...
357
leanexplore_declaration
leanexplore:382008
leanexplore_sqlite
leanexplore_declarations
lemma TopologicalAlgebraTypeCardLT.isHomeomorph_equivOfAlgebra (N : ℕ) (M : Type*) [Ring M] [Algebra R M] [TopologicalSpace M] [T2Space M] [ContinuousSMul R M] [Finite M] (hM : Nat.card M < N) : IsHomeomorph (equivOfAlgebra (R := R) N M hM) := ((Finite.equivFin M).toHomeomorph (Y := Fin (ofAlgebra R N M hM).1...
133
leanexplore_declaration
leanexplore:382009
leanexplore_sqlite
leanexplore_declarations
class Algebra.TopologicallyFG [IsTopologicalRing S] : Prop where out : ∃ s : Finset S, Dense (Algebra.adjoin R (s : Set S) : Set S)
198
leanexplore_declaration
leanexplore:382010
leanexplore_sqlite
leanexplore_declarations
instance (priority := 100) [IsTopologicalRing S] [Algebra.FiniteType R S] : Algebra.TopologicallyFG R S where out := have ⟨s, hs⟩ := Algebra.FiniteType.out (R := R) (A := S); ⟨s, by simp [hs]⟩
1,134
leanexplore_declaration
leanexplore:382011
leanexplore_sqlite
leanexplore_declarations
lemma Algebra.TopologicallyFG.module_ext (s : Set S) (hs' : Dense (Algebra.adjoin R (s : Set S) : Set S)) {m₁ m₂ : Module S M} (hm₁ : letI := m₁; IsScalarTower R S M) (hm₂ : letI := m₂; IsScalarTower R S M) (hm₁' : letI := m₁; ContinuousSMul S M) (hm₂' : letI := m₂; ContinuousSMul S M) (H : ∀ x ∈ s, ∀ m...
588
leanexplore_declaration
leanexplore:382012
leanexplore_sqlite
leanexplore_declarations
def vanishingFilter (p : Ideal (Π i, R i)) : Filter ι where sets := { s | (if · ∈ s then 0 else 1) ∈ p } univ_sets := by simpa [-zero_mem] using zero_mem p sets_of_superset {s t} hs hst := by change _ ∈ p convert p.smul_mem (fun i ↦ if i ∈ t then 0 else 1) hs with i simp [← ite_or, or_iff_right_of_imp...
132
leanexplore_declaration
leanexplore:382013
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma mem_vanishingFilter {p : Ideal (Π i, R i)} {s} : s ∈ vanishingFilter p ↔ (if · ∈ s then 0 else 1) ∈ p := Iff.rfl
715
leanexplore_declaration
leanexplore:382014
leanexplore_sqlite
leanexplore_declarations
def vanishingUltrafilter (p : Ideal (Π i, R i)) [p.IsPrime] : Ultrafilter ι := .ofComplNotMemIff (vanishingFilter p) <| by classical intro s simp only [vanishingFilter, Filter.mem_mk, Set.mem_setOf_eq, Set.mem_compl_iff] constructor · intro H refine (Ideal.IsPrime.mem_or_mem_of_mul_eq_zero ‹...
162
leanexplore_declaration
leanexplore:382015
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma mem_vanishingUltrafilter {p : Ideal (Π i, R i)} [p.IsPrime] {s} : s ∈ vanishingUltrafilter p ↔ (fun i ↦ if i ∈ s then 0 else 1) ∈ p := Iff.rfl
421
leanexplore_declaration
leanexplore:382016
leanexplore_sqlite
leanexplore_declarations
lemma eventually_vanishingFilter_not_isUnit (p : Ideal (Π i, R i)) {x} (hx : x ∈ p) : ∀ᶠ i in vanishingFilter p, ¬ IsUnit (x i) := by classical have : (fun i ↦ if IsUnit (x i) then 1 else 0) ∈ p := by convert p.mul_mem_left (fun i ↦ if h : IsUnit (x i) then (h.unit⁻¹ : _) else 0) hx with i aesop s...
268
leanexplore_declaration
leanexplore:382017
leanexplore_sqlite
leanexplore_declarations
lemma vanishingFilter_le {p : Ideal (Π i, R i)} {F : Filter ι} : vanishingFilter p ≤ F ↔ eventuallyProd ⊥ F ≤ p := by constructor · rintro H v hv convert Ideal.mul_mem_left _ v (H hv) aesop · intro H s hs apply H filter_upwards [hs] aesop
175
leanexplore_declaration
leanexplore:382018
leanexplore_sqlite
leanexplore_declarations
lemma vanishingFilter_eventuallyProd (F : Filter ι) (hI : ∀ i, I i ≠ ⊤) : vanishingFilter (eventuallyProd I F) = F := by ext; simp[apply_ite, ← Ideal.eq_top_iff_one, hI]
163
leanexplore_declaration
leanexplore:382019
leanexplore_sqlite
leanexplore_declarations
lemma vanishingFilter_gc : GaloisConnection (vanishingFilter ∘ ofDual) (toDual ∘ eventuallyProd (⊥ : ∀ i, Ideal (R i))) := fun _ _ ↦ vanishingFilter_le
276
leanexplore_declaration
leanexplore:382020
leanexplore_sqlite
leanexplore_declarations
def vanishingFilterGI [∀ i, Nontrivial (R i)] : GaloisInsertion (vanishingFilter ∘ ofDual) (toDual ∘ eventuallyProd (⊥ : ∀ i, Ideal (R i))) where gc := vanishingFilter_gc le_l_u x := (by simp [vanishingFilter_eventuallyProd]) choice := _ choice_eq _ _ := rfl
148
leanexplore_declaration
leanexplore:382021
leanexplore_sqlite
leanexplore_declarations
lemma vanishingFilter_antimono {p q : Ideal (Π i, R i)} (h : p ≤ q) : vanishingFilter q ≤ vanishingFilter p := vanishingFilter_gc.monotone_l h
142
leanexplore_declaration
leanexplore:382022
leanexplore_sqlite
leanexplore_declarations
lemma eventuallyProd_vanishingFilter_le (p : Ideal (Π i, R i)) : eventuallyProd ⊥ (vanishingFilter p) ≤ p := vanishingFilter_gc.le_u_l _
602
leanexplore_declaration
leanexplore:382023
leanexplore_sqlite
leanexplore_declarations
/-- A rigidification of a quaternion algebra D over a number field F is a fixed choice of `𝔸_F^∞`-algebra isomorphism `D ⊗[F] 𝔸_F^∞ = M₂(𝔸_F^∞)`. In other words, it is a choice of splitting of `D ⊗[F] Fᵥ` (i.e. an isomorphism to `M₂(Fᵥ)`) for all finite places `v` together with a guarantee that the isomorphism works...
272
leanexplore_declaration
leanexplore:382024
leanexplore_sqlite
leanexplore_declarations
/-- A quaternion algebra over a number field is unramified if it is split at all finite places. This is implemented as the existence of a rigidification of `D`, that is, an isomorphism `D ⊗[F] 𝔸_F^∞ = M₂(𝔸_F^∞)`. -/ def IsUnramified : Prop := Nonempty (Rigidification F D)
212
leanexplore_declaration
leanexplore:382025
leanexplore_sqlite
leanexplore_declarations
/-- `M_2(O_v)` as a subring of `M_2(F_v)`. -/ noncomputable def M2.localFullLevel (v : HeightOneSpectrum (𝓞 F)) : Subring (Matrix (Fin 2) (Fin 2) (v.adicCompletion F)) := (v.adicCompletionIntegers F).matrix
266
leanexplore_declaration
leanexplore:382026
leanexplore_sqlite
leanexplore_declarations
/-- `GL₂(𝒪ᵥ)` as a subgroup of `GL₂(Fᵥ)`. -/ noncomputable def GL2.localFullLevel (v : HeightOneSpectrum (𝓞 F)) : Subgroup (GL (Fin 2) (v.adicCompletion F)) := MonoidHom.range (Units.map (RingHom.mapMatrix (v.adicCompletionIntegers F).subtype).toMonoidHom)
164
leanexplore_declaration
leanexplore:382027
leanexplore_sqlite
leanexplore_declarations
theorem M2.localFullLevel.isOpen (v : HeightOneSpectrum (𝓞 F)) : IsOpen (M2.localFullLevel v).carrier := (NumberField.isOpenAdicCompletionIntegers F v).matrix
213
leanexplore_declaration
leanexplore:382028
leanexplore_sqlite
leanexplore_declarations
theorem M2.localFullLevel.isCompact (v : HeightOneSpectrum (𝓞 F)) : IsCompact (M2.localFullLevel v).carrier := (isCompact_iff_compactSpace.mpr (NumberField.instCompactSpaceAdicCompletionIntegers F v)).matrix
118
leanexplore_declaration
leanexplore:382029
leanexplore_sqlite
leanexplore_declarations
theorem GL2.localFullLevel.isOpen (v : HeightOneSpectrum (𝓞 F)) : IsOpen (GL2.localFullLevel v).carrier := sorry
124
leanexplore_declaration
leanexplore:382030
leanexplore_sqlite
leanexplore_declarations
theorem GL2.localFullLevel.isCompact (v : HeightOneSpectrum (𝓞 F)) : IsCompact (GL2.localFullLevel v).carrier := sorry
274
leanexplore_declaration
leanexplore:382031
leanexplore_sqlite
leanexplore_declarations
lemma GL2.mem_localFullLevel {v : HeightOneSpectrum (𝓞 F)} {x : GL (Fin 2) (v.adicCompletion F)} (hx : x ∈ localFullLevel v) : ∃ x' : GL (Fin 2) (v.adicCompletionIntegers F), Units.map ((v.adicCompletionIntegers F).subtype.mapMatrix.toMonoidHom) x' = x := hx
398
leanexplore_declaration
leanexplore:382032
leanexplore_sqlite
leanexplore_declarations
lemma GL2.mem_localFullLevel' {v : HeightOneSpectrum (𝓞 F)} {x : GL (Fin 2) (v.adicCompletion F)} (hx : x ∈ localFullLevel v) : ∃ x' : GL (Fin 2) (v.adicCompletionIntegers F), ∀ i j, x' i j = x i j := by refine (mem_localFullLevel hx).imp ?_ simp only [RingHom.toMonoidHom_eq_coe, Units.ext_iff, Units.coe_m...
354
leanexplore_declaration
leanexplore:382033
leanexplore_sqlite
leanexplore_declarations
lemma GL2.v_det_val_mem_localFullLevel_eq_one {v : HeightOneSpectrum (𝓞 F)} {x : GL (Fin 2) (v.adicCompletion F)} (hx : x ∈ localFullLevel v) : Valued.v x.val.det = 1 := by obtain ⟨y, hy⟩ := mem_localFullLevel hx have hd : IsUnit y.det.val := by simp rw [Valued.isUnit_valuationSubring_iff] at hd simpa ...
624
leanexplore_declaration
leanexplore:382034
leanexplore_sqlite
leanexplore_declarations
lemma GL2.v_le_one_of_mem_localFullLevel (v : HeightOneSpectrum (𝓞 F)) {x} (hx : x ∈ localFullLevel v) (i j) : Valued.v (x i j) ≤ 1 := by simp only [localFullLevel, Units.map, RingHom.mapMatrix, Matrix.map, ValuationSubring.subtype, Subring.subtype, RingHom.coe_mk, MonoidHom.coe_mk, OneHom.coe_mk, RingHom.to...
767
leanexplore_declaration
leanexplore:382035
leanexplore_sqlite
leanexplore_declarations
lemma GL2.mem_localFullLevel_iff_v_le_one_and_v_det_eq_one {v : HeightOneSpectrum (𝓞 F)} {x : GL (Fin 2) (v.adicCompletion F)} : x ∈ localFullLevel v ↔ (∀ (i j), Valued.v (x i j) ≤ 1) ∧ Valued.v x.val.det = 1 := ⟨fun h ↦ ⟨GL2.v_le_one_of_mem_localFullLevel _ h, GL2.v_det_val_mem_localFullLevel_eq_one h⟩, by ...
2,534
leanexplore_declaration
leanexplore:382036
leanexplore_sqlite
leanexplore_declarations
/-- local U_1(v), defined as a subgroup of GL₂(Fᵥ) given by matrices in GL₂(𝒪ᵥ) congruent to (a *;0 a) mod v. -/ noncomputable def GL2.localTameLevel (v : HeightOneSpectrum (𝓞 F)) : Subgroup (GL (Fin 2) (v.adicCompletion F)) where carrier := {x ∈ localFullLevel v | Valued.v (x.val 0 0 - x.val 1 1) < 1 ∧ Val...
118
leanexplore_declaration
leanexplore:382037
leanexplore_sqlite
leanexplore_declarations
theorem GL2.localTameLevel.isOpen (v : HeightOneSpectrum (𝓞 F)) : IsOpen (GL2.localTameLevel v).carrier := sorry
124
leanexplore_declaration
leanexplore:382038
leanexplore_sqlite
leanexplore_declarations
theorem GL2.localTameLevel.isCompact (v : HeightOneSpectrum (𝓞 F)) : IsCompact (GL2.localTameLevel v).carrier := sorry
394
leanexplore_declaration
leanexplore:382039
leanexplore_sqlite
leanexplore_declarations
/-- The canonical F-algebra morphism from `𝔸_F^∞` (the finite adeles of a number field F) to the local component `F_v` for `v` a finite place of `𝓞 F`. -/ noncomputable def IsDedekindDomain.FiniteAdeleRing.toAdicCompletion (v : HeightOneSpectrum (𝓞 F)) : FiniteAdeleRing (𝓞 F) F →ₐ[F] HeightOneSpectrum.adicCompl...
356
leanexplore_declaration
leanexplore:382040
leanexplore_sqlite
leanexplore_declarations
/-- The canonical group homomorphism from `GL_2(𝔸_F^∞)` to the local component `GL_2(F_v)` for `v` a finite place. -/ noncomputable def GL2.toAdicCompletion (v : HeightOneSpectrum (𝓞 F)) : GL (Fin 2) (FiniteAdeleRing (𝓞 F) F) →* GL (Fin 2) (v.adicCompletion F) := Units.map (RingHom.mapMatrix (FiniteAde...
408
leanexplore_declaration
leanexplore:382041
leanexplore_sqlite
leanexplore_declarations
/-- `GL_2(𝔸_F^∞)` is isomorphic and homeomorphic to the restricted product of the local components `GL_2(F_v)`. -/ noncomputable def GL2.restrictedProduct : GL (Fin 2) (FiniteAdeleRing (𝓞 F) F) ≃ₜ* Πʳ (v : HeightOneSpectrum (𝓞 F)), [(GL (Fin 2) (v.adicCompletion F)), (M2.localFullLevel v).units] := C...
664
leanexplore_declaration
leanexplore:382042
leanexplore_sqlite
leanexplore_declarations
/-- If `F` is a number field and `S` is a finite set of finite places of `𝓞 F` then `GL2.TameLevel S` is the subgroup of `GL₂(𝔸_F^∞)` consisting of things in `GL₂(𝓞ᵥ)` for all places, and furthermore in the local "`U₁(v)`" subgroup `(a *;0 a) mod v` for all `v ∈ S`. -/ noncomputable def GL2.TameLevel (S : Finset (He...
74
leanexplore_declaration
leanexplore:382043
leanexplore_sqlite
leanexplore_declarations
theorem GL2.TameLevel.isOpen : IsOpen (GL2.TameLevel S).carrier := sorry
80
leanexplore_declaration
leanexplore:382044
leanexplore_sqlite
leanexplore_declarations
theorem GL2.TameLevel.isCompact : IsCompact (GL2.TameLevel S).carrier := sorry
373
leanexplore_declaration
leanexplore:382045
leanexplore_sqlite
leanexplore_declarations
/-- The subgroup of `(D ⊗ 𝔸_F^∞)ˣ` corresponding to the subgroup `U₁(S)` of `GL₂(𝔸_F^∞)` (that is, matrices congruent to `(a *; 0 a) mod v` for all `v ∈ S`) via the rigidification `r`. -/ noncomputable def QuaternionAlgebra.TameLevel (r : Rigidification F D) : Subgroup (D ⊗[F] (FiniteAdeleRing (𝓞 F) F))ˣ := Su...
309
leanexplore_declaration
leanexplore:382046
leanexplore_sqlite
leanexplore_declarations
theorem Rigidification.continuous_toFun (r : Rigidification F D) : Continuous r := letI : ∀ (i : HeightOneSpectrum (𝓞 F)), Algebra (FiniteAdeleRing (𝓞 F) F) ((i.adicCompletion F)) := fun i ↦ (RestrictedProduct.evalRingHom _ i).toAlgebra IsModuleTopology.continuous_of_linearMap r.toLinearMap
321
leanexplore_declaration
leanexplore:382047
leanexplore_sqlite
leanexplore_declarations
theorem Rigidification.continuous_invFun (r : Rigidification F D) : Continuous r.symm := by haveI : ContinuousAdd (D ⊗[F] FiniteAdeleRing (𝓞 F) F) := IsModuleTopology.toContinuousAdd (FiniteAdeleRing (𝓞 F) F) (D ⊗[F] (FiniteAdeleRing (𝓞 F) F)) exact IsModuleTopology.continuous_of_linearMap r.symm.toLinea...
1,373
leanexplore_declaration
leanexplore:382048
leanexplore_sqlite
leanexplore_declarations
/-- Empirical evidence seems to suggest that Slud's bound does not hold for all $p$, and in fact, as $n\to\infty$, the maximal permissible $p$ shrinks to $\frac{1}{2}$. Also, the following appears to be true: When $p\in(0,1/2)$ and $m = 2k$ is even, and $\sigma := \sqrt{p(1-p)}$, $$ \mathbb{P}[B(p,m) \geq m/2] \geq ...
178
leanexplore_declaration
leanexplore:382049
leanexplore_sqlite
leanexplore_declarations
/-- The sequence will eventually reach $1$. -/ @[category research open, AMS 11] theorem curling_number_conjecture (S₀ : List ℤ) (h : S₀ ≠ []) : ∃ m, k (S S₀ m) = 1 := by sorry
275
leanexplore_declaration
leanexplore:382050
leanexplore_sqlite
leanexplore_declarations
/-- One starts with any initial sequence of integers $S₀$, and extends it by repeatedly appending the curling number of the current sequence. -/ noncomputable def S (S₀ : List ℤ) (n : ℕ) : List ℤ := match n with | 0 => S₀ | n + 1 => (S S₀ n) ++ [Int.ofNat (k (S S₀ n))]
545
leanexplore_declaration
leanexplore:382051
leanexplore_sqlite
leanexplore_declarations
/-- The curling number Let $S$ be a finite nonempty sequence of integers. By grouping adjacent terms, it is always possible to write it as $S = X Y Y . . . Y = X Y^k$, where $X$ and $Y$ are sequences of integers and $Y$ is nonempty ($X$ is allowed to be the empty sequence $∅$). There may be several ways to do this: ch...
448
leanexplore_declaration
leanexplore:382052
leanexplore_sqlite
leanexplore_declarations
/-- Boxdot Conjecture: every normal modal logic that faithfully interprets KT by the boxdot translation is included in KT. -/ @[category research solved, AMS 3, formal_proof using lean4 at "https://github.com/FormalizedFormalLogic/Foundation"] -- The formal proof was done by Mashu Noguchi et al. -- see linked repo for ...
521
leanexplore_declaration
leanexplore:382053
leanexplore_sqlite
leanexplore_declarations
/-- `KT` is the specific normal modal logic whose theorems are exactly those provable in `KTProof` from the empty context. This corresponds to `K ⊕ (□φ → φ)` as in both AJL (Steinsvold) and Jeřábek. -/ def KT : NormalModalLogic := by constructor case thms => exact {φ | KTProof ∅ φ} case extK => intro _ h...
82
leanexplore_declaration
leanexplore:382054
leanexplore_sqlite
leanexplore_declarations
scoped notation L " ⊆ " L' => NormalModalLogic.thms L ⊆ NormalModalLogic.thms L'
61
leanexplore_declaration
leanexplore:382056
leanexplore_sqlite
leanexplore_declarations
def proves (L : NormalModalLogic) (φ : Formula) := φ ∈ L.thms
51
leanexplore_declaration
leanexplore:382058
leanexplore_sqlite
leanexplore_declarations
mp : ∀ {φ ψ}, φ ∈ thms → (φ ~> ψ) ∈ thms → ψ ∈ thms
836
leanexplore_declaration
leanexplore:382061
leanexplore_sqlite
leanexplore_declarations
/-- A “normal modal logic” L is any `Set Formula` such that: 1. If `K ⊢ φ`, then `φ ∈ L` (L extends K) 2. If `φ ∈ L` and `(φ ~> ψ) ∈ L`, then `ψ ∈ L` (Closed under MP) 3. If `φ ∈ L`, then `□φ ∈ L` (Closed under Necessitation) -/ structure NormalModalLogic : Type where /-- `thms` is the set of...
164
leanexplore_declaration
leanexplore:382062
leanexplore_sqlite
leanexplore_declarations
/-- If `KProof Γ φ`, then `KTProof Γ φ`. In other words, KT extends K. -/ @[category API, AMS 3] lemma KTExtendsK {Γ φ} (h : KProof Γ φ) : KTProof Γ φ := lift_K h
93
leanexplore_declaration
leanexplore:382063
leanexplore_sqlite
leanexplore_declarations
/-- Necessitation: if `⊢ α` then `⊢ □α`. -/ | nec {Γ} {α} (_ : KTProof ∅ α) : KTProof Γ (□ α)
135
leanexplore_declaration
leanexplore:382064
leanexplore_sqlite
leanexplore_declarations
/-- Modus Ponens: if `Γ ⊢ α ~> β` and `Γ ⊢ α`, then `Γ ⊢ β`. -/ | mp {Γ} {α β} (_ : KTProof Γ (α ~> β)) (_ : KTProof Γ α) : KTProof Γ β
101
leanexplore_declaration
leanexplore:382065
leanexplore_sqlite
leanexplore_declarations
/-- T-axiom schema: every instance of `□α ~> α` is a theorem. -/ | axT {Γ} {α} : KTProof Γ (□ α ~> α)
85
leanexplore_declaration
leanexplore:382066
leanexplore_sqlite
leanexplore_declarations
/-- Embedding of K proofs into KT. -/ | lift_K {Γ} {α} (h : KProof Γ α) : KTProof Γ α
704
leanexplore_declaration
leanexplore:382067
leanexplore_sqlite
leanexplore_declarations
/-- `KTProof Γ φ` denotes that `φ` is provable from the premises `Γ` in the normal modal logic KT (also called T). KT extends system K by adding the instances of the T-axiom schema `□φ ~> φ` to K’s usual axioms and rules of inference. -/ inductive KTProof : Set Formula → Formula → Prop /-- Embedding of K proofs into KT...
145
leanexplore_declaration
leanexplore:382068
leanexplore_sqlite
leanexplore_declarations
/-- Distribution: every instance of the schema `□(α ~> β) ~> (□α ~> □β)` is a theorem. -/ | distr {Γ} {α β} : KProof Γ (□ (α ~> β) ~> □ α ~> □ β)
91
leanexplore_declaration
leanexplore:382069
leanexplore_sqlite
leanexplore_declarations
/-- Necessitation: if `⊢ α` then `⊢ □α`. -/ | nec {Γ} {α} (_ : KProof ∅ α) : KProof Γ (□ α)
132
leanexplore_declaration
leanexplore:382070
leanexplore_sqlite
leanexplore_declarations
/-- Modus Ponens: if `Γ ⊢ α ~> β` and `Γ ⊢ α`, then `Γ ⊢ β`. -/ | mp {Γ} {α β} (_ : KProof Γ (α ~> β)) (_ : KProof Γ α) : KProof Γ β
152
leanexplore_declaration
leanexplore:382071
leanexplore_sqlite
leanexplore_declarations
/-- Ax3 (contraposition): every instance of the schema `(~α ~> ~β) ~> (β ~> α)` is a theorem. -/ | ax3 {Γ} {α β} : KProof Γ (((~α) ~> (~β)) ~> (β ~> α))
163
leanexplore_declaration
leanexplore:382072
leanexplore_sqlite
leanexplore_declarations
/-- Ax2: every instance of the schema `(α ~> β ~> γ) ~> (α ~> β) ~> (α ~> γ)` is a theorem. -/ | ax2 {Γ} {α β γ} : KProof Γ ((α ~> β ~> γ) ~> (α ~> β) ~> (α ~> γ))
109
leanexplore_declaration
leanexplore:382073
leanexplore_sqlite
leanexplore_declarations
/-- Ax1: every instance of the schema `α → (β → α)` is a theorem. -/ | ax1 {Γ} {α β} : KProof Γ (α ~> β ~> α)
103
leanexplore_declaration
leanexplore:382074
leanexplore_sqlite
leanexplore_declarations
/-- Assumption rule: if `α ∈ Γ` then `α` is provable from `Γ`. -/ | ax {Γ} {α} (h : α ∈ Γ) : KProof Γ α