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
1,082
leanexplore_declaration
leanexplore:382075
leanexplore_sqlite
leanexplore_declarations
/-- `KProof Γ φ` is the usual Hilbert‐style proof relation for the minimal normal modal logic K, with assumptions drawn from `Γ`. -/ inductive KProof : Set Formula → Formula → Prop /-- Assumption rule: if `α ∈ Γ` then `α` is provable from `Γ`. -/ | ax {Γ} {α} (h : α ∈ Γ) : KProof Γ α /-- Ax1: every instance of the sche...
398
leanexplore_declaration
leanexplore:382076
leanexplore_sqlite
leanexplore_declarations
@[inherit_doc t] scoped prefix:95 "■" => t /-- `KProof Γ φ` is the usual Hilbert‐style proof relation for the minimal normal modal logic K, with assumptions drawn from `Γ`. -/ inductive KProof : Set Formula → Formula → Prop /-- Assumption rule: if `α ∈ Γ` then `α` is provable from `Γ`. -/ | ax {Γ} {α} (h : α ∈ Γ) : K...
460
leanexplore_declaration
leanexplore:382077
leanexplore_sqlite
leanexplore_declarations
/-- `t φ` is the Boxdot translation of a formula `φ`. Roughly, t is the mapping `φ ↦ t φ` from the language of monomodal logic into itself that preserves variables and the logical constant `⊥`, commutes with the standard truth-functional operators, and is such that `t □a` = `□t a & t a`. This implementation follows the...
440
leanexplore_declaration
leanexplore:382078
leanexplore_sqlite
leanexplore_declarations
@[inherit_doc Conj] scoped infixr:85 " & " => Conj /-- `t φ` is the Boxdot translation of a formula `φ`. Roughly, t is the mapping `φ ↦ t φ` from the language of monomodal logic into itself that preserves variables and the logical constant `⊥`, commutes with the standard truth-functional operators, and is such that `t...
157
leanexplore_declaration
leanexplore:382079
leanexplore_sqlite
leanexplore_declarations
/-- `Conj α β` is the conjunction `α ∧ β`. We define `α & β` as `~(α ~> ~β)` for simplicity. -/ @[reducible] def Conj (α β : Formula) : Formula := ~(α ~> ~β)
205
leanexplore_declaration
leanexplore:382080
leanexplore_sqlite
leanexplore_declarations
@[inherit_doc Nec] scoped prefix:95 "□" => Nec /-- `Conj α β` is the conjunction `α ∧ β`. We define `α & β` as `~(α ~> ~β)` for simplicity. -/ @[reducible] def Conj (α β : Formula) : Formula := ~(α ~> ~β)
112
leanexplore_declaration
leanexplore:382081
leanexplore_sqlite
leanexplore_declarations
/-- `~ α` is the negation of `α`. `~ α` is also equivalent to `α ~> ⊥`. -/ scoped notation:max " ~ " φ => φ ~> ⊥
371
leanexplore_declaration
leanexplore:382082
leanexplore_sqlite
leanexplore_declarations
@[inherit_doc Imp] infixr:80 " ~> " => Formula.Imp /-- `~ α` is the negation of `α`. `~ α` is also equivalent to `α ~> ⊥`. -/ scoped notation:max " ~ " φ => φ ~> ⊥ @[inherit_doc Nec] scoped prefix:95 "□" => Nec /-- `Conj α β` is the conjunction `α ∧ β`. We define `α & β` as `~(α ~> ~β)` for simplicity. -/ @[reducibl...
424
leanexplore_declaration
leanexplore:382083
leanexplore_sqlite
leanexplore_declarations
@[inherit_doc Falsum] scoped notation "⊥" => Falsum @[inherit_doc Imp] infixr:80 " ~> " => Formula.Imp /-- `~ α` is the negation of `α`. `~ α` is also equivalent to `α ~> ⊥`. -/ scoped notation:max " ~ " φ => φ ~> ⊥ @[inherit_doc Nec] scoped prefix:95 "□" => Nec /-- `Conj α β` is the conjunction `α ∧ β`. We define ...
74
leanexplore_declaration
leanexplore:382084
leanexplore_sqlite
leanexplore_declarations
/-- `Nec α` is the necessity operator `□α`. -/ | Nec : Formula → Formula
80
leanexplore_declaration
leanexplore:382085
leanexplore_sqlite
leanexplore_declarations
/-- `Imp α β` is implication `(α → β)`. -/ | Imp : Formula → Formula → Formula
56
leanexplore_declaration
leanexplore:382086
leanexplore_sqlite
leanexplore_declarations
/-- `Falsum` is the constant ⊥. -/ | Falsum : Formula
84
leanexplore_declaration
leanexplore:382087
leanexplore_sqlite
leanexplore_declarations
/-- `Atom n` is a propositional variable indexed by `n`. -/ | Atom : Nat → Formula
568
leanexplore_declaration
leanexplore:382088
leanexplore_sqlite
leanexplore_declarations
/-- `Formula` is the inductive type of propositional modal formulas: * `Atom n` is a propositional variable indexed by `n`. * `Falsum` is the constant ⊥. * `Imp α β` is implication `(α → β)`. * `Nec α` is the necessity operator `□α`. -/ inductive Formula : Type /-- `Atom n` is a propositional variable indexed by `n`...
493
leanexplore_declaration
leanexplore:382089
leanexplore_sqlite
leanexplore_declarations
/-- *Conjecture 3.4* There exists $0 < \delta < 1$ such that for any $a \in \mathbb{S}^3$, there exists $b \in \mathbb{Z}^4$ and $k \in \mathbb{Z}$ such that $\|b\| = 5^k$ and $\langle a, \frac{b}{\|b\|} \rangle \geq 1 - 5^{-\frac{k}{2 - \delta}}.$ -/ @[category research open, AMS 11 81] theorem conjecture_3_4 : ∃ δ ∈ ...
196
leanexplore_declaration
leanexplore:382090
leanexplore_sqlite
leanexplore_declarations
/-- The integer lattice ℤ⁴ as the ℤ-span of the standard basis in 4-dimensional Euclidean space. -/ scoped[EuclideanSpace] notation "ℤ⁴" => Submodule.span ℤ (Set.range (PiLp.basisFun 2 ℝ (Fin 4)))
433
leanexplore_declaration
leanexplore:382091
leanexplore_sqlite
leanexplore_declarations
/-- If $n = ab$ is a crystal, then there are no other pairs of positive integers $c, d > 1$, different from the couple $a, b$, such that $n = cd$ and $B(c, d) ∈ ℕ$, i.e., the components of the crystals are unique. -/ @[category research open, AMS 11 26] theorem crystals_components_unique (n a b c d : ℕ) (hab : IsCr...
139
leanexplore_declaration
leanexplore:382092
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem isCrystalWithComponents_35_5_7 : IsCrystalWithComponents 35 5 7 := by norm_num [IsCrystalWithComponents]
298
leanexplore_declaration
leanexplore:382093
leanexplore_sqlite
leanexplore_declarations
/-- An odd number $n$ is called a crystal if $n = ab$, with $a, b > 1$ and $B(a, b) ∈ ℕ$, where $B(a, b) := ((a + b)^2 + (a b + 1)^2) / (2 (a + 1) (b + 1))$. -/ def IsCrystalWithComponents (n a b : ℕ) : Prop := Odd n ∧ 1 < a ∧ 1 < b ∧ n = a * b ∧ 2 * (a + 1) * (b + 1) ∣ (a + b)^2 + (a * b + 1)^2
138
leanexplore_declaration
leanexplore:382094
leanexplore_sqlite
leanexplore_declarations
/-- $F(n) \leq n^{3/2}$. -/ @[category research open, AMS 5] theorem maximalLength_le_strong (n : ℕ) : F n ≤ Real.sqrt n ^ 3 := by sorry
312
leanexplore_declaration
leanexplore:382095
leanexplore_sqlite
leanexplore_declarations
/-- Suppose that for some $n$ we have $F(n) = n ^ {\alpha}$. Then there are arbitrarily large $m$ such that $F(m) \geq m^{\alpha}$. -/ @[category research solved, AMS 5] theorem maximalLength_pow {n : ℕ} {e : ℝ} (hn : 1 < n) (h : F n = (n : ℝ) ^ e) : ∀ᶠ m : ℕ in Filter.atTop, (m : ℝ) ^ e ≤ F m := by sorry
159
leanexplore_declaration
leanexplore:382096
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem sequenceProduct_example : [![1, 1, 1]] ⊗₂ [![1, 1, 1]] = toLex [toLex ![(1, 1), (1, 1), (1, 1)]] := by simp [sequenceProduct]
417
leanexplore_declaration
leanexplore:382097
leanexplore_sqlite
leanexplore_declarations
/-- We define the product $\otimes$ of two sequences $(a_i, b_i, c_i)$ and $(d_i, e_i, f_i)$ by the sequence $((a_i, d_j), (b_i, e_j), (c_i, f_j))$, where the indices $(i, j)$ are arranged lexicographically, and the pairs are also ordered lexicographically. -/ def sequenceProduct {α : Type*} (s t : List (Fin 3 → α)) : ...
223
leanexplore_declaration
leanexplore:382098
leanexplore_sqlite
leanexplore_declarations
@[simp, category API, AMS 5] theorem tripleProduct_vecConst_const {α : Type*} (a : α) : tripleProduct ![a, a, a] ![a, a, a] = toLex ![(a, a), (a, a), (a, a)] := by simp [tripleProduct] ext i <;> fin_cases i <;> simp
208
leanexplore_declaration
leanexplore:382099
leanexplore_sqlite
leanexplore_declarations
@[simp, category API, AMS 5] theorem tripleProduct_const {α : Type*} (a : α) : tripleProduct (fun _ => a) (fun _ => a) = toLex (fun _ => (a, a)) := by simpa [tripleProduct] using funext fun i => by simp
252
leanexplore_declaration
leanexplore:382100
leanexplore_sqlite
leanexplore_declarations
/-- We define the product of two triples $(a, b, c)$ and $(d, e, f)$ by $((a, d), (b, e), (c, f))$, where the pairs are arranged in lexicographical order. -/ def tripleProduct {α : Type*} (a b : Fin 3 → α) : Πₗ (_ : Fin 3), α × α := toLex (Pi.prod a b)
245
leanexplore_declaration
leanexplore:382101
leanexplore_sqlite
leanexplore_declarations
/-- $F(n) \leq n^2 / \exp(\Omega(\log^*(n)))$. -/ @[category research solved, AMS 5] theorem maximalLength_le_isBigO : ∃ Ω : ℕ → ℝ, (fun (n : ℕ) => (Real.iteratedLog n : ℝ)) =O[atTop] Ω ∧ ∀ n, F n ≤ n ^ 2 / Real.exp (Ω n) := by sorry
212
leanexplore_declaration
leanexplore:382102
leanexplore_sqlite
leanexplore_declarations
/-- A set of triples is $2$-comparable if any two of them are $2$-comparable. -/ def IsComparableSet₂ {α : Type*} [LT α] (s : List (Fin 3 → α)) : Prop := ∃ t₁ t₂, t₁ ≠ t₂ ∧ t₁ ∈ s ∧ t₂ ∈ s ∧ IsComparable₂ t₁ t₂
185
leanexplore_declaration
leanexplore:382103
leanexplore_sqlite
leanexplore_declarations
/-- Two triples $t_1$ and $t_2$ are $2$-comparable if one of them is $2$-less than the other. -/ def IsComparable₂ {α : Type*} [LT α] (t₁ t₂ : Fin 3 → α) : Prop := t₁ <₂ t₂ ∨ t₂ <₂ t₁
212
leanexplore_declaration
leanexplore:382104
leanexplore_sqlite
leanexplore_declarations
/-- Moreover, whenever $n$ is a perfect square we have $F(n) \geq n^{3/2}$. -/ @[category research solved, AMS 5] theorem maximalLength_ge_of_isSquare {n : ℕ} (h : IsSquare n) : n.sqrt ^ 3 ≤ F n := by sorry
139
leanexplore_declaration
leanexplore:382105
leanexplore_sqlite
leanexplore_declarations
/-- For all $n$ we have $F(n) \leq n^2$. -/ @[category research solved, AMS 5] theorem maximalLength_le (n : ℕ) : F n ≤ n ^ 2 := by sorry
406
leanexplore_declaration
leanexplore:382106
leanexplore_sqlite
leanexplore_declarations
/-- In a set of more than $n^2$ triples with coordinates from $\{1, ..., n\}$ we must have two triples that are equal in their first two coordinates. -/ @[category API, AMS 5] lemma exists_pair_of_mem_Icc {s : List (Fin 3 → ℕ)} {n : ℕ} (hn : 2 ≤ n) (hs₁ : ∀ a ∈ s, Set.range a ⊆ Set.Icc 1 n) (hs₂ : s.length > n ^ 2)...
86
leanexplore_declaration
leanexplore:382107
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem maximalLength_four : maximalLength 4 = 8 := by sorry
778
leanexplore_declaration
leanexplore:382108
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem maximalLength_one : maximalLength 1 = 1 := by classical have (x : ℕ) (s : List (Fin 3 → ℕ)) : IsIncreasing₂ s ∧ (∀ a ∈ s, ∀ i, a i = 1) ∧ s.length = x ↔ s = [fun _ => 1] ∧ x = 1 ∨ s = [] ∧ x = 0 := by refine ⟨fun ⟨hs₁, hs₂, hx⟩ => ?_, fun h => by aesop⟩ have := ...
452
leanexplore_declaration
leanexplore:382109
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem maximalLength_zero : maximalLength 0 = 0 := by have (x : ℕ) (s : List (Fin 3 → ℕ)) : IsIncreasing₂ s ∧ (∀ a, a ∉ s) ∧ s.length = x ↔ s = [] ∧ x = 0 := by refine ⟨fun ⟨ha₁, ha₂, rfl⟩ => ?_, fun ⟨h₁, h₂⟩ => by simp [h₁, h₂]⟩ simp only [List.length_eq_zero_iff, and_self] ...
281
leanexplore_declaration
leanexplore:382110
leanexplore_sqlite
leanexplore_declarations
/-- Let $F(n)$ be the maximal length of a $2$-increasing sequence of triples with each coordinate belong to $[n]$ ($= \{1, 2, ..., n\}$). -/ noncomputable def maximalLength (n : ℕ) : ℕ := sSup { List.length s | (s) (_ : ∀ a ∈ s, Set.range a ⊆ Set.Icc 1 n) (_ : IsIncreasing₂ s) }
522
leanexplore_declaration
leanexplore:382111
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 5] theorem isIncreasing₂_const_length {α : Type*} [LinearOrder α] {val : α} {s : List (Fin 3 → α)} (h : IsIncreasing₂ s) (h_const : ∀ a ∈ s, ∀ j, a j = val) : s.length < 2 := by by_contra! have h₀ : s[0] = fun _ => val := funext fun i => by simp [h_const s[0] (by simp)] have h₁ : s[1] ...
144
leanexplore_declaration
leanexplore:382112
leanexplore_sqlite
leanexplore_declarations
@[simp, category API, AMS 5] theorem isIncreasing₂_singleton {α : Type*} [LT α] (a : Fin 3 → α) : IsIncreasing₂ [a] := by simp [IsIncreasing₂]
130
leanexplore_declaration
leanexplore:382113
leanexplore_sqlite
leanexplore_declarations
@[simp, category API, AMS 5] theorem isIncreasing₂_nil {α : Type*} [LT α] : IsIncreasing₂ (α := α) [] := by simp [IsIncreasing₂]
190
leanexplore_declaration
leanexplore:382114
leanexplore_sqlite
leanexplore_declarations
/-- Since the $2$-less relation is not transitive, we make a further definition to specify transivity. -/ def IsIncreasing₂ {α : Type*} [LT α] (s : List (Fin 3 → α)) : Prop := s.Pairwise lt₂
323
leanexplore_declaration
leanexplore:382115
leanexplore_sqlite
leanexplore_declarations
/-- The $2$-less relation is not transitive on the naturals. -/ @[category API, AMS 5] theorem not_trans_lt₂_nat : ∃ (a b c : Fin 3 → ℕ), a <₂ b ∧ b <₂ c ∧ ¬a <₂ c := ⟨![1, 2, 3], ![2, 3, 1], ![3, 1, 2], ⟨0, 1, zero_ne_one, by simp⟩, ⟨0, 2, by simp, by simp⟩, not_lt₂_of_exists 1 2 (by simp) (by simp) (by sim...
188
leanexplore_declaration
leanexplore:382116
leanexplore_sqlite
leanexplore_declarations
/-- but $(1, 2, 3)$ is not $2$-less than $(1, 2, 4). -/ @[category test, AMS 5] theorem not_lt₂_example : ¬![1, 2, 3] <₂ ![1, 2, 4] := not_lt₂_of_exists 0 1 zero_ne_one (by simp) (by simp)
133
leanexplore_declaration
leanexplore:382117
leanexplore_sqlite
leanexplore_declarations
/-- $(7, 7, 7) <_2 (7, 8, 9)$ -/ @[category test, AMS 5] theorem lt₂_example_3 : ![7, 7, 7] <₂ ![7, 8, 9] := ⟨1, 2, by simp, by simp⟩
133
leanexplore_declaration
leanexplore:382118
leanexplore_sqlite
leanexplore_declarations
/-- $(5, 6, 1) <_2 (7, 7, 7)$ -/ @[category test, AMS 5] theorem lt₂_example_2 : ![5, 6, 1] <₂ ![7, 7, 7] := ⟨0, 2, by simp, by simp⟩
151
leanexplore_declaration
leanexplore:382119
leanexplore_sqlite
leanexplore_declarations
/-- For example, $(3, 3, 9) <_2 (5, 6, 1)$. -/ @[category test, AMS 5] theorem lt₂_example_1 : ![3, 3, 9] <₂ ![5, 6, 1] := ⟨0, 1, zero_ne_one, by simp⟩
110
leanexplore_declaration
leanexplore:382120
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 5] theorem not_lt₂_self {α : Type*} [LinearOrder α] (a : Fin 3 → α) : ¬a <₂ a := by simp
403
leanexplore_declaration
leanexplore:382121
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 5] theorem not_lt₂_of_exists {α : Type*} [LinearOrder α] {a b : Fin 3 → α} (i j : Fin 3) (hij : i ≠ j) (hi : b i ≤ a i) (hj : b j ≤ a j) : ¬a <₂ b := by refine not_lt₂.2 fun k l hkl h => ?_ have : k ≠ i := fun hk => not_lt.2 hi (hk ▸ h) have : k ≠ j := fun hk => not_lt.2 hj (hk ▸ h) ...
164
leanexplore_declaration
leanexplore:382122
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 5] theorem not_lt₂_of_forall_le {α : Type*} [LinearOrder α] {a b : Fin 3 → α} (h : ∀ i, b i ≤ a i) : ¬a <₂ b := not_lt₂.2 fun _ _ _ _ => h _
160
leanexplore_declaration
leanexplore:382123
leanexplore_sqlite
leanexplore_declarations
@[simp, category API, AMS 5] theorem not_lt₂ {α : Type*} [LinearOrder α] {a b : Fin 3 → α} : ¬a <₂ b ↔ ∀ i j, i ≠ j → a i < b i → b j ≤ a j := by simp [lt₂]
289
leanexplore_declaration
leanexplore:382124
leanexplore_sqlite
leanexplore_declarations
/-- Let $a = (a_1, a_2, a_3)$ and $b = (b_1, b_2, b_3)$ be two triples of integers. Say that $a$ is $2$-less than $b$, or $a <_2 b$, if $a_i < b_i$ for at least two co-ordinates $i$. -/ def lt₂ {α : Type*} [LT α] (a b : Fin 3 → α) : Prop := ∃ (i j : Fin 3), i ≠ j ∧ a i < b i ∧ a j < b j
428
leanexplore_declaration
leanexplore:382125
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 1.6 (Odd case).** For a nonempty isolate-free graph $G$ on $n$ vertices, if $D$ is odd, then $(D + 1)(D + 3) \cdot i(G) \leq (D^2 + 3) \cdot n$. -/ @[category research open, AMS 5] theorem independentDominationOdd (hIso : 0 < G.minDegree) (hOdd : Odd G.maxDegree) : let D := G.maxDegree let i :=...
420
leanexplore_declaration
leanexplore:382126
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 1.6 (Even case).** For a nonempty isolate-free graph $G$ on $n$ vertices, if $D$ is even, then $(D + 2)^2 \cdot i(G) \leq (D^2 + 4) \cdot n$. -/ @[category research open, AMS 5] theorem independentDominationEven (hIso : 0 < G.minDegree) (hEven : Even G.maxDegree) : let D := G.maxDegree let i :=...
180
leanexplore_declaration
leanexplore:382127
leanexplore_sqlite
leanexplore_declarations
/-- For $n = 8$, $2$ is not contained in the base $3$ digits of $n$. -/ @[category test, AMS 5 11] theorem two_not_in_digits_three_pow_eight : 2 ∉ Nat.digits 3 (2^8) := by norm_num
558
leanexplore_declaration
leanexplore:382128
leanexplore_sqlite
leanexplore_declarations
/-- For $n > 8$, $2^n$ is not the the sum of distinct powers of $3$. Expressed here in terms of the base $3$ digits of $n$. This conjecture is equivalent to the halting of a $15$-state $2$-symbol Turing Machine. TODO(lezeau): Formalize the Turing Machine version of this problem. Source: *Hardness of Busy Beaver Valu...
355
leanexplore_declaration
leanexplore:382129
leanexplore_sqlite
leanexplore_declarations
/-- The positive characteristic case of the Zariski Cancellation Problem is false in dimension `3` -/ @[category research solved, AMS 13 14] theorem zariski_cancellation_problem.variants.false_pos_card (p : ℕ) [hp : Fact p.Prime] {ι : Type*} [Fintype ι] (hι : Fintype.card ι = 3) : ¬ IsCancellative (ZMod p) (MvP...
261
leanexplore_declaration
leanexplore:382130
leanexplore_sqlite
leanexplore_declarations
/-- The two variable polynomial ring `k[X]` is cancellative in any characteristic -/ @[category research solved, AMS 13 14] theorem zariski_cancellation_problem.variants.dim_two {k : Type*} [Field k] : IsCancellative k (MvPolynomial (Fin 2) k) := by sorry
244
leanexplore_declaration
leanexplore:382131
leanexplore_sqlite
leanexplore_declarations
/-- The single variable polynomial ring `k[X]` is cancellative in any characteristic -/ @[category research solved, AMS 13 14] theorem zariski_cancellation_problem.variants.dim_one {k : Type*} [Field k] : IsCancellative k k[X] := by sorry
311
leanexplore_declaration
leanexplore:382132
leanexplore_sqlite
leanexplore_declarations
/-- The **Zariski Cancellation Problem**: every polynomial ring over a field `k` of characteristic `0` is cancellative. -/ @[category research open, AMS 13 14] theorem zariski_cancellation_problem {k : Type*} [Field k] [CharZero k] {ι : Type*} [Fintype ι] : IsCancellative k (MvPolynomial ι k) := by sorry
383
leanexplore_declaration
leanexplore:382133
leanexplore_sqlite
leanexplore_declarations
/-- A finitely generated `k`-algebra `A` is cancellative if for all finitely generated `k` algebras `B` such that `B[X] ≅ₖ A[X]` we have `B ≅ₖ A`. -/ def IsCancellative (k A : Type*) [Field k] [CommRing A] [Algebra k A] [Algebra.FiniteType k A] : Prop := ∀ {B : Type*} [CommRing B] [Algebra k B] [Algebra.FiniteT...
418
leanexplore_declaration
leanexplore:382134
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 4.3 → Conjecture 4.4**: If conjecture 4.3 holds true, then a special case of conjecture 4.4 for $n = 3$ is obtained, and the lower bound is $3119$. -/ @[category test, AMS 11] theorem conjecture_4_4_def_3 (hc4_3: type_of% conjecture_4_3) : type_of% (conjecture_4_4 3) := by simp only [Filter.Eventuall...
436
leanexplore_declaration
leanexplore:382135
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 4.2 → Conjecture 4.4**: If conjecture 4.2 holds true, then this implies a special case of conjecture 4.4 for $n = 2$. For this scenario, the lower bound is now $233$. -/ @[category test, AMS 11] theorem conjecture_4_4_def_2 (hc4_2: type_of% conjecture_4_2) : type_of% (conjecture_4_4 2) := by simp onl...
425
leanexplore_declaration
leanexplore:382136
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 4.1 → Conjecture 4.4**: If conjecture 4.1 holds true, then this implies a special case of conjecture 4.4 where $n = 1$. In this case the lower bound would be $5$. -/ @[category test, AMS 11] theorem conjecture_4_4_def_1 (hc4_1: type_of% conjecture_4_1) : type_of% (conjecture_4_4 1) := by simp [Filter...
466
leanexplore_declaration
leanexplore:382137
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 1.1 → Conjecture 4.4**: If conjecture 1.1 holds true, then this implies a special case of conjecture 4.4 where $n = 0$. In this case the lower bound for the odd prime $k$ would be $0$. -/ @[category test, AMS 11] theorem conjecture_4_4_def_0 (hc1_1: type_of% conjecture_1_1) : type_of% (conjecture_4_4 0...
265
leanexplore_declaration
leanexplore:382138
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 4.4**: Given a natural number $n ∈ ℕ$, for all large enough odd prime $k$ (depending on $n$), $nk < S(k)$. -/ @[category research open, AMS 11] theorem conjecture_4_4 (n : ℕ) : ∀ᶠ (k : ℕ) in Filter.atTop, k.Prime → Odd k → n * k < S k := by sorry
220
leanexplore_declaration
leanexplore:382139
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 4.3**: For any prime $k$ larger than $3119$, $S(k) > 3k$. -/ @[category research open, AMS 11] theorem conjecture_4_3 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) (hgt : k > 3119) : 3 * k < S k := by sorry
218
leanexplore_declaration
leanexplore:382140
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 4.2**: For any prime $k$ larger than $233$, $S(k) > 2k$. -/ @[category research open, AMS 11] theorem conjecture_4_2 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) (hgt : k > 233) : 2 * k < S k := by sorry
209
leanexplore_declaration
leanexplore:382141
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 4.1**: For any prime $k$ larger than $5$, $S(k) > k$. -/ @[category research open, AMS 11] theorem conjecture_4_1 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) (hgt : k > 5) : k < S k := by sorry
251
leanexplore_declaration
leanexplore:382142
leanexplore_sqlite
leanexplore_declarations
/-- **Conjecture 1.1**: For any odd prime $k$, the sum associated with the classical theta function $θ_3$, $S(k)$ is positive. -/ @[category research open, AMS 11] theorem conjecture_1_1 (k : ℕ) (hprim : k.Prime) (hodd : Odd k) : 0 < S k := by sorry
280
leanexplore_declaration
leanexplore:382143
leanexplore_sqlite
leanexplore_declarations
/-- Note that in Table 1 in https://arxiv.org/abs/2501.03234v1, there seems to be an error: 11 appears twice. The first 10 values of $S$. -/ @[category test, AMS 11] theorem S_fst_10 : List.map S (List.range 10) = [0, 0, 1, 2, 5, 4, 7, 10, 11, 8] := by unfold S decide +kernel
108
leanexplore_declaration
leanexplore:382144
leanexplore_sqlite
leanexplore_declarations
/-- Define the sum $$S(k) := \sum_{h=1}^{k-1}S'(h, k)$$ -/ def S (k : ℕ) : ℤ := ∑ h ∈ Finset.Ico 1 k, S' h k
274
leanexplore_declaration
leanexplore:382145
leanexplore_sqlite
leanexplore_declarations
/-- Define the sum $$S'(h, k) := \sum_{j=1}^{k-1}(-1)^{j + 1 + \lfloor \frac{hj}{k}\rfloor}.$$ -/ -- Using "S'" instead of "S", like it is in the paper, to avoid overloading function name. def S' (h k : ℕ) : ℤ := ∑ j ∈ Finset.Ico 1 k, (-1 : ℤ) ^ (j + 1 + ⌊(h * j : ℚ) / k⌋₊)
305
leanexplore_declaration
leanexplore:382146
leanexplore_sqlite
leanexplore_declarations
@[category research open, AMS 11 15 22] theorem conjecture_1_1 {n : ℕ} (hn : 3 ≤ n) (g : SL(n, ℝ) ⧸ Subgroup.map (map (Int.castRingHom ℝ)) ⊤) (hg : IsCompact <| closure (MulAction.orbit (diagonalSubgroup (Fin n) ℝ) g)) : IsClosed <| MulAction.orbit (diagonalSubgroup (Fin n) ℝ) g := by sorry
126
leanexplore_declaration
leanexplore:382147
leanexplore_sqlite
leanexplore_declarations
instance : TopologicalSpace (SpecialLinearGroup n ℝ) := inferInstanceAs (TopologicalSpace { A : Matrix n n ℝ // A.det = 1 })
290
leanexplore_declaration
leanexplore:382148
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that if $p(x)$ and $q(x)$ are monic real-rooted polynomials of degree $3$, then $$\frac{1}{\Phi_3(p\boxplus_n q)} \ge \frac{1}{\Phi_3(p)}+\frac{1}{\Phi_3(q)}?$$ -/ @[category research open, AMS 26] theorem four_3 : answer(sorry) ↔ ∀ (p q : ℝ[X]), FourProp p q 3 := by sorry
290
leanexplore_declaration
leanexplore:382149
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that if $p(x)$ and $q(x)$ are monic real-rooted polynomials of degree $2$, then $$\frac{1}{\Phi_2(p\boxplus_n q)} \ge \frac{1}{\Phi_2(p)}+\frac{1}{\Phi_2(q)}?$$ -/ @[category research open, AMS 26] theorem four_2 : answer(sorry) ↔ ∀ (p q : ℝ[X]), FourProp p q 2 := by sorry
541
leanexplore_declaration
leanexplore:382150
leanexplore_sqlite
leanexplore_declarations
/-- Is it true that if $p(x)$ and $q(x)$ are monic real-rooted polynomials of degree $n$, then $$\frac{1}{\Phi_n(p\boxplus_n q)} \ge \frac{1}{\Phi_n(p)}+\frac{1}{\Phi_n(q)}?$$ Note: while no proof of this is published yet, the authors of [arxiv/2602.05192](https://arxiv.org/abs/2602.05192) announced that a proof will ...
364
leanexplore_declaration
leanexplore:382151
leanexplore_sqlite
leanexplore_declarations
/-- A predicate that holds if $p(x)$ and $q(x)$ are monic real-rooted polynomials of degree $n$, then $$\frac{1}{\Phi_n(p\boxplus_n q)} \ge \frac{1}{\Phi_n(p)}+\frac{1}{\Phi_n(q)}?$$ -/ def FourProp (p q : ℝ[X]) (n : ℕ) : Prop := p.degree = n → p.roots.card = n → q.degree = n → q.roots.card = n → p.Monic → q.Monic...
379
leanexplore_declaration
leanexplore:382152
leanexplore_sqlite
leanexplore_declarations
/-- For a monic polynomial $p(x)=\prod_{i\le n}(x- \lambda_i)$, define $$\Phi_n(p):=\sum_{i\le n}(\sum_{j\neq i} \frac1{\lambda_i-\lambda_j})^2$$ and $\Phi_n(p):=\infty$ if $p$ has a multiple root. -/ noncomputable def Φ (p : ℝ[X]) : ℝ≥0∞ := if p.roots.Nodup then let roots := p.roots.toFinset (∑ i ∈ roots, (∑...
211
leanexplore_declaration
leanexplore:382153
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 26] theorem finiteAdditiveConvolution_monic' (n : ℕ) (p q : ℝ[X]) (hn : 0 < n) (hp : p.degree = n) (hq : q.degree = n) (hp : p.Monic) (hq : q.Monic) : (p (⊞_n) q).Monic := by sorry
170
leanexplore_declaration
leanexplore:382154
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 26] theorem finiteAdditiveConvolution_degree (n : ℕ) (p q : ℝ[X]) (hp : p.degree = n) (hq : q.degree = n): (p (⊞_n) q).degree = n := by sorry
272
leanexplore_declaration
leanexplore:382155
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 26] theorem finiteAdditiveConvolution_comm (n : ℕ) (p q : F[X]) : p (⊞_n) q = q (⊞_n) p := by show ∑ a ∈_, _= ∑ a ∈_, _ exact sum_congr rfl fun m hm => (congr_arg₂ _) (sum_equiv (.prodComm _ _) (by simp [add_comm]) fun _ _ => by ring!) rfl
526
leanexplore_declaration
leanexplore:382156
leanexplore_sqlite
leanexplore_declarations
/-- Define $p \boxplus_n q(x)$ to be the polynomial $$ (p \boxplus_n q)(x) = \sum_{k=0}^n c_k x^{n-k} $$ where the coefficients $c_k$ are given by the formula: $$ c_k = \sum_{i+j=k} \frac{(n-i)! (n-j)!}{n! (n-k)!} a_i b_j $$ for $k = 0, 1, \dots, n$. -/ noncomputable def finiteAdditiveConvolution (n : ℕ) (p q : F[X]) ...
702
leanexplore_declaration
leanexplore:382157
leanexplore_sqlite
leanexplore_declarations
/-- Does there exist a constant $c > 0$ so that for every graph $G$ and every $\epsilon$ between $0$ and $1$, $V$ contains an $\epsilon$-light subset $S$ of size at least $c \epsilon |V|$? Note: While no proof of this is published yet, the authors of [arxiv/2602.05192](https://arxiv.org/abs/2602.05192) announced that ...
533
leanexplore_declaration
leanexplore:382158
leanexplore_sqlite
leanexplore_declarations
/-- For a graph $G = (V, E)$, let $G_S = (V, E(S,S))$ denote the graph with the same vertex set, but only the edges between vertices in $S$. Let $L$ be the Laplacian matrix of $G$ and let $L_S$ be the Laplacian of $G_S$. I say that a set of vertices $S$ is $\epsilon$-light if the matrix $\epsilon L - L_S$ is positive ...
863
leanexplore_declaration
leanexplore:382159
leanexplore_sqlite
leanexplore_declarations
/-- Does the series $$ \sum_{n=1}^{\infty} \frac{\left(\frac{2}{3} + \frac{1}{3}\sin n\right)^n}{n} $$ converge? After computing approximately $10^7$ terms, the partial sums approximate $2.163$. See https://arxiv.org/abs/2007.11017 for a proof of the convergence, relying on an irrationality measure for pi. Also se...
239
leanexplore_declaration
leanexplore:382160
leanexplore_sqlite
leanexplore_declarations
/-- There is an accumulation point of the sequence `(3/2)^n` modulo `1`. -/ @[category test, AMS 11] theorem isAccumulationPoint_three_halves_pow_exists : ∃ p, (IsAccumulationPoint p (fun n => Int.fract <| (3 / 2 : ℝ)^n)) := by sorry
242
leanexplore_declaration
leanexplore:382161
leanexplore_sqlite
leanexplore_declarations
/-- Find an accumulation point of the sequence `(3/2)^n` modulo `1`. -/ @[category research open, AMS 11] theorem isAccumulationPoint_three_halves_pow : IsAccumulationPoint answer(sorry) (fun n => Int.fract <| (3 / 2 : ℝ)^n) := by sorry
266
leanexplore_declaration
leanexplore:382162
leanexplore_sqlite
leanexplore_declarations
/-- The sequence `(3/2)^n` has infinitely many accumulation points modulo `1`. -/ @[category research solved, AMS 11] theorem isAccumulationPoint_three_halves_pow_infinite : {x | IsAccumulationPoint x (fun n => Int.fract <| (3 / 2 : ℝ)^n)}.Infinite := by sorry
317
leanexplore_declaration
leanexplore:382163
leanexplore_sqlite
leanexplore_declarations
/-- For any transcendental number `x`, the sequence `x * (3 / 2) ^ n` is equidistributed modulo 1. -/ @[category research open, AMS 11] theorem isEquidistributedModuloOne_transcendental_three_halves_pow (x : ℝ) (hx : Transcendental ℚ x) : IsEquidistributedModuloOne (fun n ↦ x * (3 / 2 : ℝ) ^ n) := by sorry
218
leanexplore_declaration
leanexplore:382164
leanexplore_sqlite
leanexplore_declarations
/-- The sequence `(3/2)^n` is equidistributed modulo `1`. -/ @[category research open, AMS 11] theorem isEquidistributedModuloOne_three_halves_pow : IsEquidistributedModuloOne (fun n => (3 / 2 : ℝ)^n) := by sorry
324
leanexplore_declaration
leanexplore:382165
leanexplore_sqlite
leanexplore_declarations
/-- If a point `x` is an accumulation point of a sequence `s_0, s_1, ...` then there is a subsequence of `s` that tends to `x` -/ def isAccumulationPoint_iff_exists_subsequence_tendsto (x : ℝ) (s : ℕ → ℝ) (hx : IsAccumulationPoint x s) : ∃ (u : ℕ → ℕ), StrictMono u ∧ Filter.atTop.Tendsto (s ∘ u) (𝓝 x) := by ...
241
leanexplore_declaration
leanexplore:382166
leanexplore_sqlite
leanexplore_declarations
/-- A point `x` is an accumulation point of a sequence `s_0, s_1, ...` if any neighbourhood of `x` contains a point of the sequence distinct from `x`. -/ def IsAccumulationPoint (x : ℝ) (s : ℕ → ℝ) : Prop := x ∈ closure (Set.range s \ {x})
368
leanexplore_declaration
leanexplore:382167
leanexplore_sqlite
leanexplore_declarations
/-- A sequence `(s_1, s_2, s_3, ...)` of real numbers is said to be equidistributed modulo 1 or uniformly distributed modulo 1 if the sequence of the fractional parts of `a_n`, denoted by `(a_n)` or by `a_n − ⌊a_n⌋`, is equidistributed in the interval `[0, 1]`. -/ def IsEquidistributedModuloOne (s : ℕ → ℝ) : Prop := ...
454
leanexplore_declaration
leanexplore:382168
leanexplore_sqlite
leanexplore_declarations
/-- A sequence `(s_1, s_2, s_3, ...)` of real numbers is said to be equidistributed on an interval `[a, b]` if for every subinterval `[c, d]` of `[a, b]` we have `lim_{n→ ∞} |{s_1, ..., s_n} ∩ [c, d]| / n = (d - c)/(b-a)` -/ def IsEquidistributed (a b : ℝ) (s : ℕ → ℝ) : Prop := ∀ c d, c ≤ d → Set.Icc c d ⊆ Set.Icc a ...
547
leanexplore_declaration
leanexplore:382169
leanexplore_sqlite
leanexplore_declarations
/-- Erdős, Pomerance, and Sárközy [EPS87] proved that for all large $x$, the number of $n \leq x$ with $\phi(n) = \phi(n+1)$ is at most $$\frac{x}{\exp((\log x)^{1/3})}$$. [EPS87] Erd\H os, Paul and Pomerance, Carl and S\'ark\"ozy, Andr\'as, _On locally repeated values of certain arithmetic functions_. {II}. Proc. Ame...
473
leanexplore_declaration
leanexplore:382170
leanexplore_sqlite
leanexplore_declarations
/-- Erdős [Er85e] says that, presumably, for every $k \geq 1$ the equation $$\phi(n) = \phi(n+1) = \cdots = \phi (n+k)$$ has infinitely many solutions. [Er85e] Erdős, P., _Some problems and results in number theory_. Number theory and combinatorics. Japan 1984 (Tokyo, Okayama and Kyoto, 1984) (1985), 65-87. -/ @[categ...
232
leanexplore_declaration
leanexplore:382171
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many solutions to $\phi(n) = \phi(n+1)$, where $\phi$ is the Euler totient function? -/ @[category research open, AMS 11] theorem erdos_1003 : answer(sorry) ↔ Set.Infinite {n | φ n = φ (n + 1)} := by sorry
483
leanexplore_declaration
leanexplore:382172
leanexplore_sqlite
leanexplore_declarations
/-- Erdős, Pomerance, and Sárközy [EPS87] proved that if φ(n+k) are all distinct for 1 ≤ k ≤ K then K ≤ n / exp(c (log n)^{1/3}) for some constant c > 0. Here we state the existence of such a constant c. -/ @[category research solved, AMS 11] theorem erdos_1004.variants.le_of_isDistinctTotientRun : answer(True) ↔ ∃...
357
leanexplore_declaration
leanexplore:382173
leanexplore_sqlite
leanexplore_declarations
/-- For any fixed c > 0, if x is sufficiently large then there exists n ≤ x such that the values of φ(n+k) are all distinct for 1 ≤ k ≤ (log x)^c. This is an open problem. -/ @[category research open, AMS 11] theorem erdos_1004 : answer(sorry) ↔ ∀ c > (0 : ℝ), ∀ᶠ x in atTop, ∃ n ≤ x, IsDistinctTotientRun n ⌊(...
190
leanexplore_declaration
leanexplore:382174
leanexplore_sqlite
leanexplore_declarations
/-- `IsDistinctTotientRun n K` means that the values `φ(n+1), φ(n+2), ..., φ(n+K)` are all distinct. -/ def IsDistinctTotientRun (n K : ℕ) : Prop := (Set.Icc (n + 1) (n + K)).InjOn totient