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

Theorem sbthlem9 8878
Description: Lemma for sbth 8880. (Contributed by NM, 28-Mar-1998.)
Hypotheses
Ref Expression
sbthlem.1 𝐴 ∈ V
sbthlem.2 𝐷 = {𝑥 ∣ (𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥))}
sbthlem.3 𝐻 = ((𝑓 𝐷) ∪ (𝑔 ↾ (𝐴 𝐷)))
Assertion
Ref Expression
sbthlem9 ((𝑓:𝐴1-1𝐵𝑔:𝐵1-1𝐴) → 𝐻:𝐴1-1-onto𝐵)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝑥,𝐷   𝑥,𝑓   𝑥,𝑔   𝑥,𝐻
Allowed substitution hints:   𝐴(𝑓,𝑔)   𝐵(𝑓,𝑔)   𝐷(𝑓,𝑔)   𝐻(𝑓,𝑔)

Proof of Theorem sbthlem9
StepHypRef Expression
1 sbthlem.1 . . . . . . . 8 𝐴 ∈ V
2 sbthlem.2 . . . . . . . 8 𝐷 = {𝑥 ∣ (𝑥𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓𝑥))) ⊆ (𝐴𝑥))}
3 sbthlem.3 . . . . . . . 8 𝐻 = ((𝑓 𝐷) ∪ (𝑔 ↾ (𝐴 𝐷)))
41, 2, 3sbthlem7 8876 . . . . . . 7 ((Fun 𝑓 ∧ Fun 𝑔) → Fun 𝐻)
51, 2, 3sbthlem5 8874 . . . . . . . 8 ((dom 𝑓 = 𝐴 ∧ ran 𝑔𝐴) → dom 𝐻 = 𝐴)
65adantrl 713 . . . . . . 7 ((dom 𝑓 = 𝐴 ∧ ((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴)) → dom 𝐻 = 𝐴)
74, 6anim12i 613 . . . . . 6 (((Fun 𝑓 ∧ Fun 𝑔) ∧ (dom 𝑓 = 𝐴 ∧ ((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴))) → (Fun 𝐻 ∧ dom 𝐻 = 𝐴))
87an42s 658 . . . . 5 (((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → (Fun 𝐻 ∧ dom 𝐻 = 𝐴))
98adantlr 712 . . . 4 ((((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵) ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → (Fun 𝐻 ∧ dom 𝐻 = 𝐴))
109adantlr 712 . . 3 (((((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵) ∧ Fun 𝑓) ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → (Fun 𝐻 ∧ dom 𝐻 = 𝐴))
111, 2, 3sbthlem8 8877 . . . 4 ((Fun 𝑓 ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → Fun 𝐻)
1211adantll 711 . . 3 (((((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵) ∧ Fun 𝑓) ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → Fun 𝐻)
13 simpr 485 . . . . . . 7 ((Fun 𝑔 ∧ dom 𝑔 = 𝐵) → dom 𝑔 = 𝐵)
1413anim1i 615 . . . . . 6 (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) → (dom 𝑔 = 𝐵 ∧ ran 𝑔𝐴))
15 df-rn 5600 . . . . . . 7 ran 𝐻 = dom 𝐻
161, 2, 3sbthlem6 8875 . . . . . . 7 ((ran 𝑓𝐵 ∧ ((dom 𝑔 = 𝐵 ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → ran 𝐻 = 𝐵)
1715, 16eqtr3id 2792 . . . . . 6 ((ran 𝑓𝐵 ∧ ((dom 𝑔 = 𝐵 ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → dom 𝐻 = 𝐵)
1814, 17sylanr1 679 . . . . 5 ((ran 𝑓𝐵 ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → dom 𝐻 = 𝐵)
1918adantll 711 . . . 4 ((((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵) ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → dom 𝐻 = 𝐵)
2019adantlr 712 . . 3 (((((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵) ∧ Fun 𝑓) ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → dom 𝐻 = 𝐵)
2110, 12, 20jca32 516 . 2 (((((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵) ∧ Fun 𝑓) ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)) → ((Fun 𝐻 ∧ dom 𝐻 = 𝐴) ∧ (Fun 𝐻 ∧ dom 𝐻 = 𝐵)))
22 df-f1 6438 . . . 4 (𝑓:𝐴1-1𝐵 ↔ (𝑓:𝐴𝐵 ∧ Fun 𝑓))
23 df-f 6437 . . . . . 6 (𝑓:𝐴𝐵 ↔ (𝑓 Fn 𝐴 ∧ ran 𝑓𝐵))
24 df-fn 6436 . . . . . . 7 (𝑓 Fn 𝐴 ↔ (Fun 𝑓 ∧ dom 𝑓 = 𝐴))
2524anbi1i 624 . . . . . 6 ((𝑓 Fn 𝐴 ∧ ran 𝑓𝐵) ↔ ((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵))
2623, 25bitri 274 . . . . 5 (𝑓:𝐴𝐵 ↔ ((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵))
2726anbi1i 624 . . . 4 ((𝑓:𝐴𝐵 ∧ Fun 𝑓) ↔ (((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵) ∧ Fun 𝑓))
2822, 27bitri 274 . . 3 (𝑓:𝐴1-1𝐵 ↔ (((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵) ∧ Fun 𝑓))
29 df-f1 6438 . . . 4 (𝑔:𝐵1-1𝐴 ↔ (𝑔:𝐵𝐴 ∧ Fun 𝑔))
30 df-f 6437 . . . . . 6 (𝑔:𝐵𝐴 ↔ (𝑔 Fn 𝐵 ∧ ran 𝑔𝐴))
31 df-fn 6436 . . . . . . 7 (𝑔 Fn 𝐵 ↔ (Fun 𝑔 ∧ dom 𝑔 = 𝐵))
3231anbi1i 624 . . . . . 6 ((𝑔 Fn 𝐵 ∧ ran 𝑔𝐴) ↔ ((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴))
3330, 32bitri 274 . . . . 5 (𝑔:𝐵𝐴 ↔ ((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴))
3433anbi1i 624 . . . 4 ((𝑔:𝐵𝐴 ∧ Fun 𝑔) ↔ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔))
3529, 34bitri 274 . . 3 (𝑔:𝐵1-1𝐴 ↔ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔))
3628, 35anbi12i 627 . 2 ((𝑓:𝐴1-1𝐵𝑔:𝐵1-1𝐴) ↔ ((((Fun 𝑓 ∧ dom 𝑓 = 𝐴) ∧ ran 𝑓𝐵) ∧ Fun 𝑓) ∧ (((Fun 𝑔 ∧ dom 𝑔 = 𝐵) ∧ ran 𝑔𝐴) ∧ Fun 𝑔)))
37 dff1o4 6724 . . 3 (𝐻:𝐴1-1-onto𝐵 ↔ (𝐻 Fn 𝐴𝐻 Fn 𝐵))
38 df-fn 6436 . . . 4 (𝐻 Fn 𝐴 ↔ (Fun 𝐻 ∧ dom 𝐻 = 𝐴))
39 df-fn 6436 . . . 4 (𝐻 Fn 𝐵 ↔ (Fun 𝐻 ∧ dom 𝐻 = 𝐵))
4038, 39anbi12i 627 . . 3 ((𝐻 Fn 𝐴𝐻 Fn 𝐵) ↔ ((Fun 𝐻 ∧ dom 𝐻 = 𝐴) ∧ (Fun 𝐻 ∧ dom 𝐻 = 𝐵)))
4137, 40bitri 274 . 2 (𝐻:𝐴1-1-onto𝐵 ↔ ((Fun 𝐻 ∧ dom 𝐻 = 𝐴) ∧ (Fun 𝐻 ∧ dom 𝐻 = 𝐵)))
4221, 36, 413imtr4i 292 1 ((𝑓:𝐴1-1𝐵𝑔:𝐵1-1𝐴) → 𝐻:𝐴1-1-onto𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  {cab 2715  Vcvv 3432  cdif 3884  cun 3885  wss 3887   cuni 4839  ccnv 5588  dom cdm 5589  ran crn 5590  cres 5591  cima 5592  Fun wfun 6427   Fn wfn 6428  wf 6429  1-1wf1 6430  1-1-ontowf1o 6432
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440
This theorem is referenced by:  sbthlem10  8879  sbthfilem  8984
  Copyright terms: Public domain W3C validator