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
156
leanexplore_declaration
leanexplore:385651
leanexplore_sqlite
leanexplore_declarations
/-- The length of the longest snake for the `Hypercube n` graph. -/ noncomputable def LongestSnakeInTheBox (n : ℕ) : ℕ := LongestSnakeInGraph <| Hypercube n
230
leanexplore_declaration
leanexplore:385652
leanexplore_sqlite
leanexplore_declarations
/-- The length of the longest induced path (or 'snake') in a graph `G`. -/ noncomputable def LongestSnakeInGraph {V : Type u} [DecidableEq V] (G : SimpleGraph V) : ℕ := sSup {k | ∃ (S : Subgraph G), IsSnakeInGraphOfLength G S k}
325
leanexplore_declaration
leanexplore:385653
leanexplore_sqlite
leanexplore_declarations
/-- A subgraph `G'` is a 'snake' of length `k` in graph `G` if it is an induced path of length `k`. -/ def IsSnakeInGraphOfLength {V : Type u} [DecidableEq V] (G : SimpleGraph V) (G' : Subgraph G) (k : ℕ) : Prop := G'.IsInduced ∧ ∃ u v : V, ∃ (P : G.Walk u v), P.IsPath ∧ G'.verts = {v | v ∈ P.support} ∧ P.lengt...
199
leanexplore_declaration
leanexplore:385654
leanexplore_sqlite
leanexplore_declarations
/-- A graph on the power set of `Fin n`, where two sets are adjacent if they differ by a single element. -/ def Hypercube (n : ℕ) : SimpleGraph (Finset (Fin n)) := fromRel fun a b => (a ∆ b).card = 1
392
leanexplore_declaration
leanexplore:385655
leanexplore_sqlite
leanexplore_declarations
/-- What is the smallest circle that can contain 15 unit circles? Reference: Graham RL, Lubachevsky BD, Nurmela KJ, Ostergard PRJ. Dense packings of congruent circles in a circle. Discrete Math 1998;181:139–154. -/ @[category research open, AMS 51] theorem least_fifteen_circle_packing_in_circle : IsLeast {r : ℝ | ...
469
leanexplore_declaration
leanexplore:385656
leanexplore_sqlite
leanexplore_declarations
/-- Fifteen unit circles can be packed into a circle of radius $1 + \sqrt{6 + 2/\sqrt{5} + 4 \sqrt{1 + 2/\sqrt{5}}} \approx 4.521$. Reference: Graham RL, Lubachevsky BD, Nurmela KJ, Ostergard PRJ. Dense packings of congruent circles in a circle. Discrete Math 1998;181:139–154. -/ @[category undergraduate, AMS 51] theo...
248
leanexplore_declaration
leanexplore:385657
leanexplore_sqlite
leanexplore_declarations
/-- What is the smallest square that can contain 21 unit circles? -/ @[category research open, AMS 51] theorem least_twenty_one_circle_packing_in_square : IsLeast {x : ℝ | Nonempty (Packing 21 UnitCircle (Square x))} answer(sorry) := by sorry
315
leanexplore_declaration
leanexplore:385658
leanexplore_sqlite
leanexplore_declarations
/-- Twenty-one unit circles can be packed into a square of side length < 9.359. Reference: [Visualizations](https://erich-friedman.github.io/packing/cirinsqu/) -/ @[category undergraduate, AMS 51] theorem twenty_one_circle_packing_in_square_bound : Nonempty (Packing 21 UnitCircle (Square 9.359)) := by sorry
323
leanexplore_declaration
leanexplore:385659
leanexplore_sqlite
leanexplore_declarations
/-- What is the smallest circle that can contain 3 unit squares? Reference: [Wikipedia](https://en.wikipedia.org/wiki/Square_packing#In_a_circle) -/ @[category research open, AMS 51] theorem least_three_square_packing_in_circle : IsLeast {r : ℝ | Nonempty (Packing 3 UnitSquare (Circle r))} answer(sorry) := by so...
339
leanexplore_declaration
leanexplore:385660
leanexplore_sqlite
leanexplore_declarations
/-- Three unit squares can be packed into a circle of radius $(5 \sqrt{17}) / 16 \approx 1.288$. Reference: [Wikipedia](https://en.wikipedia.org/wiki/Square_packing#In_a_circle) -/ @[category undergraduate, AMS 51] theorem three_square_packing_in_circle_bound : Nonempty (Packing 3 UnitSquare (Circle ((5 * √ 17) / ...
329
leanexplore_declaration
leanexplore:385661
leanexplore_sqlite
leanexplore_declarations
/-- What is the smallest square that can contain 17 unit squares? Reference: [Wikipedia](https://en.wikipedia.org/wiki/Square_packing#In_a_square) -/ @[category research open, AMS 51] theorem least_seventeen_square_packing_in_square : IsLeast {x : ℝ | Nonempty (Packing 17 UnitSquare (Square x))} answer(sorry) := b...
316
leanexplore_declaration
leanexplore:385662
leanexplore_sqlite
leanexplore_declarations
/-- Seventeen unit squares can be packed into a square of side length < 4.6756. Reference: [Wikipedia](https://en.wikipedia.org/wiki/Square_packing#In_a_square) -/ @[category undergraduate, AMS 51] theorem seventeen_square_packing_in_square_bound : Nonempty (Packing 17 UnitSquare (Square 4.6756)) := by sorry
326
leanexplore_declaration
leanexplore:385663
leanexplore_sqlite
leanexplore_declarations
/-- What is the smallest square that can contain 11 unit squares? Reference: [Wikipedia](https://en.wikipedia.org/wiki/Square_packing#In_a_square) -/ @[category research open, AMS 51] theorem least_eleven_square_packing_in_square : IsLeast {x : ℝ | Nonempty (Packing 11 UnitSquare (Square x))} answer(sorry) := by ...
314
leanexplore_declaration
leanexplore:385664
leanexplore_sqlite
leanexplore_declarations
/-- Eleven unit squares can be packed into a square of side length < 3.877084. Reference: [Wikipedia](https://en.wikipedia.org/wiki/Square_packing#In_a_square) -/ @[category undergraduate, AMS 51] theorem eleven_square_packing_in_square_bound : Nonempty (Packing 11 UnitSquare (Square 3.877084)) := by sorry
43
leanexplore_declaration
leanexplore:385665
leanexplore_sqlite
leanexplore_declarations
inside : ∀ i : Fin n, embeddings i '' s ⊆ S
79
leanexplore_declaration
leanexplore:385666
leanexplore_sqlite
leanexplore_declarations
disjoint : Pairwise fun i j => Disjoint (embeddings i '' s) (embeddings j '' s)
598
leanexplore_declaration
leanexplore:385668
leanexplore_sqlite
leanexplore_declarations
/-- A structure representing a packing of `n` isometric embeddings of a set `s` inside a (presumably larger) set `S`. -/ structure Packing (n : ℕ) (s : Set ℝ²) (S : Set ℝ²) where /-- The isometric equivalences that represent the transformations of the base shape to their locations in the packing. -/ embeddings : ...
94
leanexplore_declaration
leanexplore:385669
leanexplore_sqlite
leanexplore_declarations
/-- The unit circle as a subset of the Euclidean plane. -/ def UnitCircle : Set ℝ² := Circle 1
287
leanexplore_declaration
leanexplore:385670
leanexplore_sqlite
leanexplore_declarations
/-- A circle of a particular radius as a subset of the Euclidean plane. Not including border, so that circles that touch at the border are disjoint, but a circle internal to another shape is a subset of that shape. -/ def Circle (r : ℝ) : Set ℝ² := {p : ℝ² | p 0 ^ 2 + p 1 ^ 2 < r ^ 2}
94
leanexplore_declaration
leanexplore:385671
leanexplore_sqlite
leanexplore_declarations
/-- The unit square as a subset of the Euclidean plane. -/ def UnitSquare : Set ℝ² := Square 1
313
leanexplore_declaration
leanexplore:385672
leanexplore_sqlite
leanexplore_declarations
/-- A square of a particular side length as a subset of the Euclidean plane. Not including border, so that squares that touch at the border are disjoint, but a square internal to another shape is a subset of that shape. -/ def Square (side : ℝ) : Set ℝ² := {p : ℝ² | 0 < p 0 ∧ p 0 < side ∧ 0 < p 1 ∧ p 1 < side}
296
leanexplore_declaration
leanexplore:385673
leanexplore_sqlite
leanexplore_declarations
/-- An integer `n : ℤ` can be written as a sum of three cubes (of integers) if and only if `n` is not `4` or `5` mod `9`. -/ @[category research open, AMS 11] theorem isSumOfThreeCubes_iff_mod_9 : answer(sorry) ↔ ∀ n : ℤ, IsSumOfThreeCubes n ↔ ¬(n ≡ 4 [ZMOD 9] ∨ n ≡ 5 [ZMOD 9]) := by sorry
948
leanexplore_declaration
leanexplore:385674
leanexplore_sqlite
leanexplore_declarations
/-- Any rational number is a sum of three rational cubes. First proved by Ryley in 1825, which can be found in [Ri1930]. The below parametrization is brought from the MSE answer [MSE]. [Ri1930] Richmond, H. W. "On Rational Solutions of $x^3 + y^3 + z^3 = R$." Proceedings of the Edinburgh Mathematical Society 2.2 (193...
546
leanexplore_declaration
leanexplore:385675
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem mod_9_of_isSumOfThreeCubes (n : ℤ) (hn : IsSumOfThreeCubes n) : ¬(n ≡ 4 [ZMOD 9] ∨ n ≡ 5 [ZMOD 9]) := by rw [show (9 : ℤ) = (9 : ℕ) from rfl, ← ZMod.intCast_eq_intCast_iff _ _ 9, ← ZMod.intCast_eq_intCast_iff _ _ 9] obtain ⟨x, y, z, hn⟩ := hn replace hn := congrArg (fun x ...
159
leanexplore_declaration
leanexplore:385676
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem isSumOfThreeCubes_42 : IsSumOfThreeCubes (42 : ℤ) := ⟨-80538738812075974, 80435758145817515, 12602123297335631, by norm_num⟩
157
leanexplore_declaration
leanexplore:385677
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem isSumOfThreeCubes_33 : IsSumOfThreeCubes (33 : ℤ) := ⟨8866128975287528, -8778405442862239, -2736111468807040, by norm_num⟩
108
leanexplore_declaration
leanexplore:385678
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem isSumOfThreeCubes_2 : IsSumOfThreeCubes (2 : ℤ) := ⟨1, 1, 0, by norm_num⟩
133
leanexplore_declaration
leanexplore:385679
leanexplore_sqlite
leanexplore_declarations
/-- The predicate that `n : R` is a sum of three cubes. -/ def IsSumOfThreeCubes (n : R) : Prop := ∃ x y z : R, n = x^3 + y^3 + z^3
149
leanexplore_declaration
leanexplore:385680
leanexplore_sqlite
leanexplore_declarations
/-- There does not exist a $(2,5)$-perfect number -/ @[category research open, AMS 11] theorem twoFivePerfect : ¬ ∃ n, PerfectFor n 2 5 := by sorry
187
leanexplore_declaration
leanexplore:385681
leanexplore_sqlite
leanexplore_declarations
/-- An integer $n$ is $(m,k)$-perfect if $\sigma^m(n) = kn$ where $\sigma^m$ is the $m$-th iterate of $σ$. -/ def PerfectFor (n m k : ℕ) : Prop := Nat.iterate (fun x => σ 1 x) m n = k * n
260
leanexplore_declaration
leanexplore:385682
leanexplore_sqlite
leanexplore_declarations
/-- Taxicab number for $k=5$ and $m=2$ is not-known for any $n ≥ 2$. Whether such a number exists is also not known. -/ @[category research open, AMS 11] theorem taxicab_for_5_2_n : answer(sorry) ↔ ∃ n : ℕ, n ≥ 2 ∧ (∃ x : ℕ, IsTaxicabFor 5 2 n x) := by sorry
233
leanexplore_declaration
leanexplore:385683
leanexplore_sqlite
leanexplore_declarations
/-- Taxicab number for $k=5$, $m=2$, and $n=2$ is not known. Whether such a number exists is also not known. -/ @[category research open, AMS 11] theorem taxicab_for_5_2_2 : answer(sorry) ↔ ∃ x : ℕ, IsTaxicabFor 5 2 2 x := by sorry
867
leanexplore_declaration
leanexplore:385684
leanexplore_sqlite
leanexplore_declarations
/-- Using Aristotle (Harmonic) we get a compact proof that 4 is the taxicab number for $k=1, m=2, n=2$. -/ @[category test, AMS 11] theorem taxicab_4 : IsTaxicabFor 1 2 2 4 := by constructor · exact taxicab_4' · rintro x ⟨ S, hS₁, hS₂ ⟩ obtain ⟨ s, hs, t, ht, hst ⟩ := Finset.one_lt_card.mp hS₁ have := hS₂...
119
leanexplore_declaration
leanexplore:385685
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem taxicab_4' : IsTaxicabFor' 1 2 2 4 := by use {[1, 3], [2, 2]} simp [List.Disjoint]
244
leanexplore_declaration
leanexplore:385686
leanexplore_sqlite
leanexplore_declarations
/-- $x$ is a taxicab number if it is the smallest number that can be expressed as a sum of $m$ positive $k$-th powers in at least $n$ distinct ways. -/ def IsTaxicabFor (k m n : ℕ) (x : ℕ) : Prop := IsLeast { x : ℕ | IsTaxicabFor' k m n x } x
205
leanexplore_declaration
leanexplore:385687
leanexplore_sqlite
leanexplore_declarations
/-- $1729$ is a possible taxicab number for $k=3, m=2, n=2$. -/ @[category test, AMS 11] theorem taxicab_1729 : IsTaxicabFor' 3 2 2 1729 := by use {{1, 12}, {9, 10}} simp [List.Disjoint] simp +decide
552
leanexplore_declaration
leanexplore:385688
leanexplore_sqlite
leanexplore_declarations
/-- $x$ is a candidate for being a taxicab number for $k, m, n$ if there exists a (finite) set of at least $n$ distinct, pairwise disjoint, non-empty, non-zero lists of length $m$, such that the sum of the $k$-th powers of the elements of each list is $x$. The disjointness condition ensures that the representations do ...
190
leanexplore_declaration
leanexplore:385689
leanexplore_sqlite
leanexplore_declarations
/-- Any T2, Toronto space is discrete. -/ @[category research open, AMS 54] theorem DiscreteTopology.of_t2_of_torontoSpace [T2Space X] [TorontoSpace X] : DiscreteTopology X := by sorry
441
leanexplore_declaration
leanexplore:385690
leanexplore_sqlite
leanexplore_declarations
/-- Every finite space is Toronto, since the only subspace with same cardinality is the space itself. -/ @[category test, AMS 54] instance Finite.torontoSpace [Finite X] : TorontoSpace X where toronto := by intro Y hY have eq : Y = Set.univ := by refine (Set.eq_univ_iff_ncard Y).mpr ?_ have : Y.nc...
41
leanexplore_declaration
leanexplore:385691
leanexplore_sqlite
leanexplore_declarations
toronto : ∀ ⦃Y : Set X⦄, #Y = #X → Y ≃ₜ X
183
leanexplore_declaration
leanexplore:385692
leanexplore_sqlite
leanexplore_declarations
/-- A *Toronto space* is a topological space which is homeomorphic to all of its subspaces of same cardinality. -/ class TorontoSpace where toronto : ∀ ⦃Y : Set X⦄, #Y = #X → Y ≃ₜ X
194
leanexplore_declaration
leanexplore:385693
leanexplore_sqlite
leanexplore_declarations
/-- $\Gamma(1/n)$ for `n ≥ 2` is transcendental. -/ @[category research open, AMS 33] theorem transcendental_gamma_one_div (n : ℕ) (hn : 2 ≤ n) : Transcendental ℚ (1 / n : ℝ).Gamma := by sorry
253
leanexplore_declaration
leanexplore:385694
leanexplore_sqlite
leanexplore_declarations
/-- $\Gamma(1/6)$ is transcendental. [Ch84] Chudnovsky, G. (1984). Contributions to the theory of transcendental numbers. -/ @[category research solved, AMS 33] theorem transcendental_gamma_one_div_six : Transcendental ℚ (1 / 6 : ℝ).Gamma := by sorry
254
leanexplore_declaration
leanexplore:385695
leanexplore_sqlite
leanexplore_declarations
/-- $\Gamma(1/4)$ is transcendental. [Ch84] Chudnovsky, G. (1984). Contributions to the theory of transcendental numbers. -/ @[category research solved, AMS 33] theorem transcendental_gamma_one_div_four : Transcendental ℚ (1 / 4 : ℝ).Gamma := by sorry
255
leanexplore_declaration
leanexplore:385696
leanexplore_sqlite
leanexplore_declarations
/-- $\Gamma(1/3)$ is transcendental. [Ch84] Chudnovsky, G. (1984). Contributions to the theory of transcendental numbers. -/ @[category research solved, AMS 33] theorem transcendental_gamma_one_div_three : Transcendental ℚ (1 / 3 : ℝ).Gamma := by sorry
253
leanexplore_declaration
leanexplore:385697
leanexplore_sqlite
leanexplore_declarations
/-- $\Gamma(1/2)$ is transcendental. [Ch84] Chudnovsky, G. (1984). Contributions to the theory of transcendental numbers. -/ @[category research solved, AMS 33] theorem transcendental_gamma_one_div_two : Transcendental ℚ (1 / 2 : ℝ).Gamma := by sorry
180
leanexplore_declaration
leanexplore:385698
leanexplore_sqlite
leanexplore_declarations
/-- The Gompertz constant $\delta$ is transcendental. -/ @[category research open, AMS 33] theorem transcendental_gompertzConstant : Transcendental ℚ gompertzConstant := by sorry
175
leanexplore_declaration
leanexplore:385699
leanexplore_sqlite
leanexplore_declarations
/-- The Catalan constant $G$ is transcendental. -/ @[category research open, AMS 11 33] theorem transcendental_catalanConstant : Transcendental ℚ catalanConstant := by sorry
271
leanexplore_declaration
leanexplore:385700
leanexplore_sqlite
leanexplore_declarations
/-- At least one of Catalan constant and the Gompertz constant is transcendental. -/ @[category research solved, AMS 11 33] theorem transcendental_catalanConstant_or_gompertzConstant : Transcendental ℚ catalanConstant ∨ Transcendental ℚ gompertzConstant := by sorry
227
leanexplore_declaration
leanexplore:385701
leanexplore_sqlite
leanexplore_declarations
/-- At least one of $\pi + e$ and $\pi e$ is transcendental. -/ @[category undergraduate, AMS 11] theorem exp_add_pi_or_exp_add_mul_transcendental : Transcendental ℚ (π + rexp 1) ∨ Transcendental ℚ (π * exp 1) := by sorry
155
leanexplore_declaration
leanexplore:385702
leanexplore_sqlite
leanexplore_declarations
/-- $\sin(e)$ is transcendental. -/ @[category research open, AMS 11 33] theorem sin_exp_transcendental : Transcendental ℚ (Real.sin (exp 1)) := by sorry
166
leanexplore_declaration
leanexplore:385703
leanexplore_sqlite
leanexplore_declarations
/-- $\log(\log(2))$ is transcendental. -/ @[category research open, AMS 11 33] theorem rlog_rlog_two_transcendental : Transcendental ℚ ((2 : ℝ).log.log) := by sorry
146
leanexplore_declaration
leanexplore:385704
leanexplore_sqlite
leanexplore_declarations
/-- $\log(\pi)$ is transcendental. -/ @[category research open, AMS 11 33] theorem rlog_pi_transcendental : Transcendental ℚ (log π) := by sorry
424
leanexplore_declaration
leanexplore:385705
leanexplore_sqlite
leanexplore_declarations
/-- $\pi^{\pi^{\pi^\pi}}$ is not an integer. This would follow from $\pi^{\pi^{\pi^\pi}}$ being transcendental, but this formulation is of interest in its own right, as it could in principle be proven by direct computation. *Reference:* [YouTube](https://www.youtube.com/watch?v=BdHFLfv-ThQ) -/ @[category research ope...
184
leanexplore_declaration
leanexplore:385706
leanexplore_sqlite
leanexplore_declarations
/-- $\pi^{\pi^{\pi^\pi}}$ is transcendental. -/ @[category research open, AMS 11 33] theorem pi_pow_pi_pow_pi_pow_pi_transcendental : Transcendental ℚ (π ^ (π ^ (π ^ π))) := by sorry
167
leanexplore_declaration
leanexplore:385707
leanexplore_sqlite
leanexplore_declarations
/-- $\pi^{\pi^{\pi}}$ is transcendental. -/ @[category research open, AMS 11 33] theorem pi_pow_pi_pow_pi_transcendental : Transcendental ℚ (π ^ (π ^ π)) := by sorry
148
leanexplore_declaration
leanexplore:385708
leanexplore_sqlite
leanexplore_declarations
/-- $\pi^{\pi}$ is transcendental. -/ @[category research open, AMS 11 33] theorem pi_pow_pi_transcendental : Transcendental ℚ (π ^ π) := by sorry
160
leanexplore_declaration
leanexplore:385709
leanexplore_sqlite
leanexplore_declarations
/-- $\pi^{\sqrt{2}}$ is transcendental. -/ @[category research open, AMS 11 33] theorem pi_pow_sqrt_two_transcendental : Transcendental ℚ (π ^ √2) := by sorry
151
leanexplore_declaration
leanexplore:385710
leanexplore_sqlite
leanexplore_declarations
/-- $\pi^e$ is transcendental. -/ @[category research open, AMS 11 33] theorem pi_pow_exp_transcendental : Transcendental ℚ (π ^ (exp 1)) := by sorry
146
leanexplore_declaration
leanexplore:385711
leanexplore_sqlite
leanexplore_declarations
/-- $e^e$ is transcendental. -/ @[category research open, AMS 11 33] theorem exp_exp_transcendental : Transcendental ℚ (exp (exp 1)) := by sorry
158
leanexplore_declaration
leanexplore:385712
leanexplore_sqlite
leanexplore_declarations
/-- $e^{\pi^2}$ is transcendental. -/ @[category research open, AMS 11 33] theorem exp_pow_pi_sq_transcendental : Transcendental ℚ (exp (π ^ 2)) := by sorry
148
leanexplore_declaration
leanexplore:385713
leanexplore_sqlite
leanexplore_declarations
/-- $e\pi$ is transcendental. -/ @[category research open, AMS 11 33] theorem exp_mul_pi_transcendental : Transcendental ℚ (exp 1 * π) := by sorry
151
leanexplore_declaration
leanexplore:385714
leanexplore_sqlite
leanexplore_declarations
/-- $e + \pi$ is transcendental. -/ @[category research open, AMS 11 33] theorem exp_add_pi_transcendental : Transcendental ℚ (exp 1 + π) := by sorry
200
leanexplore_declaration
leanexplore:385715
leanexplore_sqlite
leanexplore_declarations
/-- Are there infinitely many primes p such that p + 2 is prime? -/ @[category research open, AMS 11] theorem twin_primes : answer(sorry) ↔ {p : ℕ | Prime p ∧ Prime (p + 2)}.Infinite := by sorry
438
leanexplore_declaration
leanexplore:385716
leanexplore_sqlite
leanexplore_declarations
/-- If the UC conjecture is tight for some family `A` then $|A| = 2^k$ for some $k$. Reference: Conjecture 3 in https://www.nieuwarchief.nl/serie5/pdf/naw5-2023-24-4-225.pdf. -/ @[category research open, AMS 5] theorem union_closed.variants.cardinality_even_of_union_closed_tight [Nonempty n] (hA : A ≠ {∅} ∧ A ≠ ∅)...
2,354
leanexplore_declaration
leanexplore:385717
leanexplore_sqlite
leanexplore_declarations
/-- The union-closed sets conjecture is sharp in the sense that if we replace the constant `1/2` with any larger constant, then the conjecture fails. -/ @[category research solved, AMS 5] theorem union_closed.variants.sharpness [Fintype n] (c : ℝ) (hc : 1 / 2 < c) : ¬ (∀ A : Finset (Finset n), A ≠ {∅} → IsUnionClos...
1,095
leanexplore_declaration
leanexplore:385718
leanexplore_sqlite
leanexplore_declarations
/-- We can show the union-closed sets conjecture is true for the case where the set family contains some singleton. -/ @[category research solved, AMS 5] theorem union_closed.variants.singleton_mem (h_union_closed : IsUnionClosed A) (i : n) (hi : {i} ∈ A) : ∃ i, (1 / 2 : ℚ) * #A ≤ #{x ∈ A | i ∈ x} := by u...
394
leanexplore_declaration
leanexplore:385719
leanexplore_sqlite
leanexplore_declarations
/-- We can show the union-closed sets conjecture is true for the case where the universal set has cardinality 2, by brute force. -/ @[category research solved, AMS 5] theorem union_closed.variants.univ_card_two (A : Finset (Finset (Fin 2))) (h_ne_singleton_empty : A ≠ {∅}) (h_union_closed : IsUnionClosed A) : ...
774
leanexplore_declaration
leanexplore:385720
leanexplore_sqlite
leanexplore_declarations
/-- Roberts and Simpson [Ro10] showed that the union-closed sets conjecture holds for set families of size at most 46. Their method, however, combined with the result of [Vu17], further shows that it holds for `#A ≤ 50` as well. [Ro10] Roberts, Ian; Simpson, Jamie (2010). "A note on the union-closed sets conjecture" (P...
589
leanexplore_declaration
leanexplore:385721
leanexplore_sqlite
leanexplore_declarations
/-- Vuckovic and Zivkovic [Vu17] showed that the union-closed sets conjecture holds for set families whose universal set has cardinality at most 12. [Vu17] Vuckovic, Bojan; Zivkovic, Miodrag (2017). "The 12-Element Case of Frankl's Conjecture" (PDF). IPSI BGD Transactions on Internet Research. 13 (1): 65. -/ @[category...
459
leanexplore_declaration
leanexplore:385722
leanexplore_sqlite
leanexplore_declarations
/-- Yu [Yu23] showed that the union-closed sets conjecture holds with a constant of approximately 0.38234 instead of 1/2. [Yu23] Yu, Lei (2023). "Dimension-free bounds for the union-closed sets conjecture". Entropy. 25 (5): 767. -/ @[category research solved, AMS 5] theorem union_closed.variants.yu [Nonempty n] ...
398
leanexplore_declaration
leanexplore:385723
leanexplore_sqlite
leanexplore_declarations
/-- For every finite union-closed family of sets, other than the family containing only the empty set, there exists an element that belongs to at least half of the sets in the family. -/ @[category research open, AMS 5] theorem union_closed [Nonempty n] (h_ne_singleton_empty : A ≠ {∅}) (h_union_closed : IsU...
182
leanexplore_declaration
leanexplore:385724
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 5] lemma isUnionClosed_powerset (S : Finset n) : IsUnionClosed S.powerset := by intro X hX Y hY rw [Finset.mem_powerset] at hX hY ⊢ exact union_subset hX hY
159
leanexplore_declaration
leanexplore:385725
leanexplore_sqlite
leanexplore_declarations
@[category API, AMS 5] lemma isUnionClosed_univ (n : Type*) [DecidableEq n] [Fintype n] : IsUnionClosed (univ (α := Finset n)) := by simp [IsUnionClosed]
86
leanexplore_declaration
leanexplore:385726
leanexplore_sqlite
leanexplore_declarations
abbrev IsUnionClosed (A : Finset (Finset n)) : Prop := ∀ᵉ (X ∈ A) (Y ∈ A), X ∪ Y ∈ A
474
leanexplore_declaration
leanexplore:385727
leanexplore_sqlite
leanexplore_declarations
/-- The Vaught conjecture states that for a countable language L and a complete L-Theory T the number of countable models of T (up to isomorphism) is finite, $\aleph_0$ or $2^{\aleph_0}$. -/ @[category research open, AMS 3] theorem vaught_conjecture {L : FirstOrder.Language} (hL : Countable L.Symbols) ...
342
leanexplore_declaration
leanexplore:385728
leanexplore_sqlite
leanexplore_declarations
/-- The number of countable models of some L-Theory T up to isomorphism -/ def numberOfCountableModels {L : FirstOrder.Language} (T : L.Theory) : Cardinal := Cardinal.mk (Quotient (Setoid.comap (fun (model : {mt : T.ModelType // Countable mt.Carrier}) ↦ CategoryTheory.Bundled.mk model.val.Carrier model.val.st...
687
leanexplore_declaration
leanexplore:385729
leanexplore_sqlite
leanexplore_declarations
/-- A Lucas–Wieferich prime associated with $(a,b)$ is an odd prime $p$, not dividing $a^2 - b$, such that $U_{p-\varepsilon}(a,b) \equiv 0 \pmod{p^2}$ where $U(a,b)$ is the Lucas sequence of the first kind and $\varepsilon$ is the Legendre symbol $\left({\tfrac {a^2-4b}{p}}\right)$. The discriminant of this number is ...
318
leanexplore_declaration
leanexplore:385730
leanexplore_sqlite
leanexplore_declarations
/-- A prime $p$ is a Wall–Sun–Sun prime if and only if $L_p \equiv 1 \pmod{p^2}$, where $L_p$ is the $p$-th Lucas number. It is conjectured that there are infinitely many Wall-Sun-Sun primes. -/ @[category research open, AMS 11] theorem infinite_isWallSunSunPrime : {p : ℕ | IsWallSunSunPrime p}.Infinite := by sorry
297
leanexplore_declaration
leanexplore:385731
leanexplore_sqlite
leanexplore_declarations
/-- A prime $p$ is a Wall–Sun–Sun prime if and only if $L_p \equiv 1 \pmod{p^2}$, where $L_p$ is the $p$-th Lucas number. It is conjectured that there is at least one Wall–Sun–Sun prime. -/ @[category research open, AMS 11] theorem exists_isWallSunSunPrime : ∃ p, IsWallSunSunPrime p := by sorry
322
leanexplore_declaration
leanexplore:385732
leanexplore_sqlite
leanexplore_declarations
/-- It is conjectured that there are infinitely many Wolstenholme primes. *Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Wolstenholme_prime#Expected_number_of_Wolstenholme_primes) -/ @[category research open, AMS 11] theorem wolstenholme_prime_infinite : {p : ℕ | IsWolstenholmePrime p}.Infinite := by sor...
317
leanexplore_declaration
leanexplore:385733
leanexplore_sqlite
leanexplore_declarations
/-- Another equivalent definition is that a prime $p > 7$ is a Wolstenholme prime if it $p^3$ divides the numerator of the harmonic number $H_{p-1}$. -/ @[category test, AMS 11] theorem wolstenholme_harmonic (p : ℕ) : IsWolstenholmePrime p ↔ (p > 7) ∧ Nat.Prime p ∧ ↑(p ^ 3) ∣ (harmonic (p - 1)).num := by sorry
284
leanexplore_declaration
leanexplore:385734
leanexplore_sqlite
leanexplore_declarations
/-- Equivalently, a prime $p > 7$ is a Wolstenholme prime if it divides the numerator of the Bernoulli number $B_{p-3}$. -/ @[category API, AMS 11] theorem wolstenholme_bernoulli (p : ℕ) : IsWolstenholmePrime p ↔ (p > 7) ∧ Nat.Prime p ∧ ↑p ∣ (bernoulli' (p - 3)).num := by sorry
103
leanexplore_declaration
leanexplore:385735
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 11] theorem wolstenholme_prime_2124679 : IsWolstenholmePrime 2124679 := by sorry
394
leanexplore_declaration
leanexplore:385736
leanexplore_sqlite
leanexplore_declarations
/-- Two known Wolstenholme primes: 16843 and 2124679. Formal proof linked here provided by AlphaProof -/ @[category test, AMS 11, formal_proof using formal_conjectures at "https://github.com/mo271/formal-conjectures/blob/d833ed31d82693f10bed7a4c9ac329545b556a03/FormalConjectures/Wikipedia/WolstenholmePrime.lean#L73"] ...
206
leanexplore_declaration
leanexplore:385737
leanexplore_sqlite
leanexplore_declarations
/-- A prime $p > 7$ is called a *Wolstenholme prime* if $\binom{2p-1}{p-1} \equiv 1 (\pmod{p^4})$. -/ def IsWolstenholmePrime (p : ℕ) : Prop := p > 7 ∧ p.Prime ∧ (2 * p - 1).choose (p - 1) ≡ 1 [MOD p ^ 4]
597
leanexplore_declaration
leanexplore:385738
leanexplore_sqlite
leanexplore_declarations
/-- Wolstenholme's theorem states that any prime $p > 3$ satisfies $\binom{2p-1}{p-1} \equiv 1 (\pmod{p^3})$. Formal proof linked here provided by AlphaProof. *Reference:* [Wikipedia](https://en.wikipedia.org/wiki/Wolstenholme%27s_theorem) -/ @[category undergraduate, AMS 11, formal_proof using formal_conjectures at "...
225
leanexplore_declaration
leanexplore:385739
leanexplore_sqlite
leanexplore_declarations
/-- There are infinitely many prime numbers of the form `k * 2 ^ k - 1` for `k > 1`. -/ @[category research open, AMS 11] theorem infinitely_many_woodall_primes : {k : ℕ | 1 < k ∧ (k * 2 ^ k - 1).Prime}.Infinite := by sorry
734
leanexplore_declaration
leanexplore:385740
leanexplore_sqlite
leanexplore_declarations
/-- Does every finite partially ordered set that is not totally ordered contain two elements $x$ and $y$ such that the probability that $x$ appears before $y$ in a random linear extension is between $\frac 1 3$ and $\frac 2 3$? The set of all total order extensions is represented as order preserving bijections $P$ of ...
502
leanexplore_declaration
leanexplore:385741
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 1](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) For a simple connected graph `G` the maximum number of leaves of a spanning tree satisfies `Ls(G) ≥ n(G) + 1 - 2·m(G)` where `n(G)` counts vertices and `m(G)` is the size of a maximum matching. -/ @[category research solved, AMS 5] theor...
566
leanexplore_declaration
leanexplore:385742
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 19](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) If `G` is connected then the size `b(G)` of a largest induced bipartite subgraph satisfies `b(G) ≥ FLOOR((∑ ecc(v))/(|V|) + sSup (range (l G)))`, where `ecc(v)` denotes eccentricity and `l(G)` is the independence number of neighbourhoods...
365
leanexplore_declaration
leanexplore:385743
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 2](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) For a simple connected graph `G`, `Ls(G) ≥ 2 · (l(G) - 1)` where `l(G)` is the average independence number of the neighbourhoods of the vertices of `G`. -/ @[category research open, AMS 5] theorem conjecture2 (G : SimpleGraph α) (h : G.Co...
507
leanexplore_declaration
leanexplore:385744
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 3](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) For a connected simple graph `G`, the number of leaves in a maximum spanning tree satisfies `Ls(G) ≥ gi(G) * MaxTemp(G)`, where `gi(G)` is the independent domination number and `MaxTemp(G)` is `max_v deg(v)/(n(G) - deg(v))`. -/ @[category...
471
leanexplore_declaration
leanexplore:385745
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 34](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) Let `path(G)` be the floor of the average distance of a connected graph `G`. Then `path(G) ≥ ceil( distavg(G, center) + distavg(G, maxEccentricityVertices G) )`. -/ @[category research open, AMS 5] theorem conjecture34 [Nontrivial α] (G ...
440
leanexplore_declaration
leanexplore:385746
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 4](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) If `G` is a connected graph then the maximum number of leaves over all spanning trees satisfies `Ls(G) ≥ NG(G) - 1` where `NG(G)` is the minimal neighbourhood size of a non-edge of `G`. -/ @[category research solved, AMS 5] theorem conjec...
495
leanexplore_declaration
leanexplore:385747
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 40](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) For a nontrivial connected graph `G` the size `f(G)` of a largest induced forest satisfies `f(G) ≥ ceil((p(G) + b(G) + 1)/2)` where `p(G)` is the path cover number and `b(G)` is the largest induced bipartite subgraph size. -/ @[category ...
671
leanexplore_declaration
leanexplore:385748
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 5](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) For a simple connected graph `G`, `Ls(G)` is bounded below by the maximal size of a sphere of radius `radius(G)` around the centres of `G`. -/ @[category research solved, AMS 5] theorem conjecture5 (G : SimpleGraph V) (h_conn : G.Connecte...
465
leanexplore_declaration
leanexplore:385749
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 58](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) For a connected graph `G`, the size `f(G)` of a largest induced forest satisfies `f(G) ≥ ceil( b(G) / average l(v) )` where `b(G)` is the largest induced bipartite subgraph and `l(v)` is the independence number of `G.neighborSet v`. -/ @...
364
leanexplore_declaration
leanexplore:385750
leanexplore_sqlite
leanexplore_declarations
/-- WOWII [Conjecture 6](http://cms.dt.uh.edu/faculty/delavinae/research/wowII/) For a connected graph `G` we have `Ls(G) ≥ 1 + n(G) - m(G) - a(G)` where `a(G)` is defined via independent sets. -/ @[category research solved, AMS 5] theorem conjecture6 (G : SimpleGraph α) [DecidableRel G.Adj] (h_conn : G.Connected) : ...
83
leanexplore_declaration
leanexplore:385751
leanexplore_sqlite
leanexplore_declarations
@[category test, AMS 5] theorem Star5_cvetkovic : cvetkovic Star5 = 5 := by sorry