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

Theorem sbthfilem 9270
Description: Lemma for sbthfi 9271. (Contributed by BTernaryTau, 4-Nov-2024.)
Hypotheses
Ref Expression
sbthfilem.1 𝐴 ∈ V
sbthfilem.2 𝐷 = {𝑥 ∣ (𝑥 ⊆ 𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓 “ 𝑥))) ⊆ (𝐴 ∖ 𝑥))}
sbthfilem.3 𝐻 = ((𝑓 ↾ ∪ 𝐷) ∪ (◡𝑔 ↾ (𝐴 ∖ ∪ 𝐷)))
sbthfilem.4 𝐵 ∈ V
Assertion
Ref Expression
sbthfilem ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) → 𝐴 ≈ 𝐵)
Distinct variable groups:   𝑥,𝐷   𝑥,𝐻   𝐴,𝑓,𝑔,𝑥   𝐵,𝑓,𝑔,𝑥
Allowed substitution hints:   𝐷(𝑓, 𝑔)   𝐻(𝑓, 𝑔)

Proof of Theorem sbthfilem
StepHypRef Expression
1 19.42vv 1999 . . 3 (∃𝑓∃𝑔(𝐵 ∈ Fin ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴)) ↔ (𝐵 ∈ Fin ∧ ∃𝑓∃𝑔(𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴)))
2 3anass 1112 . . . 4 ((𝐵 ∈ Fin ∧ 𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴) ↔ (𝐵 ∈ Fin ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴)))
322exbii 1888 . . 3 (∃𝑓∃𝑔(𝐵 ∈ Fin ∧ 𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴) ↔ ∃𝑓∃𝑔(𝐵 ∈ Fin ∧ (𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴)))
4 3anass 1112 . . . 4 ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) ↔ (𝐵 ∈ Fin ∧ (𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴)))
5 sbthfilem.4 . . . . . . . 8 𝐵 ∈ V
65brdom 9044 . . . . . . 7 (𝐴 ≼ 𝐵 ↔ ∃𝑓 𝑓:𝐴⟶1-1𝐵)
7 sbthfilem.1 . . . . . . . 8 𝐴 ∈ V
87brdom 9044 . . . . . . 7 (𝐵 ≼ 𝐴 ↔ ∃𝑔 𝑔:𝐵⟶1-1𝐴)
96, 8anbi12i 640 . . . . . 6 ((𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) ↔ (∃𝑓 𝑓:𝐴⟶1-1𝐵 ∧ ∃𝑔 𝑔:𝐵⟶1-1𝐴))
10 exdistrv 1997 . . . . . 6 (∃𝑓∃𝑔(𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴) ↔ (∃𝑓 𝑓:𝐴⟶1-1𝐵 ∧ ∃𝑔 𝑔:𝐵⟶1-1𝐴))
119, 10bitr4i 281 . . . . 5 ((𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) ↔ ∃𝑓∃𝑔(𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴))
1211anbi2i 635 . . . 4 ((𝐵 ∈ Fin ∧ (𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴)) ↔ (𝐵 ∈ Fin ∧ ∃𝑓∃𝑔(𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴)))
134, 12bitri 278 . . 3 ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) ↔ (𝐵 ∈ Fin ∧ ∃𝑓∃𝑔(𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴)))
141, 3, 133bitr4ri 307 . 2 ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) ↔ ∃𝑓∃𝑔(𝐵 ∈ Fin ∧ 𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴))
15 f1fn 6827 . . . . . 6 (𝑔:𝐵⟶1-1𝐴 → 𝑔 Fn 𝐵)
16 sbthfilem.3 . . . . . . . 8 𝐻 = ((𝑓 ↾ ∪ 𝐷) ∪ (◡𝑔 ↾ (𝐴 ∖ ∪ 𝐷)))
17 vex 3465 . . . . . . . . . 10 𝑓 ∈ V
1817resex 6044 . . . . . . . . 9 (𝑓 ↾ ∪ 𝐷) ∈ V
19 fnfi 9250 . . . . . . . . . 10 ((𝑔 Fn 𝐵 ∧ 𝐵 ∈ Fin) → 𝑔 ∈ Fin)
20 cnvfi 9248 . . . . . . . . . 10 (𝑔 ∈ Fin → ◡𝑔 ∈ Fin)
21 resexg 6042 . . . . . . . . . 10 (◡𝑔 ∈ Fin → (◡𝑔 ↾ (𝐴 ∖ ∪ 𝐷)) ∈ V)
2219, 20, 213syl 19 . . . . . . . . 9 ((𝑔 Fn 𝐵 ∧ 𝐵 ∈ Fin) → (◡𝑔 ↾ (𝐴 ∖ ∪ 𝐷)) ∈ V)
23 unexg 7811 . . . . . . . . 9 (((𝑓 ↾ ∪ 𝐷) ∈ V ∧ (◡𝑔 ↾ (𝐴 ∖ ∪ 𝐷)) ∈ V) → ((𝑓 ↾ ∪ 𝐷) ∪ (◡𝑔 ↾ (𝐴 ∖ ∪ 𝐷))) ∈ V)
2418, 22, 23sylancr 599 . . . . . . . 8 ((𝑔 Fn 𝐵 ∧ 𝐵 ∈ Fin) → ((𝑓 ↾ ∪ 𝐷) ∪ (◡𝑔 ↾ (𝐴 ∖ ∪ 𝐷))) ∈ V)
2516, 24eqeltrid 2879 . . . . . . 7 ((𝑔 Fn 𝐵 ∧ 𝐵 ∈ Fin) → 𝐻 ∈ V)
2625ancoms 464 . . . . . 6 ((𝐵 ∈ Fin ∧ 𝑔 Fn 𝐵) → 𝐻 ∈ V)
2715, 26sylan2 605 . . . . 5 ((𝐵 ∈ Fin ∧ 𝑔:𝐵⟶1-1𝐴) → 𝐻 ∈ V)
28273adant2 1150 . . . 4 ((𝐵 ∈ Fin ∧ 𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴) → 𝐻 ∈ V)
29 sbthfilem.2 . . . . . 6 𝐷 = {𝑥 ∣ (𝑥 ⊆ 𝐴 ∧ (𝑔 “ (𝐵 ∖ (𝑓 “ 𝑥))) ⊆ (𝐴 ∖ 𝑥))}
307, 29, 16sbthlem9 9171 . . . . 5 ((𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴) → 𝐻:𝐴⟶1-1onto𝐵)
31303adant1 1149 . . . 4 ((𝐵 ∈ Fin ∧ 𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴) → 𝐻:𝐴⟶1-1onto𝐵)
32 f1oen3g 9050 . . . 4 ((𝐻 ∈ V ∧ 𝐻:𝐴⟶1-1onto𝐵) → 𝐴 ≈ 𝐵)
3328, 31, 32syl2anc 596 . . 3 ((𝐵 ∈ Fin ∧ 𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴) → 𝐴 ≈ 𝐵)
3433exlimivv 1974 . 2 (∃𝑓∃𝑔(𝐵 ∈ Fin ∧ 𝑓:𝐴⟶1-1𝐵 ∧ 𝑔:𝐵⟶1-1𝐴) → 𝐴 ≈ 𝐵)
3514, 34sylbi 220 1 ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) → 𝐴 ≈ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1104   = wceq 1572  ∃wex 1818   ∈ wcel 2156  {cab 2752  Vcvv 3461   ⊆ wss 3907   ∖ cdif 4055   ∪ cun 4159  ∪ cuni 4880   class class class wbr 5116  ◡ccnv 5665   ↾ cres 5668   “ cima 5669   Fn wfn 6574  ⟶1-1wf1 6576  ⟶1-1ontowf1o 6578   ≈ cen 9027   ≼ cdom 9028  Fincfn 9030
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  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-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-om 7931  df-1o 8533  df-en 9031  df-dom 9032  df-fin 9034
This theorem is used by:  sbthfi  9271
  Copyright terms: Public domain W3C validator