MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  f1resrcmplf1d Structured version   Visualization version   GIF version

Theorem f1resrcmplf1d 7281
Description: If a function's restriction to a subclass of its domain and its restriction to the relative complement of that subclass are both one-to-one, and if the ranges of those two restrictions are disjoint, then the function is itself one-to-one. (Contributed by BTernaryTau, 28-Sep-2023.)
Hypotheses
Ref Expression
f1resrcmplf1d.1 (𝜑 → 𝐶 ⊆ 𝐴)
f1resrcmplf1d.2 (𝜑 → 𝐹:𝐴⟶𝐵)
f1resrcmplf1d.3 (𝜑 → (𝐹 ↾ 𝐶):𝐶–1-1→𝐵)
f1resrcmplf1d.4 (𝜑 → (𝐹 ↾ (𝐴 ∖ 𝐶)):(𝐴 ∖ 𝐶)–1-1→𝐵)
f1resrcmplf1d.5 (𝜑 → ((𝐹 “ 𝐶) ∩ (𝐹 “ (𝐴 ∖ 𝐶))) = ∅)
Assertion
Ref Expression
f1resrcmplf1d (𝜑 → 𝐹:𝐴–1-1→𝐵)

Proof of Theorem f1resrcmplf1d
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 f1resrcmplf1d.2 . 2 (𝜑 → 𝐹:𝐴⟶𝐵)
2 f1resrcmplf1d.3 . . . . . 6 (𝜑 → (𝐹 ↾ 𝐶):𝐶–1-1→𝐵)
3 f1resveqaeq 7279 . . . . . 6 (((𝐹 ↾ 𝐶):𝐶–1-1→𝐵 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))
42, 3sylan 592 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶)) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))
54ex 418 . . . 4 (𝜑 → ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ 𝐶) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
6 f1resrcmplf1d.1 . . . . . . 7 (𝜑 → 𝐶 ⊆ 𝐴)
763ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝐶 ⊆ 𝐴)
8 difssd 4072 . . . . . . 7 (𝜑 → (𝐴 ∖ 𝐶) ⊆ 𝐴)
983ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → (𝐴 ∖ 𝐶) ⊆ 𝐴)
1013ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝐹:𝐴⟶𝐵)
11 f1resrcmplf1d.5 . . . . . . 7 (𝜑 → ((𝐹 “ 𝐶) ∩ (𝐹 “ (𝐴 ∖ 𝐶))) = ∅)
12113ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → ((𝐹 “ 𝐶) ∩ (𝐹 “ (𝐴 ∖ 𝐶))) = ∅)
13 simp2l 1218 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝑥 ∈ 𝐶)
14 simp2r 1219 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝑦 ∈ (𝐴 ∖ 𝐶))
15 simp3 1156 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → (𝐹‘𝑥) = (𝐹‘𝑦))
167, 9, 10, 12, 13, 14, 15f1resrcmplf1dlem 7280 . . . . 5 ((𝜑 ∧ (𝑥 ∈ 𝐶 ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝑥 = 𝑦)
17163exp 1137 . . . 4 (𝜑 → ((𝑥 ∈ 𝐶 ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
1883ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ 𝐶) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → (𝐴 ∖ 𝐶) ⊆ 𝐴)
1963ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ 𝐶) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝐶 ⊆ 𝐴)
2013ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ 𝐶) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝐹:𝐴⟶𝐵)
21 incom 4105 . . . . . . . 8 ((𝐹 “ 𝐶) ∩ (𝐹 “ (𝐴 ∖ 𝐶))) = ((𝐹 “ (𝐴 ∖ 𝐶)) ∩ (𝐹 “ 𝐶))
2221, 11eqtr3id 2809 . . . . . . 7 (𝜑 → ((𝐹 “ (𝐴 ∖ 𝐶)) ∩ (𝐹 “ 𝐶)) = ∅)
23223ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ 𝐶) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → ((𝐹 “ (𝐴 ∖ 𝐶)) ∩ (𝐹 “ 𝐶)) = ∅)
24 simp2l 1218 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ 𝐶) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝑥 ∈ (𝐴 ∖ 𝐶))
25 simp2r 1219 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ 𝐶) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝑦 ∈ 𝐶)
26 simp3 1156 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ 𝐶) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → (𝐹‘𝑥) = (𝐹‘𝑦))
2718, 19, 20, 23, 24, 25, 26f1resrcmplf1dlem 7280 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ 𝐶) ∧ (𝐹‘𝑥) = (𝐹‘𝑦)) → 𝑥 = 𝑦)
28273exp 1137 . . . 4 (𝜑 → ((𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ 𝐶) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
29 f1resrcmplf1d.4 . . . . . 6 (𝜑 → (𝐹 ↾ (𝐴 ∖ 𝐶)):(𝐴 ∖ 𝐶)–1-1→𝐵)
30 f1resveqaeq 7279 . . . . . 6 (((𝐹 ↾ (𝐴 ∖ 𝐶)):(𝐴 ∖ 𝐶)–1-1→𝐵 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ (𝐴 ∖ 𝐶))) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))
3129, 30sylan 592 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ (𝐴 ∖ 𝐶))) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))
3231ex 418 . . . 4 (𝜑 → ((𝑥 ∈ (𝐴 ∖ 𝐶) ∧ 𝑦 ∈ (𝐴 ∖ 𝐶)) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
335, 17, 28, 32prsrcmpltd 4432 . . 3 (𝜑 → ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴) → ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
3433ralrimivv 3203 . 2 (𝜑 → ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦))
35 dff13 7260 . 2 (𝐹:𝐴–1-1→𝐵 ↔ (𝐹:𝐴⟶𝐵 ∧ ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 ((𝐹‘𝑥) = (𝐹‘𝑦) → 𝑥 = 𝑦)))
361, 34, 35sylanbrc 595 1 (𝜑 → 𝐹:𝐴–1-1→𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  ∀wral 3076   ⊆ wss 3896   ∖ cdif 4044   ∩ cin 4088  ∅c0 4277   ↾ cres 5652   “ cima 5653  ⟶wf 6537  –1-1→wf1 6538  ‘cfv 6541
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fv 6549
This theorem is used by:  f1resfz0f1d  13932
  Copyright terms: Public domain W3C validator