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

Theorem ecopover 8835
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 ∼ = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))}
21relopabiv 5798 . 2 Rel ∼
3 ecopopr.com . . 3 (𝑥 + 𝑦) = (𝑦 + 𝑥)
41, 3ecopovsym 8833 . 2 (𝑓 ∼ 𝑔 → 𝑔 ∼ 𝑓)
5 ecopopr.cl . . 3 ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → (𝑥 + 𝑦) ∈ 𝑆)
6 ecopopr.ass . . 3 ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧))
7 ecopopr.can . . 3 ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → ((𝑥 + 𝑦) = (𝑥 + 𝑧) → 𝑦 = 𝑧))
81, 3, 5, 6, 7ecopovtrn 8834 . 2 ((𝑓 ∼ 𝑔 ∧ 𝑔 ∼ ℎ) → 𝑓 ∼ ℎ)
9 vex 3455 . . . . . . . . 9 𝑔 ∈ V
10 vex 3455 . . . . . . . . 9 ℎ ∈ V
119, 10, 3caovcom 7616 . . . . . . . 8 (𝑔 + ℎ) = (ℎ + 𝑔)
121ecopoveq 8832 . . . . . . . 8 (((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) ∧ (𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆)) → (⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩ ↔ (𝑔 + ℎ) = (ℎ + 𝑔)))
1311, 12mpbiri 261 . . . . . . 7 (((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) ∧ (𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆)) → ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩)
1413anidms 577 . . . . . 6 ((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) → ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩)
1514rgen2 3203 . . . . 5 ∀𝑔 ∈ 𝑆 ∀ℎ ∈ 𝑆 ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩
16 breq12 5108 . . . . . . 7 ((𝑓 = ⟨𝑔, ℎ⟩ ∧ 𝑓 = ⟨𝑔, ℎ⟩) → (𝑓 ∼ 𝑓 ↔ ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩))
1716anidms 577 . . . . . 6 (𝑓 = ⟨𝑔, ℎ⟩ → (𝑓 ∼ 𝑓 ↔ ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩))
1817ralxp 5818 . . . . 5 (∀𝑓 ∈ (𝑆 × 𝑆)𝑓 ∼ 𝑓 ↔ ∀𝑔 ∈ 𝑆 ∀ℎ ∈ 𝑆 ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩)
1915, 18mpbir 234 . . . 4 ∀𝑓 ∈ (𝑆 × 𝑆)𝑓 ∼ 𝑓
2019rspec 3254 . . 3 (𝑓 ∈ (𝑆 × 𝑆) → 𝑓 ∼ 𝑓)
21 opabssxp 5743 . . . . . 6 {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
221, 21eqsstri 3977 . . . . 5 ∼ ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
2322ssbri 5150 . . . 4 (𝑓 ∼ 𝑓 → 𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓)
24 brxp 5700 . . . . 5 (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓 ↔ (𝑓 ∈ (𝑆 × 𝑆) ∧ 𝑓 ∈ (𝑆 × 𝑆)))
2524simplbi 502 . . . 4 (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓 → 𝑓 ∈ (𝑆 × 𝑆))
2623, 25syl 18 . . 3 (𝑓 ∼ 𝑓 → 𝑓 ∈ (𝑆 × 𝑆))
2720, 26impbii 212 . 2 (𝑓 ∈ (𝑆 × 𝑆) ↔ 𝑓 ∼ 𝑓)
282, 4, 8, 27iseri 8738 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 2145  ∀wral 3077  ⟨cop 4590   class class class wbr 5103  {copab 5167   × cxp 5649  (class class class)co 7418   Er wer 8707
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
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 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6493  df-fv 6545  df-ov 7421  df-er 8710
This theorem is used by:  enqer  10999  enrer  11141
  Copyright terms: Public domain W3C validator