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

Theorem sbthfi 9252
Description: Schroeder-Bernstein Theorem for finite sets, proved without using the Axiom of Power Sets (unlike sbth 9154). (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 9017 . . . . 5 Rel ≼
21brrelex1i 5714 . . . 4 (𝐴 ≼ 𝐵 → 𝐴 ∈ V)
31brrelex1i 5714 . . . 4 (𝐵 ≼ 𝐴 → 𝐵 ∈ V)
4 breq1 5111 . . . . . . 7 (𝑧 = 𝐴 → (𝑧 ≼ 𝑤 ↔ 𝐴 ≼ 𝑤))
5 breq2 5112 . . . . . . 7 (𝑧 = 𝐴 → (𝑤 ≼ 𝑧 ↔ 𝑤 ≼ 𝐴))
64, 53anbi23d 1468 . . . . . 6 (𝑧 = 𝐴 → ((𝑤 ∈ Fin ∧ 𝑧 ≼ 𝑤 ∧ 𝑤 ≼ 𝑧) ↔ (𝑤 ∈ Fin ∧ 𝐴 ≼ 𝑤 ∧ 𝑤 ≼ 𝐴)))
7 breq1 5111 . . . . . 6 (𝑧 = 𝐴 → (𝑧 ≈ 𝑤 ↔ 𝐴 ≈ 𝑤))
86, 7imbi12d 347 . . . . 5 (𝑧 = 𝐴 → (((𝑤 ∈ Fin ∧ 𝑧 ≼ 𝑤 ∧ 𝑤 ≼ 𝑧) → 𝑧 ≈ 𝑤) ↔ ((𝑤 ∈ Fin ∧ 𝐴 ≼ 𝑤 ∧ 𝑤 ≼ 𝐴) → 𝐴 ≈ 𝑤)))
9 eleq1 2852 . . . . . . 7 (𝑤 = 𝐵 → (𝑤 ∈ Fin ↔ 𝐵 ∈ Fin))
10 breq2 5112 . . . . . . 7 (𝑤 = 𝐵 → (𝐴 ≼ 𝑤 ↔ 𝐴 ≼ 𝐵))
11 breq1 5111 . . . . . . 7 (𝑤 = 𝐵 → (𝑤 ≼ 𝐴 ↔ 𝐵 ≼ 𝐴))
129, 10, 113anbi123d 1465 . . . . . 6 (𝑤 = 𝐵 → ((𝑤 ∈ Fin ∧ 𝐴 ≼ 𝑤 ∧ 𝑤 ≼ 𝐴) ↔ (𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴)))
13 breq2 5112 . . . . . 6 (𝑤 = 𝐵 → (𝐴 ≈ 𝑤 ↔ 𝐴 ≈ 𝐵))
1412, 13imbi12d 347 . . . . 5 (𝑤 = 𝐵 → (((𝑤 ∈ Fin ∧ 𝐴 ≼ 𝑤 ∧ 𝑤 ≼ 𝐴) → 𝐴 ≈ 𝑤) ↔ ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) → 𝐴 ≈ 𝐵)))
15 vex 3458 . . . . . 6 𝑧 ∈ V
16 sseq1 3938 . . . . . . . 8 (𝑦 = 𝑥 → (𝑦 ⊆ 𝑧 ↔ 𝑥 ⊆ 𝑧))
17 imaeq2 6066 . . . . . . . . . . 11 (𝑦 = 𝑥 → (𝑓 “ 𝑦) = (𝑓 “ 𝑥))
1817difeq2d 4066 . . . . . . . . . 10 (𝑦 = 𝑥 → (𝑤 ∖ (𝑓 “ 𝑦)) = (𝑤 ∖ (𝑓 “ 𝑥)))
1918imaeq2d 6070 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑦))) = (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑥))))
20 difeq2 4060 . . . . . . . . 9 (𝑦 = 𝑥 → (𝑧 ∖ 𝑦) = (𝑧 ∖ 𝑥))
2119, 20sseq12d 3946 . . . . . . . 8 (𝑦 = 𝑥 → ((𝑔 “ (𝑤 ∖ (𝑓 “ 𝑦))) ⊆ (𝑧 ∖ 𝑦) ↔ (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑥))) ⊆ (𝑧 ∖ 𝑥)))
2216, 21anbi12d 644 . . . . . . 7 (𝑦 = 𝑥 → ((𝑦 ⊆ 𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑦))) ⊆ (𝑧 ∖ 𝑦)) ↔ (𝑥 ⊆ 𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑥))) ⊆ (𝑧 ∖ 𝑥))))
2322cbvabv 2834 . . . . . 6 {𝑦 ∣ (𝑦 ⊆ 𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑦))) ⊆ (𝑧 ∖ 𝑦))} = {𝑥 ∣ (𝑥 ⊆ 𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑥))) ⊆ (𝑧 ∖ 𝑥))}
24 eqid 2763 . . . . . 6 ((𝑓 ↾ ∪ {𝑦 ∣ (𝑦 ⊆ 𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑦))) ⊆ (𝑧 ∖ 𝑦))}) ∪ (◡𝑔 ↾ (𝑧 ∖ ∪ {𝑦 ∣ (𝑦 ⊆ 𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑦))) ⊆ (𝑧 ∖ 𝑦))}))) = ((𝑓 ↾ ∪ {𝑦 ∣ (𝑦 ⊆ 𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑦))) ⊆ (𝑧 ∖ 𝑦))}) ∪ (◡𝑔 ↾ (𝑧 ∖ ∪ {𝑦 ∣ (𝑦 ⊆ 𝑧 ∧ (𝑔 “ (𝑤 ∖ (𝑓 “ 𝑦))) ⊆ (𝑧 ∖ 𝑦))})))
25 vex 3458 . . . . . 6 𝑤 ∈ V
2615, 23, 24, 25sbthfilem 9251 . . . . 5 ((𝑤 ∈ Fin ∧ 𝑧 ≼ 𝑤 ∧ 𝑤 ≼ 𝑧) → 𝑧 ≈ 𝑤)
278, 14, 26vtocl2g 3537 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) → 𝐴 ≈ 𝐵))
282, 3, 27syl2an 608 . . 3 ((𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) → ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) → 𝐴 ≈ 𝐵))
29283adant1 1148 . 2 ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) → ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) → 𝐴 ≈ 𝐵))
3029pm2.43i 53 1 ((𝐵 ∈ Fin ∧ 𝐴 ≼ 𝐵 ∧ 𝐵 ≼ 𝐴) → 𝐴 ≈ 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147  {cab 2741  Vcvv 3454   ⊆ wss 3900   ∖ cdif 4048   ∪ cun 4152  ∪ cuni 4872   class class class wbr 5108  ◡ccnv 5657   ↾ cres 5660   “ cima 5661   ≈ cen 9008   ≼ cdom 9009  Fincfn 9011
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-om 7912  df-1o 8514  df-en 9012  df-dom 9013  df-fin 9015
This theorem is used by:  domnsymfi  9253  php  9260
  Copyright terms: Public domain W3C validator