Mathlib v3 is deprecated. Go to Mathlib v4

Commit 2020-11-04 05:43 7ab3ca85

View on Github →

feat(data/quaternion): define quaternions and prove some basic properties (#2339)

Estimated changes

added theorem quaternion.add_im_i
added theorem quaternion.add_im_j
added theorem quaternion.add_im_k
added theorem quaternion.add_re
added theorem quaternion.coe_add
added theorem quaternion.coe_commute
added theorem quaternion.coe_im_i
added theorem quaternion.coe_im_j
added theorem quaternion.coe_im_k
added theorem quaternion.coe_inj
added theorem quaternion.coe_mul
added theorem quaternion.coe_neg
added theorem quaternion.coe_one
added theorem quaternion.coe_re
added theorem quaternion.coe_sub
added theorem quaternion.coe_zero
added def quaternion.conj
added theorem quaternion.conj_add
added theorem quaternion.conj_coe
added theorem quaternion.conj_conj
added theorem quaternion.conj_fixed
added theorem quaternion.conj_im_i
added theorem quaternion.conj_im_j
added theorem quaternion.conj_im_k
added theorem quaternion.conj_mul
added theorem quaternion.conj_neg
added theorem quaternion.conj_one
added theorem quaternion.conj_re
added theorem quaternion.conj_smul
added theorem quaternion.conj_sub
added theorem quaternion.conj_zero
added theorem quaternion.ext
added theorem quaternion.ext_iff
added theorem quaternion.mul_im_i
added theorem quaternion.mul_im_j
added theorem quaternion.mul_im_k
added theorem quaternion.mul_re
added theorem quaternion.neg_im_i
added theorem quaternion.neg_im_j
added theorem quaternion.neg_im_k
added theorem quaternion.neg_re
added theorem quaternion.norm_sq_coe
added theorem quaternion.norm_sq_def
added theorem quaternion.norm_sq_div
added theorem quaternion.norm_sq_inv
added theorem quaternion.norm_sq_neg
added theorem quaternion.one_im_i
added theorem quaternion.one_im_j
added theorem quaternion.one_im_k
added theorem quaternion.one_re
added theorem quaternion.smul_coe
added theorem quaternion.smul_im_i
added theorem quaternion.smul_im_j
added theorem quaternion.smul_im_k
added theorem quaternion.smul_re
added theorem quaternion.sub_im_i
added theorem quaternion.sub_im_j
added theorem quaternion.sub_im_k
added theorem quaternion.sub_re
added theorem quaternion.zero_im_i
added theorem quaternion.zero_im_j
added theorem quaternion.zero_im_k
added theorem quaternion.zero_re
added def quaternion
added structure quaternion_algebra