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

Theorem f1resrcmplf1d 7280
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 7278 . . . . . 6 (((𝐹𝐶):𝐶1-1𝐵 ∧ (𝑥𝐶𝑦𝐶)) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
42, 3sylan 592 . . . . 5 ((𝜑 ∧ (𝑥𝐶𝑦𝐶)) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
54ex 418 . . . 4 (𝜑 → ((𝑥𝐶𝑦𝐶) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
6 f1resrcmplf1d.1 . . . . . . 7 (𝜑𝐶𝐴)
763ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥𝐶𝑦 ∈ (𝐴𝐶)) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝐶𝐴)
8 difssd 4094 . . . . . . 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 7279 . . . . 5 ((𝜑 ∧ (𝑥𝐶𝑦 ∈ (𝐴𝐶)) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝑥 = 𝑦)
17163exp 1137 . . . 4 (𝜑 → ((𝑥𝐶𝑦 ∈ (𝐴𝐶)) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
1883ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → (𝐴𝐶) ⊆ 𝐴)
1963ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝐶𝐴)
2013ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝐹:𝐴𝐵)
21 incom 4165 . . . . . . . 8 ((𝐹𝐶) ∩ (𝐹 “ (𝐴𝐶))) = ((𝐹 “ (𝐴𝐶)) ∩ (𝐹𝐶))
2221, 11eqtr3id 2815 . . . . . . 7 (𝜑 → ((𝐹 “ (𝐴𝐶)) ∩ (𝐹𝐶)) = ∅)
23223ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → ((𝐹 “ (𝐴𝐶)) ∩ (𝐹𝐶)) = ∅)
24 simp2l 1218 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝑥 ∈ (𝐴𝐶))
25 simp2r 1219 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝑦𝐶)
26 simp3 1156 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → (𝐹𝑥) = (𝐹𝑦))
2718, 19, 20, 23, 24, 25, 26f1resrcmplf1dlem 7279 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝑥 = 𝑦)
28273exp 1137 . . . 4 (𝜑 → ((𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
29 f1resrcmplf1d.4 . . . . . 6 (𝜑 → (𝐹 ↾ (𝐴𝐶)):(𝐴𝐶)–1-1𝐵)
30 f1resveqaeq 7278 . . . . . 6 (((𝐹 ↾ (𝐴𝐶)):(𝐴𝐶)–1-1𝐵 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦 ∈ (𝐴𝐶))) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
3129, 30sylan 592 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦 ∈ (𝐴𝐶))) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
3231ex 418 . . . 4 (𝜑 → ((𝑥 ∈ (𝐴𝐶) ∧ 𝑦 ∈ (𝐴𝐶)) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
335, 17, 28, 32prsrcmpltd 4443 . . 3 (𝜑 → ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
3433ralrimivv 3209 . 2 (𝜑 → ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
35 dff13 7259 . 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 1570  wcel 2146  wral 3082  cdif 3905  cin 3907  wss 3908  c0 4289  cres 5668  cima 5669  wf 6539  1-1wf1 6540  cfv 6543
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-nul 5274  ax-pr 5409
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-ne 2962  df-ral 3083  df-rex 3093  df-rab 3420  df-v 3460  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4493  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-br 5115  df-opab 5179  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fv 6551
This theorem is used by:  f1resfz0f1d  13840
  Copyright terms: Public domain W3C validator