ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  ecopover GIF version

Theorem ecopover 6907
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.)
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 . . . . 5 ∼ = {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))}
21relopabi 4905 . . . 4 Rel ∼
32a1i 9 . . 3 (⊤ → Rel ∼ )
4 ecopopr.com . . . . 5 (𝑥 + 𝑦) = (𝑦 + 𝑥)
51, 4ecopovsym 6905 . . . 4 (𝑓 ∼ 𝑔 → 𝑔 ∼ 𝑓)
65adantl 277 . . 3 ((⊤ ∧ 𝑓 ∼ 𝑔) → 𝑔 ∼ 𝑓)
7 ecopopr.cl . . . . 5 ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → (𝑥 + 𝑦) ∈ 𝑆)
8 ecopopr.ass . . . . 5 ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧))
9 ecopopr.can . . . . 5 ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → ((𝑥 + 𝑦) = (𝑥 + 𝑧) → 𝑦 = 𝑧))
101, 4, 7, 8, 9ecopovtrn 6906 . . . 4 ((𝑓 ∼ 𝑔 ∧ 𝑔 ∼ ℎ) → 𝑓 ∼ ℎ)
1110adantl 277 . . 3 ((⊤ ∧ (𝑓 ∼ 𝑔 ∧ 𝑔 ∼ ℎ)) → 𝑓 ∼ ℎ)
12 vex 2824 . . . . . . . . . . 11 𝑔 ∈ V
13 vex 2824 . . . . . . . . . . 11 ℎ ∈ V
1412, 13, 4caovcom 6247 . . . . . . . . . 10 (𝑔 + ℎ) = (ℎ + 𝑔)
151ecopoveq 6904 . . . . . . . . . 10 (((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) ∧ (𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆)) → (⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩ ↔ (𝑔 + ℎ) = (ℎ + 𝑔)))
1614, 15mpbiri 168 . . . . . . . . 9 (((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) ∧ (𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆)) → ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩)
1716anidms 401 . . . . . . . 8 ((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) → ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩)
1817rgen2a 2604 . . . . . . 7 ∀𝑔 ∈ 𝑆 ∀ℎ ∈ 𝑆 ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩
19 breq12 4135 . . . . . . . . 9 ((𝑓 = ⟨𝑔, ℎ⟩ ∧ 𝑓 = ⟨𝑔, ℎ⟩) → (𝑓 ∼ 𝑓 ↔ ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩))
2019anidms 401 . . . . . . . 8 (𝑓 = ⟨𝑔, ℎ⟩ → (𝑓 ∼ 𝑓 ↔ ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩))
2120ralxp 4923 . . . . . . 7 (∀𝑓 ∈ (𝑆 × 𝑆)𝑓 ∼ 𝑓 ↔ ∀𝑔 ∈ 𝑆 ∀ℎ ∈ 𝑆 ⟨𝑔, ℎ⟩ ∼ ⟨𝑔, ℎ⟩)
2218, 21mpbir 146 . . . . . 6 ∀𝑓 ∈ (𝑆 × 𝑆)𝑓 ∼ 𝑓
2322rspec 2602 . . . . 5 (𝑓 ∈ (𝑆 × 𝑆) → 𝑓 ∼ 𝑓)
2423a1i 9 . . . 4 (⊤ → (𝑓 ∈ (𝑆 × 𝑆) → 𝑓 ∼ 𝑓))
25 opabssxp 4849 . . . . . . 7 {⟨𝑥, 𝑦⟩ ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = ⟨𝑧, 𝑤⟩ ∧ 𝑦 = ⟨𝑣, 𝑢⟩) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
261, 25eqsstri 3280 . . . . . 6 ∼ ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆))
2726ssbri 4175 . . . . 5 (𝑓 ∼ 𝑓 → 𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓)
28 brxp 4805 . . . . . 6 (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓 ↔ (𝑓 ∈ (𝑆 × 𝑆) ∧ 𝑓 ∈ (𝑆 × 𝑆)))
2928simplbi 274 . . . . 5 (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓 → 𝑓 ∈ (𝑆 × 𝑆))
3027, 29syl 14 . . . 4 (𝑓 ∼ 𝑓 → 𝑓 ∈ (𝑆 × 𝑆))
3124, 30impbid1 142 . . 3 (⊤ → (𝑓 ∈ (𝑆 × 𝑆) ↔ 𝑓 ∼ 𝑓))
323, 6, 11, 31iserd 6833 . 2 (⊤ → ∼ Er (𝑆 × 𝑆))
3332mptru 1411 1 ∼ Er (𝑆 × 𝑆)
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402  ⊤wtru 1403  ∃wex 1545   ∈ wcel 2209  ∀wral 2528  ⟨cop 3712   class class class wbr 4130  {copab 4191   × cxp 4772  Rel wrel 4779  (class class class)co 6085   Er wer 6804
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-pow 4311  ax-pr 4346
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-v 2823  df-sbc 3052  df-csb 3148  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-iun 4014  df-br 4131  df-opab 4193  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-iota 5337  df-fv 5385  df-ov 6088  df-er 6807
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator