Declaration
law_of_cosines_sq_from_law_packages
Mathlib.Geometry.Pythagorean
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 (PointCarrier : Sort p), forall (disp_op : forall (A : PointCarrier), forall (B : PointCarrier), Vector), forall (ring_args : @RingLawArgs.{u} Scalar zero one add neg sub mul), forall (vector_args : @VectorSpaceLawArgs.{u,v} Scalar zero one add neg sub mul Vector vzero vadd vneg smul), forall (inner_args : @InnerProductLawArgs.{u,v} Scalar zero one add neg sub mul le_rel Vector vzero vadd vneg smul inner), forall (affine_args : @AffineLawArgs.{p,u,v} Scalar zero one add neg sub mul le_rel Vector vzero vadd vneg smul inner PointCarrier disp_op), forall (A : PointCarrier), forall (B : PointCarrier), forall (C : PointCarrier), @Eq.{u} Scalar (@distSqPoints.{p,u,v} Scalar Vector inner PointCarrier disp_op B C) (sub (add (@distSqPoints.{p,u,v} Scalar Vector inner PointCarrier disp_op A B) (@distSqPoints.{p,u,v} Scalar Vector inner PointCarrier disp_op A C)) (mul (@two.{u} Scalar one add) (@dot.{u,v} Scalar Vector inner (@disp.{p,v} PointCarrier Vector disp_op A B) (@disp.{p,v} PointCarrier Vector disp_op A C))))
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 PointCarrier => fun disp_op => fun ring_args => fun vector_args => fun inner_args => fun affine_args => fun A => fun B => fun C => @dist_sq_law_of_cosines_rhs_from_law_packages.{p,u,v} Scalar zero one add neg sub mul le_rel Vector vzero vadd vneg smul inner PointCarrier disp_op ring_args inner_args affine_args A B C
Constants
Mathlib.Algebra.Ring.Basic.RingLawArgs
Interface hash: sha256:456107df4dbed059c89d328bcf94eef13770b88f637bdf225bb9c3cf0005a2f5
Mathlib.Algebra.Ring.Basic.two
Interface hash: sha256:e758fa832956e3fac452cde06870eca57616a598516f7a0f8b1f627b447ee11e
Mathlib.Geometry.Affine.AffineLawArgs
Interface hash: sha256:5784cd602124756681dcc1321cbc9250895d42148da52ee028142c4fa9fcfd17
Mathlib.Geometry.Affine.disp
Interface hash: sha256:0cb7627a80270a6e2d271580406e4ff4a0dac01affd7c53104ccb02f5471b1e7
Mathlib.Geometry.Affine.distSqPoints
Interface hash: sha256:152d4713ed75cf7a6ba0207cd93a8386aeb981232922aa806b3e33704c0aec91
Mathlib.LinearAlgebra.InnerProduct.InnerProductLawArgs
Interface hash: sha256:9f49181dbd7b368e5a936694909c4757c4c4213ad937bc6af94ce70ba83ecee5
Mathlib.LinearAlgebra.InnerProduct.dot
Interface hash: sha256:42709ed47ded7709663b1284ca176854552d1753213c6db7db53cd50b1cc882d
Mathlib.LinearAlgebra.VectorSpace.VectorSpaceLawArgs
Interface hash: sha256:116b69a01c67c87d083a5179e27c8f88d2ad993d3f9eee7a04efeda926bbd074
Std.Logic.Eq.Eq
Interface hash: sha256:ca4f8520fd678a809c3ebf0bc7fa38d3063ca4d231e79d567de888685449a015