Skip to content

Commit f75717c

Browse files
remove dependency on unnecessary PR
1 parent 2a8a77c commit f75717c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

Mathlib/Logic/Equiv/PartialEquiv.lean

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -919,16 +919,6 @@ noncomputable def InjOn.toPartialEquiv [Nonempty α] (f : α → β) (s : Set α
919919

920920
end Set
921921

922-
namespace Function
923-
924-
/-- Any injective function induces a partial equivalence from its domain to its range. -/
925-
@[simps! -fullyApplied]
926-
noncomputable def Injective.toPartialEquiv
927-
{α β : Type*} [Nonempty α] {f : α → β} (hf : f.Injective) : PartialEquiv α β :=
928-
hf.injOn.toPartialEquiv f univ
929-
930-
end Function
931-
932922
namespace Equiv
933923

934924
/- `Equiv`s give rise to `PartialEquiv`s. We set up simp lemmas to reduce most properties of the
@@ -995,10 +985,4 @@ theorem trans_transEquiv (e : PartialEquiv α β) (e' : PartialEquiv β γ) (f''
995985
(e.trans e').transEquiv f'' = e.trans (e'.transEquiv f'') := by
996986
simp only [transEquiv_eq_trans, trans_assoc]
997987

998-
/-- `Subtype.val` induces a partial equivalence from `univ : Set (Subtype p)` to `p`. -/
999-
@[simps! -fullyApplied]
1000-
noncomputable def subtype {α : Type*} (p : α → Prop) [Nonempty (Subtype p)] :
1001-
PartialEquiv (Subtype p) α :=
1002-
Subtype.val_injective.injOn.toPartialEquiv Subtype.val univ
1003-
1004988
end PartialEquiv

0 commit comments

Comments
 (0)