Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedSession-authored (Fable 5 assisted)precheck passjudge pass (z-ai/glm-5.2)verified 2026-07-26 (claude-opus-5)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Weighted AM-GM inequality with rational weights

Statement

Let nNn \in \mathbb{N} with n1n \ge 1, let x0,,xn1Rx_0, \dots, x_{n-1} \in \mathbb{R} with xk>0x_k > 0, and let w0,,wn1Qw_0, \dots, w_{n-1} \in \mathbb{Q} be rational weights with wk0w_k \ge 0 (Order on the rationals) whose images under the canonical embedding ι:QR\iota : \mathbb{Q} \to \mathbb{R} (The unique embedding of ℚ into an ordered field) satisfy k<nι(wk)=1\sum_{k<n} \iota(w_k) = 1. Then

k<nxkwk    k<nι(wk)xk,\prod_{k<n} x_k^{\,w_k} \;\le\; \sum_{k<n} \iota(w_k)\, x_k,

where xkwkx_k^{\,w_k} is the rational power of Rational powers ara^r of a positive base.

Both sums are sums in R\mathbb{R}, and that is not a detail. This library defines k<n\sum_{k<n} only for a sequence NR\mathbb{N} \to \mathbb{R} (Finite sums and finite products, by recursion); there is no finite sum of rationals and none is used here. The weights are therefore summed after being carried into R\mathbb{R} by ι\iota, and no step below sums anything outside R\mathbb{R}. Nothing is lost by this reading, because ι\iota is an injective field homomorphism: for n=2n = 2 the hypothesis ι(w0)+ι(w1)=1\iota(w_0) + \iota(w_1) = 1 is exactly w0+w1=1w_0 + w_1 = 1 in Q\mathbb{Q}, and the conclusion reads x0w0x1w1ι(w0)x0+ι(w1)x1x_0^{\,w_0} x_1^{\,w_1} \le \iota(w_0) x_0 + \iota(w_1) x_1. Below, ι\iota is kept visible wherever a rational is being used as a real; elsewhere the page follows the usual convention of writing ww for ι(w)\iota(w) (Finite sums and finite products, by recursion).

Why the weights are rational. The restriction is not laziness and it cannot be relaxed here. For a real weight ww the symbol xwx^{w} has no meaning in this library at all: Rational powers ara^r of a positive base defines xrx^{r} only for rQr \in \mathbb{Q}, and every proof on this page is a finite chain of field operations together with the least-upper-bound property. Real exponents require the exponential function and its inverse, which are built much later and by different means; the closing remark of this page records the situation in full. Taking n=2n = 2 and w0=w1=1/2w_0 = w_1 = 1/2 recovers the two-term case x0x1(x0+x1)/2\sqrt{x_0 x_1} \le (x_0 + x_1)/2 of The arithmetic mean, geometric mean inequality.

Facts & Assumptions

Given: A natural n1n \ge 1, reals x0,,xn1>0x_0, \dots, x_{n-1} > 0, and rationals w0,,wn10w_0, \dots, w_{n-1} \ge 0 with k<nι(wk)=1\sum_{k<n} \iota(w_k) = 1, a sum in R\mathbb{R}.

[L1]

AM-GM (The arithmetic mean, geometric mean inequality): for c0,,cN10c_0, \dots, c_{N-1} \ge 0 with N1N \ge 1, (i<Nci)1/N1Ni<Nci\big(\prod_{i<N} c_i\big)^{1/N} \le \frac{1}{N}\sum_{i<N} c_i.

[L2]

Finite sums and products, defined ONLY for sequences NR\mathbb{N} \to \mathbb{R} (Finite sums and finite products, by recursion, Laws of finite sums and finite products): the recursion clauses k<0ak=0\sum_{k<0} a_k = 0 and k<j+1ak=k<jak+aj\sum_{k<j+1} a_k = \sum_{k<j} a_k + a_j; splitting of sums and products at any index mmm \le m', k<mak=k<mak+k=mm1ak\sum_{k<m'} a_k = \sum_{k<m} a_k + \sum_{k=m}^{m'-1} a_k, where the tail k=mm1ak\sum_{k=m}^{m'-1} a_k is by definition the shifted sum t<mmam+t\sum_{t<m'-m} a_{m+t} (Finite sums and finite products, by recursion), and likewise for products; scaling k<mλak=λk<mak\sum_{k<m} \lambda a_k = \lambda \sum_{k<m} a_k; and the constant sum i<mλ=ι(m)λ\sum_{i<m}\lambda = \iota(m)\lambda. Every \sum and \prod written below is therefore a sum or product in R\mathbb{R}.

[L3]

Constant product: i<mλ=λm\prod_{i<m}\lambda = \lambda^{m}, by induction on mm from the recursion clauses i<m+1λ=(i<mλ)λ\prod_{i<m+1}\lambda = \big(\prod_{i<m}\lambda\big)\lambda and λm+1=λmλ\lambda^{m+1} = \lambda^{m}\lambda, with both sides equal to 11 at m=0m = 0 (Finite sums and finite products, by recursion, Integer powers ama^m, The principle of mathematical induction).

[L4]

Rational power laws (Laws of rational exponents, Rational powers ara^r of a positive base, Existence and uniqueness of nn-th roots: a unique a1/n0a^{1/n} \ge 0 with (a1/n)n=a(a^{1/n})^n = a): for u,v>0u, v > 0 and rationals r,sr, s: ur>0u^{r} > 0, (uv)r=urvr(uv)^{r} = u^{r}v^{r} (hence, by induction on the number of factors, (j<nuj)r=j<nujr\big(\prod_{j<n} u_j\big)^{r} = \prod_{j<n} u_j^{\,r}, using also the constant product for the empty case), and (ur)s=urs\big(u^{r}\big)^{s} = u^{rs}.

[L5]

Rational arithmetic, the order on Q\mathbb{Q} and the embedding (Every rational has a positive-denominator representative, The rationals as equivalence classes of pairs of integers, Arithmetic on the rationals, Order on the rationals, The unique embedding of ℚ into an ordered field, Canonical naturals are positive and strictly increasing): on a representative with positive denominator, m/N0m/N \ge 0 holds exactly when m0m \ge 0 in Z\mathbb{Z} (Order on the rationals, with the order on Z\mathbb{Z} as in Order on the integers); a nonnegative integer is the image of a unique natural and a positive integer the image of a unique natural 1\ge 1 (The naturals embed in the integers), which is the step that licenses reading such an mm, and such a denominator, as a natural number; every single rational has a representative with positive denominator (Every rational has a positive-denominator representative states exactly this, for one rational; the passage to a common denominator for finitely many is NOT quoted from it and is carried out by the induction inside step 1.1); ι:QR\iota : \mathbb{Q} \to \mathbb{R} is an injective order-preserving field homomorphism, so ι(0)=0\iota(0) = 0, ι(u+v)=ι(u)+ι(v)\iota(u + v) = \iota(u) + \iota(v) and ι(uv)=ι(u)ι(v)\iota(uv) = \iota(u)\iota(v); on an integer ι\iota is mm1Rm \mapsto m \cdot 1_\mathbb{R}, with ι(m)>0\iota(m) > 0 for a natural m1m \ge 1 and mι(m)m \mapsto \iota(m) injective on {1,2,}\{1, 2, \dots\}, hence injective on all of N\mathbb{N} since ι(0)=0<ι(m)\iota(0) = 0 < \iota(m) there.

[L6]

Induction principle (The principle of mathematical induction), used for the routine inductions on the number of terms below, and the recursion theorem (The recursion theorem), which is what defines a function on N\mathbb{N} by a recursion clause.

Proof

technique · direct
1.1

Common denominator, by an induction written out rather than asserted. The claim at jj is: any rationals v0,,vj1v_0, \dots, v_{j-1} admit a natural N1N \ge 1 and integers p0,,pj1p_0, \dots, p_{j-1} with vk=pk/Nv_k = p_k/N for every k<jk < j. At j=0j = 0 take N=1N = 1, there being no pkp_k to produce. Assume the claim at jj and let v0,,vjv_0, \dots, v_j be given: applying it to v0,,vj1v_0, \dots, v_{j-1} yields a natural N1N' \ge 1 and integers pkp'_k with vk=pk/Nv_k = p'_k/N', and vjv_j has a representative vj=a/bv_j = a/b with b>0b > 0, hence with bb a natural 1\ge 1; then N:=NbN := N'b is a natural 1\ge 1, and the integers pk:=pkbp_k := p'_k b for k<jk < j and pj:=aNp_j := a N' satisfy pk/N=(pkb)/(Nb)=pk/N=vkp_k/N = (p'_k b)/(N' b) = p'_k/N' = v_k and pj/N=(aN)/(bN)=a/b=vjp_j/N = (aN')/(bN') = a/b = v_j, since (x,y)(xc,yc)(x, y) \sim (xc, yc) for c0c \ne 0. The claim at j=nj = n, applied to w0,,wn1w_0, \dots, w_{n-1}, fixes a natural N1N \ge 1 and integers m0,,mn1m_0, \dots, m_{n-1} with wk=mk/Nw_k = m_k/N. Finally each mkm_k is a natural: wk0w_k \ge 0 read on the positive-denominator representative mk/Nm_k/N gives mk0m_k \ge 0 in Z\mathbb{Z}, and a nonnegative integer is the image of a unique natural.

L5L6
2.1

The numerators sum to ι(N)\iota(N) in R\mathbb{R}: applying scaling to the real sequence kι(wk)k \mapsto \iota(w_k) multiplies the hypothesis k<nι(wk)=1\sum_{k<n} \iota(w_k) = 1 by ι(N)\iota(N) to give k<nι(N)ι(wk)=ι(N)\sum_{k<n} \iota(N)\iota(w_k) = \iota(N), and ι(N)ι(wk)=ι(Nwk)=ι(mk)\iota(N)\iota(w_k) = \iota(N w_k) = \iota(m_k) since ι\iota is multiplicative and Nwk=mkN w_k = m_k in Q\mathbb{Q}, so k<nι(mk)=ι(N)\sum_{k<n} \iota(m_k) = \iota(N).

step 1.1L2L5
2.2

The partial sums of the numerators, inside N\mathbb{N}: define M:NNM : \mathbb{N} \to \mathbb{N} by recursion, M0:=0M_0 := 0 and Mj+1:=Mj+mjM_{j+1} := M_j + m_j for j<nj < n (and Mj+1:=MjM_{j+1} := M_j for jnj \ge n), so each MjM_j is a natural number and MjMj+1M_j \le M_{j+1}; then ι(Mj)=k<jι(mk)\iota(M_j) = \sum_{k<j} \iota(m_k) for every jnj \le n, by induction on jj, since ι(M0)=ι(0)=0=k<0ι(mk)\iota(M_0) = \iota(0) = 0 = \sum_{k<0} \iota(m_k) and ι(Mj+1)=ι(Mj)+ι(mj)=k<jι(mk)+ι(mj)=k<j+1ι(mk)\iota(M_{j+1}) = \iota(M_j) + \iota(m_j) = \sum_{k<j} \iota(m_k) + \iota(m_j) = \sum_{k<j+1} \iota(m_k) by additivity of ι\iota and the recursion clause for finite sums.

step 1.1L2L5L6construct
3.1

Hence Mn=NM_n = N, an identity between natural numbers: steps 2.1 and 2.2 give ι(Mn)=k<nι(mk)=ι(N)\iota(M_n) = \sum_{k<n} \iota(m_k) = \iota(N), and mι(m)m \mapsto \iota(m) is injective on N\mathbb{N}.

step 2.1step 2.2L5
4.1

The expanded list: define c:NRc : \mathbb{N} \to \mathbb{R} by ci:=xjc_i := x_j whenever Mji<Mj+1M_j \le i < M_{j+1} for some j<nj < n, and ci:=1c_i := 1 for iNi \ge N; this covers every iNi \in \mathbb{N} exactly once, because the blocks [Mj,Mj+1)[M_j, M_{j+1}) for j<nj < n partition [0,Mn)=[0,N)[0, M_n) = [0, N) by step 3.1, and every cic_i with i<Ni < N is positive since each xj>0x_j > 0.

step 1.1step 2.2step 3.1L5construct
5.1

Its sum and product, by a second induction written out rather than asserted. The claim at jnj \le n is i<Mjci=k<jι(mk)xk\sum_{i<M_j} c_i = \sum_{k<j} \iota(m_k) x_k and i<Mjci=k<jxkmk\prod_{i<M_j} c_i = \prod_{k<j} x_k^{\,m_k}. At j=0j = 0 we have M0=0M_0 = 0 and all four expressions are the empty sum 00 or the empty product 11. Assume the claim at j<nj < n. Since MjMj+1M_j \le M_{j+1}, splitting gives i<Mj+1ci=i<Mjci+i=MjMj+11ci\sum_{i<M_{j+1}} c_i = \sum_{i<M_j} c_i + \sum_{i=M_j}^{M_{j+1}-1} c_i, and the tail is by definition t<mjcMj+t\sum_{t<m_j} c_{M_j+t}, since Mj+1Mj=mjM_{j+1} - M_j = m_j; every one of its terms equals xjx_j, because MjMj+t<Mj+1M_j \le M_j + t < M_{j+1} for t<mjt < m_j, so the constant sum evaluates it as ι(mj)xj\iota(m_j)x_j, and therefore i<Mj+1ci=k<jι(mk)xk+ι(mj)xj=k<j+1ι(mk)xk\sum_{i<M_{j+1}} c_i = \sum_{k<j} \iota(m_k)x_k + \iota(m_j)x_j = \sum_{k<j+1} \iota(m_k)x_k by the recursion clause for finite sums. The same computation with products in place of sums, the constant product in place of the constant sum, gives i<Mj+1ci=(k<jxkmk)xjmj=k<j+1xkmk\prod_{i<M_{j+1}} c_i = \big(\prod_{k<j} x_k^{\,m_k}\big) x_j^{\,m_j} = \prod_{k<j+1} x_k^{\,m_k}. At j=nj = n, where Mn=NM_n = N by step 3.1, this reads i<Nci=j<nι(mj)xj\sum_{i<N} c_i = \sum_{j<n} \iota(m_j) x_j and i<Nci=j<nxjmj\prod_{i<N} c_i = \prod_{j<n} x_j^{\,m_j}.

step 3.1step 4.1L2L3L6
6.1

Applying AM-GM to c0,,cN1c_0, \dots, c_{N-1} and substituting: (j<nxjmj)1/N=(i<Nci)1/N1Ni<Nci=ι(N)1j<nι(mj)xj=j<nι(wj)xj\Big(\prod_{j<n} x_j^{\,m_j}\Big)^{1/N} = \Big(\prod_{i<N} c_i\Big)^{1/N} \le \frac{1}{N}\sum_{i<N} c_i = \iota(N)^{-1}\sum_{j<n} \iota(m_j) x_j = \sum_{j<n} \iota(w_j) x_j, the last equality by scaling together with ι(N)1ι(mj)=ι(mj/N)=ι(wj)\iota(N)^{-1}\iota(m_j) = \iota(m_j/N) = \iota(w_j).

step 4.1step 5.1L1L2L5
6.2

Rewriting the left-hand side with the rational power laws: (j<nxjmj)1/N=j<n(xjmj)1/N=j<nxjmj/N=j<nxjwj\Big(\prod_{j<n} x_j^{\,m_j}\Big)^{1/N} = \prod_{j<n} \Big(x_j^{\,m_j}\Big)^{1/N} = \prod_{j<n} x_j^{\,m_j/N} = \prod_{j<n} x_j^{\,w_j}, each xjmjx_j^{\,m_j} being positive.

step 5.1L4L6
7.1

Combining the two displays gives j<nxjwjj<nι(wj)xj\prod_{j<n} x_j^{\,w_j} \le \sum_{j<n} \iota(w_j) x_j, which is the assertion.

step 6.1step 6.2

Depends on

Used by

Dependency tree · next 3 levels

Direct dependencies and their dependencies through the next three levels: 82 results over 28 levels. An arrow runs from a result to what uses it, and this result sits at the bottom with a heavier outline. Click the chart to enlarge it.

Sources