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

Theorem ecopover 8568
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 5719 . 2 Rel
3 ecopopr.com . . 3 (𝑥 + 𝑦) = (𝑦 + 𝑥)
41, 3ecopovsym 8566 . 2 (𝑓 𝑔𝑔 𝑓)
5 ecopopr.cl . . 3 ((𝑥𝑆𝑦𝑆) → (𝑥 + 𝑦) ∈ 𝑆)
6 ecopopr.ass . . 3 ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧))
7 ecopopr.can . . 3 ((𝑥𝑆𝑦𝑆) → ((𝑥 + 𝑦) = (𝑥 + 𝑧) → 𝑦 = 𝑧))
81, 3, 5, 6, 7ecopovtrn 8567 . 2 ((𝑓 𝑔𝑔 ) → 𝑓 )
9 vex 3426 . . . . . . . . 9 𝑔 ∈ V
10 vex 3426 . . . . . . . . 9 ∈ V
119, 10, 3caovcom 7447 . . . . . . . 8 (𝑔 + ) = ( + 𝑔)
121ecopoveq 8565 . . . . . . . 8 (((𝑔𝑆𝑆) ∧ (𝑔𝑆𝑆)) → (⟨𝑔, 𝑔, ⟩ ↔ (𝑔 + ) = ( + 𝑔)))
1311, 12mpbiri 257 . . . . . . 7 (((𝑔𝑆𝑆) ∧ (𝑔𝑆𝑆)) → ⟨𝑔, 𝑔, ⟩)
1413anidms 566 . . . . . 6 ((𝑔𝑆𝑆) → ⟨𝑔, 𝑔, ⟩)
1514rgen2 3126 . . . . 5 𝑔𝑆𝑆𝑔, 𝑔,
16 breq12 5075 . . . . . . 7 ((𝑓 = ⟨𝑔, ⟩ ∧ 𝑓 = ⟨𝑔, ⟩) → (𝑓 𝑓 ↔ ⟨𝑔, 𝑔, ⟩))
1716anidms 566 . . . . . 6 (𝑓 = ⟨𝑔, ⟩ → (𝑓 𝑓 ↔ ⟨𝑔, 𝑔, ⟩))
1817ralxp 5739 . . . . 5 (∀𝑓 ∈ (𝑆 × 𝑆)𝑓 𝑓 ↔ ∀𝑔𝑆𝑆𝑔, 𝑔, ⟩)
1915, 18mpbir 230 . . . 4 𝑓 ∈ (𝑆 × 𝑆)𝑓 𝑓
2019rspec 3131 . . 3 (𝑓 ∈ (𝑆 × 𝑆) → 𝑓 𝑓)
21 opabssxp 5669 . . . . . 6 {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧𝑤𝑣𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
221, 21eqsstri 3951 . . . . 5 ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
2322ssbri 5115 . . . 4 (𝑓 𝑓𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓)
24 brxp 5627 . . . . 5 (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓 ↔ (𝑓 ∈ (𝑆 × 𝑆) ∧ 𝑓 ∈ (𝑆 × 𝑆)))
2524simplbi 497 . . . 4 (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓𝑓 ∈ (𝑆 × 𝑆))
2623, 25syl 17 . . 3 (𝑓 𝑓𝑓 ∈ (𝑆 × 𝑆))
2720, 26impbii 208 . 2 (𝑓 ∈ (𝑆 × 𝑆) ↔ 𝑓 𝑓)
282, 4, 8, 27iseri 8483 1 Er (𝑆 × 𝑆)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1539  wex 1783  wcel 2108  wral 3063  cop 4564   class class class wbr 5070  {copab 5132   × cxp 5578  (class class class)co 7255   Er wer 8453
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-iota 6376  df-fv 6426  df-ov 7258  df-er 8456
This theorem is referenced by:  enqer  10608  enrer  10750
  Copyright terms: Public domain W3C validator