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

Theorem en2eqpr 9418
Description: Building a set with two elements. (Contributed by FL, 11-Aug-2008.) (Revised by Mario Carneiro, 10-Sep-2015.)
Assertion
Ref Expression
en2eqpr ((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) → (𝐴𝐵𝐶 = {𝐴, 𝐵}))

Proof of Theorem en2eqpr
StepHypRef Expression
1 2onn 8249 . . . . . 6 2o ∈ ω
2 nnfi 8696 . . . . . 6 (2o ∈ ω → 2o ∈ Fin)
31, 2ax-mp 5 . . . . 5 2o ∈ Fin
4 simpl1 1188 . . . . 5 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → 𝐶 ≈ 2o)
5 enfii 8719 . . . . 5 ((2o ∈ Fin ∧ 𝐶 ≈ 2o) → 𝐶 ∈ Fin)
63, 4, 5sylancr 590 . . . 4 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → 𝐶 ∈ Fin)
7 simpl2 1189 . . . . 5 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → 𝐴𝐶)
8 simpl3 1190 . . . . 5 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → 𝐵𝐶)
97, 8prssd 4715 . . . 4 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → {𝐴, 𝐵} ⊆ 𝐶)
10 pr2nelem 9415 . . . . . . 7 ((𝐴𝐶𝐵𝐶𝐴𝐵) → {𝐴, 𝐵} ≈ 2o)
11103expa 1115 . . . . . 6 (((𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → {𝐴, 𝐵} ≈ 2o)
12113adantl1 1163 . . . . 5 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → {𝐴, 𝐵} ≈ 2o)
134ensymd 8543 . . . . 5 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → 2o𝐶)
14 entr 8544 . . . . 5 (({𝐴, 𝐵} ≈ 2o ∧ 2o𝐶) → {𝐴, 𝐵} ≈ 𝐶)
1512, 13, 14syl2anc 587 . . . 4 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → {𝐴, 𝐵} ≈ 𝐶)
16 fisseneq 8713 . . . 4 ((𝐶 ∈ Fin ∧ {𝐴, 𝐵} ⊆ 𝐶 ∧ {𝐴, 𝐵} ≈ 𝐶) → {𝐴, 𝐵} = 𝐶)
176, 9, 15, 16syl3anc 1368 . . 3 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → {𝐴, 𝐵} = 𝐶)
1817eqcomd 2804 . 2 (((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) ∧ 𝐴𝐵) → 𝐶 = {𝐴, 𝐵})
1918ex 416 1 ((𝐶 ≈ 2o𝐴𝐶𝐵𝐶) → (𝐴𝐵𝐶 = {𝐴, 𝐵}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  w3a 1084   = wceq 1538  wcel 2111  wne 2987  wss 3881  {cpr 4527   class class class wbr 5030  ωcom 7560  2oc2o 8079  cen 8489  Fincfn 8492
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-om 7561  df-1o 8085  df-2o 8086  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-fin 8496
This theorem is referenced by:  isprm2lem  16015  en2top  21590
  Copyright terms: Public domain W3C validator