Back to the NPA overview We're still working on this language version
Declaration
quadratic_norm_nonneg
Mathlib.LinearAlgebra.InnerProduct
Packages
2
Modules
63
Theorems
750
Declarations
1016
Reference material
Read the source and notes to understand the proof. To verify it, use the official certificate data and the checker’s result.
Statement
forall (Scalar : Sort u), forall (zero : Scalar), forall (one : Scalar), forall (add : forall (a : Scalar), forall (b : Scalar), Scalar), forall (neg : forall (a : Scalar), Scalar), forall (sub : forall (a : Scalar), forall (b : Scalar), Scalar), forall (mul : forall (a : Scalar), forall (b : Scalar), Scalar), forall (le_rel : forall (a : Scalar), forall (b : Scalar), Prop), forall (Vector : Sort v), forall (vzero : Vector), forall (vadd : forall (x : Vector), forall (y : Vector), Vector), forall (vneg : forall (x : Vector), Vector), forall (smul : forall (a : Scalar), forall (x : Vector), Vector), forall (inner : forall (x : Vector), forall (y : Vector), Scalar), forall (law : forall (x : Vector), forall (y : Vector), forall (t : Scalar), le_rel zero (add (add (mul (@normSq.{u,v} Scalar Vector inner x) (@sq.{u} Scalar mul t)) (mul (mul (@two.{u} Scalar one add) (@dot.{u,v} Scalar Vector inner x y)) t)) (@normSq.{u,v} Scalar Vector inner y))), forall (x : Vector), forall (y : Vector), forall (t : Scalar), le_rel zero (add (add (mul (@normSq.{u,v} Scalar Vector inner x) (@sq.{u} Scalar mul t)) (mul (mul (@two.{u} Scalar one add) (@dot.{u,v} Scalar Vector inner x y)) t)) (@normSq.{u,v} Scalar Vector inner y))
Proof term
fun Scalar => fun zero => fun one => fun add => fun neg => fun sub => fun mul => fun le_rel => fun Vector => fun vzero => fun vadd => fun vneg => fun smul => fun inner => fun law => fun x => fun y => fun t => law x y t
Constants
Mathlib.Algebra.Ring.Basic.sq
Interface hash: sha256:bfbb0c65b49056ee9dc7c379fa12557f00e89e81c05a52231423575bf807326c
Mathlib.Algebra.Ring.Basic.two
Interface hash: sha256:e758fa832956e3fac452cde06870eca57616a598516f7a0f8b1f627b447ee11e
Mathlib.LinearAlgebra.InnerProduct.dot
Interface hash: sha256:42709ed47ded7709663b1284ca176854552d1753213c6db7db53cd50b1cc882d
Mathlib.LinearAlgebra.InnerProduct.normSq
Interface hash: sha256:7deaed46931ec95104c267813d7a6d08bcbd8862a9ff3343231aed7fdab60b04