Real Vector Spaces and the Cauchy-Schwarz Inequality in ACL2(r)
Carl Kwan (University of British Columbia), Mark R. Greenstreet, (University of British Columbia)

TL;DR
This paper provides the first formal proof of the Cauchy-Schwarz inequality in ACL2(r), including formalizations of real vector spaces and applications to metric space continuity, advancing formalized mathematics in theorem proving.
Contribution
It introduces the first published formal proof of the Cauchy-Schwarz inequality in ACL2(r) and formalizes the necessary real vector space mathematics.
Findings
Formal proof of Cauchy-Schwarz inequality in ACL2(r)
Formalization of b R^n as an inner product space
Application to continuity in metric spaces
Abstract
We present a mechanical proof of the Cauchy-Schwarz inequality in ACL2(r) and a formalisation of the necessary mathematics to undertake such a proof. This includes the formalisation of as an inner product space. We also provide an application of Cauchy-Schwarz by formalising as a metric space and exhibiting continuity for some simple functions . The Cauchy-Schwarz inequality relates the magnitude of a vector to its projection (or inner product) with another: \[|\langle u,v\rangle| \leq \|u\| \|v\|\] with equality iff the vectors are linearly dependent. It finds frequent use in many branches of mathematics including linear algebra, real analysis, functional analysis, probability, etc. Indeed, the inequality is considered to be among "The Hundred Greatest Theorems" and is listed in the "Formalizing 100 Theorems" project. To the best of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMathematics and Applications · History and Theory of Mathematics · Mathematical and Theoretical Analysis
