Semantic Mathlib search

Describe the result you need.

Search 310,579 declarations by meaning, plus 10,000 selected theorems with exact statements and source links from a separate pinned Mathlib revision.

Pinned Mathlib source

0 exact-source matches

10,000 complete declarations

No declaration in the selected source-complete catalog matched every term. Semantic results may still match below.

These records preserve the complete declaration, pinned commit, exact source range, and Apache-2.0 license. They do not infer individual authorship or independent verification.

Mathlib v4.28.0-rc1

5 semantic matches

Open in LeanSearch

Result 1 · theorem

Finset.sum_mul_sq_le_sq_mul_sq

Mathlib.Algebra.Order.BigOperators.Ring.Finset

Mathlib docs

What it says

Cauchy-Schwarz Inequality for Finite Sums in Ordered Commutative Semirings

In any linearly ordered commutative semiring R R equipped with an additive structure compatible with its order and satisfying the strict ordered ring properties, for any finite set s s and functions f,g:ιR f, g : \iota \to R , the square of the sum of the products f(i)g(i) f(i)g(i) over s s is less than or equal to the product of the sums of the squares of f(i) f(i) and g(i) g(i) over s s . Formally,

(isf(i)g(i))2(isf(i)2)(isg(i)2). \left( \sum_{i \in s} f(i)g(i) \right)^2 \leq \left( \sum_{i \in s} f(i)^2 \right) \left( \sum_{i \in s} g(i)^2 \right).

Result 2 · theorem

Real.sum_mul_le_sqrt_mul_sqrt

Mathlib.Data.Real.Sqrt

Mathlib docs

What it says

Cauchy-Schwarz Inequality for Finite Sums

For any finite set s s of indices ι \iota and functions f,g:ιR f, g : \iota \to \mathbb{R} , the inequality isf(i)g(i)is[f(i)]2is[g(i)]2 \sum_{i \in s} f(i) \cdot g(i) \leq \sqrt{\sum_{i \in s} [f(i)]^2} \cdot \sqrt{\sum_{i \in s} [g(i)]^2} holds.

Result 3 · theorem

Finset.sum_sq_le_sum_mul_sum_of_sq_eq_mul

Mathlib.Algebra.Order.BigOperators.Ring.Finset

Mathlib docs

What it says

Cauchy-Schwarz Inequality for Sums in Ordered Commutative Semirings

For a finite set ss and non-negative functions f,gf,g over ss in an ordered commutative semiring RR, if ri2=figir_i^2 = f_i g_i for all isi \in s, then (isri)2(isfi)(isgi)\left(\sum_{i \in s} r_i\right)^2 \leq \left(\sum_{i \in s} f_i\right) \cdot \left(\sum_{i \in s} g_i\right).

Result 4 · theorem

NNReal.sum_mul_le_sqrt_mul_sqrt

Mathlib.Data.Real.Sqrt

Mathlib docs

What it says

Cauchy-Schwarz Inequality for Non-negative Real Numbers

For any finite set ss of indices ι\iota and functions f,g:ιR0f, g : \iota \to \mathbb{R}_{\geq 0}, the inequality isf(i)g(i)isf(i)2isg(i)2\sum_{i \in s} f(i)g(i) \leq \sqrt{\sum_{i \in s} f(i)^2} \cdot \sqrt{\sum_{i \in s} g(i)^2} holds, where the square roots denote the principal non-negative square roots defined on R0\mathbb{R}_{\geq 0}.

Result 5 · theorem

Real.sum_sqrt_mul_sqrt_le

Mathlib.Data.Real.Sqrt

Mathlib docs

What it says

Cauchy-Schwarz Inequality for Sums of Square Roots of Non-Negative Functions

For any finite set s s and non-negative real-valued functions f f and g g defined on s s , the inequality isf(i)g(i)isf(i)isg(i) \sum_{i \in s} \sqrt{f(i)} \cdot \sqrt{g(i)} \leq \sqrt{\sum_{i \in s} f(i)} \cdot \sqrt{\sum_{i \in s} g(i)} holds.

These are federated discovery results from a published Apache-2.0 corpus. They are not Therefore proof records, independent rebuilds, axiom audits, or authorship claims.