Commit 2022-09-26 05:32 3b4e9d58
View on Github →feat(data/option/basic): option.map
is injective (#16626)
- prove that
option.map : (α → β) → (option α → option β)
is injective; - add
iff
version of this lemma; - add
option.map_comp_some
andoption.map_eq_id
; - drop
option.map_id'
: it was the same asoption.map_id
.