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

Theorem ener 8539
Description: Equinumerosity is an equivalence relation. (Contributed by NM, 19-Mar-1998.) (Revised by Mario Carneiro, 15-Nov-2014.) (Proof shortened by AV, 1-May-2021.)
Assertion
Ref Expression
ener ≈ Er V

Proof of Theorem ener
Dummy variables 𝑓 𝑔 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relen 8497 . 2 Rel ≈
2 bren 8501 . . 3 (𝑥𝑦 ↔ ∃𝑓 𝑓:𝑥1-1-onto𝑦)
3 vex 3444 . . . . 5 𝑦 ∈ V
4 vex 3444 . . . . 5 𝑥 ∈ V
5 f1ocnv 6602 . . . . 5 (𝑓:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑥)
6 f1oen2g 8509 . . . . 5 ((𝑦 ∈ V ∧ 𝑥 ∈ V ∧ 𝑓:𝑦1-1-onto𝑥) → 𝑦𝑥)
73, 4, 5, 6mp3an12i 1462 . . . 4 (𝑓:𝑥1-1-onto𝑦𝑦𝑥)
87exlimiv 1931 . . 3 (∃𝑓 𝑓:𝑥1-1-onto𝑦𝑦𝑥)
92, 8sylbi 220 . 2 (𝑥𝑦𝑦𝑥)
10 bren 8501 . . 3 (𝑥𝑦 ↔ ∃𝑔 𝑔:𝑥1-1-onto𝑦)
11 bren 8501 . . 3 (𝑦𝑧 ↔ ∃𝑓 𝑓:𝑦1-1-onto𝑧)
12 exdistrv 1956 . . . 4 (∃𝑔𝑓(𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) ↔ (∃𝑔 𝑔:𝑥1-1-onto𝑦 ∧ ∃𝑓 𝑓:𝑦1-1-onto𝑧))
13 vex 3444 . . . . . 6 𝑧 ∈ V
14 f1oco 6612 . . . . . . 7 ((𝑓:𝑦1-1-onto𝑧𝑔:𝑥1-1-onto𝑦) → (𝑓𝑔):𝑥1-1-onto𝑧)
1514ancoms 462 . . . . . 6 ((𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) → (𝑓𝑔):𝑥1-1-onto𝑧)
16 f1oen2g 8509 . . . . . 6 ((𝑥 ∈ V ∧ 𝑧 ∈ V ∧ (𝑓𝑔):𝑥1-1-onto𝑧) → 𝑥𝑧)
174, 13, 15, 16mp3an12i 1462 . . . . 5 ((𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) → 𝑥𝑧)
1817exlimivv 1933 . . . 4 (∃𝑔𝑓(𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) → 𝑥𝑧)
1912, 18sylbir 238 . . 3 ((∃𝑔 𝑔:𝑥1-1-onto𝑦 ∧ ∃𝑓 𝑓:𝑦1-1-onto𝑧) → 𝑥𝑧)
2010, 11, 19syl2anb 600 . 2 ((𝑥𝑦𝑦𝑧) → 𝑥𝑧)
214enref 8525 . . 3 𝑥𝑥
224, 212th 267 . 2 (𝑥 ∈ V ↔ 𝑥𝑥)
231, 9, 20, 22iseri 8299 1 ≈ Er V
Colors of variables: wff setvar class
Syntax hints:  wa 399  wex 1781  wcel 2111  Vcvv 3441   class class class wbr 5030  ccnv 5518  ccom 5523  1-1-ontowf1o 6323   Er wer 8269  cen 8489
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-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-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-id 5425  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-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-er 8272  df-en 8493
This theorem is referenced by:  ensymb  8540  entr  8544
  Copyright terms: Public domain W3C validator