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
270
leanexplore_declaration
leanexplore:385120
leanexplore_sqlite
leanexplore_declarations
/-- There are infinitely many real quadratic fields `ℚ(√d)` with class number one, where `d > 1` is a squarefree integer. -/ @[category research open, AMS 11] theorem class_number_problem : { d : ℤ | Squarefree d ∧ d > 1 ∧ IsClassNumberOne d }.Infinite := by sorry
167
leanexplore_declaration
leanexplore:385121
leanexplore_sqlite
leanexplore_declarations
def IsClassNumberOne (d : ℤ) : Prop := ∃ (h₂ : Irreducible (X ^ 2 - C (d : ℚ))), haveI := Fact.mk h₂ NumberField.classNumber (AdjoinRoot (X ^ 2 - C (d : ℚ))) = 1
443
leanexplore_declaration
leanexplore:385122
leanexplore_sqlite
leanexplore_declarations
/-- Now form a sequence beginning with any positive integer, where each subsequent term is obtained by applying the operation defined above to the previous term. The **Collatz conjecture** states that for any positive integer $n$, there exists a natural number $m$ such that the $m$-th term of the sequence is 1. -/ @[ca...
218
leanexplore_declaration
leanexplore:385123
leanexplore_sqlite
leanexplore_declarations
/-- Consider the following operation on the natural numbers: If the number is even, divide it by two. If the number is odd, triple it and add one. -/ def collatzStep (n : ℕ) : ℕ := if Even n then n / 2 else 3 * n + 1
180
leanexplore_declaration
leanexplore:385124
leanexplore_sqlite
leanexplore_declarations
@[category research open, AMS 11] theorem Tunnell_even_converse (n : ℕ) (hsqf : Squarefree n) (heven : Even n) : 2 * (C n).ncard = (D n).ncard → congruentNumber n := by sorry
177
leanexplore_declaration
leanexplore:385125
leanexplore_sqlite
leanexplore_declarations
@[category research open, AMS 11] theorem Tunnell_odd_converse (n : ℕ) (hsqf : Squarefree n) (hodd : Odd n) : 2 * (A n).ncard = (B n).ncard → congruentNumber n := by sorry
173
leanexplore_declaration
leanexplore:385126
leanexplore_sqlite
leanexplore_declarations
@[category research solved, AMS 11] theorem Tunnell_even (n : ℕ) (hsqf : Squarefree n) (heven : Even n) : congruentNumber n → 2 * (C n).ncard = (D n).ncard := by sorry
170
leanexplore_declaration
leanexplore:385127
leanexplore_sqlite
leanexplore_declarations
@[category research solved, AMS 11] theorem Tunnell_odd (n : ℕ) (hsqf : Squarefree n) (hodd : Odd n) : congruentNumber n → 2 * (A n).ncard = (B n).ncard := by sorry
87
leanexplore_declaration
leanexplore:385128
leanexplore_sqlite
leanexplore_declarations
def D (n : ℕ) : Set (ℤ × ℤ × ℤ) := {(x, y, z) | n = 8 * x ^ 2 + 2 * y ^ 2 + 16 * z ^ 2}
87
leanexplore_declaration
leanexplore:385129
leanexplore_sqlite
leanexplore_declarations
def C (n : ℕ) : Set (ℤ × ℤ × ℤ) := {(x, y, z) | n = 8 * x ^ 2 + 2 * y ^ 2 + 64 * z ^ 2}
82
leanexplore_declaration
leanexplore:385130
leanexplore_sqlite
leanexplore_declarations
def B (n : ℕ) : Set (ℤ × ℤ × ℤ) := {(x, y, z) | n = 2 * x ^ 2 + y ^ 2 + 8 * z ^ 2}
83
leanexplore_declaration
leanexplore:385131
leanexplore_sqlite
leanexplore_declarations
def A (n : ℕ) : Set (ℤ × ℤ × ℤ) := {(x, y, z) | n = 2 * x ^ 2 + y ^ 2 + 32 * z ^ 2}
325
leanexplore_declaration
leanexplore:385132
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem congruentNumber_157_zagier : congruentNumber 157 := by use 411340519227716149383203 / 21666555693714761309610, 6803298487826435051217540 / 411340519227716149383203, 224403517704336969924557513090674863160948472041 / 8912332268928859588025535178967163570016480830 norm_n...
119
leanexplore_declaration
leanexplore:385133
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem congruentNumber_7 : congruentNumber 7 := by use 35 / 12, 24 / 5, 337 / 60 norm_num
101
leanexplore_declaration
leanexplore:385134
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem congruentNumber_6 : congruentNumber 6 := by use 3, 4, 5 norm_num
115
leanexplore_declaration
leanexplore:385135
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem congruentNumber_5 : congruentNumber 5 := by use 3 / 2, 20 / 3, 41 / 6 norm_num
90
leanexplore_declaration
leanexplore:385136
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem not_congruentNumber_1 : ¬ congruentNumber 1 := by sorry
100
leanexplore_declaration
leanexplore:385137
leanexplore_sqlite
leanexplore_declarations
def congruentNumber (n : ℕ) : Prop := ∃ (a b c : ℚ), a ^ 2 + b ^ 2 = c ^ 2 ∧ n = (2⁻¹ : ℚ) * a * b
1,533
leanexplore_declaration
leanexplore:385138
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem conway9_locallyLinear : Conway9.LocallyLinear := by dsimp [LocallyLinear] constructor · simp only [EdgeDisjointTriangles, Set.Pairwise] intro x hx y hy hxy simp only [Conway9, completeGraph_boxProd_completeGraph_cliqueSet] at hx hy rcases hx with hx | hx <;> rcases ...
262
leanexplore_declaration
leanexplore:385139
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 5] lemma completeGraph_boxProd_completeGraph_cliqueSet : ((completeGraph (Fin 3)) □ (completeGraph (Fin 3))).cliqueSet 3 = {({(p, q)| p} : Finset (Fin 3 × Fin 3)) | q } ∪ {({(q, p)| p} : Finset (Fin 3 × Fin 3)) | q } := by sorry
735
leanexplore_declaration
leanexplore:385140
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem conway9_nonEdgesAreDiagonals : NonEdgesAreDiagonals Conway9 := by simp only [NonEdgesAreDiagonals] have : ∀ i, Fintype ↑(Conway9.neighborSet i) := by intro i exact Fintype.ofFinite ↑(Conway9.neighborSet i) have : ∀ i j, ((Conway9.neighborFinset i) ∩ Conway9.neighborFinset j...
332
leanexplore_declaration
leanexplore:385141
leanexplore_sqlite
leanexplore_declarations
/-- The box product of two triangles is an example with 9 vertices satisfying the condition. (This graph is the complement of the one described in https://vimeo.com/109815595 and it is also isomorphic to it and to the Paley graph and the graph of the 3-3 duoprism) -/ def Conway9 := (completeGraph (Fin 3)) □ (completeGr...
675
leanexplore_declaration
leanexplore:385142
leanexplore_sqlite
leanexplore_declarations
/-- The triangle is an example with 3 vertices satisfying the condition. -/ @[category test, AMS 5] theorem triangle_locallyLinear_and_nonEdgesAreDiagonals : (completeGraph (Fin 3)).LocallyLinear ∧ NonEdgesAreDiagonals (completeGraph (Fin 3)) := by constructor · simp [LocallyLinear] constructor · simp o...
574
leanexplore_declaration
leanexplore:385143
leanexplore_sqlite
leanexplore_declarations
/-- Does there exist an undirected graph with 99 vertices, in which each two adjacent vertices have exactly one common neighbor, and in which each two non-adjacent vertices have exactly two common neighbors? Equivalently, every edge should be part of a unique triangle and every non-adjacent pair should be one of the tw...
210
leanexplore_declaration
leanexplore:385144
leanexplore_sqlite
leanexplore_declarations
/-- Each two non-adjacent vertices have exactly two common neighbors. -/ def NonEdgesAreDiagonals (G : SimpleGraph V) : Prop := Pairwise fun i j => ¬ G.Adj i j → (G.neighborSet i ∩ G.neighborSet j).ncard = 2
294
leanexplore_declaration
leanexplore:385145
leanexplore_sqlite
leanexplore_declarations
@[category undergraduate, AMS 5] lemma completeGraph_cliqueSet : (⊤ : SimpleGraph V).cliqueSet (Fintype.card V) = {Set.univ.toFinset} := by simp only [cliqueSet, isNClique_iff ⊤, completeGraphIsClique, true_and, Set.toFinset_univ] exact (Set.Sized.univ_mem_iff fun ⦃x⦄ a ↦ a).mp rfl
153
leanexplore_declaration
leanexplore:385146
leanexplore_sqlite
leanexplore_declarations
@[category undergraduate, AMS 5] lemma completeGraphIsClique (s : Finset V) : (⊤ : SimpleGraph V).IsClique s := Pairwise.set_pairwise (fun _ _ a ↦ a) _
168
leanexplore_declaration
leanexplore:385147
leanexplore_sqlite
leanexplore_declarations
/-- In particular, the Dedekind number for `n = 10` is currently unknown. -/ @[category research open, AMS 5 6] theorem Dedekind_10 : M 10 = answer(sorry) := by sorry
164
leanexplore_declaration
leanexplore:385148
leanexplore_sqlite
leanexplore_declarations
/-- No closed form for the Dedekind numbers are currently unknown. -/ @[category research open, AMS 5 6] theorem DedekindNumbers : M = answer(sorry) := by sorry
117
leanexplore_declaration
leanexplore:385149
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5 6] theorem M_eq_M' : M = M' := by ext n exact Fintype.card_congr (equivMonotoneSperner n)
552
leanexplore_declaration
leanexplore:385150
leanexplore_sqlite
leanexplore_declarations
/-- The set of monotone Boolean functions on `n` variables is in bijection with the set of Sperner families of subsets of `Fin n`. -/ def equivMonotoneSperner (n : ℕ) : {f : (Fin n → Bool) → Bool // Monotone f} ≃ {A : Finset (Finset (Fin n)) // IsSperner A} where toFun := fun ⟨f, hf⟩ => ⟨toSperner f, toSp...
655
leanexplore_declaration
leanexplore:385151
leanexplore_sqlite
leanexplore_declarations
@[category graduate, AMS 5 6] lemma toSperner_fromSperner {n : ℕ} (A : Finset (Finset (Fin n))) (hA : IsSperner A) : toSperner (fromSperner A) = A := by ext s; simp [toSperner, fromSperner] constructor <;> intro hs all_goals generalize_proofs at * · obtain ⟨ ⟨ t, ht₁, ht₂ ⟩, ht₃ ⟩ := hs convert ht₁ usin...
792
leanexplore_declaration
leanexplore:385152
leanexplore_sqlite
leanexplore_declarations
@[category graduate, AMS 5 6] lemma fromSperner_toSperner {n : ℕ} (f : (Fin n → Bool) → Bool) (hf : Monotone f) : fromSperner (toSperner f) = f := by funext v by_cases h : f v <;> simp_all +decide [ fromSperner ] · obtain ⟨t, ht₁, ht₂⟩ : ∃ t : Finset (Fin n), t ⊆ Finset.univ.filter (fun i => v i = true) ∧...
806
leanexplore_declaration
leanexplore:385153
leanexplore_sqlite
leanexplore_declarations
@[category graduate, AMS 5 6] lemma exists_minimal_true_subset {n : ℕ} {f : (Fin n → Bool) → Bool} (_ : Monotone f) {s : Finset (Fin n)} (hs : f (χ s) = true) : ∃ t, t ⊆ s ∧ f (χ t) = true ∧ ∀ u, u ⊆ t → f (χ u) = true → t ⊆ u := by obtain ⟨t, ht₁, ht₂⟩ : ∃ t ∈ {t : Finset (Fin n) | t ⊆ s ∧ f (χ t...
626
leanexplore_declaration
leanexplore:385154
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 6] lemma fromSperner_monotone {n : ℕ} (A : Finset (Finset (Fin n))) (_ : IsSperner A) : Monotone (fromSperner A) := by intro v w hvw hfv obtain ⟨s, hsA, hs⟩ : ∃ s ∈ A, s ⊆ supp v := by unfold fromSperner at hfv simp_all +decide [ Finset.subset_iff, mem_supp_iff ] ...
243
leanexplore_declaration
leanexplore:385155
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 6] lemma toSperner_isSperner {n : ℕ} (f : (Fin n → Bool) → Bool) (_ : Monotone f) : IsSperner (toSperner f) := by intro s hs t ht hst; simp_all +decide [ Finset.ext_iff] contrapose! hst; unfold toSperner at *; aesop
126
leanexplore_declaration
leanexplore:385156
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 6] lemma mem_supp_iff {n : ℕ} (v : Fin n → Bool) (i : Fin n) : i ∈ supp v ↔ v i = true := by simp [supp]
293
leanexplore_declaration
leanexplore:385157
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 6] lemma χ_le_iff {n : ℕ} (s t : Finset (Fin n)) : χ s ≤ χ t ↔ s ⊆ t := by constructor · intro h i hi contrapose! h exact fun H => by have := H i; simp_all +decide [ χ ] · intro h i; simp [χ]; by_cases hi : i ∈ s <;> simp_all +decide [ Finset.subset_iff ]
112
leanexplore_declaration
leanexplore:385158
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 6] lemma supp_χ {n : ℕ} (s : Finset (Fin n)) : supp (χ s) = s := by ext i simp [χ, supp]
112
leanexplore_declaration
leanexplore:385159
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 5] lemma χ_supp {n : ℕ} (v : Fin n → Bool) : χ (supp v) = v := by funext i; simp [χ, supp]
187
leanexplore_declaration
leanexplore:385160
leanexplore_sqlite
leanexplore_declarations
/-- Backward map: Sperner family → monotone Boolean function. -/ def fromSperner {n : ℕ} (A : Finset (Finset (Fin n))) (v : Fin n → Bool) : Bool := decide (∃ s ∈ A, ∀ i ∈ s, v i = true)
257
leanexplore_declaration
leanexplore:385161
leanexplore_sqlite
leanexplore_declarations
/-- Forward map: monotone function → Sperner family (the minimal true sets). -/ def toSperner {n : ℕ} (f : (Fin n → Bool) → Bool) : Finset (Finset (Fin n)) := univ.filter (fun s => f (χ s) = true ∧ ∀ t : Finset (Fin n), t ⊆ s → f (χ t) = true → s ⊆ t)
169
leanexplore_declaration
leanexplore:385162
leanexplore_sqlite
leanexplore_declarations
/-- The support of a Boolean-valued function: `supp v = {i | v i = true}`. -/ def supp {n : ℕ} (v : Fin n → Bool) : Finset (Fin n) := univ.filter (fun i => v i = true)
145
leanexplore_declaration
leanexplore:385163
leanexplore_sqlite
leanexplore_declarations
/-- The indicator function of a finset: `χ s i = true ↔ i ∈ s`. -/ def χ {n : ℕ} (s : Finset (Fin n)) : Fin n → Bool := fun i => decide (i ∈ s)
72
leanexplore_declaration
leanexplore:385164
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 6] theorem M'_three : M' 3 = 20 := by native_decide
69
leanexplore_declaration
leanexplore:385165
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 6] theorem M'_two : M' 2 = 6 := by native_decide
69
leanexplore_declaration
leanexplore:385166
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 6] theorem M'_one : M' 1 = 3 := by native_decide
70
leanexplore_declaration
leanexplore:385167
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 6] theorem M'_zero : M' 0 = 2 := by native_decide
70
leanexplore_declaration
leanexplore:385168
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem M_three : M 3 = 20 := by native_decide
67
leanexplore_declaration
leanexplore:385169
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem M_two : M 2 = 6 := by native_decide
67
leanexplore_declaration
leanexplore:385170
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem M_one : M 1 = 3 := by native_decide
94
leanexplore_declaration
leanexplore:385171
leanexplore_sqlite
leanexplore_declarations
/-- Values for small n -/ @[category test, AMS 5] theorem M_zero : M 0 = 2 := by native_decide
166
leanexplore_declaration
leanexplore:385172
leanexplore_sqlite
leanexplore_declarations
/-- $M'(n)$ is the number of antichains (Sperner families) of subsets of `Fin n`. -/ def M' (n : ℕ) : ℕ := Fintype.card {A : Finset (Finset (Fin n)) // IsSperner A}
253
leanexplore_declaration
leanexplore:385173
leanexplore_sqlite
leanexplore_declarations
instance isSpernerDecidable {n : ℕ} : DecidablePred (fun A : Finset (Finset (Fin n)) => IsSperner A) := fun A => by unfold IsSperner IsAntichain Set.Pairwise simp only [Finset.mem_coe, Pi.compl_apply, compl_iff_not] exact inferInstance
245
leanexplore_declaration
leanexplore:385174
leanexplore_sqlite
leanexplore_declarations
/-- A Sperner family (antichain) of subsets of `Fin n`: a family of sets such that no member is a subset of another. -/ def IsSperner {n : ℕ} (A : Finset (Finset (Fin n))) : Prop := IsAntichain (fun s t => s ⊆ t) (A : Set (Finset (Fin n)))
153
leanexplore_declaration
leanexplore:385175
leanexplore_sqlite
leanexplore_declarations
/-- $M(n)$ is the number of monotone Boolean functions on $n$ variables. -/ def M (n : ℕ) : ℕ := Fintype.card {f : (Fin n → Bool) → Bool // Monotone f}
195
leanexplore_declaration
leanexplore:385176
leanexplore_sqlite
leanexplore_declarations
instance piFinBoolDecidableLE {n : ℕ} : DecidableRel (fun (a b : Fin n → Bool) => a ≤ b) := fun a b => show Decidable (a ≤ b) from by rw [Pi.le_def] exact Fintype.decidableForallFintype
672
leanexplore_declaration
leanexplore:385177
leanexplore_sqlite
leanexplore_declarations
/-- Does the determinant of the sum $A + B$ of two $n \times n$ normal complex matrices $A$ and $B$ always lie in the convex hull of the $n!$ points $\prod_i (\lambda(A)_i + \lambda(B)_{\sigma(i)})$? Here the numbers $\lambda(A)_i$ and $\lambda(B)_i$ are the eigenvalues of $A$ and $B$, and $\sigma$ is an element of the...
637
leanexplore_declaration
leanexplore:385178
leanexplore_sqlite
leanexplore_declarations
/-- **Babai–Seress Conjecture (Conjecture 1.7)**: There exists an absolute constant $C$ such that every finite simple non-abelian group $G$ satisfies $$\operatorname{diam}(G) \leq (\log |G|)^C.$$ *Reference:* [L. Babai and Á. Seress, *On the diameter of permutation groups*, European Journal of Combinatorics 13 (1992),...
563
leanexplore_declaration
leanexplore:385179
leanexplore_sqlite
leanexplore_declarations
/-- **Babai–Seress Conjecture (Conjecture 1.5)**: There exists an absolute constant $C$ such that the diameter of the alternating group $A_n$ satisfies $$\operatorname{diam}(A_n) \leq n^C.$$ *Reference:* [L. Babai and Á. Seress, *On the diameter of permutation groups*, European Journal of Combinatorics 13 (1992), Conj...
1,699
leanexplore_declaration
leanexplore:385180
leanexplore_sqlite
leanexplore_declarations
/-- The symmetric group $S_2 \cong \mathbb{Z}/2\mathbb{Z}$ has group diameter $1$: the unique generating set $\{(01)\}$ produces the complete graph $K_2$, since the single non-identity element and its inverse (which are equal) cover the only other vertex. -/ @[category test, AMS 20] theorem groupDiam_perm_two : groupDi...
1,987
leanexplore_declaration
leanexplore:385181
leanexplore_sqlite
leanexplore_declarations
/-- The alternating group $A_3 \cong \mathbb{Z}/3\mathbb{Z}$ has group diameter $1$: every non-trivial generating set produces a complete Cayley graph $K_3$, since any single non-identity element and its inverse already reach the entire group. -/ @[category test, AMS 20] theorem groupDiam_alternating_three : groupDiam ...
520
leanexplore_declaration
leanexplore:385182
leanexplore_sqlite
leanexplore_declarations
/-- For the trivial group (with one element), the group diameter is zero, since every Cayley graph has only one vertex and hence diameter zero. -/ @[category test, AMS 20] theorem groupDiam_fin_one : groupDiam (alternatingGroup (Fin 0)) = 0 := by unfold groupDiam apply Nat.le_zero.mp apply csSup_le · exact ⟨0, ...
298
leanexplore_declaration
leanexplore:385183
leanexplore_sqlite
leanexplore_declarations
/-- The diameter of a finite group $G$, defined as the maximum diameter of the Cayley graphs $\Gamma(G, A)$ over all generating sets $A$ of $G$. -/ noncomputable def groupDiam (G : Type*) [Group G] [Fintype G] : ℕ := sSup { d : ℕ | ∃ S : Set G, Subgroup.closure S = ⊤ ∧ (cayleyGraph S).diam = d }
702
leanexplore_declaration
leanexplore:385184
leanexplore_sqlite
leanexplore_declarations
/-- The (undirected) Cayley graph of a group $G$ with respect to a generating set $S$. Two elements $g, h \in G$ are adjacent iff $g \neq h$ and $g^{-1} h \in S$ or $h^{-1} g \in S$. This is constructed using `SimpleGraph.fromRel`, which takes the relation $g \sim h \iff g^{-1} h \in S$ and automatically symmetrizes i...
231
leanexplore_declaration
leanexplore:385185
leanexplore_sqlite
leanexplore_declarations
/-- **The infinitude of sexy primes** There are infinitely many primes $p$ such that $p + 6$ is prime. -/ @[category research open, AMS 11] theorem infinite_sexy_primes : Infinite {p : ℕ | Prime p ∧ Prime (p + 6)} := by sorry
235
leanexplore_declaration
leanexplore:385186
leanexplore_sqlite
leanexplore_declarations
/-- **The infinitude of cousin primes** There are infinitely many primes $p$ such that $p + 4$ is prime. -/ @[category research open, AMS 11] theorem infinite_cousin_primes : Infinite {p : ℕ | Prime p ∧ Prime (p + 4)} := by sorry
246
leanexplore_declaration
leanexplore:385187
leanexplore_sqlite
leanexplore_declarations
/-- **The infinitude of Sophie Germain primes** There are infinitely many primes $p$ such that $2p + 1$ is prime. -/ @[category research open, AMS 11] theorem infinite_safe_primes : Infinite {p : ℕ | Prime p ∧ Prime (2 * p + 1)} := by sorry
255
leanexplore_declaration
leanexplore:385188
leanexplore_sqlite
leanexplore_declarations
/-- **Polignac's conjecture** For any integer $k$ there are infinitely many primes $p$ such that $p + 2k$ is prime. -/ @[category research open, AMS 11] theorem polignac_conjecture (k : ℕ) : Infinite {p : ℕ | p.Prime ∧ (p + 2 * k).Prime} := by sorry
458
leanexplore_declaration
leanexplore:385189
leanexplore_sqlite
leanexplore_declarations
/-- **Dickson's conjecture** If a finite set of linear integer forms $f_i(n) = a_i n+b_i$ satisfies Schinzel condition, there exist infinitely many natural numbers $m$ such that $f_i(m)$ are primes for all $i$. -/ @[category research open, AMS 11] theorem dickson_conjecture (fs : Finset ℤ[X]) (hfs : ∀ f ∈ fs, f.degree ...
101
leanexplore_declaration
leanexplore:385190
leanexplore_sqlite
leanexplore_declarations
@[category research open, AMS 11 14] theorem rank_elkies28 : finrank ℤ elkies28⟮ℚ⟯ = 28 := by sorry
118
leanexplore_declaration
leanexplore:385191
leanexplore_sqlite
leanexplore_declarations
@[category research solved, AMS 11 14] theorem twentyeight_le_rank_elkies28 : 28 ≤ finrank ℤ elkies28⟮ℚ⟯ := by sorry
105
leanexplore_declaration
leanexplore:385192
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11 14] instance : elkies28.IsElliptic where isUnit := by rw [Δ_elkies28]; norm_num
385
leanexplore_declaration
leanexplore:385193
leanexplore_sqlite
leanexplore_declarations
/-- See https://mathoverflow.net/a/478050. -/ @[category test, AMS 11 14] theorem Δ_elkies28 : elkies28.Δ = 2 ^ 15 * 3 ^ 6 * 5 ^ 6 * 7 ^ 4 * 11 ^ 2 * 13 ^ 4 * 17 ^ 5 * 19 ^ 3 * 48463 * 20650099 * 315574902691581877528345013999136728634663121 * 3760188402631934893979874392368735839971220965114523432257721130...
374
leanexplore_declaration
leanexplore:385194
leanexplore_sqlite
leanexplore_declarations
/-- The elliptic curve over ℚ of rank at least 28 found by Elkies in 2006. It has rank exactly 28 assuming the generalized Riemann hypothesis. -/ def elkies28 : WeierstrassCurve ℚ where a₁ := 1 a₂ := -1 a₃ := 1 a₄ := -20067762415575526585033208209338542750930230312178956502 a₆ := 34481611795030556467032985690...
119
leanexplore_declaration
leanexplore:385195
leanexplore_sqlite
leanexplore_declarations
@[category research open, AMS 11 14] theorem rank_elkiesKlagsbrun29 : finrank ℤ elkiesKlagsbrun29⟮ℚ⟯ = 29 := by sorry
135
leanexplore_declaration
leanexplore:385196
leanexplore_sqlite
leanexplore_declarations
@[category research solved, AMS 11 14] theorem twentynine_le_rank_elkiesKlagsbrun29 : 29 ≤ finrank ℤ elkiesKlagsbrun29⟮ℚ⟯ := by sorry
123
leanexplore_declaration
leanexplore:385197
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11 14] instance : elkiesKlagsbrun29.IsElliptic where isUnit := by rw [Δ_elkiesKlagsbrun29]; norm_num
458
leanexplore_declaration
leanexplore:385198
leanexplore_sqlite
leanexplore_declarations
/-- See https://mathoverflow.net/a/478050. -/ @[category test, AMS 11 14] theorem Δ_elkiesKlagsbrun29 : elkiesKlagsbrun29.Δ = -2 ^ 19 * 3 ^ 7 * 5 ^ 7 * 7 ^ 4 * 11 ^ 5 * 13 ^ 3 * 17 ^ 4 * 31 ^ 3 * 41 ^ 2 * 43 ^ 2 * 61 ^ 2 * 233 * 241 ^ 2 * 4139 * 678146849364709860535420504397393 * 15978899096678013136315578...
411
leanexplore_declaration
leanexplore:385199
leanexplore_sqlite
leanexplore_declarations
/-- The elliptic curve over ℚ of rank at least 29 found by Elkies and Klagsbrun in 2024. It has rank exactly 29 assuming the generalized Riemann hypothesis. -/ def elkiesKlagsbrun29 : WeierstrassCurve ℚ where a₁ := 1 a₂ := 0 a₃ := 0 a₄ := -27006183241630922218434652145297453784768054621836357954737385 a₆ := 5...
364
leanexplore_declaration
leanexplore:385200
leanexplore_sqlite
leanexplore_declarations
/-- [PPVW2016] 8.2(c): the number of elliptic curves over ℚ with rank ≥ 21 and naïve height at most `H` is asymptotically at most `H ^ o(1)`. -/ @[category research open, AMS 11 14] theorem twentyone_le_rank_height_count_asymptotic : ∃ f : ℕ → ℝ, atTop.Tendsto f (𝓝 0) ∧ ∀ H : ℕ, 1 < H → {E ∈ heightLE H | 21 ...
688
leanexplore_declaration
leanexplore:385201
leanexplore_sqlite
leanexplore_declarations
/-- [PPVW2016] 8.2(b): for 1 ≤ r ≤ 20, the number of elliptic curves over ℚ with rank `r` and naïve height at most `H` is asymptotically `H ^ ((21 - r) / 24 + o(1))`. Note: ℰ_H in 8.2(b) should be ℰ_{≤H}, see the statement of Theorem 7.3.3. When `r = 1`, the exponent is `20 / 24 = 5 / 6`, which agrees with the exponent...
417
leanexplore_declaration
leanexplore:385202
leanexplore_sqlite
leanexplore_declarations
/-- From [PPVW2016], Section 8.2: "Our heuristic predicts (a) All but finitely many E ∈ ℰ satisfy rk E(ℚ) ≤ 21". In other words, there are only finitely many elliptic curves over ℚ (up to isomorphism) with rank greater than 21. Notice that this contradicts the previous conjecture. -/ @[category research open, AMS 11 14...
257
leanexplore_declaration
leanexplore:385203
leanexplore_sqlite
leanexplore_declarations
/-- From [PPVW2016], Section 3.1: "from the mid-1960s to the present, it seems that most experts conjectured unboundedness." -/ @[category research open, AMS 11 14] theorem unbounded_rank_conjecture (n : ℕ) : ∃ E : RatEllipticCurve, n ≤ E.rank := by sorry
282
leanexplore_declaration
leanexplore:385204
leanexplore_sqlite
leanexplore_declarations
/-- Theorem 3 of [BS2013]: when elliptic curves over ℚ are ordered by height, their average rank is < .885. -/ @[category research solved, AMS 11 14] theorem avg_rank_lt_0885 : atTop.limsup (fun H ↦ ((∑ᶠ E : heightLE H, E.1.rank) / (heightLE H).ncard : ℝ)) < 0.885 := by sorry
472
leanexplore_declaration
leanexplore:385205
leanexplore_sqlite
leanexplore_declarations
/-- Conjecture by Goldfeld and Katz–Sarnak: if elliptic curves over ℚ are ordered by their heights, then 50% of the curves have rank 0 and 50% have rank 1. See p. 28 of https://people.maths.bris.ac.uk/~matyd/BSD2011/bsd2011-Bhargava.pdf. -/ @[category research open, AMS 11 14] theorem half_rank_zero_and_half_rank_one (...
396
leanexplore_declaration
leanexplore:385206
leanexplore_sqlite
leanexplore_declarations
/-- Formula (5.1.1) of [PPVW2016]: The number of elliptic curves over ℚ with naïve height at most `H` is asymptotically `2^(4/3)*3^(-3/2)/ζ(10) * H^(5/6)`. -/ @[category graduate, AMS 11 14] theorem card_heightLE_div_pow_five_div_six_tensto : atTop.Tendsto (fun H ↦ (heightLE H).ncard / (H : ℝ) ^ (5 / 6 : ℝ)) ...
186
leanexplore_declaration
leanexplore:385207
leanexplore_sqlite
leanexplore_declarations
/-- The set of elliptic curves over ℚ with naïve height less than or equal to a given height. -/ def heightLE (H : ℕ) : Set RatEllipticCurve := {E : RatEllipticCurve | E.naiveHeight ≤ H}
145
leanexplore_declaration
leanexplore:385208
leanexplore_sqlite
leanexplore_declarations
/-- The naïve height of an elliptic curve over ℚ. -/ def naiveHeight (E : RatEllipticCurve) : ℕ := max (4 * E.A.natAbs ^ 3) (27 * E.B.natAbs ^ 2)
293
leanexplore_declaration
leanexplore:385209
leanexplore_sqlite
leanexplore_declarations
instance (E : RatEllipticCurve) : E.toWeierstrass.IsElliptic where isUnit := isUnit_iff_ne_zero.mpr <| by convert mul_ne_zero (show (-16 : ℚ) ≠ 0 by norm_num) (Int.cast_ne_zero.mpr E.Δ_ne_zero) simp_rw [toWeierstrass, Δ, b₂, b₄, b₆, Int.cast_add, Int.cast_mul, Int.cast_pow] ring
129
leanexplore_declaration
leanexplore:385210
leanexplore_sqlite
leanexplore_declarations
/-- The rank of an elliptic curve over ℚ. -/ noncomputable abbrev rank (E : RatEllipticCurve) : ℕ := finrank ℤ E.toWeierstrass⟮ℚ⟯
190
leanexplore_declaration
leanexplore:385211
leanexplore_sqlite
leanexplore_declarations
/-- Convert the structure `RatEllipticCurve` to a Weierstrass curve. -/ def toWeierstrass (E : RatEllipticCurve) : WeierstrassCurve ℚ := { a₁ := 0, a₂ := 0, a₃ := 0, a₄ := E.A, a₆ := E.B }
461
leanexplore_declaration
leanexplore:385212
leanexplore_sqlite
leanexplore_declarations
/-- The rank of an elliptic curve over a number field is always finite by the Mordell–Weil theorem. Consequently, the rank is always finite, so `finrank ℤ E⟮K⟯ = 0` really means that the group of rational points is torsion, not that it is of infinite rank. -/ @[category research solved, AMS 11 14] instance {K} [Field K...
65
leanexplore_declaration
leanexplore:385214
leanexplore_sqlite
leanexplore_declarations
reduced (p : ℕ) : p.Prime → ¬ ((p ^ 4 : ℤ) ∣ A ∧ (p ^ 6 : ℤ) ∣ B)
450
leanexplore_declaration
leanexplore:385217
leanexplore_sqlite
leanexplore_declarations
/-- A data structure representing isomoprhism classes of elliptic curves over ℚ. Every elliptic curve over ℚ is isomorphic to one with Weierstrass equation `y² = x³ + Ax + B`, and the pair `(A,B)` is unique if it satisfy the `reduced` condition below. See Section 5.1 in [PPVW2016]. -/ structure RatEllipticCurve : Type ...
209
leanexplore_declaration
leanexplore:385218
leanexplore_sqlite
leanexplore_declarations
/-- It is not known whether every Euclid number is a square-free number. -/ @[category research open, AMS 11] theorem euclid_numbers_are_square_free : answer(sorry) ↔ (∀ n, Squarefree (Euclid n)) := by sorry
220
leanexplore_declaration
leanexplore:385219
leanexplore_sqlite
leanexplore_declarations
/-- It is not known whether there is an inifinite number of prime Euclid numbers. -/ @[category research open, AMS 11] theorem infinite_prime_euclid_numbers : answer(sorry) ↔ {n | (Euclid n).Prime}.Infinite := by sorry
165
leanexplore_declaration
leanexplore:385220
leanexplore_sqlite
leanexplore_declarations
/-- The n-th Euclid number is the product of the first n prime numbers plus one. -/ noncomputable def Euclid (n : ℕ) : ℕ := 1 + ∏ i ∈ Finset.range n, i.nth Nat.Prime
292
leanexplore_declaration
leanexplore:385221
leanexplore_sqlite
leanexplore_declarations
/-- In [Sh12], Ruslan notes that a perfect Euler brick does not exist if all three Cuboid conjectures hold. -/ @[category research solved, AMS 12] theorem cuboid_perfect_euler_brick (h₁ : CuboidOne) (h₂ : CuboidTwo) (h₃ : CuboidThree) : ¬ ∃ a b c : ℕ+, IsPerfectCuboid a b c := by sorry
117
leanexplore_declaration
leanexplore:385222
leanexplore_sqlite
leanexplore_declarations
/-- The third Cuboid conjecture -/ @[category research open, AMS 12] theorem cuboidThree : CuboidThree := by sorry