Commit 2020-10-08 15:41 e74bd261
View on Github →chore(*): add a few more unique
instances (#4511)
linear_map.unique_of_left
,linear_map.unique_of_right
,continuous_linear_map.unique_of_left
,continuous_linear_map.unique_of_right
: if eitherM
orM₂
is asubsingleton
, then bothM →ₗ[R] M₂
andM →L[R] M₂
areunique
;pi.unique
: if eachβ a
isunique
, thenΠ a, β a
isunique
;- rename
function.injective.comap_subsingleton
tofunction.injective.subsingleton
; - add
unique.mk'
andfunction.injective.unique
; - add a few
simp
lemmas fordefault
; - drop
nonempty_unique_or_exists_ne
andsubsingleton_or_exists_ne
; - rename
linear_map.coe_inj
tocoe_injective
andcontinuous_linear_map.coe_inj
tocoe_fn_injective
, make them usefunction.injective
. Motivated by #4407