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

Theorem ener 7888
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 7846 . 2 Rel ≈
2 bren 7850 . . 3 (𝑥𝑦 ↔ ∃𝑓 𝑓:𝑥1-1-onto𝑦)
3 vex 3176 . . . . 5 𝑦 ∈ V
4 vex 3176 . . . . 5 𝑥 ∈ V
5 f1ocnv 6062 . . . . 5 (𝑓:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑥)
6 f1oen2g 7858 . . . . 5 ((𝑦 ∈ V ∧ 𝑥 ∈ V ∧ 𝑓:𝑦1-1-onto𝑥) → 𝑦𝑥)
73, 4, 5, 6mp3an12i 1420 . . . 4 (𝑓:𝑥1-1-onto𝑦𝑦𝑥)
87exlimiv 1845 . . 3 (∃𝑓 𝑓:𝑥1-1-onto𝑦𝑦𝑥)
92, 8sylbi 206 . 2 (𝑥𝑦𝑦𝑥)
10 bren 7850 . . 3 (𝑥𝑦 ↔ ∃𝑔 𝑔:𝑥1-1-onto𝑦)
11 bren 7850 . . 3 (𝑦𝑧 ↔ ∃𝑓 𝑓:𝑦1-1-onto𝑧)
12 eeanv 2170 . . . 4 (∃𝑔𝑓(𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) ↔ (∃𝑔 𝑔:𝑥1-1-onto𝑦 ∧ ∃𝑓 𝑓:𝑦1-1-onto𝑧))
13 vex 3176 . . . . . 6 𝑧 ∈ V
14 f1oco 6072 . . . . . . 7 ((𝑓:𝑦1-1-onto𝑧𝑔:𝑥1-1-onto𝑦) → (𝑓𝑔):𝑥1-1-onto𝑧)
1514ancoms 468 . . . . . 6 ((𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) → (𝑓𝑔):𝑥1-1-onto𝑧)
16 f1oen2g 7858 . . . . . 6 ((𝑥 ∈ V ∧ 𝑧 ∈ V ∧ (𝑓𝑔):𝑥1-1-onto𝑧) → 𝑥𝑧)
174, 13, 15, 16mp3an12i 1420 . . . . 5 ((𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) → 𝑥𝑧)
1817exlimivv 1847 . . . 4 (∃𝑔𝑓(𝑔:𝑥1-1-onto𝑦𝑓:𝑦1-1-onto𝑧) → 𝑥𝑧)
1912, 18sylbir 224 . . 3 ((∃𝑔 𝑔:𝑥1-1-onto𝑦 ∧ ∃𝑓 𝑓:𝑦1-1-onto𝑧) → 𝑥𝑧)
2010, 11, 19syl2anb 495 . 2 ((𝑥𝑦𝑦𝑧) → 𝑥𝑧)
214enref 7874 . . 3 𝑥𝑥
224, 212th 253 . 2 (𝑥 ∈ V ↔ 𝑥𝑥)
231, 9, 20, 22iseri 7656 1 ≈ Er V
Colors of variables: wff setvar class
Syntax hints:  wa 383  wex 1695  wcel 1977  Vcvv 3173   class class class wbr 4583  ccnv 5037  ccom 5042  1-1-ontowf1o 5803   Er wer 7626  cen 7838
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-id 4953  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-er 7629  df-en 7842
This theorem is referenced by:  ensymb  7890  entr  7894
  Copyright terms: Public domain W3C validator