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

Theorem f1resrcmplf1d 7275
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 7273 . . . . . 6 (((𝐹𝐶):𝐶1-1𝐵 ∧ (𝑥𝐶𝑦𝐶)) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
42, 3sylan 592 . . . . 5 ((𝜑 ∧ (𝑥𝐶𝑦𝐶)) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
54ex 418 . . . 4 (𝜑 → ((𝑥𝐶𝑦𝐶) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
6 f1resrcmplf1d.1 . . . . . . 7 (𝜑𝐶𝐴)
763ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥𝐶𝑦 ∈ (𝐴𝐶)) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝐶𝐴)
8 difssd 4091 . . . . . . 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 7274 . . . . 5 ((𝜑 ∧ (𝑥𝐶𝑦 ∈ (𝐴𝐶)) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝑥 = 𝑦)
17163exp 1137 . . . 4 (𝜑 → ((𝑥𝐶𝑦 ∈ (𝐴𝐶)) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
1883ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → (𝐴𝐶) ⊆ 𝐴)
1963ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝐶𝐴)
2013ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝐹:𝐴𝐵)
21 incom 4162 . . . . . . . 8 ((𝐹𝐶) ∩ (𝐹 “ (𝐴𝐶))) = ((𝐹 “ (𝐴𝐶)) ∩ (𝐹𝐶))
2221, 11eqtr3id 2814 . . . . . . 7 (𝜑 → ((𝐹 “ (𝐴𝐶)) ∩ (𝐹𝐶)) = ∅)
23223ad2ant1 1151 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → ((𝐹 “ (𝐴𝐶)) ∩ (𝐹𝐶)) = ∅)
24 simp2l 1218 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝑥 ∈ (𝐴𝐶))
25 simp2r 1219 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝑦𝐶)
26 simp3 1156 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → (𝐹𝑥) = (𝐹𝑦))
2718, 19, 20, 23, 24, 25, 26f1resrcmplf1dlem 7274 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) ∧ (𝐹𝑥) = (𝐹𝑦)) → 𝑥 = 𝑦)
28273exp 1137 . . . 4 (𝜑 → ((𝑥 ∈ (𝐴𝐶) ∧ 𝑦𝐶) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
29 f1resrcmplf1d.4 . . . . . 6 (𝜑 → (𝐹 ↾ (𝐴𝐶)):(𝐴𝐶)–1-1𝐵)
30 f1resveqaeq 7273 . . . . . 6 (((𝐹 ↾ (𝐴𝐶)):(𝐴𝐶)–1-1𝐵 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦 ∈ (𝐴𝐶))) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
3129, 30sylan 592 . . . . 5 ((𝜑 ∧ (𝑥 ∈ (𝐴𝐶) ∧ 𝑦 ∈ (𝐴𝐶))) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
3231ex 418 . . . 4 (𝜑 → ((𝑥 ∈ (𝐴𝐶) ∧ 𝑦 ∈ (𝐴𝐶)) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
335, 17, 28, 32prsrcmpltd 4440 . . 3 (𝜑 → ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
3433ralrimivv 3208 . 2 (𝜑 → ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
35 dff13 7254 . 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 3081  cdif 3903  cin 3905  wss 3906  c0 4286  cres 5665  cima 5666  wf 6536  1-1wf1 6537  cfv 6540
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 2737  ax-sep 5259  ax-nul 5271  ax-pr 5406
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 2569  df-eu 2599  df-clab 2744  df-cleq 2757  df-clel 2840  df-ne 2961  df-ral 3082  df-rex 3092  df-rab 3419  df-v 3459  df-dif 3909  df-un 3911  df-in 3913  df-ss 3923  df-nul 4287  df-if 4490  df-sn 4592  df-pr 4594  df-op 4598  df-uni 4875  df-br 5112  df-opab 5176  df-id 5558  df-xp 5669  df-rel 5670  df-cnv 5671  df-co 5672  df-dm 5673  df-rn 5674  df-res 5675  df-ima 5676  df-iota 6496  df-fun 6542  df-fn 6543  df-f 6544  df-f1 6545  df-fv 6548
This theorem is used by:  f1resfz0f1d  13834
  Copyright terms: Public domain W3C validator