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

Theorem ener 8944
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 8891 . 2 Rel ≈
2 bren 8896 . . 3 (𝑥𝑦 ↔ ∃𝑓 𝑓:𝑥1-1-onto𝑦)
3 vex 3448 . . . . 5 𝑦 ∈ V
4 vex 3448 . . . . 5 𝑥 ∈ V
5 f1ocnv 6797 . . . . 5 (𝑓:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑥)
6 f1oen2g 8911 . . . . 5 ((𝑦 ∈ V ∧ 𝑥 ∈ V ∧ 𝑓:𝑦1-1-onto𝑥) → 𝑦𝑥)
73, 4, 5, 6mp3an12i 1466 . . . 4 (𝑓:𝑥1-1-onto𝑦𝑦𝑥)
87exlimiv 1934 . . 3 (∃𝑓 𝑓:𝑥1-1-onto𝑦𝑦𝑥)
92, 8sylbi 216 . 2 (𝑥𝑦𝑦𝑥)
10 bren 8896 . . 3 (𝑥𝑦 ↔ ∃𝑔 𝑔:𝑥1-1-onto𝑦)
11 bren 8896 . . 3 (𝑦𝑧 ↔ ∃𝑓 𝑓:𝑦1-1-onto𝑧)
12 exdistrv 1960 . . . 4 (∃𝑔𝑓(𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) ↔ (∃𝑔 𝑔:𝑥1-1-onto𝑦 ∧ ∃𝑓 𝑓:𝑦1-1-onto𝑧))
13 vex 3448 . . . . . 6 𝑧 ∈ V
14 f1oco 6808 . . . . . . 7 ((𝑓:𝑦1-1-onto𝑧𝑔:𝑥1-1-onto𝑦) → (𝑓𝑔):𝑥1-1-onto𝑧)
1514ancoms 460 . . . . . 6 ((𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) → (𝑓𝑔):𝑥1-1-onto𝑧)
16 f1oen2g 8911 . . . . . 6 ((𝑥 ∈ V ∧ 𝑧 ∈ V ∧ (𝑓𝑔):𝑥1-1-onto𝑧) → 𝑥𝑧)
174, 13, 15, 16mp3an12i 1466 . . . . 5 ((𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) → 𝑥𝑧)
1817exlimivv 1936 . . . 4 (∃𝑔𝑓(𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) → 𝑥𝑧)
1912, 18sylbir 234 . . 3 ((∃𝑔 𝑔:𝑥1-1-onto𝑦 ∧ ∃𝑓 𝑓:𝑦1-1-onto𝑧) → 𝑥𝑧)
2010, 11, 19syl2anb 599 . 2 ((𝑥𝑦𝑦𝑧) → 𝑥𝑧)
214enref 8928 . . 3 𝑥𝑥
224, 212th 264 . 2 (𝑥 ∈ V ↔ 𝑥𝑥)
231, 9, 20, 22iseri 8678 1 ≈ Er V
Colors of variables: wff setvar class
Syntax hints:  wa 397  wex 1782  wcel 2107  Vcvv 3444   class class class wbr 5106  ccnv 5633  ccom 5638  1-1-ontowf1o 6496   Er wer 8648  cen 8883
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 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-sep 5257  ax-nul 5264  ax-pow 5321  ax-pr 5385  ax-un 7673
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ral 3062  df-rex 3071  df-rab 3407  df-v 3446  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-nul 4284  df-if 4488  df-pw 4563  df-sn 4588  df-pr 4590  df-op 4594  df-uni 4867  df-br 5107  df-opab 5169  df-id 5532  df-xp 5640  df-rel 5641  df-cnv 5642  df-co 5643  df-dm 5644  df-rn 5645  df-res 5646  df-ima 5647  df-fun 6499  df-fn 6500  df-f 6501  df-f1 6502  df-fo 6503  df-f1o 6504  df-er 8651  df-en 8887
This theorem is referenced by:  ensymb  8945  entr  8949
  Copyright terms: Public domain W3C validator