id
stringlengths
5
52
splittable
bool
2 classes
prompt
stringlengths
161
1.23k
⌀
correct
stringlengths
137
1.56k
answer
stringlengths
7
629
⌀
reason
stringlengths
166
514
⌀
formal_statement
stringlengths
389
291k
reference_proof
stringlengths
1.11k
602k
header
stringlengths
15
3.89k
theorem_names
listlengths
1
35
repo_url
stringlengths
35
60
repo_commit_sha
stringlengths
40
40
license
stringclasses
2 values
source
listlengths
0
7
BerkovichUncu
false
null
Four statistic-transfer lemmas about the file's four concrete maps between partition classes of n: φ : D(n) → A1(n), Φ : A1(n) → A2(n), ψ⁻¹ : A2(n) → O(n), and G : O(n) → D(n), where D(n) is strict partitions of n, O(n) is partitions of n into odd parts, and A1(n), A2(n) are the two Chen–Gao–Ji–Li classes. Assuming the...
null
The text combines four separate lemmas about four different maps, each with its own hypothesis and conclusion. There is no single claim to split; instead there are four distinct statements.
set_option backward.isDefEq.respectTransparency false /- # Problem Description This file formalizes the explicit Berkovich--Uncu bijection and its statistic transfer, following the paper's four-map construction `F = G ∘ ψInv ∘ Φ ∘ φ : D n → D n`, where `D n --φ--> A1 n --Φ--> A2 n --ψInv--> O n --G--> D n`. H...
section set_option backward.isDefEq.respectTransparency false /- # Problem Description This file formalizes the explicit Berkovich--Uncu bijection and its statistic transfer, following the paper's four-map construction `F = G ∘ ψInv ∘ Φ ∘ φ : D n → D n`, where `D n --φ--> A1 n --Φ--> A2 n --ψInv--> O n --G--> ...
import Mathlib
[ "BerkovichUncu.phi_stat", "BerkovichUncu.Phi_stat", "BerkovichUncu.psiInv_oddMultiplicity", "BerkovichUncu.G_oddPart" ]
https://github.com/AxiomMath/BerkovichUncu
d949f32c1d28f8d2b60e80a4f3219dd3b4d712d4
MIT
[]
Biswal:theorem1
false
null
Let p_0 = p_1 = 1 and p_{n+2} = p_{n+1} - x·p_n for n ≥ 0, and for a partition ξ put p_ξ = ∏_i p_{ξ_i}. Fix m ≥ 1 and n ≥ 0, write n = n₁m + n₀ with 0 ≤ n₀ < m, and let ξ be a partition with all parts ≤ m; let t be the number of parts of ξ equal to m. Expand F(x) = p_{m−n₀−1}(x)·p_ξ(x)/p_m(x)^{n₁+1} = Σ a_r x^r as a po...
null
The text is one indivisible statement: it first defines notation, then states a condition-dependent result about the power series F(x). Any attempt to separate a 'prompt' that ends with an instruction to 'state the claim' would either omit crucial hypotheses (the definition of F and the parameters m, n, n₁, n₀, ξ, t) o...
noncomputable def polyP (R : Type*) [CommRing R] : ℕ → Polynomial R | 0 => 1 | 1 => 1 | (n + 2) => polyP R (n + 1) - Polynomial.X * polyP R n -- Correctness: polyP satisfies the recurrence theorem polyP_zero (R : Type*) [CommRing R] : polyP R 0 = 1 := by rfl theorem polyP_one (R : Type*) [CommRing R] : polyP R 1...
section noncomputable def polyP (R : Type*) [CommRing R] : ℕ → Polynomial R | 0 => 1 | 1 => 1 | (n + 2) => polyP R (n + 1) - Polynomial.X * polyP R n theorem polyP_zero (R : Type*) [CommRing R] : polyP R 0 = 1 := rfl theorem polyP_one (R : Type*) [CommRing R] : polyP R 1 = 1 := rfl theorem polyP_succ_succ (R :...
import Mathlib /- # Problem: Positivity of Coefficients of a Partition Generating Function We consider the sequence of polynomials $p_0(x) = p_1(x) = 1$, $p_{n+1}(x) = p_n(x) - x \cdot p_{n-1}(x)$ for $n \ge 1$. For an integer partition $\xi = (\xi_1 \ge \xi_2 \ge \cdots \ge \xi_\ell > 0)$, define $p_\xi(x) := \prod...
[ "genFun_eq_one_of_m_eq_one", "genFun_is_polynomial", "genFun_coeff_eventually_pos" ]
https://github.com/AxiomMath/Biswal
71bcc619a22c77d2e118b1f53dcf68165707f662
MIT
[]
Biswal:theorem2and3
true
Let p₀=p₁=1 and p_{n+2}=p_{n+1}−x·p_n, and let C(n,j) be the ordinary binomial coefficient, with C(n,j)=0 when j>n. Fix m,μ∈ℕ with m≥2 and a partition ξ with all parts ≤m. Write μ=μ₁m+μ₀ (0≤μ₀<m), let t=#{i : ξᵢ=m}, assume t≤μ₁+1, and set α₀=m−μ₀−1, α₁,…,α_L to be the parts of ξ below m, k=μ₁+1−t. Let p_ξ:=∏ᵢp_{ξᵢ}, an...
Let p₀=p₁=1, p_{n+2}=p_{n+1}−x·p_n, and let C(n,j) be the ordinary binomial coefficient (0 when j>n); then over any commutative ring [x^j]p_n=(−1)^j C(n−j,j), which vanishes when 2j>n. Fix m,μ∈ℕ with m≥2 and a partition ξ with all parts ≤m; write μ=μ₁m+μ₀ (0≤μ₀<m), t=#{i : ξᵢ=m}, assume t≤μ₁+1, and set α₀=m−μ₀−1, α₁,…,...
Over any commutative ring, [x^j]p_n=(−1)^j C(n−j,j), which vanishes when 2j>n. Over any field K, F(x) equals ∏_{i=0}^L p_{αᵢ}(x)/p_m(x)^k, and its r-th coefficient a_r equals [x^r]((∏p_{αᵢ})·(1/p_m)^k). Theorem 2 (over ℚ): a_r = Σ over (j₀,…,j_L,u₁,…,u_k)∈ℕ^{L+1+k} with sum r of ∏ᵢ(−1)^{jᵢ}C(αᵢ−jᵢ,jᵢ)·∏_ν B_m(u_ν), whe...
null
/-- Chebyshev-type polynomials defined by the recurrence $p_0 = 1$, $p_1 = 1$, $p_{n+2} = p_{n+1} - x \, p_n$. -/ noncomputable def polyP (R : Type*) [CommRing R] : ℕ → Polynomial R | 0 => 1 | 1 => 1 | (n + 2) => polyP R (n + 1) - Polynomial.X * polyP R n theorem polyP_zero (R : Type*) [CommRing R] : polyP R 0 =...
section noncomputable def polyP (R : Type*) [CommRing R] : ℕ → Polynomial R | 0 => 1 | 1 => 1 | (n + 2) => polyP R (n + 1) - Polynomial.X * polyP R n theorem polyP_zero (R : Type*) [CommRing R] : polyP R 0 = 1 := rfl theorem polyP_one (R : Type*) [CommRing R] : polyP R 1 = 1 := rfl theorem polyP_succ_succ (R : T...
import Mathlib /- # Problem: Combinatorial formula and Dyck path identity for Chebyshev partition generating functions ## Background Define Chebyshev-type polynomials $p_n(x)$ by the recurrence $p_0 = 1$, $p_1 = 1$, $p_{n+2} = p_{n+1} - x \, p_n$. For a partition $\xi$ of $s$, the partition polynomial is $p_\xi(...
[ "genFun_eq_reduced", "D_coeff_mk", "polyP_coeff", "thm_comb_cauchy", "thm_comb", "thm_manifest_factorization", "thm_manifest_coeff_formula", "thm_manifest_D_nonneg", "thm_manifest_coeff_nonneg" ]
https://github.com/AxiomMath/Biswal
71bcc619a22c77d2e118b1f53dcf68165707f662
MIT
[]
Feige
true
For any positive integer n and any independent, measurable, integrable, pointwise nonnegative random variables X₁,…,Xₙ on a probability space, each with expectation at most 1, let S = ΣXᵢ. State the optimal universal lower bound on P(S < E[S] + 1) that holds for every such family of n variables, and state the property ...
For any positive integer n and any independent, measurable, integrable, pointwise nonnegative random variables X₁,…,Xₙ on a probability space, each with expectation at most 1, let S = ΣXᵢ. Then P(S < E[S] + 1) ≥ (n/(n+1))ⁿ, and for each fixed n this constant is optimal: it is the largest universal lower bound, i.e. any...
P(S < E[S] + 1) ≥ (n/(n+1))ⁿ, and for each fixed n this constant is optimal: it is the largest universal lower bound, i.e. any real c with P(S < E[S] + 1) ≥ c for every such family of n variables satisfies c ≤ (n/(n+1))ⁿ.
null
open scoped BigOperators open MeasureTheory ProbabilityTheory namespace PalomarFeige /-- The proposed sharp constant for the unit-slack inequality in dimension `n`: `((n : ℝ) / (n + 1)) ^ n`. -/ noncomputable def sharpConstant (n : ℕ) : ℝ := ((n : ℝ) / (n + 1)) ^ n /-- `FixedDimensionalFeigeLowerBound n c` means t...
section namespace Feige open Filter Topology /-- The unit-slack sharp constant `bₙ,₁` in dimension `n`. -/ noncomputable def sharpConstant (n : ℕ) : ℝ := ((n : ℝ) / (n + 1)) ^ n @[simp] theorem sharpConstant_zero : sharpConstant 0 = 1 := by simp [sharpConstant] /-- The sharp constant is positive in every dimens...
import Mathlib.MeasureTheory.Integral.Bochner.Basic import Mathlib.MeasureTheory.Measure.Real import Mathlib.Probability.Independence.Basic import Mathlib import Mathlib.Analysis.Calculus.FDeriv.Mul import Mathlib.Analysis.Calculus.FDeriv.Prod import Mathlib.Analysis.Convex.Body import Mathlib.Analysis.Convex.Function ...
[ "PalomarFeige.sharp_unit_slack_feige_complete" ]
https://github.com/pengzhang91/Feige
19c61d6cb556d1e967dbb0ada9f293c290837867
Apache-2.0
[ { "authors": [ "Weibo Fu", "Yanjun Han", "Guanyang Wang", "Jun Yan", "Peng Zhang", "Zhengqing Zhou" ], "id": "arXiv:2607.23980", "location": "Theorem 1.1 and Corollary 1.2 at delta = 1; sharpness in Section 1.2", "note": "The headline Lean theorem formalizes t...
HigherDyson:Batch1
false
null
With a fixed nome q ∈ ℂˣ, the project formalizes: character-sum collapse when x^d = 1 and x ≠ 1; an integer exponent identity; for m ≥ 2, d = 2m+1, the (2m+1)-term recurrence for the deformed Dyson values X_j, assuming the G-shift relation and absolute summability for every integer j; given any sequence X : ℤ → ℂ satis...
null
The text is not a single mathematical claim with a separable hypothesis/conclusion structure; it is a list of several independent formalized results with different assumptions and objects. Splitting it would require either a trivial prompt asking to reproduce the list or leaving any single item meaningless without the ...
open Finset -- Main Definition(s) /-- The character sum `C_x = ∑_{r=0}^{d-1} x^r`. -/ noncomputable def Csum (d : ℕ) (x : ℂ) : ℂ := ∑ r ∈ Finset.range d, x ^ r /-- The `G_d`-shift relation (Definition `def:G`), specialized at `x q^n`, taken as a predicate on an opaque sequence `Gv : ℕ → ℂ` where `Gv n` plays the rol...
section set_option maxHeartbeats 1000000 /- # Problem Description This corpus comes from Alfes-Ono, *Higher Dyson ranks and meromorphic elliptic corrections*, restricted to the "core q-series algebra" (Batch 1). All statements are read in the *evaluated* setting: the nome is a fixed numeric unit `q : ℂˣ`, `x` is a c...
import Mathlib /- # Problem Description This corpus comes from Alfes-Ono, *Higher Dyson ranks and meromorphic elliptic corrections*, restricted to the "core q-series algebra" (Batch 1). All statements are read in the *evaluated* setting: the nome is a fixed numeric unit `q : ℂˣ`, `x` is a complex number (or unit), a...
[ "KF_collapse", "exponent_identity", "KF_recurrence", "KF_boundary", "rational_reduction_one", "rational_reduction_two", "KF_functional", "KF_combi_iff", "KF_combi_unique" ]
https://github.com/AxiomMath/HigherDyson
fed112b469b55bebb5bbcd1823110cd66bf8ee34
MIT
[]
HigherDyson:Batch2
true
Let m ≥ 2, d = 2m+1, x,q ∈ ℂˣ, ω a primitive d-th root of unity, C_x := Σ_{r<d} x^r, G, X₀ ∈ ℂ, and R ∈ ℂ[X] with deg R ≤ d−2, R(0) = −X₀. In ℂ(U) let σ be the ℂ-algebra automorphism with σU = qU, and let M_d, 𝒢, K, Ψ, Ω_r (r<d), Ω_ext be elements subject only to the identities (1−U^d)σM_d = U^{d−3}(1−U)M_d, K = (M_d/...
Let m ≥ 2, d = 2m+1, x, q ∈ ℂˣ, ω a primitive d-th root of unity, C_x := Σ_{r<d} x^r, G, X₀ ∈ ℂ, and R ∈ ℂ[X] with deg R ≤ d−2, R(0) = −X₀. In ℂ(U) let σ be the ℂ-algebra automorphism with σU = qU, and let M_d, 𝒢, K, Ψ, Ω_r (r<d), Ω_ext be opaque elements (not series) subject only to the hypothesized identities (1−U^d...
Y := X₀Ψ − Σ_{r<d} D_{r,x}Ω_r − E_xΩ_ext (torsion: D_r for D_{r,x}, no E_x term) satisfies σY − x²Y = σK − x²K.
null
open Polynomial noncomputable section /-! ## Abbreviations for the field and the indeterminate `U`. -/ /-- The ambient rational function field `𝕂 = ℂ(U)`. -/ abbrev Kf : Type := RatFunc ℂ /-- The image of the indeterminate, written `U` in the informal text. -/ noncomputable def U : Kf := RatFunc.X /-- Embedding o...
section open Polynomial noncomputable section /-! ## Abbreviations for the field and the indeterminate `U`. -/ /-- The ambient rational function field `𝕂 = ℂ(U)`. -/ abbrev Kf : Type := RatFunc ℂ /-- The image of the indeterminate, written `U` in the informal text. -/ noncomputable def U : Kf := RatFunc.X /-- Emb...
import Mathlib /- # Problem Description We formalize three "Key Formulas" from the Dyson systems project (`KF:defect`, `KF:residues`, `KF:kernelshift`), all stated as **equalities in the rational function field `𝕂 := RatFunc ℂ`** in a single indeterminate whose image `RatFunc.X` we write `U`. ## Global setup and co...
[ "Tpoly_natDegree_le", "Tpoly_coeff_zero", "Cx_one", "Cx_torsion_ne", "Tpoly_factor_one", "Tpoly_factor_torsion_ne", "Spoly_one_coeff_zero", "Spoly_tors_coeff_zero", "KF_defect", "KF_residues_general", "KF_residues_torsion_one", "KF_residues_torsion_ne", "KF_kernelshift_general", "KF_kernel...
https://github.com/AxiomMath/HigherDyson
fed112b469b55bebb5bbcd1823110cd66bf8ee34
MIT
[]
HigherDyson:Batch3
false
null
Fix m≥2, d=2m+1, a unit x, τ, ω, q=e^{2πiτ}, u(w)=e^{2πiw}. The q-series, kernel and theta symbols (P_d, G, B, A_r, A_ext, ϑη, ϑ₁, Q, U, ...) are opaque, constrained only by designated hypotheses: the P_d and kernel τ-shift laws, the P_d-weighted master-defect/residue package, theta product/quasi-periodicity laws with ...
null
The text is a dense, self-contained block of definitions and hypotheses followed by a list of conclusions to be proved. The 'prompt' cannot be separated from the answer because removing any part of the claim would either give away the answer or leave a trivial or meaningless remainder; the conclusion is inherently tied...
namespace HigherDyson -- Fixed data (Definitions 1, 3, 7). variable (m : ℕ) (x : ℂˣ) (τ : ℂ) (ω : ℂ) /-- The level, `d := 2*m + 1`. -/ def d (m : ℕ) : ℕ := 2 * m + 1 /- ## Definition 1 (concrete elliptic variable and nome). -/ /-- The elliptic variable `elvC w = exp(2πi w)`. -/ noncomputable def elvC (w : ℂ) : ℂ :=...
section namespace HigherDyson -- Fixed data (Definitions 1, 3, 7). variable (m : ℕ) (x : ℂˣ) (τ : ℂ) (ω : ℂ) /-- The level, `d := 2*m + 1`. -/ def d (m : ℕ) : ℕ := 2 * m + 1 /- ## Definition 1 (concrete elliptic variable and nome). -/ /-- The elliptic variable `elvC w = exp(2πi w)`. -/ noncomputable def elvC (w : ℂ...
import Mathlib /- # Problem Description Higher Dyson ranks and meromorphic elliptic corrections (Alfes-Ono), companion `KeyFormulasDyson.tex`. We prove Batch 3 Key Formulas `KF:Pshift`, `KF:appellshift`, `KF:corrected`, `KF:untwist`, `KF:carrier`, `KF:level5`. Throughout, `m : ℕ` is fixed with `hm : 2 ≤ m`, and `d ...
[ "HigherDyson.stmt1_i", "HigherDyson.stmt1_ii", "HigherDyson.stmt2_a", "HigherDyson.stmt2_b_left", "HigherDyson.stmt2_b_right", "HigherDyson.stmt3_i", "HigherDyson.stmt3_ii", "HigherDyson.stmt4_i", "HigherDyson.stmt4_ii", "HigherDyson.stmt5_i", "HigherDyson.stmt5_ii", "HigherDyson.stmt5_iii", ...
https://github.com/AxiomMath/HigherDyson
fed112b469b55bebb5bbcd1823110cd66bf8ee34
MIT
[]
HigherDyson:Batch4
true
Let m≥2, d=2m+1, x,ω∈ℂˣ, q∈ℂ with q≠0, τ∈ℂ, and let w↦u(w)∈ℂˣ satisfy u(w+τ)=q u(w) for all w. Let P_d:ℂˣ→ℂ be arbitrary and satisfy P_d(qv)=q^{-m-1}v^{-2}(1−v)/(1−v^d)P_d(v) for all v∈ℂˣ. Write u=u(w) and define B(w)=Σ_{n≥0} x^{-2n-2} q^{mn²}u^{2mn}P_d(q^n u), A_r(w)=Σ_{n≥0} x^{-2n-2} q^{mn²+n}u^{2mn+1}P_d(q^n u)/(1−ω...
Fix m≥2, d=2m+1, units x,ω∈ℂˣ, nonzero q∈ℂ, and τ∈ℂ, with an elliptic variable w↦u(w)∈ℂˣ satisfying u(w+τ)=q·u(w) for all w. Let P_d:ℂˣ→ℂ be an arbitrary function with P_d(qv)=q^{-m-1}v^{-2}(1−v)/(1−v^d)·P_d(v) for all v∈ℂˣ. Writing u=u(w), define B(w)=Σ_{n≥0} x^{-2n-2}q^{mn²}u^{2mn}P_d(q^n u); A_r(w)=Σ_{n≥0} x^{-2n-2}...
For all w, with u=u(w): B(w+τ)=x²q^{-m}u^{-2m}B(w)−q^{-m}u^{-2m}P_d(u); for r<d, A_r(w+τ)=x²q^{-m}u^{-2m}A_r(w)−q^{-m}u^{-2m}·uP_d(u)/(1−ω^r u); A_ext(w+τ)=x²q^{-m}u^{-2m}A_ext(w)−q^{-m}u^{-2m}·uP_d(u)/(1−x u).
null
namespace AppellKernelShift /- We record the unit `qᵤ : ℂˣ` corresponding to the nonzero scalar `q`, so that the argument `q^n * elv w` to `Pd` is an honest unit. -/ variable (m : ℕ) /-- `d := 2*m + 1`. -/ def d (m : ℕ) : ℕ := 2 * m + 1 section Setup variable (x : ℂˣ) (elv : ℂ → ℂˣ) (q : ℂ) (hq : q ≠ 0) (τ : ℂ) (ω...
section namespace AppellKernelShift /- We record the unit `qᵤ : ℂˣ` corresponding to the nonzero scalar `q`, so that the argument `q^n * elv w` to `Pd` is an honest unit. -/ variable (m : ℕ) /-- `d := 2*m + 1`. -/ def d (m : ℕ) : ℕ := 2 * m + 1 section Setup variable (x : ℂˣ) (elv : ℂ → ℂˣ) (q : ℂ) (hq : q ≠ 0) (τ...
import Mathlib /- # Problem Description We work over the complex numbers `ℂ`. Fix the following global data (carried everywhere): - an integer `m : ℕ` with `2 ≤ m`, and `d := 2*m + 1`; - a unit `x : ℂˣ` (so `x ≠ 0`); - a function `elv : ℂ → ℂˣ` sending each `w : ℂ` to a unit `elv w` (the elliptic variable, written...
[ "AppellKernelShift.thm_Bshift", "AppellKernelShift.thm_Arshift", "AppellKernelShift.thm_Aextshift" ]
https://github.com/AxiomMath/HigherDyson
fed112b469b55bebb5bbcd1823110cd66bf8ee34
MIT
[]
IMO2026:Q1
true
A board is a multiset of natural numbers; call it initial if it has exactly 2026 entries, all > 1. A move picks two entries m,n > 1 and replaces them by gcd(m,n) and lcm(m,n)/gcd(m,n); a board is terminal if at most one entry exceeds 1; reachable means obtained by finitely many (possibly zero) moves. For every initial ...
A board is a multiset of natural numbers; call it initial if it has exactly 2026 entries, all > 1. A move picks two entries m,n > 1 and replaces them by gcd(m,n) and lcm(m,n)/gcd(m,n); a board is terminal if at most one entry exceeds 1; reachable means obtained by finitely many (possibly zero) moves. For every initial ...
(1) no infinite sequence of boards starts at B₀ with each consecutive pair related by a move; (2) every terminal board reachable from B₀ has exactly one entry > 1; (3) any two terminal boards reachable from B₀ have the same set of entries > 1; (4) that entry equals Mval(B₀) := ∏_{p prime, p∣∏B₀} p^{gₚ}, with gₚ the gcd...
null
set_option backward.isDefEq.respectTransparency false /-- A *board* is a finite multiset of natural numbers. The full board discipline (entries `≥ 1`, cardinality `2026`) is captured by the predicate `IsInitial`. -/ abbrev Board := Multiset ℕ /-- An *initial board*: exactly `2026` entries, each strictly greater than...
section set_option backward.isDefEq.respectTransparency false /-- A *board* is a finite multiset of natural numbers. The full board discipline (entries `≥ 1`, cardinality `2026`) is captured by the predicate `IsInitial`. -/ abbrev Board := Multiset ℕ /-- An *initial board*: exactly `2026` entries, each strictly grea...
import Mathlib
[ "Q1.statement_a_termination", "Q1.statement_a_unique_large", "Q1.statement_b_invariance", "Q1.terminal_value_eq_Mval", "Q1.Mval_gt_one" ]
https://github.com/AxiomMath/IMO2026
c5a6a089d06d3619afe7ff45c5ccab9e2a30d5d2
MIT
[ { "authors": [ "International Mathematical Olympiad" ], "id": "IMO 2026", "location": "", "note": "", "relationship": "", "title": "IMO 2026" } ]
IMO2026:Q2
true
Let ABC be a nondegenerate triangle, with M, N the midpoints of AB, AC. Let K lie strictly inside triangle BMC and L strictly inside triangle BNC, with K inside angle LBA and L inside angle ACK, such that ∠KBA = ∠ACL, ∠LBK = ∠LNC, and ∠LCK = ∠BMK. Let O be the circumcenter of triangle AKL, so O is equidistant from A, K...
Let ABC be a nondegenerate triangle, with M, N the midpoints of AB, AC. Let K lie strictly inside triangle BMC and L strictly inside triangle BNC, with K inside angle LBA and L inside angle ACK, such that ∠KBA = ∠ACL, ∠LBK = ∠LNC, and ∠LCK = ∠BMK. If O is equidistant from A, K, L (the circumcenter of triangle AKL), pro...
OM = ON
null
set_option backward.isDefEq.respectTransparency false open EuclideanGeometry -- We work in the Euclidean plane `ℝ²` with the standard `L²` (Euclidean) norm. abbrev Plane := EuclideanSpace ℝ (Fin 2) /-- A point `P` lies in the open interior of the triangle `X Y Z`: it is a strictly convex combination `P = α • X + β •...
section set_option backward.isDefEq.respectTransparency false open EuclideanGeometry -- We work in the Euclidean plane `ℝ²` with the standard `L²` (Euclidean) norm. abbrev Plane := EuclideanSpace ℝ (Fin 2) /-- A point `P` lies in the open interior of the triangle `X Y Z`: it is a strictly convex combination `P = α ...
import Mathlib
[ "Q2.main_theorem" ]
https://github.com/AxiomMath/IMO2026
c5a6a089d06d3619afe7ff45c5ccab9e2a30d5d2
MIT
[ { "authors": [ "International Mathematical Olympiad" ], "id": "IMO 2026", "location": "", "note": "", "relationship": "", "title": "IMO 2026" } ]
IMO2026:Q3
true
For a positive integer n, Liu Bang picks a set A of at most n points in (0,1); Xiang Yu then picks such a set B disjoint from A. Cutting [0,1] at all points of A∪B and sorting the piece lengths in decreasing order, Liu Bang's payoff L(A,B) is the sum of the 1st, 3rd, 5th, … largest pieces. Let V(n) = sup_A inf_B L(A,B)...
For a positive integer n, Liu Bang picks a set A of at most n points in (0,1); Xiang Yu then picks such a set B disjoint from A. Cutting [0,1] at all points of A∪B and sorting the piece lengths in decreasing order, Liu Bang's payoff L(A,B) is the sum of the 1st, 3rd, 5th, … largest pieces. Let V(n) = sup_A inf_B L(A,B)...
V(n) = 2^n/(2^{n+1}−1)
null
set_option backward.isDefEq.respectTransparency false open scoped BigOperators namespace LiuBangXiangYu /-- The multiset of piece lengths obtained by cutting `[0,1]` at the points of a finite set `S ⊆ (0,1)`. We sort `S` ascending, prepend `0` and append `1`, and take consecutive differences. The result is a list ...
section open scoped BigOperators namespace LiuBangXiangYu /-- The multiset of piece lengths obtained by cutting `[0,1]` at the points of a finite set `S ⊆ (0,1)`. We sort `S` ascending, prepend `0` and append `1`, and take consecutive differences. The result is a list of `|S| + 1` positive reals summing to `1` (whe...
import Mathlib
[ "LiuBangXiangYu.V_eq", "LiuBangXiangYu.lower_bound", "LiuBangXiangYu.upper_bound" ]
https://github.com/AxiomMath/IMO2026
c5a6a089d06d3619afe7ff45c5ccab9e2a30d5d2
MIT
[ { "authors": [ "International Mathematical Olympiad" ], "id": "IMO 2026", "location": "", "note": "", "relationship": "", "title": "IMO 2026" } ]
IMO2026:Q4
true
Mulan and Shan-Yu play a game on a triangle. In each round, Mulan cuts the current triangle from a vertex to a point on the opposite side, producing two triangles. Shan-Yu then keeps one of these two triangles as the new current triangle. Mulan wins as soon as the current triangle has an interior angle equal to θ. For ...
Mulan and Shan-Yu play on a triangle: each round, Mulan cuts the current triangle from a vertex to a point on the opposite side, producing two triangles, and Shan-Yu keeps one of them as the new current triangle. Mulan wins once the current triangle has an interior angle equal to θ. For 0 < θ < 180 (degrees), Mulan can...
Mulan can force a win in finitely many rounds from every starting (nondegenerate) triangle, regardless of Shan-Yu's choices, if and only if θ = 180/n for some integer n ≥ 2.
null
set_option backward.isDefEq.respectTransparency false namespace TriangleGame /-- A triangle, viewed as the multiset of its three interior angles (in degrees): positive reals summing to `180`. -/ def IsTriangle (s : Multiset ℝ) : Prop := s.card = 3 ∧ (∀ x ∈ s, 0 < x) ∧ s.sum = 180 /-- A triangle `s` has an interior...
section namespace TriangleGame /-- A triangle, viewed as the multiset of its three interior angles (in degrees): positive reals summing to `180`. -/ def IsTriangle (s : Multiset ℝ) : Prop := s.card = 3 ∧ (∀ x ∈ s, 0 < x) ∧ s.sum = 180 /-- A triangle `s` has an interior angle equal to `θ`. -/ def HasAngle (θ : ℝ) (s...
import Mathlib
[ "TriangleGame.main_theorem" ]
https://github.com/AxiomMath/IMO2026
c5a6a089d06d3619afe7ff45c5ccab9e2a30d5d2
MIT
[ { "authors": [ "International Mathematical Olympiad" ], "id": "IMO 2026", "location": "", "note": "", "relationship": "", "title": "IMO 2026" } ]
IMO2026:Q5
true
Call a function f : ℝ_{>0} → ℝ_{>0} admissible if for all positive reals x, y, the inequality √((x²+f(y)²)/2) ≥ (f(x)+y)/2 ≥ √(x·f(y)) holds. State the characterization of all admissible functions.
Call f : ℝ_{>0} → ℝ_{>0} admissible if for all positive reals x, y, √((x²+f(y)²)/2) ≥ (f(x)+y)/2 ≥ √(x·f(y)). Prove f is admissible if and only if there is a real constant c ≥ 0 with f(x) = x+c for all x > 0.
f is admissible if and only if there is a real constant c ≥ 0 with f(x) = x+c for all x > 0.
null
set_option backward.isDefEq.respectTransparency false /-- The subtype of positive real numbers, representing `\mathbb{R}_{>0}`. -/ abbrev PositiveReal : Type := {x : ℝ // 0 < x} /-- The two-sided inequality defining admissible functions on positive real numbers. -/ def IsAdmissible (f : PositiveReal → PositiveReal) :...
section /-- The subtype of positive real numbers, representing `\mathbb{R}_{>0}`. -/ abbrev PositiveReal : Type := {x : ℝ // 0 < x} /-- The two-sided inequality defining admissible functions on positive real numbers. -/ def IsAdmissible (f : PositiveReal → PositiveReal) : Prop := ∀ x y : PositiveReal, Real.sqrt ...
import Mathlib
[ "Q5.main_theorem" ]
https://github.com/AxiomMath/IMO2026
c5a6a089d06d3619afe7ff45c5ccab9e2a30d5d2
MIT
[ { "authors": [ "International Mathematical Olympiad" ], "id": "IMO 2026", "location": "", "note": "", "relationship": "", "title": "IMO 2026" } ]
IMO2026:Q6
false
null
Let a₀, a₁, a₂, … be a sequence of integers each greater than 1, such that for every n, a_{n+1} is the smallest integer greater than aₙ sharing a common factor greater than 1 with every earlier term a₀,…,aₙ. Prove there exist positive integers T, L such that a_{n+T} = aₙ + L for every n; equivalently, the sequence of c...
null
The statement is a single theorem: it defines a specific sequence construction and claims a periodicity property. There is no separable hypothesis/conclusion structure because the entire property is the conclusion, and removing any part would either make the prompt meaningless (no claim to state) or the answer incomple...
set_option backward.isDefEq.respectTransparency false /-- The predicate stating that `a : ℕ → ℕ` (0-indexed) is a sequence satisfying Definition 1: each term exceeds `1`, and each subsequent term is the smallest integer strictly larger than the previous one that shares a common factor with every earlier term. -/ def I...
section /-- The predicate stating that `a : ℕ → ℕ` (0-indexed) is a sequence satisfying Definition 1: each term exceeds `1`, and each subsequent term is the smallest integer strictly larger than the previous one that shares a common factor with every earlier term. -/ def IsValidSeq (a : ℕ → ℕ) : Prop := (∀ n, 1 < a n...
import Mathlib
[ "Q6.main_theorem" ]
https://github.com/AxiomMath/IMO2026
c5a6a089d06d3619afe7ff45c5ccab9e2a30d5d2
MIT
[ { "authors": [ "International Mathematical Olympiad" ], "id": "IMO 2026", "location": "", "note": "", "relationship": "", "title": "IMO 2026" } ]
PartitionElliptic
true
In Ken Ono's work on the partition function and elliptic curves, two key identities are singled out for formal verification. For the first: Let P be the weak Maass value defined as P = -∂_{-2}F. Let ϑ_{-2}F be the Serre derivative and E_2^* be the nonholomorphic completion of the quasimodular Eisenstein series E_2. Sta...
In Ken Ono's work on the partition function and elliptic curves, two key identities are singled out for formal verification. The first expresses the weak Maass value P = -∂_{-2}F in terms of the Serre derivative ϑ_{-2}F and the nonholomorphic completion E_2^* of the quasimodular Eisenstein series E_2: P = -ϑ_{-2}F + (1...
P = -ϑ_{-2}F + (1/6)E_2^*F and ((1/2)Φ_XX - Φ_XY + (1/2)Φ_YY)/Φ_Y = τ_CM(J).
null
section KeyFormulas -- Ground data: `y = Im tau` a positive real, and the complex values. variable (y : ℝ) (hy : 0 < y) variable (E2 E4 E6 F DF J : ℂ) variable (ΦY ΦXX ΦXY ΦYY : ℂ) -- Main Definition(s) /-- Nonholomorphic completion of `E_2`: `E_2^* = E_2 - 3 / (pi * y)`. -/ noncomputable def E2star : ℂ := E2 - 3 / ...
section section KeyFormulas -- Ground data: `y = Im tau` a positive real, and the complex values. variable (y : ℝ) (hy : 0 < y) variable (E2 E4 E6 F DF J : ℂ) variable (ΦY ΦXX ΦXY ΦYY : ℂ) -- Main Definition(s) /-- Nonholomorphic completion of `E_2`: `E_2^* = E_2 - 3 / (pi * y)`. -/ noncomputable def E2star : ℂ := E...
import Mathlib /- # Problem Description All quantities below are complex numbers, except `y` which is a positive real number. They abstract the values, at a fixed point `tau` in the upper half-plane, of the functions appearing in Ono's paper *The partition function and elliptic curves* and its companion spec. Only th...
[ "key_formula_one", "key_formula_two" ]
https://github.com/AxiomMath/PartitionElliptic/
53ab86b4afe88fac124b11468b1310ad6cb3397b
MIT
[]
PartitionParity
false
null
Nine target statements about parity of partition-related generating functions are formalized; PSCongr M is coefficientwise congruence mod M. (1a) statement1_mod4: if the partition generating function P (coefficients pFun n = p(n)) satisfies the Durfee-square identity coeff N P = coeff N (1 + ∑_{m=1}^N X^{m²}·piSeries(m...
null
The text is a list of nine distinct numbered and lettered statements, each self-contained and with no single separable hypothesis/conclusion structure that can be split into a prompt and answer without trivializing or fragmenting the whole.
open PowerSeries BigOperators namespace PartitionParity def pFun (n : ℕ) : ℕ := Fintype.card (Nat.Partition n) noncomputable def P : PowerSeries ℤ := PowerSeries.mk (fun n => (pFun n : ℤ)) noncomputable def qPoch (m : ℕ) : PowerSeries ℤ := ∏ j ∈ Finset.Icc 1 m, (1 - X ^ j) theorem qPoch_const (m : ℕ) : PowerSeries...
section open PowerSeries BigOperators namespace PartitionParity def pFun (n : ℕ) : ℕ := Fintype.card (Nat.Partition n) noncomputable def P : PowerSeries ℤ := PowerSeries.mk (fun n => (pFun n : ℤ)) noncomputable def qPoch (m : ℕ) : PowerSeries ℤ := ∏ j ∈ Finset.Icc 1 m, (1 - X ^ j) theorem qPoch_const (m : ℕ) : Pow...
import Mathlib
[ "qPoch_const", "piSeries_mul", "qPochPlus_const", "piPlusSeries_mul", "coeff_fSeries_stable", "coeff_Theta", "constantCoeff_Theta", "kroneckerAtTwo_odd", "coprime_ordCompl_two", "chi_trichotomy", "chi_eq_zero_iff", "chi_mod2", "odd_of_mod24", "coeff_singleFactorLog", "coeff_psiFactorLog_...
https://github.com/AxiomMath/PartitionParity
67e16e88088ba20407979a2d86473d425e0eb4e2
MIT
[]
PartitionPolynomial:Conjecture10
true
For n∈ℕ, let T(n) be the set of partitions of n all of whose parts are powers of 3 (ternary partitions), and for λ∈T(n) let m_λ(3^k) be the multiplicity of 3^k in λ. Define h_{T,λ}(x) = ∏_{k≥0} (1 + x^{3^k})^{⌊n/3^k⌋ − m_λ(3^k)} in ℤ[x], let G_T(n,x) be the monic gcd of {h_{T,λ}(x) : λ∈T(n)}, and set num_T(n,x) := (∑_{...
For n∈ℕ, let T(n) be the set of partitions of n all of whose parts are powers of 3 (ternary partitions), and for λ∈T(n) let m_λ(3^k) be the multiplicity of 3^k in λ. Define h_{T,λ}(x) = ∏_{k≥0} (1 + x^{3^k})^{⌊n/3^k⌋ − m_λ(3^k)} in ℤ[x], let G_T(n,x) be the monic gcd of {h_{T,λ}(x) : λ∈T(n)}, and set num_T(n,x) := (∑_{...
t(3n) = t(3n+1) = t(3n+2) for all n ≥ 0, and t(3n) − t(3n−2) = 2^{2n} t(n) for all n ≥ 1.
null
open Polynomial Finset BigOperators open Classical -- Main Definition(s) /-- The (finite) set of ternary partitions of `n`: those `Nat.Partition n` all of whose parts are powers of `3`. -/ noncomputable def ternaryPartitions (n : ℕ) : Finset (Nat.Partition n) := (Finset.univ : Finset (Nat.Partition n)).filter (...
section open Polynomial Finset BigOperators open Classical /-! ## Main Definitions -/ noncomputable def ternaryPartitions (n : ℕ) : Finset (Nat.Partition n) := (Finset.univ : Finset (Nat.Partition n)).filter (fun lam => ∀ i ∈ lam.parts, ∃ k : ℕ, i = 3 ^ k) noncomputable def hPoly (n : ℕ) (lam : Nat.Partition n...
import Mathlib /- # Problem: Conjecture on the recurrence for the ternary partition subsum polynomial numerator values `t(n)` (Conjecture 10). Throughout, partitions are finite multisets of positive integers. For a partition `λ`, let `m_λ(i)` denote the multiplicity of `i` in `λ` (so `m_λ(i) = 0` for all but finitely...
[ "t_eq_three_mod", "t_recurrence" ]
https://github.com/AxiomMath/PartitionPolynomial
b2a9e8d75cc76e5c432f15f668c18826a9abab80
MIT
[]
PartitionPolynomial:Conjecture2
true
For a partition λ of n, let m_λ(i) be the multiplicity of the part i in λ (so the subsum polynomial is sp(λ,x) = ∏_j (1 + x^{λ_j}) = ∏_{i≥1} (1 + x^i)^{m_λ(i)}). Working in ℚ[x], let den^*(n,x) = ∏_{i≥1} (1 + x^i)^{⌊n/i⌋} and num^*(n,x) = ∑_{λ⊢n} h_λ^{(n)}(x), where h_λ^{(n)}(x) = ∏_{i≥1} (1 + x^i)^{⌊n/i⌋ - m_λ(i)}. Le...
For a partition λ of n, let m_λ(i) be the multiplicity of the part i in λ (so the subsum polynomial is sp(λ,x) = ∏_j (1 + x^{λ_j}) = ∏_{i≥1} (1 + x^i)^{m_λ(i)}). Working in ℚ[x], let den^*(n,x) = ∏_{i≥1} (1 + x^i)^{⌊n/i⌋} and num^*(n,x) = ∑_{λ⊢n} h_λ^{(n)}(x), where h_λ^{(n)}(x) = ∏_{i≥1} (1 + x^i)^{⌊n/i⌋ - m_λ(i)}. Le...
For every n ≥ 1, the polynomials num(n,x) and den(n,x) are coprime in ℚ[x], i.e., their greatest common divisor is 1.
null
open Polynomial Finset noncomputable section /-- Multiplicity of `i` in a partition. -/ def Nat.Partition.mult {n : ℕ} (p : n.Partition) (i : ℕ) : ℕ := Multiset.count i p.parts -- Main Definition(s) /-- Subsum polynomial of a partition λ: ∏ (1 + X^{λ_j}). -/ def subsumPoly {n : ℕ} (p : n.Partition) : Polynomial ℚ...
section open Polynomial Finset noncomputable section /-- Multiplicity of `i` in a partition. -/ def Nat.Partition.mult {n : ℕ} (p : n.Partition) (i : ℕ) : ℕ := Multiset.count i p.parts /-- Subsum polynomial of a partition λ: ∏ (1 + X^{λ_j}). -/ def subsumPoly {n : ℕ} (p : n.Partition) : Polynomial ℚ := (p.parts....
import Mathlib /- # Problem Description For a partition λ ⊢ n of a nonnegative integer n, the subsum polynomial is sp(λ, x) := ∏_{j} (1 + x^{λ_j}) = ∏_{i ≥ 1} (1 + x^i)^{m_λ(i)} where m_λ(i) is the multiplicity of i in λ. Define: den*(n, x) := ∏_{i ≥ 1} (1 + x^i)^{⌊n/i⌋} h_λ^{(n)}(x) := ∏_{i ≥ 1} (1 + x^i)^{⌊n...
[ "main_theorem" ]
https://github.com/AxiomMath/PartitionPolynomial
b2a9e8d75cc76e5c432f15f668c18826a9abab80
MIT
[]
PartitionPolynomial:Conjecture5
true
For a positive integer n, let B(n) be the set of binary partitions of n, i.e., partitions all of whose parts are powers of 2, and let num_B(n,x), den_B(n,x) ∈ ℤ[x] be the binary numerator and denominator polynomials as described. State the conjecture regarding num_B(n,x) and den_B(n,x) in ℚ[x].
For a positive integer n, let B(n) be the set of binary partitions of n, i.e., partitions all of whose parts are powers of 2, and let num_B(n,x), den_B(n,x) ∈ ℤ[x] be the binary numerator and denominator polynomials as described. The conjecture states that for every n ≥ 1, num_B(n,x) and den_B(n,x), regarded as element...
For every n ≥ 1, num_B(n,x) and den_B(n,x), regarded as elements of ℚ[x], are coprime: their gcd in ℚ[x] is 1, equivalently a·num_B(n,x) + b·den_B(n,x) = 1 for some a, b ∈ ℚ[x].
null
open Polynomial -- Main Definition(s) /-- The finset of natural numbers that are powers of two and at most `n` (namely $\{2^k : 0 \le k \le n\}$, which is a superset of all powers of $2$ up to `n` since $2^k \ge k+1$). -/ def powersOfTwoUpTo (n : ℕ) : Finset ℕ := (Finset.range (n + 1)).image (fun k => 2 ^ k) /-- A...
section open Polynomial def powersOfTwoUpTo (n : ℕ) : Finset ℕ := (Finset.range (n + 1)).image (fun k => 2 ^ k) def IsBinaryPartition {n : ℕ} (p : Nat.Partition n) : Prop := ∀ i ∈ p.parts, i ∈ powersOfTwoUpTo n instance (n : ℕ) : DecidablePred (@IsBinaryPartition n) := fun _ => Multiset.decidableDforallMultise...
import Mathlib /- # Problem: Conjecture 5 — gcd of binary partition subsum numerator and denominator polynomials equals one For every integer `n ≥ 1`, we define two polynomials in `ℤ[X]`: - The *binary denominator polynomial* $\operatorname{den}_B(n, x) := \prod_{k \ge 0} (1 + x^{2^k})^{\lfloor n/2^k \rfloor}$, - T...
[ "conj5" ]
https://github.com/AxiomMath/PartitionPolynomial
b2a9e8d75cc76e5c432f15f668c18826a9abab80
MIT
[]
PartitionPolynomial:Conjecture7
true
Let num_B(n,x) := ∑_{λ ∈ B(n)} h_{B,λ}^{(n)}(x) ∈ ℤ[x], where B(n) is the set of binary partitions of n (partitions into powers of two), and h_{B,λ}^{(n)}(x) := ∏_{k≥0} (1 + x^{2^k})^{⌊n/2^k⌋ − m_λ(2^k)}, with m_λ(2^k) denoting the multiplicity of the part 2^k in λ. State the conjecture concerning divisibility of num_B...
Let num_B(n,x) := ∑_{λ ∈ B(n)} h_{B,λ}^{(n)}(x) ∈ ℤ[x], the sum over all binary partitions λ of n (all parts powers of two), where h_{B,λ}^{(n)}(x) := ∏_{k≥0} (1 + x^{2^k})^{⌊n/2^k⌋ − m_λ(2^k)} and m_λ(2^k) is the multiplicity of the part 2^k in λ. The conjecture states that for every integer n ≥ 2 and every s ≥ 0 with...
For every integer n ≥ 2 and every s ≥ 0 with 2^s ≤ n, the polynomial 1 + x^{2^s} does not divide num_B(n,x) in ℤ[x].
null
open Polynomial BigOperators namespace Conj7 /-- A partition is *binary* if every part is a power of two. -/ def IsBinary {n : ℕ} (p : Nat.Partition n) : Prop := ∀ i ∈ p.parts, ∃ k : ℕ, i = 2 ^ k /-- The finset of binary partitions of `n` (as a sub-finset of `Finset.univ`). The predicate `IsBinary` is decidable vi...
section open Polynomial BigOperators namespace Conj7 /-- A partition is *binary* if every part is a power of two. -/ def IsBinary {n : ℕ} (p : Nat.Partition n) : Prop := ∀ i ∈ p.parts, ∃ k : ℕ, i = 2 ^ k /-- The finset of binary partitions of `n` (as a sub-finset of `Finset.univ`). The predicate `IsBinary` is deci...
import Mathlib /- # Problem Description Let `λ = (λ₁, ..., λ_k)` be a partition of `n` with `λ_1 ≥ λ_2 ≥ ⋯ ≥ λ_k ≥ 1` and `λ_1 + ⋯ + λ_k = n`. A *binary partition* of `n` is a partition all of whose parts are powers of two. Let `B(n)` denote the set of binary partitions of `n`, and for a part `i ≥ 1` let `m_λ(i)` den...
[ "Conj7.conjecture7" ]
https://github.com/AxiomMath/PartitionPolynomial
b2a9e8d75cc76e5c432f15f668c18826a9abab80
MIT
[]
PartitionPolynomial:Conjecture8
true
Let num_O(n, x) ∈ ℤ[x] be the numerator polynomial attached to the odd partitions of a positive integer n, defined as the sum over all partitions λ of n into odd parts of the polynomials h_{O,λ}^{(n)}(x), divided by their greatest common divisor (normalized to have constant term +1). State the value of num_O(n, -1) for...
Conjecture 8 concerns the numerator polynomial num_O(n, x) ∈ ℤ[x] attached to the odd partitions of a positive integer n: num_O(n, x) is the sum, over all partitions λ of n into odd parts, of the polynomials h_{O,λ}^{(n)}(x), divided by their greatest common divisor (normalized to have constant term +1). Conjecture 8 a...
num_O(n, -1) = o(n!), where o(n!) is the largest odd divisor of n!.
null
open Polynomial BigOperators namespace Conj8 /-- The multiplicity of the part `i` in a partition `p`. -/ def mult {n : ℕ} (p : Nat.Partition n) (i : ℕ) : ℕ := p.parts.count i /-- The finset of odd partitions of `n` (partitions all of whose parts are odd). -/ def oddPartitions (n : ℕ) : Finset (Nat.Partition n) := ...
section set_option linter.unusedVariables false set_option linter.unusedSimpArgs false set_option linter.unnecessarySeqFocus false open Polynomial BigOperators namespace Conj8 /-- The multiplicity of the part `i` in a partition `p`. -/ def mult {n : ℕ} (p : Nat.Partition n) (i : ℕ) : ℕ := p.parts.count i /-- The fi...
import Mathlib /- # Problem Description Throughout, $n$ is a positive integer and $x$ is a formal indeterminate. All polynomials lie in $\mathbb{Z}[x]$. 1. **Partition multiplicities.** For a partition $\lambda$ of $n$, let $m_\lambda(i)$ denote the multiplicity of the part $i$ in $\lambda$. 2. **Odd partitions....
[ "Conj8.conj8" ]
https://github.com/AxiomMath/PartitionPolynomial
b2a9e8d75cc76e5c432f15f668c18826a9abab80
MIT
[]
PartitionPolynomial:Conjecture9
true
A conjecture on ternary partitions: for n ≥ 0 and each ternary partition λ of n (all parts powers of 3), let h_λ(x) = ∏_{k≥0} (1+x^{3^k})^{⌊n/3^k⌋ − m_λ(3^k)}, where m_λ(i) is the multiplicity of the part i in λ. Let s(n) be the value at x = −1 of the polynomial (Σ_λ h_λ(x)) / gcd_λ h_λ(x) (an exact division, the gcd b...
A conjecture on ternary partitions: for n ≥ 0 and each ternary partition λ of n (all parts powers of 3), let h_λ(x) = ∏_{k≥0} (1+x^{3^k})^{⌊n/3^k⌋ − m_λ(3^k)}, where m_λ(i) is the multiplicity of the part i in λ. Let s(n) be the value at x = −1 of the polynomial (Σ_λ h_λ(x)) / gcd_λ h_λ(x) (an exact division, the gcd b...
s(3n) = s(3n+1) = s(3n+2) = 3^{v_3((3n)!)}, where v_3((3n)!) is the exponent of 3 in the prime factorization of (3n)! (in particular s(0) = s(1) = s(2) = 1).
null
open Polynomial Nat BigOperators namespace Conj9 /-- A natural number is a power of $3$ (including $3^0 = 1$). -/ def IsPow3 (i : ℕ) : Prop := ∃ k ≤ i, i = 3 ^ k instance (i : ℕ) : Decidable (IsPow3 i) := by unfold IsPow3; infer_instance -- Main Definition(s) /-- **Definition 1 (Multiplicity).** Multiplicity of...
section open Polynomial Nat BigOperators namespace Conj9 /-- A natural number is a power of $3$ (including $3^0 = 1$). -/ def IsPow3 (i : ℕ) : Prop := ∃ k ≤ i, i = 3 ^ k instance (i : ℕ) : Decidable (IsPow3 i) := by unfold IsPow3 infer_instance /-- Multiplicity of `i` as a part of the partition `p` of `n`. -/ d...
import Mathlib /-! # Problem: Conjecture 9 (Ballantine--Beck--Feigon--Maurischat circle of conjectures) For each non-negative integer $n$, let $\mathcal{T}(n)$ denote the set of ternary partitions of $n$ (partitions whose parts are all powers of $3$, including $3^0 = 1$). For $\lambda \in \mathcal{T}(n)$ and $i \ge ...
[ "Conj9.main_conjecture" ]
https://github.com/AxiomMath/PartitionPolynomial
b2a9e8d75cc76e5c432f15f668c18826a9abab80
MIT
[]
Putnam2025:A1
false
null
We consider a sequence of fractions defined by repeatedly applying the transformation (2m+1)/(2n+1) to a pair of distinct positive integers (m0, n0), each step reducing to lowest terms. The problem asks to show that, except for possibly finitely many steps, the resulting numerators and denominators have the property th...
null
The text describes a process and asks to prove a property about it, which is an indivisible claim about the behavior of the sequence rather than a separable hypothesis-conclusion structure where the conclusion could be stated without the context.
/-- Let $m_0$ and $n_0$ be distinct positive integers. For every positive integer $k$, define $m_k$ and $n_k$ to be the relatively prime positive integers such that $$\frac{m_k}{n_k} = \frac{2m_{k-1} + 1}{2n_{k-1} + 1}.$$ Prove that $2m_k + 1$ and $2n_k + 1$ are relatively prime for all but finitely many positive integ...
section /-- The odd part of a natural number: n / 2^(v_2(n)) where v_2 is the 2-adic valuation. This gives the largest odd divisor of n. For n = 0, we define oddPart(0) = 0. -/ noncomputable def oddPart (n : ℕ) : ℕ := if n = 0 then 0 else n / 2 ^ n.factorization 2 /-- gcd(2m+1, 2n+1) is always odd, since it divide...
import Mathlib
[ "putnam_2025_a1" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:A2
true
Let a and b be real numbers such that the inequality a x (π - x) ≤ sin x ≤ b x (π - x) holds for all x in the closed interval [0, π]. Determine the largest possible value of a and the smallest possible value of b.
We are asked to find the largest real number a and the smallest real number b so that the inequality a x (π - x) ≤ sin x ≤ b x (π - x) holds for every x in the closed interval from 0 to π.
a = 1/π, b = 4/π^2
null
open Real noncomputable abbrev putnam_2025_a2_solution : ℝ × ℝ := (1 / π, 4 / π ^ 2) /-- Find the largest real number $a$ and the smallest real number $b$ such that $$ax(\pi - x) \le \sin x \le bx(\pi - x)$$ for all $x$ in the interval $[0, \pi]$. -/ theorem putnam_2025_a2 (a b : ℝ) : ((a, b) = putnam_2025_a2_solut...
section open Real open Real Set noncomputable abbrev putnam_2025_a2_solution : ℝ × ℝ := (1 / π, 4 / π ^ 2) theorem lower_bound_of_upper_set (b' : ℝ) (hb' : b' ∈ {b : ℝ | ∀ x ∈ Set.Icc 0 π, sin x ≤ b * x * (π - x)}) : 4 / π ^ 2 ≤ b' := by have h_pi_div_two_in_Icc : (Real.pi / 2 : ℝ) ∈ Set.Icc 0 Real.pi := b...
import Mathlib
[ "putnam_2025_a2" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:A3
false
null
In a two-player combinatorial game, Alice and Bob start with a string of n digits, each initially 0 and allowed to be 0, 1, or 2. A legal move consists of adding or subtracting 1 from a single digit, but only if the resulting string has never appeared before in the game. The player unable to make a legal move loses, an...
null
The given text is a problem description that ends with a question, not a mathematical claim with a separable hypothesis and conclusion. The answer to the question is not provided in the source text, so no meaningful split is possible.
open Finset Function abbrev putnam_2025_a3_solution : ℕ → Bool := fun _ => false abbrev GameString (n : ℕ) := Fin n → Fin 3 abbrev initialState (n : ℕ) : GameString n := fun _ => 0 abbrev isValidMove {n : ℕ} (s1 s2 : GameString n) : Prop := (∃! i : Fin n, s1 i ≠ s2 i) ∧ ∀ i : Fin n, s1 i ≠ s2 i → ((s1 i).va...
section open Finset Function abbrev GameString (n : ℕ) := Fin n → Fin 3 abbrev initialState (n : ℕ) : GameString n := fun _ => 0 abbrev isValidMove {n : ℕ} (s1 s2 : GameString n) : Prop := (∃! i : Fin n, s1 i ≠ s2 i) ∧ ∀ i : Fin n, s1 i ≠ s2 i → ((s1 i).val + 1 = (s2 i).val ∨ (s2 i).val + 1 = (s1 i).val) ab...
import Mathlib
[ "putnam_2025_a3" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:A4
false
null
We consider the problem of determining the smallest integer k for which there exist k×k real matrices A₁, …, A₂₀₂₅ such that any two matrices Aᵢ and Aⱼ commute precisely when the indices i and j differ by 0, 1, or 2024 (i.e., when |i−j| ∈ {0, 1, 2024}). The goal is to find the minimal possible size k of such matrices.
null
The claim is a problem statement that only describes a question to be solved; it does not provide a definite conclusion or result to be separated from the hypothesis.
abbrev putnam_2025_a4_solution : ℕ := 3 /-- Find the minimal value of $k$ such that there exist $k$-by-$k$ real matrices $A_1, \ldots, A_{2025}$ with the property that $A_i A_j = A_j A_i$ if and only if $|i - j| \in \{0, 1, 2024\}$. -/ theorem putnam_2025_a4 : IsLeast {k : ℕ | ∃ A : Fin 2025 → Matrix (Fin k) (Fin k)...
section open Matrix abbrev putnam_2025_a4_solution : ℕ := 3 /-- A 2×2 matrix is non-scalar iff it has a nonzero off-diagonal entry or distinct diagonal entries -/ lemma not_scalar_iff (X : Matrix (Fin 2) (Fin 2) ℝ) : (¬∃ c : ℝ, X = c • 1) ↔ (X 0 1 ≠ 0 ∨ X 1 0 ≠ 0 ∨ X 0 0 ≠ X 1 1) := by constructor · intro h ...
import Mathlib
[ "putnam_2025_a4" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:A5
true
Fix an integer n ≥ 1 and a sequence s = (s_0, …, s_{n−1}) with each s_i = ±1. Let f(s) be the number of permutations (a_0, …, a_n) of {0, 1, …, n} such that s_i·(a_{i+1} − a_i) > 0 for every 0 ≤ i < n. State exactly which sign sequences s of length n maximize f(s), i.e. characterize those s satisfying f(t) ≤ f(s) for e...
Fix an integer n ≥ 1 and a sequence s = (s_0, …, s_{n−1}) with each s_i = ±1. Let f(s) be the number of permutations (a_0, …, a_n) of {0, 1, …, n} such that s_i·(a_{i+1} − a_i) > 0 for every i with 0 ≤ i < n, i.e., each consecutive difference has the sign prescribed by s. The theorem determines, for each such n, exactl...
Exactly the two alternating sign sequences: either s_i = (−1)^i for all i, or s_i = (−1)^{i+1} for all i; equivalently, s_{i+1} = −s_i for every 0 ≤ i < n−1.
null
open Finset abbrev putnam_2025_a5_solution : (n : ℕ) → Set (Fin n → ℤˣ) := fun n => {s | ∀ (i : Fin n), (h : i.val + 1 < n) → s ⟨i.val + 1, h⟩ = -s i} abbrev f (n : ℕ) (s : Fin n → ℤˣ) : ℕ := Finset.card {σ : Equiv.Perm (Fin (n + 1)) | ∀ i : Fin n, 0 < (s i : ℤ) * ((σ i.succ : ℤ) - (σ i.castSucc : ℤ))} /-- L...
section open Finset abbrev putnam_2025_a5_solution : (n : ℕ) → Set (Fin n → ℤˣ) := fun n => {s | ∀ (i : Fin n), (h : i.val + 1 < n) → s ⟨i.val + 1, h⟩ = -s i} abbrev f (n : ℕ) (s : Fin n → ℤˣ) : ℕ := Finset.card {σ : Equiv.Perm (Fin (n + 1)) | ∀ i : Fin n, 0 < (s i : ℤ) * ((σ i.succ : ℤ) - (σ i.castSucc : ℤ))...
import Mathlib
[ "putnam_2025_a5" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:A6
false
null
Define a sequence with b₀ = 0 and for n ≥ 0, b_{n+1} = 2b_n² + b_n + 1. The goal is to prove that for every positive integer k, the expression b_{2^{k+1}} - 2b_{2^k} is divisible by 2^{2k+2} but not divisible by 2^{2k+3}.
null
The claim is an indivisible statement: it defines a recurrence and asserts a specific divisibility property for all positive integers k. There is no hypothesis-conclusion structure that can be split without losing the problem's content—removing either the definition or the conclusion would make the prompt trivial or th...
abbrev b : ℕ → ℤ | 0 => 0 | n + 1 => 2 * (b n) ^ 2 + b n + 1 /-- Let $b_0 = 0$ and, for $n \ge 0$, define $b_{n+1} = 2b_n^2 + b_n + 1$. For each $k \ge 1$, show that $b_{2^{k+1}} - 2b_{2^k}$ is divisible by $2^{2k+2}$ but not by $2^{2k+3}$. -/ theorem putnam_2025_a6 (k : ℕ) (hk : 1 ≤ k) : (2 ^ (2 * k + 2) : ℤ) ∣ (...
section abbrev b : ℕ → ℤ | 0 => 0 | n + 1 => 2 * (b n) ^ 2 + b n + 1 /-- u_n = 2 * b_n satisfies the recurrence u_{n+1} = u_n^2 + u_n + 2 -/ def u (n : ℕ) : ℤ := 2 * b n /-- P_n = ∏_{j < n} (2 * u_j + 1) is the derivative of the n-fold composition of f at 0 -/ def P (n : ℕ) : ℤ := ∏ j ∈ Finset.range n, (2 * u j + 1) ...
import Mathlib
[ "putnam_2025_a6" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:B1
false
null
The problem asks to prove that if every point in the plane is colored red or green, and for any three noncollinear points of the same color, the circumcenter (the center of the circle passing through them) is also that same color, then all points in the plane must be the same color.
null
The statement is an indivisible conditional claim ('if ... then ...') where the conclusion ('all points must be the same color') depends entirely on the hypothesis for its truth; separating them would remove the logical structure being tested, and the conclusion alone is not a standalone mathematical object like a form...
open Affine EuclideanGeometry /-- Suppose that each point in the plane is colored either red or green, subject to the following condition: For every three noncollinear points $A$, $B$, $C$ of the same color, the center of the circle passing through $A$, $B$, $C$ is also this color. Prove that all points of the plane a...
section open Affine EuclideanGeometry /-- Three distinct points on a circle (sphere in 2D) centered at O with positive radius are noncollinear. This is because a line intersects a circle in at most 2 points. Proof strategy: Assume collinear, then all 3 points lie on a line. The line intersects the circle i...
import Mathlib
[ "putnam_2025_b1" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:B2
true
Let f be a strictly increasing continuous function on [0,1] with nonnegative values. Consider the planar region under the graph of f. Compare the x-coordinate of the centroid of that planar region to the x-coordinate of the centroid of the solid obtained by revolving the region around the x-axis. State the inequality t...
For a strictly increasing continuous function f on [0,1] with nonnegative values, consider the region under its graph. The x-coordinate of the centroid of that planar region is always less than the x-coordinate of the centroid of the solid obtained by revolving the region around the x-axis.
The x-coordinate of the centroid of the planar region is always less than the x-coordinate of the centroid of the solid obtained by revolving the region around the x-axis.
null
open Set Real MeasureTheory Interval /-- Let $f: [0,1] \to [0, \infty)$ be strictly increasing and continuous. Let $R$ be the region bounded by $x = 0$, $x = 1$, $y = 0$, and $y = f(x)$. Let $x_1$ be the $x$-coordinate of the centroid of $R$. Let $x_2$ be the $x$-coordinate of the centroid of the solid generated by ro...
section open Set Real MeasureTheory Interval intervalIntegral Measure /-- f(1) > 0 for a strictly increasing nonnegative function -/ lemma f_one_pos (f : ℝ → ℝ) (hf_mono : StrictMonoOn f (Icc 0 1)) (hf_nonneg : ∀ x ∈ Icc (0 : ℝ) 1, 0 ≤ f x) : 0 < f 1 := by by_contra h push_neg at h have h1 : f 1 ...
import Mathlib
[ "putnam_2025_b2" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:B3
true
Let S be a nonempty set of positive integers with the property that whenever n is an element of S, every positive divisor of 2025^n - 15^n is also an element of S. Determine whether such a set S must necessarily contain all positive integers.
A nonempty set S of positive integers has the property that whenever n belongs to S, every positive divisor of 2025^n - 15^n also belongs to S. The problem asks whether such a set must necessarily contain all positive integers.
No, such a set does not have to contain all positive integers.
null
open Finset abbrev putnam_2025_b3_solution : Bool := true /-- Suppose $S$ is a nonempty set of positive integers with the property that if $n$ is in $S$, then every positive divisor of $2025^n - 15^n$ is in $S$. Must $S$ contain all positive integers? -/ theorem putnam_2025_b3 : putnam_2025_b3_solution ↔ ∀ S ...
section open Finset abbrev putnam_2025_b3_solution : Bool := true /-- Helper: 2025^m - 15^m equals 15^m * (135^m - 1) -/ lemma pow_diff_factor (m : ℕ) : 2025^m - 15^m = 15^m * (135^m - 1) := by have h : (2025 : ℕ) = 15 * 135 := by decide cases m with | zero => simp | succ m => have h2025 : 2025^(m+1) = 15...
import Mathlib
[ "putnam_2025_b3" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:B4
true
Let n ≥ 2 and let A = [a_{i,j}] be an n×n matrix of nonnegative integers, rows and columns indexed 1..n, such that: (a) a_{i,j} = 0 whenever i + j ≤ n (all entries strictly above the anti-diagonal are zero); (b) each step down leaves the entry unchanged or increases it by exactly 1, i.e. a_{i+1,j} ∈ {a_{i,j}, a_{i,j}+1...
Let n ≥ 2 and let A = [a_{i,j}] be an n×n matrix of nonnegative integers, rows and columns indexed 1..n, such that: (a) a_{i,j} = 0 whenever i + j ≤ n (all entries strictly above the anti-diagonal are zero); (b) each step down leaves the entry unchanged or increases it by exactly 1, i.e. a_{i+1,j} ∈ {a_{i,j}, a_{i,j}+1...
3S ≤ (n+2)N
null
open BigOperators Finset Matrix /-- For $n \geq 2$, let $A = [a_{i,j}]_{i,j=1}^n$ be an $n$-by-$n$ matrix of nonnegative integers such that: (a) $a_{i,j} = 0$ when $i + j \leq n$; (b) $a_{i+1,j} \in \{a_{i,j}, a_{i,j} + 1\}$ when $1 \leq i \leq n-1$ and $1 \leq j \leq n$; and (c) $a_{i,j+1} \in \{a_{i,j}, a_{i,j} + 1\...
section open BigOperators Finset Matrix /-- Values are monotone increasing down columns -/ lemma mono_down {m : ℕ} {A : Matrix (Fin (m + 2)) (Fin (m + 2)) ℕ} (hb : ∀ (i : Fin (m + 1)) (j : Fin (m + 2)), A (Fin.succ i) j = A (Fin.castSucc i) j ∨ A (Fin.succ i) j = A (Fin.castSucc i) j + 1) (i : Fin ...
import Mathlib
[ "putnam_2025_b4" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:B5
true
Let p be a prime number larger than 3. For each nonzero residue k modulo p, denote by I(k) its unique multiplicative inverse in the set {1,2,…,p-1} (so k * I(k) ≡ 1 mod p). Consider the integers k = 1,2,…,p-2 and the comparison of I(k+1) with I(k). State the lower bound that is guaranteed for the number of these k for ...
Let p be a prime number larger than 3. For each nonzero residue k modulo p, denote by I(k) its unique multiplicative inverse in the set {1,2,…,p-1} (i.e., k * I(k) ≡ 1 mod p). Prove that among the integers k = 1,2,…,p-2, the number of times we have I(k+1) < I(k) exceeds p/4 - 1.
The number of k in {1,2,…,p-2} with I(k+1) < I(k) exceeds p/4 - 1.
null
open Finset BigOperators abbrev modInv (p : ℕ) (k : ℕ) : ℕ := ZMod.val ((k : ZMod p)⁻¹) abbrev descentCount (p : ℕ) : ℕ := #{k ∈ Finset.Icc 1 (p - 2) | modInv p (k + 1) < modInv p k} /-- Let $p$ be a prime number greater than 3. For each $k \in \{1, \ldots, p-1\}$, let $I(k) \in \{1, 2, \ldots, p-1\}$ be such that...
section open Finset BigOperators abbrev modInv (p : ℕ) (k : ℕ) : ℕ := ZMod.val ((k : ZMod p)⁻¹) abbrev descentCount (p : ℕ) : ℕ := #{k ∈ Finset.Icc 1 (p - 2) | modInv p (k + 1) < modInv p k} theorem prime_gt_3_mod_12 (p : ℕ) [hp : Fact p.Prime] (hp3 : 3 < p) : p % 12 = 1 ∨ p % 12 = 5 ∨ p % 12 = 7 ∨ p % 12 = 11...
import Mathlib
[ "putnam_2025_b5" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
Putnam2025:B6
true
Let ℕ = {1,2,3,…}. Consider functions g: ℕ → ℕ satisfying, for every n ∈ ℕ, g(n+1) − g(n) ≥ g(g(n))^r. State the largest real constant r for which such a function exists, together with the assertion that no larger constant has this property.
Let ℕ = {1,2,3,…}. We seek the largest real constant r such that there exists a function g: ℕ → ℕ with the property that for every n, the difference g(n+1) − g(n) is at least the r-th power of g(g(n)). The problem asks to determine this optimal r and to verify that for any larger constant no such function exists.
The largest such constant is r = 1/4; for every r > 1/4, no function g: ℕ → ℕ satisfies g(n+1) − g(n) ≥ g(g(n))^r for all n. The value r = 1/4 is attainable, for instance by g(n) = n^2.
null
open Real noncomputable abbrev putnam_2025_b6_solution : ℝ := 1 / 4 /-- Let $\mathbb{N} = \{1, 2, 3, \ldots\}$. Find the largest real constant $r$ such that there exists a function $g: \mathbb{N} \to \mathbb{N}$ such that $$g(n+1) - g(n) \geq (g(g(n)))^r$$ for all $n \in \mathbb{N}$. -/ theorem putnam_2025_b6 : I...
section open Real noncomputable abbrev putnam_2025_b6_solution : ℝ := 1 / 4 /-- The set of valid exponents r: those for which there exists g : ℕ → ℕ satisfying the functional inequality g(n+1) - g(n) ≥ (g(g(n)))^r for all positive n. This is the target set in the IsGreatest statement. -/ def validExponentSet...
import Mathlib import Mathlib.Tactic
[ "putnam_2025_b6" ]
https://github.com/AxiomMath/Putnam2025
2653cded72f5112acdc935b4f674711a780af95d
MIT
[]
QBinomialTrace
true
Consider positive rationals u and r such that u's denominator is even and divides lcm(r's denominator, 2), and u ≤ r. For every integer k ≥ 1, what is the relationship between the integer traces T_{u,k}(q) and T_{r,k}(q)? State the dominance relation, including the interpretation of the dominance order ⪰_q.
For positive rationals u, r with u's denominator even and dividing lcm(r's denominator, 2), and u ≤ r, the integer traces satisfy T_{u,k}(q) ⪰_q T_{r,k}(q) for every integer k ≥ 1, i.e. every coefficient of T_{u,k} − T_{r,k} is ≥ 0 (support dominance). Also: T_{1/2,k} ⪰_q T_{r,k} for every rational r ≥ 1/2 and every k ...
the integer traces satisfy T_{u,k}(q) ⪰_q T_{r,k}(q) for every integer k ≥ 1, i.e. every coefficient of T_{u,k} − T_{r,k} is ≥ 0 (support dominance).
null
set_option backward.isDefEq.respectTransparency false /- # Problem Description We work with ordinary formal power series in `ℚ[[q]]` (only integer exponents of `q` occur in every object defined below). The task formalizes several statements about the *integer trace* series `𝒯_{r,k}` attached to the `q`-binomial `[ ...
section set_option backward.isDefEq.respectTransparency false /- # Problem Description We work with ordinary formal power series in `ℚ[[q]]` (only integer exponents of `q` occur in every object defined below). The task formalizes several statements about the *integer trace* series `𝒯_{r,k}` attached to the `q`-bino...
import Mathlib
[ "qbinom_eq_zero_of_lt", "qbinom_mul_qqPochhammer", "partCount_gen", "support_dominance", "half_line_dominance", "core_dominance", "HX_iff_unit_family", "HXk_iff_UFk", "finite_unit_family_check" ]
https://github.com/AxiomMath/QBinomialTrace
ca7382f513fc809cf7b692b352b059719ab64055
MIT
[]
Sphere-Packing-Lean:lemma_Gamma-1-generators
true
Let SL(2, ℤ) denote the group of 2×2 integer matrices with determinant 1. Consider the matrices S = [[0, -1], [1, 0]] and T = [[1, 1], [0, 1]]. What is the relationship between the subgroup generated by {S, T} and SL(2, ℤ)?
The group SL(2, ℤ) of 2×2 integer matrices with determinant 1 (not its projective quotient PSL(2, ℤ)) is generated by the two matrices S = [[0, -1], [1, 0]] and T = [[1, 1], [0, 1]]: the subgroup generated by {S, T} is all of SL(2, ℤ).
The subgroup generated by {S, T} is all of SL(2, ℤ).
null
section open scoped ModularForm MatrixGroups open Matrix UpperHalfPlane CongruenceSubgroup ModularGroup local notation "GL(" n ", " R ")" "⁺" => Matrix.GLPos (Fin n) R local notation "Γ " n:100 => Gamma n def α : Γ 2 := ⟨⟨!![1, 2; 0, 1], by simp⟩, by simp; decide⟩ def β : Γ 2 := ⟨⟨!![1, 0; 2, 1], by simp⟩, by simp; ...
section open scoped ModularForm MatrixGroups open Matrix UpperHalfPlane CongruenceSubgroup ModularGroup local notation "GL(" n ", " R ")" "⁺" => Matrix.GLPos (Fin n) R local notation "Γ " n:100 => Gamma n def α : Γ 2 := ⟨⟨!![1, 2; 0, 1], by simp⟩, by simp; decide⟩ def β : Γ 2 := ⟨⟨!![1, 0; 2, 1], by simp⟩, by simp; ...
import Mathlib.Algebra.Field.ZMod import Mathlib.Analysis.CStarAlgebra.Classes import Mathlib.LinearAlgebra.Matrix.FixedDetMatrices import Mathlib.NumberTheory.ModularForms.CongruenceSubgroups import Mathlib.NumberTheory.ModularForms.SlashActions
[ "SL2Z_generate" ]
https://github.com/thefundamentaltheor3m/Sphere-Packing-Lean
b0709b8a1ae761aa07b2835beefd4f58c8629493
Apache-2.0
[]
Sphere-Packing-Lean:lemma_lattice-points-bound
true
Let Λ ⊂ ℝ^d be a full-rank lattice (the lattice of a periodic sphere packing), let D be a fundamental domain of Λ, and let L be a real number such that every point of D has norm at most L. Consider the open ball of radius R about the origin, denoted B(R). State the lower and upper bounds on the number of points of Λ ly...
Let Λ ⊂ ℝ^d be the lattice of a periodic sphere packing (a full-rank lattice), D a fundamental domain of Λ, and L a real number such that every point of D has norm at most L. Then for every real R, the number of points of Λ in the open ball of radius R about the origin is at least vol(B(R−L))/vol(D) and at most vol(B(R...
For every real R, the number of points of Λ in the open ball of radius R about the origin is at least vol(B(R−L))/vol(D) and at most vol(B(R+L))/vol(D).
null
section open Metric MeasureTheory MeasureSpace ENNReal variable {r : ℝ} {ι : Type*} [Fintype ι] theorem EuclideanSpace.volume_ball_pos [Nonempty ι] (x : EuclideanSpace ℝ ι) (hr : 0 < r) : 0 < volume (ball x r) := -- `volume` on `EuclideanSpace` is an `IsOpenPosMeasure`, so this is mathlib's -- `Metric.measure...
section open Metric MeasureTheory MeasureSpace ENNReal variable {r : ℝ} {ι : Type*} [Fintype ι] theorem EuclideanSpace.volume_ball_pos [Nonempty ι] (x : EuclideanSpace ℝ ι) (hr : 0 < r) : 0 < volume (ball x r) := -- `volume` on `EuclideanSpace` is an `IsOpenPosMeasure`, so this is mathlib's -- `Metric.measure...
import Mathlib.Algebra.Module.ZLattice.Basic import Mathlib.Algebra.Module.ZLattice.Covolume import Mathlib.Algebra.Order.Star.Real import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.Analysis.SpecialFunctions.Pow.Continuity import Mathlib.Data.ENat.Lattice import Mathlib.Data.Set.Card import Mathlib.Dynamics...
[ "PeriodicSpherePacking.aux2_ge'", "PeriodicSpherePacking.aux2_le'" ]
https://github.com/thefundamentaltheor3m/Sphere-Packing-Lean
b0709b8a1ae761aa07b2835beefd4f58c8629493
Apache-2.0
[]
Sphere-Packing-Lean:lemma_periodic-points-bounds
true
Let S be a periodic sphere packing in ℝ^d (d ≥ 1) with period lattice Λ and center set X, let D be the fundamental parallelepiped of a ℤ-basis of Λ, and let L be a real number with ‖x‖ ≤ L for every x ∈ D. State the two-sided bound for the number of points of X in the open ball B(0, R) in terms of N, Λ, and L.
Let S be a periodic sphere packing in ℝ^d (d ≥ 1) with period lattice Λ and center set X, let D be the fundamental parallelepiped of a ℤ-basis of Λ, and let L be a real number with ‖x‖ ≤ L for every x ∈ D. Then for every real R, the number of points of X in the open ball B(0, R) satisfies N · |Λ ∩ B(0, R − L)| ≤ |X ∩ B...
N · |Λ ∩ B(0, R − L)| ≤ |X ∩ B(0, R)| ≤ N · |Λ ∩ B(0, R + L)|
null
section open Metric MeasureTheory MeasureSpace ENNReal variable {r : ℝ} {ι : Type*} [Fintype ι] theorem EuclideanSpace.volume_ball_pos [Nonempty ι] (x : EuclideanSpace ℝ ι) (hr : 0 < r) : 0 < volume (ball x r) := -- `volume` on `EuclideanSpace` is an `IsOpenPosMeasure`, so this is mathlib's -- `Metric.measure...
section open Metric MeasureTheory MeasureSpace ENNReal variable {r : ℝ} {ι : Type*} [Fintype ι] theorem EuclideanSpace.volume_ball_pos [Nonempty ι] (x : EuclideanSpace ℝ ι) (hr : 0 < r) : 0 < volume (ball x r) := -- `volume` on `EuclideanSpace` is an `IsOpenPosMeasure`, so this is mathlib's -- `Metric.measure...
import Mathlib.Algebra.Module.ZLattice.Basic import Mathlib.Algebra.Module.ZLattice.Covolume import Mathlib.Algebra.Order.Star.Real import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.Analysis.SpecialFunctions.Pow.Continuity import Mathlib.Data.ENat.Lattice import Mathlib.Data.Set.Card import Mathlib.Dynamics...
[ "PeriodicSpherePacking.aux_ge", "PeriodicSpherePacking.aux_le" ]
https://github.com/thefundamentaltheor3m/Sphere-Packing-Lean
b0709b8a1ae761aa07b2835beefd4f58c8629493
Apache-2.0
[]
Sphere-Packing-Lean:lemma_slash-negI-even-weight
true
For a function f: ℍ → ℂ and an even integer k, consider the weight-k slash action of matrices on f. What is the weight-k slash action of the negative identity matrix −I on f? State the explicit formula for f∣[k](−I).
For any function f : ℍ → ℂ and any even integer k, the weight-k slash action of the negative identity matrix −I fixes f: f ∣[k] (−I) = f.
f∣[k](−I) = f
null
section open scoped ModularForm MatrixGroups open Matrix UpperHalfPlane CongruenceSubgroup ModularGroup local notation "GL(" n ", " R ")" "⁺" => Matrix.GLPos (Fin n) R local notation "Γ " n:100 => Gamma n def α : Γ 2 := ⟨⟨!![1, 2; 0, 1], by simp⟩, by simp; decide⟩ def β : Γ 2 := ⟨⟨!![1, 0; 2, 1], by simp⟩, by simp; ...
section open scoped ModularForm MatrixGroups open Matrix UpperHalfPlane CongruenceSubgroup ModularGroup local notation "GL(" n ", " R ")" "⁺" => Matrix.GLPos (Fin n) R local notation "Γ " n:100 => Gamma n def α : Γ 2 := ⟨⟨!![1, 2; 0, 1], by simp⟩, by simp; decide⟩ def β : Γ 2 := ⟨⟨!![1, 0; 2, 1], by simp⟩, by simp; ...
import Mathlib.Algebra.Field.ZMod import Mathlib.Analysis.CStarAlgebra.Classes import Mathlib.LinearAlgebra.Matrix.FixedDetMatrices import Mathlib.NumberTheory.ModularForms.CongruenceSubgroups import Mathlib.NumberTheory.ModularForms.SlashActions
[ "modular_slash_negI_of_even" ]
https://github.com/thefundamentaltheor3m/Sphere-Packing-Lean
b0709b8a1ae761aa07b2835beefd4f58c8629493
Apache-2.0
[]
Sphere-Packing-Lean:lemma_volume-ball-ratio-limit
true
For any dimension d > 0 and any two real constants C and C', consider the ratio of the volume of a d-dimensional ball of radius R+C to that of radius R+C'. As R → ∞, what is the limit of this ratio? State the result.
For any dimension d > 0 and any two real constants C and C', the ratio of the volume of a d-dimensional ball of radius R+C to that of radius R+C' tends to 1 as R → ∞.
The ratio tends to 1 as R → ∞.
null
section open Metric MeasureTheory MeasureSpace ENNReal variable {r : ℝ} {ι : Type*} [Fintype ι] theorem EuclideanSpace.volume_ball_pos [Nonempty ι] (x : EuclideanSpace ℝ ι) (hr : 0 < r) : 0 < volume (ball x r) := -- `volume` on `EuclideanSpace` is an `IsOpenPosMeasure`, so this is mathlib's -- `Metric.measure...
section open Metric MeasureTheory MeasureSpace ENNReal variable {r : ℝ} {ι : Type*} [Fintype ι] theorem EuclideanSpace.volume_ball_pos [Nonempty ι] (x : EuclideanSpace ℝ ι) (hr : 0 < r) : 0 < volume (ball x r) := -- `volume` on `EuclideanSpace` is an `IsOpenPosMeasure`, so this is mathlib's -- `Metric.measure...
import Mathlib.Algebra.Module.ZLattice.Basic import Mathlib.Algebra.Module.ZLattice.Covolume import Mathlib.Algebra.Order.Star.Real import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.Analysis.SpecialFunctions.Pow.Continuity import Mathlib.Data.ENat.Lattice import Mathlib.Data.Set.Card import Mathlib.Dynamics...
[ "volume_ball_ratio_tendsto_nhds_one''" ]
https://github.com/thefundamentaltheor3m/Sphere-Packing-Lean
b0709b8a1ae761aa07b2835beefd4f58c8629493
Apache-2.0
[]
Sphere-Packing-Lean:theorem_psp-density
true
In R^d with d ≥ 1, consider a periodic sphere packing: a set X of points (centers) such that any two distinct points are at distance at least r > 0, and X is invariant under translation by a full-rank lattice Λ (i.e., X + λ = X for all λ ∈ Λ). The density of the packing is defined as limsup_{R→∞} of the fraction of the...
For a periodic sphere packing in ℝ^d with d ≥ 1 — a set X of centers, pairwise at distance at least r > 0, invariant under translation by a (full-rank) lattice Λ (X need not equal Λ) — the density (defined as limsup_{R→∞} of the fraction of B(0,R) covered by the radius-r/2 balls around the centers) equals |X/Λ| · vol(B...
|X/Λ| · vol(B(r/2)) / vol(fundamental parallelepiped of a ℤ-basis of Λ)
null
section open Metric MeasureTheory MeasureSpace ENNReal variable {r : ℝ} {ι : Type*} [Fintype ι] theorem EuclideanSpace.volume_ball_pos [Nonempty ι] (x : EuclideanSpace ℝ ι) (hr : 0 < r) : 0 < volume (ball x r) := -- `volume` on `EuclideanSpace` is an `IsOpenPosMeasure`, so this is mathlib's -- `Metric.measure...
section open Metric MeasureTheory MeasureSpace ENNReal variable {r : ℝ} {ι : Type*} [Fintype ι] theorem EuclideanSpace.volume_ball_pos [Nonempty ι] (x : EuclideanSpace ℝ ι) (hr : 0 < r) : 0 < volume (ball x r) := -- `volume` on `EuclideanSpace` is an `IsOpenPosMeasure`, so this is mathlib's -- `Metric.measure...
import Mathlib.Algebra.Module.ZLattice.Basic import Mathlib.Algebra.Module.ZLattice.Covolume import Mathlib.Algebra.Order.Star.Real import Mathlib.Analysis.InnerProductSpace.PiL2 import Mathlib.Analysis.SpecialFunctions.Pow.Continuity import Mathlib.Data.ENat.Lattice import Mathlib.Data.Set.Card import Mathlib.Dynamics...
[ "PeriodicSpherePacking.density_eq" ]
https://github.com/thefundamentaltheor3m/Sphere-Packing-Lean
b0709b8a1ae761aa07b2835beefd4f58c8629493
Apache-2.0
[]
TanArctan
false
null
For each natural number n, let P_n = ∏_{k=1}^n (1 + i k) be the Gaussian integer with real and imaginary parts A_n and B_n, and set x_n = B_n/A_n (defined when A_n ≠ 0). Let ω_n = A_n² + B_n², and let K_n be the product of the primes dividing ω_n to an odd power. Theorem 1 (Main Theorem): for n ≥ 1 with A_n ≠ 0, if x_n...
null
The text presents multiple interlinked definitions, a main theorem, a lemma, and a corollary without a single separable hypothesis/conclusion structure that would allow eliding the answer while keeping the prompt meaningful.
open scoped BigOperators /- # Problem Description Throughout, $i$ denotes the imaginary unit and $\mathbb{Z}[i]$ the Gaussian integers. We study the Gaussian integer $P_n = \prod_{k=1}^n (1 + i k)$, its real and imaginary parts $A_n, B_n$, the rational sequence $x_n = B_n / A_n$, the norm $\omega_n = A_n^2 + B_n^2 =...
section open scoped BigOperators /- # Problem Description Throughout, $i$ denotes the imaginary unit and $\mathbb{Z}[i]$ the Gaussian integers. We study the Gaussian integer $P_n = \prod_{k=1}^n (1 + i k)$, its real and imaginary parts $A_n, B_n$, the rational sequence $x_n = B_n / A_n$, the norm $\omega_n = A_n^2 +...
import Mathlib
[ "thm_main", "lem_proximity", "cor_density" ]
https://github.com/AxiomMath/TanArctan
f9985fed619fb854b5e1561f7105ae0936f4619a
MIT
[]
ZetaZeros
true
Assuming the Riemann–von Mangoldt formula and the Baluyot–Goldston–Suriajaya–Turnage-Butterbaugh pair-correlation formula, for each ε > 0 and all sufficiently large T, among the non-trivial zeros of ζ with imaginary part in (0, T] (counted with multiplicity) what are the lower bounds for the proportion that are simple ...
Assuming the Riemann–von Mangoldt formula and the Baluyot–Goldston–Suriajaya–Turnage-Butterbaugh pair-correlation formula, for each ε > 0 and all sufficiently large T, among the non-trivial zeros of ζ with imaginary part in (0, T] (counted with multiplicity) the proportion that are simple and on the critical line excee...
the proportion that are simple and on the critical line exceeds 3/2 − (1/√2)cot(1/√2) − ε (in particular > 67.25%), and the proportion of distinct zeros exceeds 5/4 − (1/(2√2))cot(1/√2) − ε (in particular > 83.625%). Separately and unconditionally: for a nonempty finite conjugation-invariant multiset 𝒵 ⊂ ℂ and K(ξ) = ...
null
namespace ZetaZeros /-- The non-trivial zeros of the Riemann zeta function with imaginary part in `(0, T]`: the zeros lying in the critical strip `0 < re s < 1`, as a set, so without multiplicity. -/ def nontrivialZeros (T : ℝ) : Set ℂ := {ρ | riemannZeta ρ = 0 ∧ 0 < ρ.re ∧ ρ.re < 1 ∧ 0 < ρ.im ∧ ρ.im ≤ T} /-- The m...
section public meta section open Lean /-- `@[zz_tag "TAG"]` records which result of the source paper a declaration formalizes. The syntax node is named `zzTag`, not `zz_tag`: the user-facing *token* keeps the underscore, to match `@[stacks …]`, but Mathlib's `defsWithUnderscore` linter inspects the declaration name,...
/- Copyright (c) 2026 Axiom Math. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Authors: Kenny Lau -/ module public import Mathlib.NumberTheory.LSeries.RiemannZeta public import Mathlib.Analysis.Analytic.Order public import Mathlib.Analysis.Complex.Trigonometric public import...
[ "ZetaZeros.Challenge.prop_simple_real_lower", "ZetaZeros.Challenge.prop_distinct_lower", "ZetaZeros.Challenge.thm_simple", "ZetaZeros.Challenge.thm_distinct", "ZetaZeros.Challenge.thm_simple_numeric", "ZetaZeros.Challenge.thm_distinct_numeric" ]
https://github.com/AxiomMath/ZetaZeros
4bcaf70e544506c311d83a5a5b143a134b9fc5f7
Apache-2.0
[]
andrews_dhar_problem:thm1
true
For a positive integer n, a partition of n means a weakly decreasing finite list of nonnegative integers summing to n (parts equal to 0 are allowed and counted). Let D₃(n) denote the number of such partitions in which the smallest part appears exactly three times and every strictly larger part appears at most twice. Fo...
For a positive integer n, a partition of n means a weakly decreasing finite list of nonnegative integers summing to n (parts equal to 0 are allowed and counted). Let D₃(n) denote the number of such partitions in which the smallest part appears exactly three times and every strictly larger part appears at most twice. Fo...
D₃⁽⁰⁾(n) = D₃⁽¹⁾(n) = D₃⁽²⁾(n), and 3·D₃⁽⁰⁾(n) = D₃(n) exactly (so each equals D₃(n)/3).
null
namespace AndrewsDharD3 -- Main Definition(s) /-- A list of nonnegative integers `μ` is a partition of `n` iff it is weakly decreasing and the sum of its parts is `n`. Parts equal to `0` are allowed. -/ def IsPartition (μ : List ℕ) (n : ℕ) : Prop := μ.Pairwise (· ≥ ·) ∧ μ.sum = n /-- The smallest part of a list `μ...
section namespace AndrewsDharD3 /-- A list of nonnegative integers `μ` is a partition of `n` iff it is weakly decreasing and the sum of its parts is `n`. Parts equal to `0` are allowed. -/ def IsPartition (μ : List ℕ) (n : ℕ) : Prop := μ.Pairwise (· ≥ ·) ∧ μ.sum = n /-- The smallest part of a list `μ` of natural nu...
import Mathlib /- # Problem: Andrews–Dhar D_3 partition equidistribution by τ mod 3 A partition of a nonnegative integer $n$ is a weakly decreasing finite list of nonnegative integers $\mu = (\mu_1, \mu_2, \ldots, \mu_r)$ with $\mu_1 + \cdots + \mu_r = n$. Parts equal to $0$ are allowed. **Definition 1 (The Andrews–...
[ "AndrewsDharD3.D3_equidistribution" ]
https://github.com/AxiomMath/andrews_dhar_problem
83da63f4cfb460406c4d24c106bc9e476e7aff87
MIT
[]
andrews_dhar_problem:thm2_split1
false
null
For a positive integer n, C₃(n) is the set of partitions of n whose largest part is a multiple of 3, say 3J with J ≥ 1, in which every part ≤ J occurs at most twice; B₃⁽²⁾(n−1) is the set of partitions of n−1 into parts not divisible by 3 whose largest part is ≡ 2 (mod 3). The finite Glaisher map Γ acts on λ ∈ C₃(n) by...
null
The text describes a map Γ and a desired result about it, but the core claim ('Γ is a well-defined bijection...') is a single, indivisible statement that cannot be split into a prompt and answer without losing meaning. Removing the conclusion would leave a prompt that merely describes notation and a map, which is not a...
namespace PropGamma open scoped Classical /-- The largest part of a multiset of natural numbers (0 if the multiset is empty). -/ def largestPart (s : Multiset ℕ) : ℕ := s.fold max 0 /-! ## Auxiliary partition counts for Theorem 1 -/ /-- C-partitions of $n$: partitions of $n$ with even largest part such that all par...
section namespace PropGamma open scoped Classical set_option linter.unusedVariables false set_option linter.unusedSectionVars false /-! ## Definitions -/ /-- The largest part of a multiset of natural numbers (0 if the multiset is empty). -/ def largestPart (s : Multiset ℕ) : ℕ := s.fold max 0 /-- C-partitions of $...
import Mathlib /- # Problem: Bijection between $\mathcal{C}_3(n)$ partitions and $\mathcal{B}_3^{(2)}(n-1)$ via the finite Glaisher map A partition (here) is a `Multiset ℕ` with all parts positive (i.e. `Nat.Partition n`). The weight is the sum of its parts. We formalize, conditional on Theorem 1 (Andrews--Kumar--Ye...
[ "PropGamma.intermediate_lemma", "PropGamma.prop_gamma" ]
https://github.com/AxiomMath/andrews_dhar_problem
83da63f4cfb460406c4d24c106bc9e476e7aff87
MIT
[]
andrews_dhar_problem:thm2_split2
true
Assume the AKY identity (Theorem 1). For every n ≥ 1, let D_3^{(0)}(n) be the set of partitions of n into nonnegative integer parts (0 allowed) whose smallest part occurs exactly three times, every larger part occurs at most twice, and the number of parts strictly larger than the smallest part is divisible by 3. Let R(...
Assuming the AKY identity (Theorem 1), for every n ≥ 1, let D_3^{(0)}(n) be the set of partitions of n into nonnegative integer parts (0 allowed) whose smallest part occurs exactly three times, every larger part occurs at most twice, and the number of parts strictly larger than the smallest part is divisible by 3. Let ...
T and L are mutually inverse bijections between R(n−1) and D_3^{(0)}(n).
null
namespace AndrewsDhar /-- Length of a partition (with multiplicity). -/ def len (μ : Multiset ℕ) : ℕ := Multiset.card μ /-- The smallest part of a partition. Returns `0` for the empty multiset. -/ noncomputable def smallestPart (μ : Multiset ℕ) : ℕ := if h : μ.toFinset.Nonempty then μ.toFinset.min' h else 0 /-- Th...
section namespace AndrewsDhar /-- Length of a partition (with multiplicity). -/ def len (μ : Multiset ℕ) : ℕ := Multiset.card μ /-- The smallest part of a partition. Returns `0` for the empty multiset. -/ noncomputable def smallestPart (μ : Multiset ℕ) : ℕ := if h : μ.toFinset.Nonempty then μ.toFinset.min' h else 0...
import Mathlib /-! # Problem: Bijection L and T between D_3^(0)(n) and R(n-1) partition sets A partition is represented as a `Multiset ℕ` (multiset of nonnegative integer parts). Sorting weakly decreasingly is canonical for multisets. ## Definitions - `D3 n`: partitions of `n` whose smallest part occurs exactly 3 t...
[ "AndrewsDhar.lem_L" ]
https://github.com/AxiomMath/andrews_dhar_problem
83da63f4cfb460406c4d24c106bc9e476e7aff87
MIT
[]
andrews_dhar_problem:thm2_split3
true
For every integer N ≥ 0, assuming Theorem 1 as a standing hypothesis, consider two classes of non-empty partitions of N into positive parts: R(N), where no part occurs three or more times and the length is ≡ 2 (mod 3), or ≡ 0 (mod 3) with the smallest part occurring exactly once; and F^(2)(N), the 3-flat partitions (co...
For every integer N ≥ 0, assuming Theorem 1 as a standing hypothesis, consider two classes of non-empty partitions of N into positive parts: R(N), where no part occurs three or more times and the length is ≡ 2 (mod 3), or ≡ 0 (mod 3) with the smallest part occurring exactly once; and F^(2)(N), the 3-flat partitions (co...
Conjugation (reflecting the Ferrers diagram) maps R(N) bijectively onto F^(2)(N).
null
namespace AndrewsDhar open scoped Classical -- =========================================================================== -- Main Definition(s): combinatorial / list-based partitions -- =========================================================================== /-- A *partition* (problem.md, Definition 1) is a weak...
section namespace AndrewsDhar open scoped Classical -- =========================================================================== -- Definitions copied verbatim from problem.lean -- =========================================================================== def IsPart (l : List ℕ) : Prop := l.Pairwise (· ≥ ·) def ...
import Mathlib /- # Problem: Conjugation bijection between repetition-bounded partitions and 3-flat partitions with first nonzero residue 2 This file formalizes: * The statement of Theorem 1 (Theorem 1.4 of the Andrews--Dhar paper): for every integer $m \ge 2$ and every non-negative integer $n$, $$ C_m(n) = \fra...
[ "AndrewsDhar.intermediate_lemma", "AndrewsDhar.lem_conj" ]
https://github.com/AxiomMath/andrews_dhar_problem
83da63f4cfb460406c4d24c106bc9e476e7aff87
MIT
[]
brownian-motion:lem_elemStochIntegralLinear_assoc
true
Given simple processes W and V taking values in spaces of bounded linear operators and a stochastic process X, state the equality relating the iterated stochastic integral of V with respect to the integral of W with respect to X to the stochastic integral of the pointwise composition process V∘W with respect to X.
For simple processes W and V taking values in spaces of bounded linear operators and a stochastic process X, the iterated stochastic integral of V with respect to the integral of W with respect to X equals the stochastic integral of the pointwise composition process V∘W with respect to X.
The iterated stochastic integral of V with respect to the integral of W with respect to X equals the stochastic integral of the pointwise composition process V∘W with respect to X.
null
section open MeasureTheory namespace ProbabilityTheory variable {ι Ω E : Type*} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X Y Z : ι → Ω → E} /-- Two processes are indistinguishable if almost surely they agree everywhere. -/ @[expose] def Indistinguishable (P : Measure Ω) (X Y : ι → Ω → E) : Prop := ∀ᵐ ω ∂P, ∀ t, X...
section open MeasureTheory namespace ProbabilityTheory variable {ι Ω E : Type*} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X Y Z : ι → Ω → E} /-- Two processes are indistinguishable if almost surely they agree everywhere. -/ @[expose] def Indistinguishable (P : Measure Ω) (X Y : ι → Ω → E) : Prop := ∀ᵐ ω ∂P, ∀ t, X...
import Mathlib.Analysis.Normed.Group.Continuity import Mathlib.MeasureTheory.Constructions.BorelSpace.ContinuousLinearMap import Mathlib.MeasureTheory.Measure.MeasureSpaceDef import Mathlib.Order.CompletePartialOrder import Mathlib.Probability.Process.Predictable import Mathlib.Probability.Process.Stopping import Mathl...
[ "ProbabilityTheory.SimpleProcess.integralEval_assoc" ]
https://github.com/RemyDegenne/brownian-motion
314f04a34ff75e18fd383917ae7fe7d77beb1b6f
Apache-2.0
[]
brownian-motion:lem_elemStochIntegral_stoppedProcess
false
null
For a stochastic process X, a simple process V, and any map τ : Ω → ι ∪ {⊤} (not assumed to be a stopping time), stopping the elementary stochastic integral of V against X at τ equals the elementary stochastic integral of V against the stopped process X^τ: (V ∙ X)^τ = V ∙ (X^τ).
null
The statement is an indivisible equality; removing either side would make the prompt trivial (asking for a known identity) and the remaining 'answer' meaningless without the other side or the context of the equality.
section open MeasureTheory namespace ProbabilityTheory variable {ι Ω E : Type*} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X Y Z : ι → Ω → E} /-- Two processes are indistinguishable if almost surely they agree everywhere. -/ @[expose] def Indistinguishable (P : Measure Ω) (X Y : ι → Ω → E) : Prop := ∀ᵐ ω ∂P, ∀ t, X...
section open MeasureTheory namespace ProbabilityTheory variable {ι Ω E : Type*} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X Y Z : ι → Ω → E} /-- Two processes are indistinguishable if almost surely they agree everywhere. -/ @[expose] def Indistinguishable (P : Measure Ω) (X Y : ι → Ω → E) : Prop := ∀ᵐ ω ∂P, ∀ t, X...
import Mathlib.Analysis.Normed.Group.Continuity import Mathlib.MeasureTheory.Constructions.BorelSpace.ContinuousLinearMap import Mathlib.MeasureTheory.Measure.MeasureSpaceDef import Mathlib.Order.CompletePartialOrder import Mathlib.Probability.Process.Predictable import Mathlib.Probability.Process.Stopping import Mathl...
[ "ProbabilityTheory.SimpleProcess.stoppedProcess_integral" ]
https://github.com/RemyDegenne/brownian-motion
314f04a34ff75e18fd383917ae7fe7d77beb1b6f
Apache-2.0
[]
brownian-motion:lem_komlos_convex_weights
false
null
Let E be a real Hilbert space and, for each i ∈ ℕ, let (x^{(i)}_m)_{m∈ℕ} be a bounded sequence in E. There exist finitely supported convex weights λ^{k,n} on ℕ (k,n ∈ ℕ), with λ^{k,n}_m = 0 for all m < n, such that for every k the sequence n ↦ Σ_m μ^{k,n}_m x^{(k)}_m converges in E, where the stage-k iterated weights μ...
null
The text describes a construction and an existence claim that is inseparable: removing the conclusion (the existence of such weights) leaves no well-defined question, and the construction details are essential to both the setup and the claim.
section variable {R : Type*} [PartialOrder R] [Semiring R] {M N P : Type*} namespace Convexity.StdSimplex instance instFunLike : FunLike (StdSimplex R M) M R := { coe s := s.weights.toFun coe_injective := fun _ _ h ↦ ext (Finsupp.ext fun i ↦ congrFun h i) } variable [IsStrictOrderedRing R] /-- Given convex weig...
section variable {R : Type*} [PartialOrder R] [Semiring R] {M N P : Type*} namespace Convexity.StdSimplex instance instFunLike : FunLike (StdSimplex R M) M R := { coe s := s.weights.toFun coe_injective := fun _ _ h ↦ ext (Finsupp.ext fun i ↦ congrFun h i) } variable [IsStrictOrderedRing R] /-- Given convex weig...
import Mathlib.Analysis.InnerProductSpace.Basic import Mathlib.Geometry.Convex.ConvexSpace.Defs import Mathlib.MeasureTheory.Function.LpSpace.Basic import Mathlib.MeasureTheory.Function.UniformIntegrable import Mathlib.Probability.Moments.Basic import Mathlib.Topology.UniformSpace.Cauchy
[ "komlos_convex_weights" ]
https://github.com/RemyDegenne/brownian-motion
314f04a34ff75e18fd383917ae7fe7d77beb1b6f
Apache-2.0
[]
challenge_3:lemma_b3
false
null
Let σ be the divisor-sum function and S(t) = Σ_{m≥0} (−1)^m σ(m+1) t^m ∈ ℚ[[t]]. Define c_m as the coefficient of t^m in the formal power-series inverse S(t)⁻¹. The statement to prove is that S(t) · S(t)⁻¹ = 1 as formal power series over ℚ.
null
The text already states the claim explicitly: that S(t) · S(t)⁻¹ = 1. There is no separable hypothesis/conclusion structure because the very definition of the inverse is that it multiplies to 1; the 'statement to prove' is not a nontrivial mathematical claim but rather a tautological consequence of the definition.
open Finset namespace ColoredRectangles /-! ## Provided definitions (Definitions 1-7) -/ /-- Definition 1: the divisor-sum function $\sigma(m) = \sum_{d \mid m} d$. -/ def sigmaSum (m : ℕ) : ℕ := ∑ d ∈ m.divisors, d /-- Definition 3: the rectangle set $R_m$ as a finite set of triples $(a, b, i)$ with $a \cdot b = m...
section open Finset namespace ColoredRectangles /-! ## Provided definitions (Definitions 1-7) -/ /-- Definition 1: the divisor-sum function $\sigma(m) = \sum_{d \mid m} d$. -/ def sigmaSum (m : ℕ) : ℕ := ∑ d ∈ m.divisors, d /-- Definition 3: the rectangle set $R_m$ as a finite set of triples $(a, b, i)$ with $a \cd...
import Mathlib /- # Problem Description This problem concerns a divisor-sum quantity `q_n`, a combinatorial model of colored marked rectangles, and a generating-function identity relating the inverse power series `1 / S(t)` to a count of "assemblies". Throughout, all "integer" variables ($a, b, i, m, n, N, r, \ell$)...
[ "ColoredRectangles.q_signed_count", "ColoredRectangles.injection", "ColoredRectangles.card_Xneg_le_card_Xpos", "ColoredRectangles.qn_nonneg", "ColoredRectangles.Sps_mul_inv", "ColoredRectangles.prop_easy", "ColoredRectangles.prop_main", "ColoredRectangles.cQ_pos" ]
https://github.com/AxiomMath/challenge_3
0a746296a97c96ca40849ab73385d633ae570293
MIT
[]
con-nf:prop_FlexApprox_smul_nearLitter_eq
true
Let ξ be a base action, ψ an A-flexible approximation of ξ, and π a base permutation exactly approximated by ψ. Suppose near-litters N₁ and N₂ are related by ξ's near-litter relation and π maps the litter of N₁ to the litter of N₂ (π • N₁ᴸ = N₂ᴸ). State the conclusion that follows about π • N₁ and N₂.
Let ξ be a base action, ψ an A-flexible approximation of ξ, and π a base permutation exactly approximated by ψ. If near-litters N₁ and N₂ are related by ξ's near-litter relation and π maps the litter of N₁ to the litter of N₂ (π • N₁ᴸ = N₂ᴸ), then π • N₁ = N₂.
π • N₁ = N₂
null
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
import Mathlib.Algebra.Equiv.TransferInstance import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic import Mathlib.Data.Rel import Mathlib.Data.Set.Lattice import Mathlib.GroupTheory.Perm.Basic import Mathlib.Order.ConditionallyCompleteLattice.Basic import Mathlib.Order.Interval.Set.Infinite import Mathlib.Order.Preo...
[ "ConNF.BaseAction.smul_nearLitter_of_smul_litter" ]
https://github.com/leanprover-community/con-nf
55b939a3acf947793e252ff330800bfe968cc172
Apache-2.0
[]
con-nf:prop_StrApprox_addOrbit
true
Let ψ be a structural approximation, A a path, and f : ℤ → Litter such that f(m) = f(n) implies f(m+k) = f(n+k) for all m, n, k, and no f(n) lies in the domain of the litter relation of ψ at A. Let χ = ψ.addOrbit A f be ψ with the orbit f(n) ↦ f(n+1) adjoined to its litter relation at A. Under what hypotheses on ψ does...
Let ψ be a structural approximation, A a path, and f : ℤ → Litter such that f(m) = f(n) implies f(m+k) = f(n+k) for all m, n, k, and no f(n) lies in the domain of the litter relation of ψ at A. Let χ = ψ.addOrbit A f be ψ with the orbit f(n) ↦ f(n+1) adjoined to its litter relation at A. If ψ is coherent and coherent a...
If ψ is coherent and coherent at (A, f(n), f(n+1)) for every integer n, then χ is coherent.
null
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
import Mathlib.Algebra.Equiv.TransferInstance import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic import Mathlib.Data.Rel import Mathlib.Data.Set.Lattice import Mathlib.GroupTheory.Perm.Basic import Mathlib.Order.ConditionallyCompleteLattice.Basic import Mathlib.Order.Interval.Set.Infinite import Mathlib.Order.Preo...
[ "ConNF.StrApprox.addOrbit_coherent" ]
https://github.com/leanprover-community/con-nf
55b939a3acf947793e252ff330800bfe968cc172
Apache-2.0
[]
con-nf:prop_approx_near
true
Let s be a set of atoms that is near the litter set LS(L) for some litter L. Suppose further that the pair (L, L') belongs to the litter relation ψ^Litter. What can you conclude about the image of s under the atom relation ψ^Atom?
Given a set of atoms s that is near the litter set LS(L) for some litter L, if the pair (L, L') belongs to the litter relation ψ^Litter, then the image of s under the atom relation ψ^Atom is near the litter set LS(L').
The image of s under ψ^Atom is near the litter set LS(L').
null
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
import Mathlib.Algebra.Equiv.TransferInstance import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic import Mathlib.Data.Rel import Mathlib.Data.Set.Lattice import Mathlib.GroupTheory.Perm.Basic import Mathlib.Order.ConditionallyCompleteLattice.Basic import Mathlib.Order.Interval.Set.Infinite import Mathlib.Order.Preo...
[ "ConNF.BaseApprox.image_near_of_near" ]
https://github.com/leanprover-community/con-nf
55b939a3acf947793e252ff330800bfe968cc172
Apache-2.0
[]
con-nf:prop_approximates_of_flexApprox
true
Let ξ be a coherent β-action and ψ a flexible approximation for it. Suppose ψ exactly approximates some allowable permutation ρ. What conclusion follows about ξ?
Given a coherent β-action ξ and a flexible approximation ψ for it, if ψ exactly approximates some allowable permutation ρ, then ξ also approximates ρ.
ξ also approximates ρ.
null
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
import Mathlib.Algebra.Equiv.TransferInstance import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic import Mathlib.Data.Rel import Mathlib.Data.Set.Lattice import Mathlib.GroupTheory.Perm.Basic import Mathlib.Order.ConditionallyCompleteLattice.Basic import Mathlib.Order.Interval.Set.Infinite import Mathlib.Order.Preo...
[ "ConNF.StrAction.approximates_of_flexApprox_exactlyApproximates" ]
https://github.com/leanprover-community/con-nf
55b939a3acf947793e252ff330800bfe968cc172
Apache-2.0
[]
con-nf:prop_atomGraph_permutative
false
null
For any base approximation ψ, the typical-atom relation ψ^{TAtom} is permutative, i.e. it is a one-to-one relation (injective and coinjective) whose codomain equals its domain.
null
The claim is a single indivisible statement: it defines a property of ψ^{TAtom} (being permutative) and immediately unpacks what that means (one-to-one, injective and coinjective, codomain equals domain). There is no hypothesis/conclusion structure to split; eliding any part would leave either the prompt or the answer ...
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
import Mathlib.Algebra.Equiv.TransferInstance import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic import Mathlib.Data.Rel import Mathlib.Data.Set.Lattice import Mathlib.GroupTheory.Perm.Basic import Mathlib.Order.ConditionallyCompleteLattice.Basic import Mathlib.Order.Interval.Set.Infinite import Mathlib.Order.Preo...
[ "ConNF.BaseApprox.typical_permutative", "ConNF.BaseApprox.atoms_permutative" ]
https://github.com/leanprover-community/con-nf
55b939a3acf947793e252ff330800bfe968cc172
Apache-2.0
[]
con-nf:prop_exists_flexApprox
true
Let ξ be a base action and A : β ⇝ ⊥ a path. Suppose ξ preserves A-flexibility of litters: whenever ξ^Litter relates L₁ to L₂, L₁ is A-flexible iff L₂ is A-flexible. State what the base approximation ξ.flexApprox A (built from the nice extension of ξ) is in relation to ξ.
Let ξ be a base action and A : β ⇝ ⊥ a path, and suppose ξ preserves A-flexibility of litters: whenever ξ^Litter relates L₁ to L₂, L₁ is A-flexible iff L₂ is A-flexible. Then the base approximation ξ.flexApprox A (built from the nice extension of ξ) is an A-flexible approximation of ξ.
ξ.flexApprox A (built from the nice extension of ξ) is an A-flexible approximation of ξ.
null
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
import Mathlib.Algebra.Equiv.TransferInstance import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic import Mathlib.Data.Rel import Mathlib.Data.Set.Lattice import Mathlib.GroupTheory.Perm.Basic import Mathlib.Order.ConditionallyCompleteLattice.Basic import Mathlib.Order.Interval.Set.Infinite import Mathlib.Order.Preo...
[ "ConNF.BaseAction.flexApprox_flexApprox" ]
https://github.com/leanprover-community/con-nf
55b939a3acf947793e252ff330800bfe968cc172
Apache-2.0
[]
con-nf:prop_exists_strong
true
Let S be any support. Define S.strong as the support obtained by closing the prestrong hull of S. What property does S.strong satisfy? In particular, which two conditions does it satisfy?
For any support S, the support S.strong (obtained by closing the prestrong hull of S) is strong, i.e. it satisfies both PreStrong and Closed.
S.strong is strong, i.e. it satisfies both PreStrong and Closed.
null
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
section open Set open scoped symmDiff namespace Rel variable {α β γ : Type _} def field (r : Rel α α) : Set α := r.dom ∪ r.codom @[mk_iff] structure Injective (r : Rel α β) : Prop where injective : ∀ ⦃x₁ x₂ y⦄, r x₁ y → r x₂ y → x₁ = x₂ @[mk_iff] structure Coinjective (r : Rel α β) : Prop where coinjective :...
import Mathlib.Algebra.Equiv.TransferInstance import Mathlib.Algebra.Group.Action.Pointwise.Set.Basic import Mathlib.Data.Rel import Mathlib.Data.Set.Lattice import Mathlib.GroupTheory.Perm.Basic import Mathlib.Order.ConditionallyCompleteLattice.Basic import Mathlib.Order.Interval.Set.Infinite import Mathlib.Order.Preo...
[ "ConNF.Support.strong_strong" ]
https://github.com/leanprover-community/con-nf
55b939a3acf947793e252ff330800bfe968cc172
Apache-2.0
[]
fel-polynomial
true
Let S ⊆ ℕ be a numerical semigroup with gap set Δ, and let d_1,...,d_m (m ≥ 1, positive integers, gcd 1, repeats allowed) be a generating list for S. Write P_S(z) = ∏_i (1−z^{d_i}), π_m = ∏_i d_i, and let Q_S(z) = 1 − ∑_{j≥1} c_j z^j be the Hilbert numerator satisfying H_S(z)·P_S(z) = Q_S(z), where H_S(z) = ∑_{s∈S} z^s...
Let S ⊆ ℕ be a numerical semigroup with gap set Δ, and let d_1,...,d_m (m ≥ 1, positive integers, gcd 1, repeats allowed) be a generating list for S. Write P_S(z) = ∏_i (1−z^{d_i}), π_m = ∏_i d_i, and let Q_S(z) = 1 − ∑_{j≥1} c_j z^j be the Hilbert numerator satisfying H_S(z)·P_S(z) = Q_S(z), where H_S(z) = ∑_{s∈S} z^s...
K_p(S) = ∑_{r=0}^p C(p,r)·T_{p−r}(σ)·G_r(S) + (2^{p+1}/(p+1))·T_{p+1}(δ)
null
structure NumericalSemigroup where carrier : Set ℕ zero_mem : 0 ∈ carrier add_mem : ∀ a b, a ∈ carrier → b ∈ carrier → a + b ∈ carrier finite_complement : (carrier)ᶜ.Finite namespace NumericalSemigroup -- The gap set (complement of the semigroup in ℕ) noncomputable def gaps (S : NumericalSemigroup) : Finset ℕ...
section structure NumericalSemigroup where carrier : Set ℕ zero_mem : 0 ∈ carrier add_mem : ∀ a b, a ∈ carrier → b ∈ carrier → a + b ∈ carrier finite_complement : (carrier)ᶜ.Finite namespace NumericalSemigroup -- The gap set (complement of the semigroup in ℕ) noncomputable def gaps (S : NumericalSemigroup) : ...
import Mathlib /- # Problem: Fel's Conjecture for Numerical Semigroups A numerical semigroup $S \subseteq \mathbb{N}$ is a subset containing 0, closed under addition, with finite complement (the set of gaps $\Delta = \mathbb{N} \setminus S$). Given generators $\{d_1, \ldots, d_m\}$ with $\gcd = 1$, we define: - Gap ...
[ "NumericalSemigroup.semigroupGapDecomposition", "NumericalSemigroupGenerators.numeratorIdentity", "fels_conjecture" ]
https://github.com/AxiomMath/fel-polynomial
229c91e3811fc326bc68c1f402757fe333d05440
MIT
[ { "authors": [ "Evan Chen", "Chris Cummins", "GSM", "Dejan Grubisic", "Leopold Haller", "Letong Hong", "Andranik Kurghinyan", "Kenny Lau", "Hugh Leather", "Seewoo Lee", "Aram Markosyan", "Ken Ono", "Manooshree Patel", "Gaurang P...
gdm-formal-conjectures:BorweinSineSeries
false
null
Assuming there exist a constant C > 0 and a threshold Q₀ such that |π − p/q| > C / q^7.10321 for every integer p and every positive natural number q ≥ Q₀, the series ∑_{n=1}^∞ (2/3 + (1/3)·sin n)^n / n is summable.
null
The claim is an indivisible conditional statement: the summability conclusion depends on the antecedent hypothesis about rational approximation of π. Removing either part would make the remaining fragment trivial or meaningless without the other.
/-- The value μ(π) ≈ 7.10321 (see arXiv:1912.06345) -/ noncomputable abbrev muPi : ℝ := 7.10321 def PiIrrBound : Prop := ∃ (C : ℝ) (Q₀ : ℕ), 0 < C ∧ ∀ (p : ℤ) (q : ℕ), 0 < q → Q₀ ≤ q → C / (q : ℝ) ^ muPi < |Real.pi - (p : ℝ) / (q : ℝ)| theorem borwein_sine_series (hpi: PiIrrBound) : Summable fun n : ℕ+ ↦ ((...
section open scoped Classical /-- The value μ(π) ≈ 7.10321 (see arXiv:1912.06345) -/ noncomputable abbrev muPi : ℝ := 7.10321 def PiIrrBound : Prop := ∃ (C : ℝ) (Q₀ : ℕ), 0 < C ∧ ∀ (p : ℤ) (q : ℕ), 0 < q → Q₀ ≤ q → C / (q : ℝ) ^ muPi < |Real.pi - (p : ℝ) / (q : ℝ)| noncomputable def a (n : ℝ) : ℝ := 2 / 3 + 1 ...
import Mathlib
[ "borwein_sine_series" ]
https://github.com/AxiomMath/gdm-formal-conjectures
7944bd15b135bc0cecfca5d65798dd92ea707259
MIT
[]
gdm-formal-conjectures:OeisA6697
false
null
The OEIS sequence A006697 is defined for nonnegative integers n by a_n = sum_{i=0}^{n} min(2^i, n-i+1). The problem asks to prove that the ordinary generating function A(x) = sum_{n>=0} a_n x^n is given by the closed form expression A(x) = 1/(1-x) + x/(1-x)^2 * (1/(1-x) - sum_{k>=0} x^{2^{k+1}+k}). Equivalently, for ea...
null
The given text presents a single claim that a generating function equals a specific closed form; splitting it would either make the prompt trivial (just the definition of a_n) or leave an answer that is meaningless without the generating function or the definition of a_n.
open Finset PowerSeries open scoped PowerSeries.WithPiTopology -- Main Definition(s) /-- The sequence A006697: $a_n = \sum_{i=0}^{n} \min(2^i, n - i + 1)$. -/ def a (n : ℕ) : ℕ := ∑ i ∈ range (n + 1), min (2 ^ i) (n - i + 1) -- Main Statement(s) theorem conjecture (n : ℕ) : (a n : ℚ) = coeff (R := ℚ) n ...
section open Finset PowerSeries open scoped PowerSeries.WithPiTopology /-- The sequence A006697: $a_n = \sum_{i=0}^{n} \min(2^i, n - i + 1)$. -/ def a (n : ℕ) : ℕ := ∑ i ∈ range (n + 1), min (2 ^ i) (n - i + 1) /-! ## Power series coefficient lemmas -/ lemma one_sub_X_inv_eq_mk_one : (1 - (X : ℚ⟦X⟧))⁻¹ = PowerSeri...
import Mathlib /- # Problem Description The sequence A006697 in OEIS is defined by $a_n = \sum_{i=0}^{n} \min(2^i, n - i + 1)$ for all $n \ge 0$. Prove that the ordinary generating function of $(a_n)_{n \ge 0}$ is given by $A(x) = \frac{1}{1-x} + \frac{x}{(1-x)^2}\left(\frac{1}{1-x} - \sum_{k=0}^{\infty} x^{2^{k+1}+...
[ "conjecture" ]
https://github.com/AxiomMath/gdm-formal-conjectures
7944bd15b135bc0cecfca5d65798dd92ea707259
MIT
[]
parity-differential
true
For every odd integer k ≥ 3 and every natural number n with gcd(n,k) = 1 and gcd(n+1,k) = 1, let m = (k-1)/2. Define N_k(n) as the number of pairs (b1,b2) with 1 ≤ b1,b2 ≤ m, b1+b2 ≥ m+1, and b2 ≡ n b1 (mod k). Define F_k(a) = ∑_{i=1}^m floor((a i + m)/k). State the identity relating N_k(n) and F_k.
For every odd integer k >= 3 and every natural number n with gcd(n,k) = 1 and gcd(n+1,k) = 1, let m = (k-1)/2. The number N_k(n) of pairs (b1,b2) with 1 <= b1,b2 <= m, b1+b2 >= m+1, and b2 ≡ n b1 (mod k), equals the difference F_k(n+1) - F_k(n), where F_k(a) = sum_{i=1}^{m} floor((a i + m)/k). This is the combinatorial...
N_k(n) = F_k(n+1) - F_k(n).
null
/-- The counting function N_k(n): counts pairs (b₁, b₂) with 1 ≤ b₁, b₂ ≤ m, b₁ + b₂ ≥ m + 1, and b₂ ≡ n · b₁ (mod k). -/ def countingFunctionN (k : ℕ) (n : ℕ) : ℕ := let m := (k - 1) / 2 Finset.card (Finset.filter (fun p : ℕ × ℕ => m + 1 ≤ p.1 + p.2 ∧ p.2 % k = (n * p.1) % k) (Finset.Icc 1 m ×ˢ Finset....
section def countingFunctionN (k : Nat) (n : Nat) : Nat := let m := (k - 1) / 2 Finset.card (Finset.filter (fun p : Nat × Nat => m + 1 ≤ p.1 + p.2 ∧ p.2 % k = (n * p.1) % k) (Finset.Icc 1 m ×ˢ Finset.Icc 1 m)) def floorSumF (k : Nat) (a : Nat) : Nat := let m := (k - 1) / 2 ∑ i ∈ Finset.Icc 1 m, (a * i ...
import Mathlib /- # Problem Description Let $k \ge 3$ be an odd integer and let $m = (k-1)/2$. For $n \in \mathbb{N}$ with $\gcd(n, k) = 1$ and $\gcd(n+1, k) = 1$, define $N_k(n)$ to be the number of pairs $(b_1, b_2) \in \mathbb{N} \times \mathbb{N}$ such that: 1. $1 \le b_1 \le m$ 2. $1 \le b_2 \le m$ 3. $b_1 + b_...
[ "main_theorem" ]
https://github.com/AxiomMath/parity-differential
2aefd6f3762a68239388f010eb1209f612125655
MIT
[ { "authors": [ "Dawei Chen", "Evan Chen", "Kenny Lau", "Ken Ono", "Jujian Zhang" ], "id": "https://arxiv.org/abs/2602.03722", "location": "Lemma 2.5 (Formula for $N_k(n)$)", "note": "The paper's appendix documents this repository as the formalization of Lemma 2.5.",...
partial-regularity
false
null
For a fixed real number α > 1/2, define M_α(p) = floor(√p / (log p)^α). A prime p is called m-regular when it is odd and does not divide the numerator of the Bernoulli number B_{2k} for every k with 1 ≤ 2k ≤ min(m, p−3). The paper proves that almost all primes are partially regular: as X tends to infinity, the number o...
null
The text is a single self-contained statement of a theorem; it has no separable hypothesis/conclusion structure because splitting it would either omit essential definitions or leave a trivial prompt.
/-- A prime `p` is `m`-regular if it is odd and does not divide the numerator of the Bernoulli number `B_{2k}` for each `k` with `1 ≤ 2k ≤ min(m, p - 3)`. -/ def IsRegularPrime (m : ℕ) (p : ℕ) : Prop := Nat.Prime p ∧ Odd p ∧ ∀ k : ℕ, 1 ≤ 2 * k → 2 * k ≤ min m (p - 3) → ¬((p : ℤ) ∣ (bernoulli (2 * k)).nu...
section /-- A prime `p` is `m`-regular if it is odd and does not divide the numerator of the Bernoulli number `B_{2k}` for each `k` with `1 ≤ 2k ≤ min(m, p - 3)`. -/ def IsRegularPrime (m : ℕ) (p : ℕ) : Prop := Nat.Prime p ∧ Odd p ∧ ∀ k : ℕ, 1 ≤ 2 * k → 2 * k ≤ min m (p - 3) → ¬((p : ℤ) ∣ (bernoulli (2 ...
import Mathlib /- # Problem Description We define the notion of $m$-regular primes and a function $M_\alpha$ on primes. The theorem states an asymptotic bound on primes that fail to be $M_\alpha(p)$-regular. ## Definitions 1. **Bernoulli numbers**: The $(2k)$-th Bernoulli number $B_{2k} \in \mathbb{Q}$ is defined v...
[ "irregular_primes_asymptotic" ]
https://github.com/AxiomMath/partial-regularity
cec3e7d51af8f5fe3ac6f4cf4ffeb03ef43aab2e
MIT
[]
partial-regularity:extension
true
For a fixed real exponent α > 1/2 and a prime p, let M_α(p) be the integer part of √p / (log p)^α. A prime p is said to be m-regular when p is odd and does not divide the numerator of any Bernoulli number B_{2k} with 1 ≤ 2k ≤ min(m, p−3). Given these definitions, state the main theorem as an asymptotic upper bound for ...
The project formalizes the result that almost all primes are partially regular: for a fixed real exponent α > 1/2 and a prime p, let M_α(p) be the integer part of √p / (log p)^α. A prime p is said to be m-regular when p is odd and does not divide the numerator of any Bernoulli number B_{2k} with 1 ≤ 2k ≤ min(m, p−3). T...
The number of odd primes p ≤ X that are not M_α(p)-regular is O(X / (log X)^{2α}), with the implied constant allowed to depend on α.
null
/-- A prime p is m-regular if p is odd and p does not divide the numerator of B_{2k} for all positive integers k with 2k ≤ min(m, p-3). Note: When min(m, p-3) < 2, the condition is vacuously satisfied. -/ def isMRegular (m : ℕ) (p : ℕ) : Prop := Nat.Prime p ∧ Odd p ∧ ∀ k : ℕ, 1 ≤ k → 2 * k ≤ min m (p - 3...
section def isMRegular (m : ℕ) (p : ℕ) : Prop := Nat.Prime p ∧ Odd p ∧ ∀ k : ℕ, 1 ≤ k → 2 * k ≤ min m (p - 3) → ¬((p : ℤ) ∣ (bernoulli (2 * k)).num) noncomputable def M_alpha (α : ℝ) (p : ℕ) : ℕ := ⌊Real.sqrt p / (Real.log p) ^ α⌋₊ noncomputable def irregularPrimesUpTo (α : ℝ) (X : ℕ) : Set ℕ := {p : ℕ | p ...
import Mathlib /- # Problem Description The Bernoulli numbers $B_n \in \mathbb{Q}$ for $n \in \mathbb{N}$ are defined by the generating function $\frac{x}{e^x - 1} = \sum_{n=0}^{\infty} \frac{B_n}{n!} x^n$. An odd prime $p$ is called $m$-regular if $p$ does not divide the numerator of $B_{2k}$ (in lowest terms) for ...
[ "irregularPrimes_isBigO" ]
https://github.com/AxiomMath/partial-regularity
cec3e7d51af8f5fe3ac6f4cf4ffeb03ef43aab2e
MIT
[]
quadratic-dinv
true
For coprime positive integers a<b, consider the numerical semigroup generated by a and b. Its gap set G consists of positive integers not in the semigroup; it can be visualized as a Young diagram using the function g(x,y)=ab-ax-by. Define a kernel K on integers by K(d)=1_{d>=0} - 1_{d>=a} - 1_{d>=b} + 1_{d>=a+b}, which...
For coprime positive integers a<b, consider the numerical semigroup generated by a and b. Its gap set G consists of positive integers not in the semigroup; it can be visualized as a Young diagram using the function g(x,y)=ab-ax-by. Define a kernel K on integers by K(d)=1_{d>=0} - 1_{d>=a} - 1_{d>=b} + 1_{d>=a+b}, which...
B(1_D,1_E) equals the cross-dinv statistic of D and E, a combinatorial invariant that generalizes the rational dinv.
null
open Finset namespace RationalDinv -- Definition: Value function $g : \mathbb{Z}^2 \to \mathbb{Z}$ -- $g(x,y) = ab - ax - by$ def gVal (a b : ℕ) (p : ℤ × ℤ) : ℤ := (a : ℤ) * (b : ℤ) - (a : ℤ) * p.1 - (b : ℤ) * p.2 -- The gap set $G$ as a predicate on $\mathbb{Z}^2$: -- $G = \{(x,y) \in \mathbb{Z}_{\geq 1}^2 : g(x,...
section open Finset namespace RationalDinv def gVal (a b : ℕ) (p : ℤ × ℤ) : ℤ := (a : ℤ) * (b : ℤ) - (a : ℤ) * p.1 - (b : ℤ) * p.2 def GapSet (a b : ℕ) : Set (ℤ × ℤ) := {p | 1 ≤ p.1 ∧ 1 ≤ p.2 ∧ 0 < gVal a b p} def gapFinset (a b : ℕ) : Finset (ℤ × ℤ) := ((Finset.Icc (1 : ℤ) (b : ℤ)) ×ˢ (Finset.Icc (1 : ℤ) (a ...
import Mathlib
[ "RationalDinv.mem_gapFinset_iff", "RationalDinv.armLength_spec", "RationalDinv.legLength_spec", "RationalDinv.dinvCond_iff_slopes", "RationalDinv.bilinForm_eq_crossDinv" ]
https://github.com/AxiomMath/quadratic-dinv
0cf4aefe1accd06a1a862fad2b7bcd7af914728d
MIT
[ { "authors": [ "Yifeng Huang" ], "id": "https://arxiv.org/abs/2604.13238", "location": "Theorem 1.2", "note": "Section 1.7 of the paper, an appendix by Kenny Lau, documents this repository and records that Theorem 1.2 was the end-to-end formalization target.", "relationship": "formaliz...
ramanujan-tau-misses-primes
true
Let τ : ℤ_{≥1} → ℤ satisfy Hecke multiplicativity, the Hecke recurrence, parity, Deligne's bound, and the non-unit property, and let S(X) be the number of primes ℓ ≤ X such that |τ(n)| = ℓ for some n ≥ 1. Define E_2(X) = #{(x,y) ∈ ℤ_{≥1}×ℤ : x > X^{2/11}, 1 ≤ |x^{11} − y^2| ≤ X} and E_4(X) = #{(x,u) ∈ ℤ_{≥1}×ℤ : x > X^...
Let τ : ℤ_{≥1} → ℤ be any function satisfying Hecke multiplicativity, the Hecke recurrence, parity, Deligne's bound, and the non-unit property (τ is axiomatized, not constructed), and let S(X) be the number of primes ℓ ≤ X with |τ(n)| = ℓ for some n ≥ 1. Assuming the abc conjecture alone, for every η > 0: E_2(X) ≪_η X^...
S(X) ≪ X^{1/2} log X + X^{13/22} + X^{6/11} + E_2(X) + E_4(X); consequently there exist C > 0 and X₀ > 0 with S(X) ≤ C·X^{13/22} for every X > X₀, i.e. S(X) = O(X^{13/22}) as X → +∞, so τ misses almost all primes.
null
open Filter Asymptotics -- ===================================================================== -- Auxiliary: radical of a natural number = $\prod_{p \mid n} p$ -- ===================================================================== noncomputable def Nat.radical (n : ℕ) : ℕ := if n = 0 then 0 else ∏ p ∈ n.primeFac...
section open Filter Asymptotics open scoped Classical noncomputable def Nat.radical (n : ℕ) : ℕ := if n = 0 then 0 else ∏ p ∈ n.primeFactors, p structure RamanujanTau where τ : ℕ+ → ℤ hecke_mult : ∀ m n : ℕ+, Nat.Coprime (m : ℕ) (n : ℕ) → τ (m * n) = τ m * τ n hecke_rec : ∀ (p : ℕ+), (p : ℕ).Prime → ∀ (m : ℕ)...
import Mathlib /- # Problem: Bounding prime values of Ramanujan's tau function Assuming the ABC conjecture and the sharper form of Xiong's Proposition 5.4 (using the N^{1/2} bound instead of the stated N^{9/10}), we prove that the counting function $S(X) := \#\{\ell \le X : \ell \text{ prime}, |\tau(n)| = \ell \text{...
[ "reduction_lemma", "abc_bound_E2", "abc_bound_E4", "main_theorem" ]
https://github.com/AxiomMath/ramanujan-tau-misses-primes
8ddd674df13e2dc3f2131133e538cabad5c3c865
MIT
[ { "authors": [ "David Kurniadi Angdinata", "Evan Chen", "Chris Cummins", "Ben Eltschig", "Dejan Grubisic", "Leopold Haller", "Letong Hong", "Andranik Kurghinyan", "Kenny Lau", "Hugh Leather", "Seewoo Lee", "Simon Mahns", "Aram H. Mark...
record-compositions
true
For n ≥ 1, let w = a_1 a_2 ⋯ a_{2n} be a down-up alternating permutation of {1,…,2n} (a_1 > a_2 < a_3 > ⋯ > a_{2n}) and let ŵ = a_1 a_3 ⋯ a_{2n−1} be its odd-position subword. The record composition rc(ŵ) ⊨ n has one block per left-to-right maximum (record) of ŵ, running from that record up to (not including) the next,...
For n ≥ 1, let w = a_1 a_2 ⋯ a_{2n} be a down-up alternating permutation of {1,…,2n} (a_1 > a_2 < a_3 > ⋯ > a_{2n}) and ŵ = a_1 a_3 ⋯ a_{2n−1} its odd-position subword. The record composition rc(ŵ) ⊨ n has one block per left-to-right maximum (record) of ŵ, running from that record up to (not including) the next, with t...
Then N(α) = ∏_j C(2s_j−1, 2α_j−1) E_{2α_j−1} and, in ℚ, N(α) = (2n)! ∏_j b_{α_j}/s_j (the two right-hand sides agreeing).
null
set_option backward.isDefEq.respectTransparency false /- # Problem Description Throughout, `K` is a fixed field of characteristic zero (e.g. `K = ℚ` or `K = ℝ`). We study a combinatorial identity connecting: * down-up alternating permutations of `{1,...,2n}` and a "record composition" statistic, * the Euler / zigzag...
section open scoped Nat /-! ## Euler (zigzag) numbers -/ /-- Entringer numbers, via the standard zigzag recurrence. We only use the diagonal. -/ def entringer : ℕ → ℕ → ℕ | 0, _ => 1 | (_ + 1), 0 => 0 | (n + 1), (k + 1) => entringer (n + 1) k + entringer n (n - k) /-- The Euler (zigzag) numbers `E_k`, OEIS A0...
import Mathlib
[ "recBoundaries_zero_mem", "recBoundaries_last_mem", "N_eq_rhsBinom", "N_eq_rhsRat", "factorial_smul_Anc_eq", "chi_Anc_eq", "euler_values", "euler_recurrence", "rhsBinom_eq_rhsRat", "wex_isDownUp", "rc_worked_example" ]
https://github.com/AxiomMath/record-compositions
9ce3db50e30b4367f83fa490d53291de22ef19ae
MIT
[]
zeta-h123:H1
false
null
Let q be prime and d, k be nonnegative integers. A tuple (k_0,...,k_d) of nonnegative integers is admissible if k = ∑_{i=0}^d k_i q^i and the addition k_0+⋯+k_d is carry-free in base q (at every digit position, the digits of the k_i sum to at most q−1). For 0 ≤ i ≤ d, let b(i,d) = −(q^{i+1}+q^{i+2}+⋯+q^d + i·q^i) (the ...
null
The claim is a single declarative statement that the maximum is attained at exactly one admissible tuple; there is no separable formula or result to prompt for without revealing the conclusion.
open Finset /-- The `n`-th digit of `x` in base `q`, i.e. `a_{i,n}` for `x = ∑_n a_{i,n} q^n`. -/ def digit (q x n : ℕ) : ℕ := (x / q ^ n) % q /-- The coefficient `b(i,d)`. The geometric sum `∑_{j=i+1}^d q^j` equals the integer `(q^(d+1) - q^(i+1))/(q-1)`, so this matches the informal definition exactly. -/ def bCoef...
section open Finset /-- The `n`-th digit of `x` in base `q`, i.e. `a_{i,n}` for `x = ∑_n a_{i,n} q^n`. -/ def digit (q x n : ℕ) : ℕ := (x / q ^ n) % q /-- The coefficient `b(i,d)`. The geometric sum `∑_{j=i+1}^d q^j` equals the integer `(q^(d+1) - q^(i+1))/(q-1)`, so this matches the informal definition exactly. -/ d...
import Mathlib /- # Problem Description Throughout, fix a prime `q` and nonnegative integers `d ≥ 0` and `k ≥ 0`. ## Definition 1 (The coefficient `b(i,d)`). For each integer `i` with `0 ≤ i ≤ d`, define `b(i,d) := -((q^(d+1) - q^(i+1))/(q-1) + i * q^i)`. Here `(q^(d+1) - q^(i+1))/(q-1) = q^(i+1) + q^(i+2) + ... +...
[ "main_theorem" ]
https://github.com/AxiomMath/zeta-h123
9a8b527bfc5a3131e1466f9a380bfcd10c80f3a8
MIT
[]
zeta-h123:H2
true
Let q be prime. For integers r ≥ 1 and t > 0, define s_r(t) = rt + min(m_1+2m_2+⋯+rm_r), where the minimum is taken over tuples (m_1,...,m_r) of positive multiples of q−1 such that (t−1, m_1,...,m_r) adds without carries in base q. Fix integers d > 1 and k > 0. Let J be the set of nonnegative integers j with (q−1) ∣ j ...
Let q be prime. For integers r ≥ 1 and t > 0, define s_r(t) = rt + min(m_1+2m_2+⋯+rm_r), where the minimum is taken over tuples (m_1,...,m_r) of positive multiples of q−1 such that (t−1, m_1,...,m_r) adds without carries in base q. Fix integers d > 1 and k > 0. Let J be the set of nonnegative integers j with (q−1) ∣ j ...
0 belongs to J, and F(0) < F(j) for every j ∈ J with j > 0 — so F attains its minimum over J uniquely at j = 0.
null
/-- The `e`-th base-`q` digit of `x` (returns `0` for positions beyond the representation, matching the convention `x_e = 0` for large `e`). -/ def qdigit (q x e : ℕ) : ℕ := (Nat.digits q x).getD e 0 /-- A finite list of nonnegative integers `xs` *adds without carries in base `q`* if at every digit position `e` the ba...
section /-- The `e`-th base-`q` digit of `x` (returns `0` for positions beyond the representation, matching the convention `x_e = 0` for large `e`). -/ def qdigit (q x e : ℕ) : ℕ := (Nat.digits q x).getD e 0 /-- A finite list of nonnegative integers `xs` *adds without carries in base `q`* if at every digit position `e...
import Mathlib /- # Problem Description Throughout, fix a prime `q`. All "digit" and "carry" conditions below are taken in base `q`. ## Definition 1 (Base-`q` digits). Every nonnegative integer `x` has a unique base-`q` representation `x = ∑_{e ≥ 0} x_e q^e`, with `0 ≤ x_e ≤ q-1` and `x_e = 0` for all sufficiently l...
[ "main_zero_mem", "main" ]
https://github.com/AxiomMath/zeta-h123
9a8b527bfc5a3131e1466f9a380bfcd10c80f3a8
MIT
[]