Back to the NPA overview We're still working on this language version
Declaration
norm_sq_sub_of_perp
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 (h : @PerpVec.{u,v} Scalar zero Vector inner x y), @Eq.{u} Scalar (@normSq.{u,v} Scalar Vector inner (@vsub.{v} Vector vadd vneg x y)) (add (@normSq.{u,v} Scalar Vector inner x) (@normSq.{u,v} Scalar Vector inner y))), forall (x : Vector), forall (y : Vector), forall (h : @PerpVec.{u,v} Scalar zero Vector inner x y), @Eq.{u} Scalar (@normSq.{u,v} Scalar Vector inner (@vsub.{v} Vector vadd vneg x y)) (add (@normSq.{u,v} Scalar Vector inner x) (@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 h => law x y h
Constants
Mathlib.LinearAlgebra.InnerProduct.PerpVec
Interface hash: sha256:796ab5d5714e4a2dd8941457526893e3762ecc243ded58754157f436fd8cc4d1
Mathlib.LinearAlgebra.InnerProduct.normSq
Interface hash: sha256:7deaed46931ec95104c267813d7a6d08bcbd8862a9ff3343231aed7fdab60b04
Mathlib.LinearAlgebra.VectorSpace.vsub
Interface hash: sha256:e826af1f5142da67de6ab147768fa142fbb292d95621ea8cd228fa58b8c9e099
Std.Logic.Eq.Eq
Interface hash: sha256:ca4f8520fd678a809c3ebf0bc7fa38d3063ca4d231e79d567de888685449a015