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

Theorem prfi 9372
Description: An unordered pair is finite. For a shorter proof using ax-un 7802, see prfiALT 9373. (Contributed by NM, 22-Aug-2008.) Avoid ax-11 2206, ax-un 7802. (Revised by BTernaryTau, 13-Jan-2025.)
Assertion
Ref Expression
prfi {𝐴, 𝐵} ∈ Fin

Proof of Theorem prfi
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 prprc1 4736 . . 3 (¬ 𝐴 ∈ V → {𝐴, 𝐵} = {𝐵})
2 snfi 9128 . . 3 {𝐵} ∈ Fin
31, 2eqeltrdi 2883 . 2 (¬ 𝐴 ∈ V → {𝐴, 𝐵} ∈ Fin)
4 prprc2 4737 . . 3 (¬ 𝐵 ∈ V → {𝐴, 𝐵} = {𝐴})
5 snfi 9128 . . 3 {𝐴} ∈ Fin
64, 5eqeltrdi 2883 . 2 (¬ 𝐵 ∈ V → {𝐴, 𝐵} ∈ Fin)
7 2onn 8708 . . . . . 6 2o ∈ ω
8 simp1 1155 . . . . . . 7 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ ¬ 𝐴 = 𝐵) → 𝐴 ∈ V)
9 simp2 1156 . . . . . . 7 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ ¬ 𝐴 = 𝐵) → 𝐵 ∈ V)
10 simp3 1157 . . . . . . 7 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ ¬ 𝐴 = 𝐵) → ¬ 𝐴 = 𝐵)
118, 9, 10enpr2d 9133 . . . . . 6 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ ¬ 𝐴 = 𝐵) → {𝐴, 𝐵} ≈ 2o)
12 breq2 5120 . . . . . . 7 (𝑥 = 2o → ({𝐴, 𝐵} ≈ 𝑥 ↔ {𝐴, 𝐵} ≈ 2o))
1312rspcev 3587 . . . . . 6 ((2o ∈ ω ∧ {𝐴, 𝐵} ≈ 2o) → ∃𝑥 ∈ ω {𝐴, 𝐵} ≈ 𝑥)
147, 11, 13sylancr 599 . . . . 5 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ ¬ 𝐴 = 𝐵) → ∃𝑥 ∈ ω {𝐴, 𝐵} ≈ 𝑥)
15 isfi 9059 . . . . 5 ({𝐴, 𝐵} ∈ Fin ↔ ∃𝑥 ∈ ω {𝐴, 𝐵} ≈ 𝑥)
1614, 15sylibr 237 . . . 4 ((𝐴 ∈ V ∧ 𝐵 ∈ V ∧ ¬ 𝐴 = 𝐵) → {𝐴, 𝐵} ∈ Fin)
17163expia 1140 . . 3 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → (¬ 𝐴 = 𝐵 → {𝐴, 𝐵} ∈ Fin))
18 dfsn2 4604 . . . . 5 {𝐴} = {𝐴, 𝐴}
19 preq2 4705 . . . . 5 (𝐴 = 𝐵 → {𝐴, 𝐴} = {𝐴, 𝐵})
2018, 19eqtr2id 2822 . . . 4 (𝐴 = 𝐵 → {𝐴, 𝐵} = {𝐴})
2120, 5eqeltrdi 2883 . . 3 (𝐴 = 𝐵 → {𝐴, 𝐵} ∈ Fin)
2217, 21pm2.61d2 183 . 2 ((𝐴 ∈ V ∧ 𝐵 ∈ V) → {𝐴, 𝐵} ∈ Fin)
233, 6, 22ecase 1050 1 {𝐴, 𝐵} ∈ Fin
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   ∧ wa 401   ∧ w3a 1104   = wceq 1572   ∈ wcel 2156  ∃wrex 3101  Vcvv 3461  {csn 4595  {cpr 4597   class class class wbr 5116  ωcom 7930  2oc2o 8527   ≈ cen 9027  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-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
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-sb 2110  df-mo 2576  df-clab 2753  df-cleq 2766  df-clel 2850  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  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-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-om 7931  df-1o 8533  df-2o 8534  df-en 9031  df-fin 9034
This theorem is used by:  tpfi  9374  fiint  9375  inelfi  9466  tskpr  10913  hashpw  14644  hashfun  14645  pr2pwpr  14687  hashtpg  14693  hash3tpexb  14702  sumpr  15980  lcmfpr  16868  prmreclem2  17164  acsfn2  17916  isdrs2  18559  efmnd2hash  19169  symg2hash  19688  psgnprfval  19817  gsumpr  20251  znidomb  21968  m2detleib  23055  ovolioo  25998  i1f1  26120  itgioo  26245  limcun  26324  aannenlem2  26789  wilthlem2  27547  perfectlem2  27708  upgrex  29837  ex-hash  31221  prodpr  33652  linds2eq  34164  elrspunsn  34205  constrfin  34583  constrllcllem  34589  constrlccllem  34590  inelpisys  34992  coinfliplem  35316  coinflippv  35321  subfacp1lem1  36254  poimirlem9  38926  kelac2lem  44439  sumpair  46494  refsum2cnlem1  46496  climxlim2lem  47296  ibliooicc  47422  fourierdlem50  47607  fourierdlem51  47608  fourierdlem54  47611  fourierdlem70  47627  fourierdlem71  47628  fourierdlem76  47633  fourierdlem102  47659  fourierdlem103  47660  fourierdlem104  47661  fourierdlem114  47671  saluncl  47768  sge0pr  47845  meadjun  47913  omeunle  47967  perfectALTVlem2  49259  gpgorder  49596  zlmodzxzel  50005  ldepspr  50188  zlmodzxzldeplem2  50216
  Copyright terms: Public domain W3C validator