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

Theorem sbthfi 8985
Description: Schroeder-Bernstein Theorem for finite sets, proved without using the Axiom of Power Sets (unlike sbth 8880). (Contributed by BTernaryTau, 4-Nov-2024.)
Assertion
Ref Expression
sbthfi ((𝐵 ∈ Fin ∧ 𝐴𝐵𝐵𝐴) → 𝐴𝐵)

Proof of Theorem sbthfi
Dummy variables 𝑤 𝑧 𝑓 𝑔 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 reldom 8739 . . . . 5 Rel ≼
21brrelex1i 5643 . . . 4 (𝐴𝐵𝐴 ∈ V)
31brrelex1i 5643 . . . 4 (𝐵𝐴𝐵 ∈ V)
4 breq1 5077 . . . . . . 7 (𝑧 = 𝐴 → (𝑧𝑤𝐴𝑤))
5 breq2 5078 . . . . . . 7 (𝑧 = 𝐴 → (𝑤𝑧𝑤𝐴))
64, 53anbi23d 1438 . . . . . 6 (𝑧 = 𝐴 → ((𝑤 ∈ Fin ∧ 𝑧𝑤𝑤𝑧) ↔ (𝑤 ∈ Fin ∧ 𝐴𝑤𝑤𝐴)))
7 breq1 5077 . . . . . 6 (𝑧 = 𝐴 → (𝑧𝑤𝐴𝑤))
86, 7imbi12d 345 . . . . 5 (𝑧 = 𝐴 → (((𝑤 ∈ Fin ∧ 𝑧𝑤𝑤𝑧) → 𝑧𝑤) ↔ ((𝑤 ∈ Fin ∧ 𝐴𝑤𝑤𝐴) → 𝐴𝑤)))
9 eleq1 2826 . . . . . . 7 (𝑤 = 𝐵 → (𝑤 ∈ Fin ↔ 𝐵 ∈ Fin))
10 breq2 5078 . . . . . . 7 (𝑤 = 𝐵 → (𝐴𝑤𝐴𝐵))
11 breq1 5077 . . . . . . 7 (𝑤 = 𝐵 → (𝑤𝐴𝐵𝐴))
129, 10, 113anbi123d 1435 . . . . . 6 (𝑤 = 𝐵 → ((𝑤 ∈ Fin ∧ 𝐴𝑤𝑤𝐴) ↔ (𝐵 ∈ Fin ∧ 𝐴𝐵𝐵𝐴)))
13 breq2 5078 . . . . . 6 (𝑤 = 𝐵 → (𝐴𝑤𝐴𝐵))
1412, 13imbi12d 345 . . . . 5 (𝑤 = 𝐵 → (((𝑤 ∈ Fin ∧ 𝐴𝑤𝑤𝐴) → 𝐴𝑤) ↔ ((𝐵 ∈ Fin ∧ 𝐴𝐵𝐵𝐴) → 𝐴𝐵)))
15 vex 3436 . . . . . 6 𝑧 ∈ V
16 sseq1 3946 . . . . . . . 8 (𝑦 = 𝑥 → (𝑦𝑧𝑥𝑧))
17 imaeq2 5965 . . . . . . . . . . 11 (𝑦 = 𝑥 → (𝑓𝑦) = (𝑓𝑥))
1817difeq2d 4057 . . . . . . . . . 10 (𝑦 = 𝑥 → (𝑤 ∖ (𝑓𝑦)) = (𝑤 ∖ (𝑓𝑥)))
1918imaeq2d 5969 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑔 “ (𝑤 ∖ (𝑓𝑦))) = (𝑔 “ (𝑤 ∖ (𝑓𝑥))))
20 difeq2 4051 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑧𝑦) = (𝑧𝑥))
2119, 20sseq12d 3954 . . . . . . . 8 (𝑦 = 𝑥 → ((𝑔 “ (𝑤 ∖ (𝑓𝑦))) ⊆ (𝑧𝑦) ↔ (𝑔 “ (𝑤 ∖ (𝑓𝑥))) ⊆ (𝑧𝑥)))
2216, 21anbi12d 631 . . . . . . 7 (𝑦 = 𝑥 → ((𝑦𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓𝑦))) ⊆ (𝑧𝑦)) ↔ (𝑥𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓𝑥))) ⊆ (𝑧𝑥))))
2322cbvabv 2811 . . . . . 6 {𝑦 ∣ (𝑦𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓𝑦))) ⊆ (𝑧𝑦))} = {𝑥 ∣ (𝑥𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓𝑥))) ⊆ (𝑧𝑥))}
24 eqid 2738 . . . . . 6 ((𝑓 {𝑦 ∣ (𝑦𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓𝑦))) ⊆ (𝑧𝑦))}) ∪ (𝑔 ↾ (𝑧 {𝑦 ∣ (𝑦𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓𝑦))) ⊆ (𝑧𝑦))}))) = ((𝑓 {𝑦 ∣ (𝑦𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓𝑦))) ⊆ (𝑧𝑦))}) ∪ (𝑔 ↾ (𝑧 {𝑦 ∣ (𝑦𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓𝑦))) ⊆ (𝑧𝑦))})))
25 vex 3436 . . . . . 6 𝑤 ∈ V
2615, 23, 24, 25sbthfilem 8984 . . . . 5 ((𝑤 ∈ Fin ∧ 𝑧𝑤𝑤𝑧) → 𝑧𝑤)
278, 14, 26vtocl2g 3510 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ((𝐵 ∈ Fin ∧ 𝐴𝐵𝐵𝐴) → 𝐴𝐵))
282, 3, 27syl2an 596 . . 3 ((𝐴𝐵𝐵𝐴) → ((𝐵 ∈ Fin ∧ 𝐴𝐵𝐵𝐴) → 𝐴𝐵))
29283adant1 1129 . 2 ((𝐵 ∈ Fin ∧ 𝐴𝐵𝐵𝐴) → ((𝐵 ∈ Fin ∧ 𝐴𝐵𝐵𝐴) → 𝐴𝐵))
3029pm2.43i 52 1 ((𝐵 ∈ Fin ∧ 𝐴𝐵𝐵𝐴) → 𝐴𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  {cab 2715  Vcvv 3432  cdif 3884  cun 3885  wss 3887   cuni 4839   class class class wbr 5074  ccnv 5588  cres 5591  cima 5592  cen 8730  cdom 8731  Fincfn 8733
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  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  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-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  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-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-om 7713  df-1o 8297  df-en 8734  df-dom 8735  df-fin 8737
This theorem is referenced by:  domnsymfi  8986  php  8993
  Copyright terms: Public domain W3C validator