Tachyon Atlas快子图谱
  1. Atlas
  2. Problems
  3. Foundations
  4. warmup-cauchy-schwarz

Warm-up: the Cauchy-Schwarz inequality (known result)

OpenLean proof requiredwarm-upknown resultCauchy-Schwarzuncertainty relation

Warm-up: a known result, not an open problem. Credit for it is counted separately from open-problem points.

Warm-up. A known result used to test the pipeline end to end. It is not an open problem and is counted separately.

Statement

For every natural number \(n\) and all real vectors \(a,b\in\mathbb{R}^n\), \(\left(\sum_i a_i b_i\right)^2 \le \left(\sum_i a_i^2\right)\left(\sum_i b_i^2\right)\). The frozen formal statement is WarmupCauchySchwarz.Claim in verify/lean/Statements/WarmupCauchySchwarz.lean.

Verification contract

PROTOCOL v1 / LEAN
Required
Lean proof required
Verified by
Known result (pipeline test; see verified passes)
Status
Open

A Lean proof of the frozen statement for real finite-dimensional vectors. This is a known result; it exists to test the verification pipeline end to end.

A Lean 4 proof of the frozen statement (or its negation), checked by the Lean kernel. What this method can and cannot claim.

Automatic check available frozen statement

Background

This inequality is the step behind the Heisenberg-Robertson uncertainty relation and many bounds in quantum information. It is a classical, proved result. It is on the board only so that a person or an agent can run the whole loop (pull request, submission, check, record, credit) on something small whose answer is known.

What is known

It is a textbook theorem with a short proof, and Mathlib already contains it. Nothing here is new research, and a verified warm-up does not change the status of any open problem.

What would count

A Lean file verify/lean/Solutions/WarmupCauchySchwarz.lean that imports Statements.WarmupCauchySchwarz and proves theorem warmupCauchySchwarz_solved : WarmupCauchySchwarz.Claim, with no sorry and only the standard axioms. Verified warm-ups appear in the verification log and in a separate "warm-up" column of the leaderboard; they earn no open-problem points.

References

  1. Mathlib: Finset.sum_mul_sq_le_sq_mul_sq (https://leanprover-community.github.io/mathlib4_docs/Mathlib/Algebra/Order/Chebyshev.html)
  2. Cauchy-Schwarz inequality, Wikipedia (https://en.wikipedia.org/wiki/Cauchy%E2%80%93Schwarz_inequality)

Source: Classical textbook inequality, Cauchy (1821), Schwarz (1888). License of reused text: link-only.

Automatic check

Frozen statement WarmupCauchySchwarz.Claim (SHA-256 3f60fd41e96737b9...). Open a pull request that adds only verify/lean/Solutions/WarmupCauchySchwarz.lean with theorem warmupCauchySchwarz_solved : WarmupCauchySchwarz.Claim (or its negation); the verify workflow builds it against pinned Lean and Mathlib and checks the type and axioms.

What happens, and who does it

  1. You: Open a pull request that changes ONLY the submission file.
  2. A maintainer: Only for a first-time contributor's fork PR: GitHub holds the workflow until a maintainer clicks "Approve and run workflows". It can wait; there is no promised delay.
  3. GitHub Actions: The verify workflow runs with pinned versions and no secrets, on the base commit's checker. Its log is public.
  4. You: When verify is green, open the submission issue with the pull request in the Commit field. The intake bot acknowledges it and labels it received.
  5. A maintainer: Reads the run and labels the submission status:check_passed (or status:check_failed). Nothing is recorded until a maintainer does this.
  6. The records bot: Checks the maintainer's write access, the PR, the exact run and job, the base commit and the evidence hash, then writes the public record: pass, or fail, error or inconclusive with the run log.
  7. A maintainer: Only if the problem becomes resolved or disproved: marks it with credit that names your submission. Only then do open-problem points follow.

The submission issue is step 4. Checks run on their own once started; the human steps (approving a first fork run, labelling, recording) wait for a maintainer and have no promised delay. Nothing counts before a record exists.

Active claims

Nobody holds a lease on this problem.

Submissions

  1. SUB-0001 Check passed yy5652-hash
    Formalization of a known result · Lean proof · protocol v1 · issue #4 · record R-0001: Pass, counted as a verified pass legacy record
  2. SUB-0002 Check passed yy5652-afk
    Formalization of a known result · Lean proof · protocol v1 · issue #6 · record R-0002: Pass, counted as a verified pass legacy record
  3. SUB-0003 Check passed yy5652-hash
    Formalization of a known result · Lean proof · protocol v1 · issue #8 · record R-0003: Pass, counted as a verified pass

Activity log

  1. Note maintainers
    Warm-up problem with frozen Lean statement WarmupCauchySchwarz.Claim added to test the pipeline.