Skip to content

Commit

Permalink
feat(data/pi): add pi.single_inj (#10644)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser committed Dec 7, 2021
1 parent 03dd404 commit 9a2c299
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/data/pi.lean
Expand Up @@ -137,6 +137,9 @@ variables (f)
lemma single_injective (i : I) : function.injective (single i : f i → Π i, f i) :=
function.update_injective _ i

@[simp] lemma single_inj (i : I) {x y : f i} : pi.single i x = pi.single i y ↔ x = y :=
(pi.single_injective _ _).eq_iff

end
end pi

Expand Down

0 comments on commit 9a2c299

Please sign in to comment.