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 |
|---|---|---|---|---|---|
105 | leanexplore_declaration | leanexplore:385434 | leanexplore_sqlite | leanexplore_declarations | /-- One step of the Lychrel iteration: `n ↦ n + rev10 n`. -/
def lychrelStep (n : ℕ) : ℕ :=
n + rev10 n |
125 | leanexplore_declaration | leanexplore:385435 | leanexplore_sqlite | leanexplore_declarations | /-- A number is a (base-10) palindrome if it equals its digit reversal. -/
def IsPalindrome10 (n : ℕ) : Prop :=
rev10 n = n |
328 | leanexplore_declaration | leanexplore:385436 | leanexplore_sqlite | leanexplore_declarations | /--
The digit-reversal map $\operatorname{rev}_{10}(n)$.
Implementation note: `Nat.digits base n` returns the digits of `n` in *little-endian* order.
Reversing this list and interpreting it again as little-endian digits gives the usual digit
reversal.
-/
def rev10 (n : ℕ) : ℕ :=
Nat.ofDigits base (Nat.digits base n)... |
67 | leanexplore_declaration | leanexplore:385437 | leanexplore_sqlite | leanexplore_declarations | /-- The base (10) used for digit reversal. -/
abbrev base : ℕ := 10 |
773 | leanexplore_declaration | leanexplore:385438 | leanexplore_sqlite | leanexplore_declarations | /--
Does there exist a $3 \times 3$ semi-magic square whose entries are all distinct positive
integer cubes? A square is semi-magic if all rows and columns sum to the same total.
More precisely, we seek a $3 \times 3$ matrix with entries $a_{ij}$ such that each
$a_{ij} = n_{ij}^3$ for some positive integer $n_{ij}$, a... |
663 | leanexplore_declaration | leanexplore:385439 | leanexplore_sqlite | leanexplore_declarations | /--
Does there exist a $3 \times 3$ matrix such that every entry is a distinct square,
and all rows, columns, and diagonals add up to the same value?
0 is excluded, as a Magic Square of Squares with 0 and 8 distinct squares is know is knownn.
See [Magic Square of Squares](https://static.nsta.org/pdfs/QuantumV6N3.pdf)
... |
285 | leanexplore_declaration | leanexplore:385440 | leanexplore_sqlite | leanexplore_declarations | /-- It is known that for all rational `p/q > 1` in lowest terms, we have `Ω(p/q) > 1/p`. -/
@[category research solved, AMS 11]
theorem mahler_conjecture.variants.flatto_lagarias_pollington (p q : ℕ) (hq : 1 < q)
(hpq : p.Coprime q) (hpq' : q < p) : 1 / p < Ω (p / q) := by
sorry |
248 | leanexplore_declaration | leanexplore:385441 | leanexplore_sqlite | leanexplore_declarations | /-- If Mahler's conjecture is true, i.e. there are no Z-numbers, then `Ω(3/2)` exceeds `1/2`. -/
@[category undergraduate, AMS 11]
theorem mahler_conjecture.variants.consequence (H : type_of% mahler_conjecture) :
1 / 2 < Ω (3 / 2) := by
sorry |
198 | leanexplore_declaration | leanexplore:385442 | leanexplore_sqlite | leanexplore_declarations | /-- The **Mahler Conjecture** states that there are no non-zero Z-numbers. -/
@[category research open, AMS 11]
theorem mahler_conjecture (x : ℝ) (h : x ≠ 0) (hx : IsZNumber x) : False := by
sorry |
217 | leanexplore_declaration | leanexplore:385443 | leanexplore_sqlite | leanexplore_declarations | /-- A Z-number is a real number `x` such that the fractional parts of `x(3/2)^n` are less than
`1/2` for all positive integers `n`. -/
def IsZNumber (x : ℝ) : Prop :=
∀ n > 0, Int.fract (x * (3 / 2 : ℝ) ^ n) < 1 / 2 |
437 | leanexplore_declaration | leanexplore:385444 | leanexplore_sqlite | leanexplore_declarations | /-- For a real number `α`, define `Ω(α)` as
$$
\Omega (\alpha )=\inf _{\theta > 0}\left({\limsup _{n\rightarrow \infty }\left\lbrace
{\theta \alpha ^{n}}\right\rbrace -\liminf _{n\rightarrow \infty }\left\lbrace {\theta \alpha ^{n}}\right\rbrace }\right).
$$
-/
noncomputable def Ω (α : ℝ) : ℝ :=
sInf {Filter.atTop.li... |
328 | leanexplore_declaration | leanexplore:385445 | leanexplore_sqlite | leanexplore_declarations | /-- The boundary of any Multibrot set is conjectured to have zero area.
Note that we don't need to exclude the trivial cases `n = 0` and `n = 1` because the conjecture
holds for them. -/
@[category research open, AMS 37]
theorem volume_frontier_multibrotSet_eq_zero {n : ℕ} : volume (frontier (multibrotSet n)) = 0 := by... |
207 | leanexplore_declaration | leanexplore:385446 | leanexplore_sqlite | leanexplore_declarations | /-- The boundary of the Mandelbrot set is conjectured to have zero area. -/
@[category research open, AMS 37]
theorem volume_frontier_mandelbrotSet_eq_zero : volume (frontier mandelbrotSet) = 0 := by
sorry |
270 | leanexplore_declaration | leanexplore:385447 | leanexplore_sqlite | leanexplore_declarations | /-- The boundary of any Multibrot set is measurable because it is closed, so it makes sense to
ask about its area. -/
@[category test, AMS 37]
theorem multibrotSet_frontier_measurable {n : ℕ} : MeasurableSet (frontier (multibrotSet n)) := isClosed_frontier.measurableSet |
490 | leanexplore_declaration | leanexplore:385448 | leanexplore_sqlite | leanexplore_declarations | /-- The density of hyperbolicity conjecture for Multibrot sets, stating that the set of all
parameters `c` for which `fun z ↦ z ^ n + c` has an attracting cycle is dense in `multibrotSet n`.
Note that we need to require `2 ≤ n` because the conjecture is trivially false for `n = 1`. -/
@[category research open, AMS 37]
... |
342 | leanexplore_declaration | leanexplore:385449 | leanexplore_sqlite | leanexplore_declarations | /-- The density of hyperbolicity conjecture, stating that the set of all parameters `c` for which
`fun z ↦ z ^ 2 + c` has an attracting cycle is dense in the Mandelbrot set. -/
@[category research open, AMS 37]
theorem density_of_hyperbolicity :
mandelbrotSet ⊆ closure {c | ∃ m z, IsAttractingCycle (fun z ↦ z ^ 2 +... |
296 | leanexplore_declaration | leanexplore:385450 | leanexplore_sqlite | leanexplore_declarations | /-- No function has an attracting cycle of period `0`. This is important in that it means we don't
need to require `0 < n` in the conjectures below. -/
@[category test, AMS 37]
theorem no_attractingCycle_period_zero (f : ℂ → ℂ) (z : ℂ) : ¬ IsAttractingCycle f 0 z := by
simp [IsAttractingCycle] |
296 | leanexplore_declaration | leanexplore:385451 | leanexplore_sqlite | leanexplore_declarations | /-- On the other hand, while `2` is part of a `1`-cycle of `z ↦ z ^ 2 - 2`, that cycle is not
attracting. -/
@[category test, AMS 37]
theorem not_isAttractingCycle_z_squared_minus_two : ¬ IsAttractingCycle (fun z ↦ z ^ 2 - 2) 1 2 := by
simp [IsAttractingCycle, show (1 : ℝ) ≤ 2 * 2 by norm_num] |
280 | leanexplore_declaration | leanexplore:385452 | leanexplore_sqlite | leanexplore_declarations | /-- For example, `0` is part of an attracting `2`-cycle of `z ↦ z ^ 2 - 1`. -/
@[category test, AMS 37]
theorem isAttractingCycle_z_squared_minus_one : IsAttractingCycle (fun z ↦ z ^ 2 - 1) 2 0 :=
⟨by decide, by simp [IsPeriodicPt, IsFixedPt], by fun_prop, by simp [deriv_comp]⟩ |
373 | leanexplore_declaration | leanexplore:385453 | leanexplore_sqlite | leanexplore_declarations | /-- We say that `z : ℂ` is part of an attracting cycle of period `n` of `f : ℂ → ℂ` if it is an
`n`-periodic point (i.e. `f^[n] z = z`), `f^[n]` is differentiable at `z`, `‖deriv f^[n] z‖` is
strictly less than one, and `n > 0`. -/
def IsAttractingCycle (f : ℂ → ℂ) (n : ℕ) (z : ℂ) : Prop :=
(0 < n) ∧ f.IsPeriodicPt n... |
343 | leanexplore_declaration | leanexplore:385454 | leanexplore_sqlite | leanexplore_declarations | /-- A stronger version of the MLC conjecture, stating that all multibrots are locally connected.
Note that we don't need to require `2 ≤ n` because the conjecture holds in the trivial cases `n = 0`
and `n = 1` too. -/
@[category research open, AMS 37]
theorem MLC_general_exponent (n : ℕ) : LocallyConnectedSpace (multib... |
178 | leanexplore_declaration | leanexplore:385455 | leanexplore_sqlite | leanexplore_declarations | /-- The MLC conjecture, stating that the mandelbrot set is locally connected. -/
@[category research open, AMS 37]
theorem MLC : LocallyConnectedSpace mandelbrotSet := by
sorry |
372 | leanexplore_declaration | leanexplore:385456 | leanexplore_sqlite | leanexplore_declarations | /-- The mandelbrot set is equivalently the set of all parameters `c` for which the orbit of `0`
under `z ↦ z ^ 2 + c` does not leave the closed disk of radius two around the origin. -/
@[category API, AMS 37]
theorem mandelbrotSet_eq : mandelbrotSet = {c | ∀ k, ‖(fun z ↦ z ^ 2 + c)^[k] 0‖ ≤ 2} := by
simpa [show (2 - ... |
2,726 | leanexplore_declaration | leanexplore:385457 | leanexplore_sqlite | leanexplore_declarations | /-- The `multibrotSet n` is equivalently the set of all parameters `c` for which the orbit of `0`
under `z ↦ z ^ n + c` does not leave the closed disk of radius `2 ^ (n - 1)⁻¹` around the origin. -/
@[category API, AMS 37]
theorem multibrotSet_eq {n : ℕ} (hn : 2 ≤ n) :
multibrotSet n = {c | ∀ k, ‖(fun z ↦ z ^ n + c... |
261 | leanexplore_declaration | leanexplore:385458 | leanexplore_sqlite | leanexplore_declarations | /-- The Mandelbrot set is the special case of the multibrot set for n = 2. In other words, it is the
set of all parameters `c : ℂ` for which `0` does not escape to infinity under repeated application
of `z ↦ z ^ 2 + c`. -/
abbrev mandelbrotSet := multibrotSet 2 |
273 | leanexplore_declaration | leanexplore:385459 | leanexplore_sqlite | leanexplore_declarations | /-- The Multibrot set of power `n` is the set of all parameters `c : ℂ` for which `0` does not
escape to infinity under repeated application of `z ↦ z ^ n + c`. -/
def multibrotSet (n : ℕ) : Set ℂ :=
{c | ¬ Tendsto (fun k ↦ (fun z ↦ z ^ n + c)^[k] 0) atTop (cobounded ℂ)} |
556 | leanexplore_declaration | leanexplore:385460 | leanexplore_sqlite | leanexplore_declarations | /--
The following tighter bound depending on the degree $d$ of the polynomial $p$,
in the case of $p$ all roots having the same norm has been shown by Tischler.
$|p(z) - p(c)|/|z-c| \le (d-1)/d \cdot |p'(z)|$.
-/
@[category research solved, AMS 12]
lemma mean_value_problem_of_roots_same_norm (p : Polynomial ℂ) (hp : 2... |
526 | leanexplore_declaration | leanexplore:385461 | leanexplore_sqlite | leanexplore_declarations | /--
The following tighter bound depending on the degree $d$ of the polynomial $p$,
in the case of $p$ only having real roots has been shown by Tischler.
$|p(z)-p(c)|/|z-c| \le (d-1)/d \cdot |p'(z)|$
-/
@[category research solved, AMS 12]
lemma mean_value_problem_of_real_roots (p : Polynomial ℂ) (hp : 2 ≤ p.natDegree)
... |
470 | leanexplore_declaration | leanexplore:385462 | leanexplore_sqlite | leanexplore_declarations | /--
The following weaker version of the mean value problem has been proven.
Given a complex polynomial $p$ of degree $d ≥ 2$ and a complex number $z$
there a critical point $c$ of $p$, such that $|p(z)-p(c)|/|z-c| ≤ 4|p'(z)|$.
-/
@[category research solved, AMS 12]
lemma mean_value_problem_leq_4 (p : Polynomial ℂ) (hp ... |
389 | leanexplore_declaration | leanexplore:385463 | leanexplore_sqlite | leanexplore_declarations | /--
Given a complex polynomial $p$ of degree $d ≥ 2$ and a complex number $z$
there is a critical point $c$ of $p$, such that $|p(z)-p(c)|/|z-c| ≤ |p'(z)|$.
-/
@[category research open, AMS 12]
lemma mean_value_problem (p : Polynomial ℂ) (hp : 2 ≤ p.degree) (z : ℂ) (K : ℝ):
∃ c : ℂ, p.derivative.eval c = 0 ∧
... |
205 | leanexplore_declaration | leanexplore:385464 | leanexplore_sqlite | leanexplore_declarations | /--
Are there infinitely many Mersenne primes?
-/
@[category research open, AMS 11]
theorem infinitely_many_mersenne_primes :
answer(sorry) ↔ Set.Infinite { p : ℕ | p.GivesMersennePrime } := by
sorry |
168 | leanexplore_declaration | leanexplore:385465 | leanexplore_sqlite | leanexplore_declarations | @[category research open, AMS 11]
theorem new_mersenne_conjecture.variants.prime (p : ℕ) (hp : p.Prime) (h : Odd p) :
NewMersenneConjectureStatement p := by
sorry |
251 | leanexplore_declaration | leanexplore:385466 | leanexplore_sqlite | leanexplore_declarations | /-- It suffices to check this conjecture for primes -/
@[category undergraduate, AMS 11]
theorem new_mersenne_conjecture_of_prime :
(∀ p, p.Prime → NewMersenneConjectureStatement p) →
∀ p, Odd p → NewMersenneConjectureStatement p := by
sorry |
358 | leanexplore_declaration | leanexplore:385467 | leanexplore_sqlite | leanexplore_declarations | /--
For any odd natural number `p` if two of the following conditions hold,
then all three must hold:
1. $2^p-1$ is prime
2. $(2^p+1)/3$ is prime
3. Exists a number `k` such that $p = 2^k \\pm 1$ or $p = 4^k \\pm 3$
-/
@[category research open, AMS 11]
theorem new_mersenne_conjecture (p : ℕ) (hp : Odd p) :
NewMerse... |
527 | leanexplore_declaration | leanexplore:385468 | leanexplore_sqlite | leanexplore_declarations | /--
A natural number `p` satisfies the statement of the New Mersenne Conjecture if whenever
two of the following conditions hold,
then all three must hold:
1. $2^p-1$ is prime
2. $(2^p+1)/3$ is prime
3. Exists a number `k` such that $p = 2^k \\pm 1$ or $p = 4^k \\pm 3$
-/
def NewMersenneConjectureStatement (p : ℕ) : Pr... |
195 | leanexplore_declaration | leanexplore:385469 | leanexplore_sqlite | leanexplore_declarations | /--
Holds when there is exists a number `k` such that $p = 2^k \\pm 1$ or $p = 4^k \\pm 3$.
-/
def IsSpecialForm (p : ℕ) : Prop :=
∃ k : ℕ, p = 2^k + 1 ∨ p = 2^k - 1 ∨ p = 4^k + 3 ∨ p = 4^k - 3 |
143 | leanexplore_declaration | leanexplore:385470 | leanexplore_sqlite | leanexplore_declarations | /--
A Wagstaff prime is a prime number of the form $(2^p+1)/3$.
-/
def GivesWagstaffPrime (p : ℕ) : Prop :=
Odd p ∧ Nat.Prime ((2^p + 1) / 3) |
125 | leanexplore_declaration | leanexplore:385471 | leanexplore_sqlite | leanexplore_declarations | /--
A Mersenne prime is a prime number of the form $2^p-1$.
-/
def GivesMersennePrime (p : ℕ) : Prop :=
Nat.Prime (2^p - 1) |
144 | leanexplore_declaration | leanexplore:385472 | leanexplore_sqlite | leanexplore_declarations | @[category research solved, AMS 11]
theorem modularity_conjecture (E : WeierstrassCurve ℚ) [E.IsElliptic] : modularityConjecture E := by
sorry |
252 | leanexplore_declaration | leanexplore:385473 | leanexplore_sqlite | leanexplore_declarations | /-- See theorem 8.8.1 of [diamondshurman2005]. -/
def modularityConjecture (E : WeierstrassCurve ℚ) [E.IsElliptic] : Prop :=
∃ (N : ℕ+) (f : CuspForm (Gamma0 N) 2), IsNormalisedEigenform f ∧
∀ (p : ℕ), p.Prime → (N : ZMod p) ≠ 0 → a_[p]f = E.ap p |
511 | leanexplore_declaration | leanexplore:385474 | leanexplore_sqlite | leanexplore_declarations | /-- Since we don't have Hecke operators yet, we define this via the q-expansion coefficients. See
Proposition 5.8.5 of [diamondshurman2005]. -/
def IsNormalisedEigenform {N : ℕ} {k : ℤ} (f : CuspForm (Gamma0 N) k) : Prop :=
a_[1]f = 1 ∧
(∀ (m n : ℕ), m.Coprime n → a_[n * m]f = a_[n]f * a_[m]f) ∧
(∀ (p r : ℕ), p.... |
293 | leanexplore_declaration | leanexplore:385475 | leanexplore_sqlite | leanexplore_declarations | /-- Note that normally this is written as `p + 1 - #E(𝔽ₚ)`, but since we don't have a point at
infinty on this affine curve we only have `p` -/
noncomputable def WeierstrassCurve.ap (E : WeierstrassCurve ℚ) [E.IsElliptic] (p : ℕ) : ℕ :=
p - Cardinal.toNat (Cardinal.mk (setOfPointsModN E p)) |
201 | leanexplore_declaration | leanexplore:385476 | leanexplore_sqlite | leanexplore_declarations | /-- The set of point `mod n` is finite. -/
instance apFintype (E : WeierstrassCurve ℚ) [E.IsElliptic] (p : ℕ+) :
Fintype (setOfPointsModN E p) := by
rw [setOfPointsModN]
apply Subtype.fintype _ |
305 | leanexplore_declaration | leanexplore:385477 | leanexplore_sqlite | leanexplore_declarations | /-- The set of points on an elliptic curve over `ZMod n`. -/
def setOfPointsModN (E : WeierstrassCurve ℚ) [E.IsElliptic] (n : ℕ) :=
{P : ZMod n × ZMod n |
let ⟨x, y⟩ := P
y ^ 2 + ratRed E.a₁ n * x * y + ratRed E.a₃ n * y =
x ^ 3 + ratRed E.a₂ n * x ^ 2 + ratRed E.a₄ n * x + ratRed E.a₆ n} |
218 | leanexplore_declaration | leanexplore:385478 | leanexplore_sqlite | leanexplore_declarations | /-- We need to reduce a rational modulo `p`, in practice we wont be dividing by zero since the
conductor of the elliptic curve saves us. -/
def ratRed (q : ℚ) (p : ℕ) : ZMod p :=
(q.num : ZMod p) * (q.den : ZMod p)⁻¹ |
205 | leanexplore_declaration | leanexplore:385479 | leanexplore_sqlite | leanexplore_declarations | /-- The `n`-th Fourier coefficient of a modular forms (around the cusp at infinity). -/
noncomputable def modularFormAn (n : ℕ) {N : ℕ} {k : ℤ} (f : CuspForm (Gamma0 N) k) : ℂ :=
(qExpansion N f).coeff n |
563 | leanexplore_declaration | leanexplore:385480 | leanexplore_sqlite | leanexplore_declarations | /--
0.232239 is a lower bound on the area of a convex set that covers all worms.
*Reference:*
Khandhawit, Tirasan; Pagonakis, Dimitrios; Sriswasdi, Sira (2013),
"Lower Bound for Convex Hull Area and Universal Cover Problems",
International Journal of Computational Geometry & Applications,
23 (3): 197–212, arXiv:1101.5... |
482 | leanexplore_declaration | leanexplore:385481 | leanexplore_sqlite | leanexplore_declarations | /--
There is a convex set of area 0.270911861 that covers all worms.
*Reference:*
Wang, Wei (2006), "An improved upper bound for the worm problem",
Acta Mathematica Sinica, 49 (4): 835–846, MR 2264090.
-/
@[category research solved, AMS 52]
theorem convex_mosers_worm_problem_upper_bound :
∃ X : Set ℝ², MeasurableS... |
322 | leanexplore_declaration | leanexplore:385482 | leanexplore_sqlite | leanexplore_declarations | /--
The minimal area of a convex shape that can cover every unit-length curve is attained.
This follows from the Blaschke selection theorem.
-/
@[category research solved, AMS 52]
theorem convex_mosers_worm_problem_bound_attained :
∃ bound, IsLeast {v | ∃ X ∈ WormCovers, Convex ℝ X ∧ volume X = v} bound := by
sor... |
320 | leanexplore_declaration | leanexplore:385483 | leanexplore_sqlite | leanexplore_declarations | /--
**Convex Moser's Worm Problem**
What is the minimal area (or greatest lower bound on the area)
of a *convex* shape that can cover every unit-length curve?
-/
@[category research open, AMS 52]
theorem convex_mosers_worm_problem :
IsGLB {v | ∃ X ∈ WormCovers, Convex ℝ X ∧ volume X = v} answer(sorry) := by
sorry |
399 | leanexplore_declaration | leanexplore:385484 | leanexplore_sqlite | leanexplore_declarations | /--
There is a set of area 0.260437 that covers all worms.
*Reference:*
Norwood, Rick; Poole, George (2003), "An improved upper bound for Leo Moser's worm problem",
Discrete and Computational Geometry, 29 (3): 409–417, doi:10.1007/s00454-002-0774-3, MR 1961007.
-/
@[category research solved, AMS 52]
theorem mosers_wor... |
284 | leanexplore_declaration | leanexplore:385485 | leanexplore_sqlite | leanexplore_declarations | /--
**Moser's Worm Problem**
What is the minimal area (or greatest lower bound on the area)
of a shape that can cover every unit-length curve?
-/
@[category research open, AMS 52]
theorem mosers_worm_problem :
IsGLB {v | ∃ X ∈ WormCovers, volume X = v} answer(sorry) := by
sorry |
241 | leanexplore_declaration | leanexplore:385486 | leanexplore_sqlite | leanexplore_declarations | /--
A disc of radius 1 / 2 is a worm cover.
This follows by translating the center of the disc to the midpoint of the worm.
-/
@[category high_school, AMS 52]
theorem disc_mem_worm_covers : Metric.closedBall 0 0.5 ∈ WormCovers := by
sorry |
272 | leanexplore_declaration | leanexplore:385487 | leanexplore_sqlite | leanexplore_declarations | /--
The set of covers is the set of (measurable) sets
that cover every worm by translation and rotation.
-/
def WormCovers : Set (Set ℝ²) :=
{X | MeasurableSet X ∧ ∀ w ∈ Worms, ∃ (e : ℝ² ≃ₗᵢ[ℝ] ℝ²) (v : ℝ²),
e.toLinearEquiv.det = 1 ∧ w ⊆ (fun x => e x + v) '' X} |
265 | leanexplore_declaration | leanexplore:385488 | leanexplore_sqlite | leanexplore_declarations | /--
The set of worms is the set of curves of length (at most) 1.
We formalize this as the set of ranges of 1-Lipschitz functions from `[0,1]` to `ℝ²`.
-/
def Worms : Set (Set ℝ²) :=
{s | ∃ f : (Set.Icc (0 : ℝ) (1 : ℝ)) → ℝ², LipschitzWith 1 f ∧ Set.range f = s} |
231 | leanexplore_declaration | leanexplore:385489 | leanexplore_sqlite | leanexplore_declarations | /-- Gerver's sofa is the unique sofa that attains the sofa constant. -/
@[category research open, AMS 49]
theorem sofaConstant_eq_volume_iff_eq_gerversSofa :
∀ s : Set ℝ², sofaConstant = volume s ↔ s = gerversSofa := by
sorry |
221 | leanexplore_declaration | leanexplore:385490 | leanexplore_sqlite | leanexplore_declarations | /-- Gerver's sofa attains the sofa constant, conjectured by [Ge92] and claimed by [Ba24]. -/
@[category research solved, AMS 49]
theorem sofaConstant_eq_volume_gerversSofa : sofaConstant = volume gerversSofa := by
sorry |
138 | leanexplore_declaration | leanexplore:385491 | leanexplore_sqlite | leanexplore_declarations | /-- What is the sofa constant? -/
@[category research solved, AMS 49]
theorem sofaConstant_eq : sofaConstant = answer(sorry) := by
sorry |
314 | leanexplore_declaration | leanexplore:385492 | leanexplore_sqlite | leanexplore_declarations | /-- The sofa constant is at least 1, as witnessed by the unit square. -/
@[category test, AMS 49]
theorem one_le_sofaConstant : 1 ≤ sofaConstant := by
calc
_ = volume unitSquare := (OrthonormalBasis.volume_parallelepiped _).symm
_ ≤ sofaConstant := le_iSup₂ (α := ℝ≥0∞) unitSquare isMovingSofa_unitSquare |
146 | leanexplore_declaration | leanexplore:385493 | leanexplore_sqlite | leanexplore_declarations | /-- The **sofa constant** is the maximal area of a moving sofa. -/
def sofaConstant : ℝ≥0∞ := ⨆ (s : Set ℝ²) (_ : ∃ m, IsMovingSofa s m), volume s |
150 | leanexplore_declaration | leanexplore:385494 | leanexplore_sqlite | leanexplore_declarations | /-- Gerver's sofa is the sofa according to the rotation path `GerversSofa.p`. -/
def gerversSofa : Set ℝ² :=
sofaOfRotateTranslatePath GerversSofa.p |
235 | leanexplore_declaration | leanexplore:385495 | leanexplore_sqlite | leanexplore_declarations | def p (α : ℝ) : ℝ² :=
!₂[if α ≤ φ
then α.cos - 1
else x (π / 2 - α) * α.cos + y (π / 2 - α) * α.sin - 1,
if α ≤ π / 2 - φ
then y α * α.cos - (4 * x 0 - 2 - x α) * α.sin - 1
else -(4 * x 0 - 3) * α.sin - 1] |
59 | leanexplore_declaration | leanexplore:385496 | leanexplore_sqlite | leanexplore_declarations | def x (α : ℝ) : ℝ :=
1 - ∫ t in α..π / 2 - φ, r t * t.cos |
55 | leanexplore_declaration | leanexplore:385497 | leanexplore_sqlite | leanexplore_declarations | def y (α : ℝ) : ℝ :=
∫ t in α..π / 2 - φ, r t * t.sin |
240 | leanexplore_declaration | leanexplore:385498 | leanexplore_sqlite | leanexplore_declarations | def r (α : ℝ) : ℝ :=
if α ≤ φ then
1 / 2
else if α ≤ θ then
(1 + A + α - φ) / 2
else if α ≤ π / 2 - θ then
A + α - φ
else if α ≤ π / 2 - φ then
B - (π / 2 - α - φ) * (1 + A) / 2 - (π / 2 - α - φ) ^ 2 / 4
else
0 |
47 | leanexplore_declaration | leanexplore:385499 | leanexplore_sqlite | leanexplore_declarations | def θ : ℝ := ABφθSpec.existsUnique.choose.2.2.2 |
47 | leanexplore_declaration | leanexplore:385500 | leanexplore_sqlite | leanexplore_declarations | def φ : ℝ := ABφθSpec.existsUnique.choose.2.2.1 |
45 | leanexplore_declaration | leanexplore:385501 | leanexplore_sqlite | leanexplore_declarations | def B : ℝ := ABφθSpec.existsUnique.choose.2.1 |
43 | leanexplore_declaration | leanexplore:385502 | leanexplore_sqlite | leanexplore_declarations | def A : ℝ := ABφθSpec.existsUnique.choose.1 |
152 | leanexplore_declaration | leanexplore:385503 | leanexplore_sqlite | leanexplore_declarations | @[category undergraduate, AMS 49]
theorem ABφθSpec.existsUnique : ∃! ABφθ : ℝ × ℝ × ℝ × ℝ,
ABφθSpec ABφθ.1 ABφθ.2.1 ABφθ.2.2.1 ABφθ.2.2.2 :=
sorry |
515 | leanexplore_declaration | leanexplore:385504 | leanexplore_sqlite | leanexplore_declarations | /--
Eq. 1-4 of [Ro18], which specifies the constants $A$, $B$, $\varphi$, and $\theta$ of [Ge92].
-/
def ABφθSpec (A B φ θ : ℝ) : Prop :=
0 ≤ φ ∧ φ ≤ θ ∧ θ ≤ π / 4 ∧ 0 ≤ A ∧ 0 ≤ B ∧
A * (θ.cos - φ.cos) - 2 * B * φ.sin
+ (θ - φ - 1) * θ.cos - θ.sin + φ.cos + φ.sin = 0 ∧
A * (3 * θ.sin + φ.sin) - 2 * B * φ.cos
... |
558 | leanexplore_declaration | leanexplore:385505 | leanexplore_sqlite | leanexplore_declarations | /--
The sofa according to a rotation path $p : [0, \pi/2] \to \mathbb{R}^2$ as in [Ge92] is the
intersection over $\alpha \in [0, \pi/2]$ of hallways each translated by $p(\alpha)$ and then
rotated by $\alpha$, with the special cases that the hallway at $0$ is the horizontal side
and the hallway at $\pi/2$ is the verti... |
348 | leanexplore_declaration | leanexplore:385506 | leanexplore_sqlite | leanexplore_declarations | /--
The rigid motion that translates by $p$ and then rotates counterclockwise by $\alpha$.
Note that [Ge92] used this definition while [Ro18] used rotation first and then translation.
-/
def rotateTranslate (α : Real.Angle) (p : ℝ²) : E(2) :=
(EuclideanGeometry.o.rotation α).toAffineIsometryEquiv
|>.trans (Affine... |
344 | leanexplore_declaration | leanexplore:385507 | leanexplore_sqlite | leanexplore_declarations | /--
The unit square $[0,1]^2$ is a valid moving sofa (with the identity motion).
It sits in the corner where both hallways overlap, so the stationary motion works.
This is a sanity check that the `IsMovingSofa` definition is not vacuous.
-/
@[category test, AMS 49]
theorem isMovingSofa_unitSquare : ∃ m, IsMovingSofa un... |
101 | leanexplore_declaration | leanexplore:385508 | leanexplore_sqlite | leanexplore_declarations | /-- The unit square. -/
def unitSquare : Set ℝ² := parallelepiped (EuclideanSpace.basisFun (Fin 2) ℝ) |
40 | leanexplore_declaration | leanexplore:385510 | leanexplore_sqlite | leanexplore_declarations | subset_hallway : ∀ t, m t '' s ⊆ hallway |
650 | leanexplore_declaration | leanexplore:385516 | leanexplore_sqlite | leanexplore_declarations | /--
A connected closed set $s$ is a **moving sofa** according to a rigid motion $m:I\to\mathrm{SE}(2)$,
if the sofa is initially in the horizontal side of the hallway and ends up in the vertical side.
Here, since $\mathrm{SE}(2)$ is not in Mathlib yet, we use $\mathrm{E}(2)$ and rely on continuity
and $m(0) = \mathrm{i... |
103 | leanexplore_declaration | leanexplore:385517 | leanexplore_sqlite | leanexplore_declarations | instance : TopologicalSpace E(2) :=
.induced (·.toAffineIsometry.toContinuousAffineMap) inferInstance |
133 | leanexplore_declaration | leanexplore:385519 | leanexplore_sqlite | leanexplore_declarations | /-- The **hallway** is the union of its horizontal and vertical sides. -/
def hallway : Set ℝ² := horizontalHallway ∪ verticalHallway |
157 | leanexplore_declaration | leanexplore:385520 | leanexplore_sqlite | leanexplore_declarations | /-- The **vertical side** of the hallway is $[0, 1] \times (-\infty, 1]$. -/
def verticalHallway : Set ℝ² := {!₂[x, y] | (x) (y) (_ : 0 ≤ x ∧ x ≤ 1 ∧ y ≤ 1)} |
161 | leanexplore_declaration | leanexplore:385521 | leanexplore_sqlite | leanexplore_declarations | /-- The **horizontal side** of the hallway is $(-\infty, 1] \times [0, 1]$. -/
def horizontalHallway : Set ℝ² := {!₂[x, y] | (x) (y) (_ : x ≤ 1 ∧ 0 ≤ y ∧ y ≤ 1)} |
410 | leanexplore_declaration | leanexplore:385522 | leanexplore_sqlite | leanexplore_declarations | /--
One can find a counterexample to the Noether Problem's claim by considering a
rational function field in 47 indeterminates.
-/
@[category research solved, AMS 12 14]
theorem noether_problem.variants.forty_seven :
∃ (K L ι G : Type)
(_ : Field K) (_ : Field L) (_ : Fintype ι) (_ : Algebra K L)
(_ : IsRa... |
329 | leanexplore_declaration | leanexplore:385523 | leanexplore_sqlite | leanexplore_declarations | /--
The Noether problem has a positive solution in the four indeterminate case.
-/
@[category research solved, AMS 12 14]
theorem noether_problem.variants.four {K L ι G : Type}
[Field K] [Field L] [Fintype ι] [Algebra K L]
[IsRationalExtension K L ι] (hι : Fintype.card ι = 4) :
HasNoetherProperty K L ι := b... |
331 | leanexplore_declaration | leanexplore:385524 | leanexplore_sqlite | leanexplore_declarations | /--
The Noether problem has a positive solution in the three indeterminate case.
-/
@[category research solved, AMS 12 14]
theorem noether_problem.variants.three {K L ι G : Type}
[Field K] [Field L] [Fintype ι] [Algebra K L]
[IsRationalExtension K L ι] (hι : Fintype.card ι = 3) :
HasNoetherProperty K L ι :=... |
327 | leanexplore_declaration | leanexplore:385525 | leanexplore_sqlite | leanexplore_declarations | /--
The Noether problem has a positive solution in the two indeterminate case.
-/
@[category research solved, AMS 12 14]
theorem noether_problem.variants.two {K L ι G : Type}
[Field K] [Field L] [Fintype ι] [Algebra K L]
[IsRationalExtension K L ι] (hι : Fintype.card ι = 2) :
HasNoetherProperty K L ι := by
... |
394 | leanexplore_declaration | leanexplore:385526 | leanexplore_sqlite | leanexplore_declarations | /--
The **Noether Problem**: let `L` be the field of rational functions in `n`
indeterminates over `K`. Is it true that `L/K` has the Noether property?
Solution: False.
-/
@[category research solved, AMS 12 14]
theorem noether_problem : answer(False) ↔ ∀ (K L ι G : Type)
[Field K] [Field L] [Fintype ι] [Algebra K ... |
430 | leanexplore_declaration | leanexplore:385527 | leanexplore_sqlite | leanexplore_declarations | /--
We say that a rational extension `L` of `K` has the _Noether Property_
if for any finite subgroup `H` of the Galois group of `L`, the fixed field
`L^H` is also a rational extension.
-/
def HasNoetherProperty (K L ι : Type) [Field K] [Field L] [Fintype ι]
[Algebra K L] [IsRationalExtension K L ι] : Prop :=
∀ H... |
667 | leanexplore_declaration | leanexplore:385528 | leanexplore_sqlite | leanexplore_declarations | /-- If the index set `ι` is empty, then `IsRationalExtension K L ι` means that
`K, L` are isomorphic as `K` algebras. -/
@[category test, AMS 12]
theorem rationalExtension_empty_index (K L ι : Type*) [Field K] [Field L] [Algebra K L] [IsEmpty ι]
[IsRationalExtension K L ι] :
Nonempty (L ≃ₐ[K] K) := by
set a :... |
319 | leanexplore_declaration | leanexplore:385530 | leanexplore_sqlite | leanexplore_declarations | /--
A rational field extension is a field extension `L/K` isomorphic
to a field of rational functions (in some arbitrary number of indeterminates.)
-/
class IsRationalExtension (K L ι : Type*)
[Field K] [Field L] [Algebra K L] where
pure_transcendental :
Nonempty (L ≃ₐ[K] ((FractionRing (MvPolynomial ι K)))) |
289 | leanexplore_declaration | leanexplore:385531 | leanexplore_sqlite | leanexplore_declarations | /--
Ferreira proved that Oppermann's conjecture is true for sufficiently large x.
-/
@[category research solved, AMS 11]
theorem oppermann_conjecture.ferreira_large_x : ∀ᶠ x in atTop,
(∃ p ∈ Ioo (x * (x - 1)) (x^2), p.Prime) ∧
(∃ p ∈ Ioo (x^2) (x * (x + 1)), p.Prime) := by
sorry |
385 | leanexplore_declaration | leanexplore:385532 | leanexplore_sqlite | leanexplore_declarations | /-- Oppermann's conjecture implies Legendre's conjecture. -/
@[category high_school, AMS 11]
theorem oppermann_implies_legendre (n : ℕ) (hn : 1 ≤ n) (P : type_of% oppermann_conjecture) :
∃ p ∈ Ioo (n ^ 2) ((n + 1) ^ 2), p.Prime := by
obtain ⟨⟨p, ph⟩, _⟩ := P (n + 1) (by simpa)
use p
refine ⟨Finset.Ioo_subset_... |
328 | leanexplore_declaration | leanexplore:385533 | leanexplore_sqlite | leanexplore_declarations | /-- Oppermann's conjecture implies Brocard's conjecture. -/
@[category high_school, AMS 11]
theorem oppermann_implies_brocard (n : ℕ) (hn : 1 ≤ n) (P : type_of% oppermann_conjecture) :
letI prev := n.nth Nat.Prime
letI next := (n+1).nth Nat.Prime
4 ≤ ((Ioo (prev ^ 2) (next ^ 2)).filter Nat.Prime).card := by... |
377 | leanexplore_declaration | leanexplore:385534 | leanexplore_sqlite | leanexplore_declarations | /--
**Oppermann's Conjecture**:
For every integer $x \ge 2$, the following hold:
- There exists a prime between $x(x-1)$ and $x^2$.
- There exists a prime between $x^2$ and $x(x+1)$.
-/
@[category research open, AMS 11]
theorem oppermann_conjecture (x : ℕ) (hx : 2 ≤ x) :
(∃ p ∈ Ioo (x * (x - 1)) (x^2), p.Prime) ∧
... |
235 | leanexplore_declaration | leanexplore:385535 | leanexplore_sqlite | leanexplore_declarations | /--
For every integer $x \ge 2$ there exists a prime between $x^2$ and $x(x+1)$.
-/
@[category research open, AMS 11]
theorem oppermann_conjecture.parts.ii (x : ℕ) (hx : 2 ≤ x) :
∃ p ∈ Ioo (x^2) (x * (x + 1)), p.Prime := by
sorry |
234 | leanexplore_declaration | leanexplore:385536 | leanexplore_sqlite | leanexplore_declarations | /--
For every integer $x \ge 2$ there exists a prime between $x(x-1)$ and $x^2$.
-/
@[category research open, AMS 11]
theorem oppermann_conjecture.parts.i (x : ℕ) (hx : 2 ≤ x) :
∃ p ∈ Ioo (x * (x - 1)) (x^2), p.Prime := by
sorry |
346 | leanexplore_declaration | leanexplore:385537 | leanexplore_sqlite | leanexplore_declarations | /--
The pebbling number conjecture:
the pebbling number of a Cartesian product of graphs is at most equal to the product of the
pebbling numbers of the factors.
-/
@[category research open, AMS 5]
theorem pebbling_number_conjecture [Fintype V] (G H : SimpleGraph V) :
PebblingNumber (G □ H) ≤ PebblingNumber G * Pebb... |
1,463 | leanexplore_declaration | leanexplore:385538 | leanexplore_sqlite | leanexplore_declarations | /--
The pebbling number of the complete graph on `n` vertices is `n`.
-/
@[category API, AMS 5]
theorem PebblingNumber_completeGraph [Fintype V] :
PebblingNumber (SimpleGraph.completeGraph V) = Fintype.card V := by
refine IsLeast.csInf_eq ⟨fun D hD v => ?_, fun a ha => not_lt.1 fun ha_lt => ?_⟩
· by_cases h : ∃... |
489 | leanexplore_declaration | leanexplore:385539 | leanexplore_sqlite | leanexplore_declarations | /--
The pebbling number of a graph `G`, is the lowest natural number `n` that satisfies the
following condition: Given any target or 'root' vertex in the graph and any initial
pebbles distribution with `n` pebbles on the graph, another pebble distribution is reachable
in which the designated root vertex has one or more... |
134 | leanexplore_declaration | leanexplore:385540 | leanexplore_sqlite | leanexplore_declarations | @[simp, category API, AMS 5]
theorem IsReachable.refl (G : SimpleGraph V) (A : PebbleDistribution V) : IsReachable G A A := by
tauto |
285 | leanexplore_declaration | leanexplore:385541 | leanexplore_sqlite | leanexplore_declarations | /--
A pebble distribution `B` is reachable from another pebble distribution `A`, if there exists a
sequence of pebbling moves transforming the first into the second.
-/
def IsReachable (G : SimpleGraph V) (A B : PebbleDistribution V) : Prop :=
ExistsPebblePath (IsPebblingMove G) A B |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.