Alphabeta Math
TheoremStatement: AI-adaptedProof: AI-adaptedprecheck pass
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 n∈N with n≥1, let x0,…,xn−1∈R with xk>0, and let w0,…,wn−1∈Q be rational weights with wk≥0 (Order on the rationals) whose images under the canonical embedding ι:Q→R (The unique embedding of ℚ into an ordered field), written with the same symbols wk in field arithmetic, satisfy ∑k<nwk=1. Then

∏k<nxk wk  ≤  ∑k<nwk xk,

where xk wk is the rational power of Rational powers ar of a positive base.

Both sums are sums in R, and that is not a detail. This library defines ∑k<n only for a sequence N→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 by ι, and no step below sums anything outside R. Nothing is lost by this reading, because ι is an injective field homomorphism: for n=2 the field equality w0+w1=1 is equivalent by injectivity to the same equality in Q, and the conclusion reads x0 w0x1 w1≤w0x0+w1x1. Throughout the statement and proof, a rational used as a field coefficient or a summand denotes its image under the bare inclusion ι (Finite sums and finite products, by recursion); a rational used as an exponent retains its original rational type. Natural list lengths and index bounds also retain their natural type.

Why the weights are rational. This theorem uses the rational powers of Rational powers ar of a positive base, which are the powers available at this point in the reading order. Arbitrary real weights are outside this theorem's scope; real powers for positive bases are defined later through the exponential and logarithm in the later definition of real powers. That later construction is the library's chosen development, rather than a logical necessity for defining real powers or proving their laws, as the closing remark of this page explains. Taking n=2 and w0=w1=1/2 recovers the two-term case x0x1≤(x0+x1)/2 of The arithmetic mean, geometric mean inequality.

Facts & Assumptions

Given: A natural n≥1, reals x0,…,xn−1>0, and rationals w0,…,wn−1≥0 with ∑k<nwk=1, a sum in R.

[L1]

AM-GM (The arithmetic mean, geometric mean inequality): for c0,…,cN−1≥0 with N≥1, (∏i<Nci)1/N≤1N∑i<Nci.

[L2]

Finite sums and products, defined ONLY for sequences N→R (Finite sums and finite products, by recursion, Laws of finite sums and finite products): the recursion clauses ∑k<0ak=0 and ∑k<j+1ak=∑k<jak+aj; splitting of sums and products at any index m≤m′, ∑k<m′ak=∑k<mak+∑k=mm′−1ak, where the tail ∑k=mm′−1ak is by definition the shifted sum ∑t<m′−mam+t (Finite sums and finite products, by recursion), and likewise for products; scaling ∑k<mλak=λ∑k<mak; and the constant sum ∑i<mλ=mλ. Every ∑ and ∏ written below is therefore a sum or product in R.

[L3]

Constant product: ∏i<mλ=λm, by induction on m from the recursion clauses ∏i<m+1λ=(∏i<mλ)λ and λm+1=λmλ, with both sides equal to 1 at m=0 (Finite sums and finite products, by recursion, Integer powers am, The principle of mathematical induction).

[L4]

Rational power laws (Laws of rational exponents, Rational powers ar of a positive base, Existence and uniqueness of n-th roots: a unique a1/n≥0 with (a1/n)n=a): for u,v>0 and rationals r,s: ur>0, (uv)r=urvr (hence, by induction on the number of factors, (∏j<nuj)r=∏j<nuj r, using also the constant product for the empty case), and (ur)s=urs.

[L5]

Rational arithmetic, the order on 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/N≥0 holds exactly when m≥0 in Z (Order on the rationals, with the order on 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 (The naturals embed in the integers), which is the step that licenses reading such an m, 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); ι:Q→R is an injective order-preserving field homomorphism and therefore preserves zero, addition, products and inverses. Rational symbols in real sums and scalar products below denote their images through this map. On an integer the embedding is m↦m⋅1R; its image is positive for natural m≥1, and this map is injective on all of N, including zero. Injectivity is used to pass from equality of field images to equality of natural numerator sums.

[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 by a recursion clause.

Proof

technique · direct
1.1L5L6

Common denominator, by an induction written out rather than asserted. The claim at j is: any rationals v0,…,vj−1 admit a natural N≥1 and integers p0,…,pj−1 with vk=pk/N for every k<j. At j=0 take N=1, there being no pk to produce. Assume the claim at j and let v0,…,vj be given: applying it to v0,…,vj−1 yields a natural N′≥1 and integers pk′ with vk=pk′/N′, and vj has a representative vj=a/b with b>0, hence with b a natural ≥1; then N:=N′b is a natural ≥1, and the integers pk:=pk′b for k<j and pj:=aN′ satisfy pk/N=(pk′b)/(N′b)=pk′/N′=vk and pj/N=(aN′)/(bN′)=a/b=vj, since (x,y)∼(xc,yc) for c≠0. The claim at j=n, applied to w0,…,wn−1, fixes a natural N≥1 and integers m0,…,mn−1 with wk=mk/N. Finally each mk is a natural: wk≥0 read on the positive-denominator representative mk/N gives mk≥0 in Z, and a nonnegative integer is the image of a unique natural.

2.1step 1.1L2L5

The numerators sum to N in R: applying scaling to the real sequence k↦wk multiplies the hypothesis ∑k<nwk=1 by N to give ∑k<nNwk=N, and Nwk=mk in the field by multiplicativity of the embedding applied to the rational identity Nwk=mk, so ∑k<nmk=N.

2.2step 1.1L2L5L6construct

The partial sums of the numerators, inside N: define M:N→N by recursion, M0:=0 and Mj+1:=Mj+mj for j<n (and Mj+1:=Mj for j≥n), so each Mj is natural and Mj≤Mj+1. Its canonical field image is Mj⋅1R=∑k<jmk for j≤n, the sum being real under the convention in [L5]. Indeed the identity holds at zero; additivity of the embedding gives (Mj+mj)⋅1R=Mj⋅1R+mj⋅1R, and the real finite-sum recursion then gives the successor identity.

3.1step 2.1step 2.2L5

Hence Mn=N as natural numbers: steps 2.1 and 2.2 give Mn⋅1R=∑k<nmk=N⋅1R, and the map m↦m⋅1R is injective on N. This licenses the natural list length N in the next step; it is not an identification of arbitrary reals with indices.

4.1step 1.1step 2.2step 3.1L5construct

The expanded list: define c:N→R by ci:=xj whenever Mj≤i<Mj+1 for some j<n, and ci:=1 for i≥N; this covers every i∈N exactly once, because the blocks [Mj,Mj+1) for j<n partition [0,Mn)=[0,N) by step 3.1, and every ci with i<N is positive since each xj>0.

5.1step 3.1step 4.1L2L3L6

Its sum and product, by a second induction written out rather than asserted. The claim at j≤n is ∑i<Mjci=∑k<jmkxk and ∏i<Mjci=∏k<jxk mk. At j=0 we have M0=0 and all four expressions are the empty sum 0 or the empty product 1. Assume the claim at j<n. Since Mj≤Mj+1, splitting gives ∑i<Mj+1ci=∑i<Mjci+∑i=MjMj+1−1ci, and the tail is by definition ∑t<mjcMj+t, since Mj+1−Mj=mj; every one of its terms equals xj, because Mj≤Mj+t<Mj+1 for t<mj, so the constant sum evaluates it as mjxj, and therefore ∑i<Mj+1ci=∑k<jmkxk+mjxj=∑k<j+1mkxk 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<jxk mk)xj mj=∏k<j+1xk mk. At j=n, where Mn=N by step 3.1, this reads ∑i<Nci=∑j<nmjxj and ∏i<Nci=∏j<nxj mj.

6.1step 4.1step 5.1L1L2L5

Applying AM-GM to c0,…,cN−1 and substituting: (∏j<nxj mj)1/N=(∏i<Nci)1/N≤1N∑i<Nci=N−1∑j<nmjxj=∑j<nwjxj, the last equality by scaling together with N−1mj=(mj/N)=wj.

6.2step 5.1L4L6

Rewriting the left-hand side with the rational power laws: (∏j<nxj mj)1/N=∏j<n(xj mj)1/N=∏j<nxj mj/N=∏j<nxj wj, each xj mj being positive.

7.1step 6.1step 6.2∎

Combining the two displays gives ∏j<nxj wj≤∑j<nwjxj, which is the assertion.

Depends on

Dependency tree · 2 levels

Sources