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

Theorem ecopover 8880
Description: Assuming that operation 𝐹 is commutative (second hypothesis), closed (third hypothesis), associative (fourth hypothesis), and has the cancellation property (fifth hypothesis), show that the relation ∼, specified by the first hypothesis, is an equivalence relation. (Contributed by NM, 16-Feb-1996.) (Revised by Mario Carneiro, 12-Aug-2015.) (Proof shortened by AV, 1-May-2021.)
Hypotheses
Ref Expression
ecopopr.1 ∼ = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))}
ecopopr.com (𝑥 + 𝑦) = (𝑦 + 𝑥)
ecopopr.cl ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → (𝑥 + 𝑦) ∈ 𝑆)
ecopopr.ass ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧))
ecopopr.can ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → ((𝑥 + 𝑦) = (𝑥 + 𝑧) → 𝑦 = 𝑧))
Assertion
Ref Expression
ecopover ∼ Er (𝑆 × 𝑆)
Distinct variable groups:   𝑥,𝑦,𝑧,𝑤,𝑣,𝑢, +   𝑥,𝑆,𝑦,𝑧,𝑤,𝑣,𝑢
Allowed substitution hints:   ∼ (𝑥, 𝑦, 𝑧, 𝑤, 𝑣, 𝑢)

Proof of Theorem ecopover
Dummy variables 𝑓 𝑔 ℎ are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ecopopr.1 . . 3 ∼ = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))}
21relopabi 5809 . 2 Rel ∼
3 ecopopr.com . . 3 (𝑥 + 𝑦) = (𝑦 + 𝑥)
41, 3ecopovsym 8878 . 2 (𝑓 ∼ 𝑔 → 𝑔 ∼ 𝑓)
5 ecopopr.cl . . 3 ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → (𝑥 + 𝑦) ∈ 𝑆)
6 ecopopr.ass . . 3 ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧))
7 ecopopr.can . . 3 ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → ((𝑥 + 𝑦) = (𝑥 + 𝑧) → 𝑦 = 𝑧))
81, 3, 5, 6, 7ecopovtrn 8879 . 2 ((𝑓 ∼ 𝑔 ∧ 𝑔 ∼ ℎ) → 𝑓 ∼ ℎ)
9 vex 3458 . . . . . . . . 9 𝑔 ∈ V
10 vex 3458 . . . . . . . . 9 ℎ ∈ V
119, 10, 3caovcom 7650 . . . . . . . 8 (𝑔 + ℎ) = (ℎ + 𝑔)
121ecopoveq 8877 . . . . . . . 8 (((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) ∧ (𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆)) → (⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩ ↔ (𝑔 + ℎ) = (ℎ + 𝑔)))
1311, 12mpbiri 261 . . . . . . 7 (((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) ∧ (𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆)) → ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩)
1413anidms 577 . . . . . 6 ((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) → ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩)
1514rgen2 3206 . . . . 5 ∀𝑔 ∈ 𝑆 ∀ℎ ∈ 𝑆 ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩
16 breq12 5113 . . . . . . 7 ((𝑓 = ⟨𝑔, ℎ⟩ ∧ 𝑓 = ⟨𝑔, ℎ⟩) → (𝑓 ∼ 𝑓 ↔ ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩))
1716anidms 577 . . . . . 6 (𝑓 = ⟨𝑔, ℎ⟩ → (𝑓 ∼ 𝑓 ↔ ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩))
1817ralxp 5828 . . . . 5 (∀𝑓 ∈ (𝑆 × 𝑆)𝑓 ∼ 𝑓 ↔ ∀𝑔 ∈ 𝑆 ∀ℎ ∈ 𝑆 ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩)
1915, 18mpbir 234 . . . 4 ∀𝑓 ∈ (𝑆 × 𝑆)𝑓 ∼ 𝑓
2019rspec 3257 . . 3 (𝑓 ∈ (𝑆 × 𝑆) → 𝑓 ∼ 𝑓)
21 opabssxp 5751 . . . . . 6 {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
221, 21eqsstri 3959 . . . . 5 ∼ ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
2322ssbri 5156 . . . 4 (𝑓 ∼ 𝑓 → 𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓)
24 brxp 5707 . . . . 5 (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓 ↔ (𝑓 ∈ (𝑆 × 𝑆) ∧ 𝑓 ∈ (𝑆 × 𝑆)))
2524simplbi 502 . . . 4 (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓 → 𝑓 ∈ (𝑆 × 𝑆))
2623, 25syl 18 . . 3 (𝑓 ∼ 𝑓 → 𝑓 ∈ (𝑆 × 𝑆))
2720, 26impbii 212 . 2 (𝑓 ∈ (𝑆 × 𝑆) ↔ 𝑓 ∼ 𝑓)
282, 4, 8, 27iseri 8783 1 ∼ Er (𝑆 × 𝑆)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2147  ∀wral 3080  ⟨cop 4840   class class class wbr 5108  {copab 5173   × cxp 5656  (class class class)co 7451   Er wer 8752
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-iota 6520  df-fv 6574  df-ov 7454  df-er 8755
This theorem is used by:  enqer  11045  enrer  11187
  Copyright terms: Public domain W3C validator