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

Theorem ener 9076
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 9026 . 2 Rel ≈
2 bren 9031 . . 3 (𝑥 ≈ 𝑦 ↔ ∃𝑓 𝑓:𝑥⟶1-1onto𝑦)
3 vex 3460 . . . . 5 𝑦 ∈ V
4 vex 3460 . . . . 5 𝑥 ∈ V
5 f1ocnv 6877 . . . . 5 (𝑓:𝑥⟶1-1onto𝑦 → ◡𝑓:𝑦⟶1-1onto𝑥)
6 f1oen2g 9043 . . . . 5 ((𝑦 ∈ V ∧ 𝑥 ∈ V ∧ ◡𝑓:𝑦⟶1-1onto𝑥) → 𝑦 ≈ 𝑥)
73, 4, 5, 6mp3an12i 1497 . . . 4 (𝑓:𝑥⟶1-1onto𝑦 → 𝑦 ≈ 𝑥)
87exlimiv 1967 . . 3 (∃𝑓 𝑓:𝑥⟶1-1onto𝑦 → 𝑦 ≈ 𝑥)
92, 8sylbi 220 . 2 (𝑥 ≈ 𝑦 → 𝑦 ≈ 𝑥)
10 bren 9031 . . 3 (𝑥 ≈ 𝑦 ↔ ∃𝑔 𝑔:𝑥⟶1-1onto𝑦)
11 bren 9031 . . 3 (𝑦 ≈ 𝑧 ↔ ∃𝑓 𝑓:𝑦⟶1-1onto𝑧)
12 exdistrv 1992 . . . 4 (∃𝑔∃𝑓(𝑔:𝑥⟶1-1onto𝑦 ∧ 𝑓:𝑦⟶1-1onto𝑧) ↔ (∃𝑔 𝑔:𝑥⟶1-1onto𝑦 ∧ ∃𝑓 𝑓:𝑦⟶1-1onto𝑧))
13 vex 3460 . . . . . 6 𝑧 ∈ V
14 f1oco 6888 . . . . . . 7 ((𝑓:𝑦⟶1-1onto𝑧 ∧ 𝑔:𝑥⟶1-1onto𝑦) → (𝑓 ∘ 𝑔):𝑥⟶1-1onto𝑧)
1514ancoms 464 . . . . . 6 ((𝑔:𝑥⟶1-1onto𝑦 ∧ 𝑓:𝑦⟶1-1onto𝑧) → (𝑓 ∘ 𝑔):𝑥⟶1-1onto𝑧)
16 f1oen2g 9043 . . . . . 6 ((𝑥 ∈ V ∧ 𝑧 ∈ V ∧ (𝑓 ∘ 𝑔):𝑥⟶1-1onto𝑧) → 𝑥 ≈ 𝑧)
174, 13, 15, 16mp3an12i 1497 . . . . 5 ((𝑔:𝑥⟶1-1onto𝑦 ∧ 𝑓:𝑦⟶1-1onto𝑧) → 𝑥 ≈ 𝑧)
1817exlimivv 1969 . . . 4 (∃𝑔∃𝑓(𝑔:𝑥⟶1-1onto𝑦 ∧ 𝑓:𝑦⟶1-1onto𝑧) → 𝑥 ≈ 𝑧)
1912, 18sylbir 238 . . 3 ((∃𝑔 𝑔:𝑥⟶1-1onto𝑦 ∧ ∃𝑓 𝑓:𝑦⟶1-1onto𝑧) → 𝑥 ≈ 𝑧)
2010, 11, 19syl2anb 610 . 2 ((𝑥 ≈ 𝑦 ∧ 𝑦 ≈ 𝑧) → 𝑥 ≈ 𝑧)
214enref 9060 . . 3 𝑥 ≈ 𝑥
224, 212th 267 . 2 (𝑥 ∈ V ↔ 𝑥 ≈ 𝑥)
231, 9, 20, 22iseri 8793 1 ≈ Er V
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   ∧ wa 401  ∃wex 1814   ∈ wcel 2151  Vcvv 3456   class class class wbr 5111  ◡ccnv 5660   ∘ ccom 5665  ⟶1-1ontowf1o 6572   Er wer 8762   ≈ cen 9018
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pow 5337  ax-pr 5401  ax-un 7793
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-er 8765  df-en 9022
This theorem is used by:  ensymb  9077  entr  9081
  Copyright terms: Public domain W3C validator