![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > ecopover | Structured version Visualization version GIF version |
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.) |
Ref | Expression |
---|---|
ecopopr.1 | ⊢ ∼ = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = 〈𝑧, 𝑤〉 ∧ 𝑦 = 〈𝑣, 𝑢〉) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} |
ecopopr.com | ⊢ (𝑥 + 𝑦) = (𝑦 + 𝑥) |
ecopopr.cl | ⊢ ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → (𝑥 + 𝑦) ∈ 𝑆) |
ecopopr.ass | ⊢ ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)) |
ecopopr.can | ⊢ ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → ((𝑥 + 𝑦) = (𝑥 + 𝑧) → 𝑦 = 𝑧)) |
Ref | Expression |
---|---|
ecopover | ⊢ ∼ Er (𝑆 × 𝑆) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | ecopopr.1 | . . 3 ⊢ ∼ = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = 〈𝑧, 𝑤〉 ∧ 𝑦 = 〈𝑣, 𝑢〉) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} | |
2 | 1 | relopabi 5401 | . 2 ⊢ Rel ∼ |
3 | ecopopr.com | . . 3 ⊢ (𝑥 + 𝑦) = (𝑦 + 𝑥) | |
4 | 1, 3 | ecopovsym 8016 | . 2 ⊢ (𝑓 ∼ 𝑔 → 𝑔 ∼ 𝑓) |
5 | ecopopr.cl | . . 3 ⊢ ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → (𝑥 + 𝑦) ∈ 𝑆) | |
6 | ecopopr.ass | . . 3 ⊢ ((𝑥 + 𝑦) + 𝑧) = (𝑥 + (𝑦 + 𝑧)) | |
7 | ecopopr.can | . . 3 ⊢ ((𝑥 ∈ 𝑆 ∧ 𝑦 ∈ 𝑆) → ((𝑥 + 𝑦) = (𝑥 + 𝑧) → 𝑦 = 𝑧)) | |
8 | 1, 3, 5, 6, 7 | ecopovtrn 8017 | . 2 ⊢ ((𝑓 ∼ 𝑔 ∧ 𝑔 ∼ ℎ) → 𝑓 ∼ ℎ) |
9 | vex 3343 | . . . . . . . . 9 ⊢ 𝑔 ∈ V | |
10 | vex 3343 | . . . . . . . . 9 ⊢ ℎ ∈ V | |
11 | 9, 10, 3 | caovcom 6996 | . . . . . . . 8 ⊢ (𝑔 + ℎ) = (ℎ + 𝑔) |
12 | 1 | ecopoveq 8015 | . . . . . . . 8 ⊢ (((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) ∧ (𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆)) → (〈𝑔, ℎ〉 ∼ 〈𝑔, ℎ〉 ↔ (𝑔 + ℎ) = (ℎ + 𝑔))) |
13 | 11, 12 | mpbiri 248 | . . . . . . 7 ⊢ (((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) ∧ (𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆)) → 〈𝑔, ℎ〉 ∼ 〈𝑔, ℎ〉) |
14 | 13 | anidms 680 | . . . . . 6 ⊢ ((𝑔 ∈ 𝑆 ∧ ℎ ∈ 𝑆) → 〈𝑔, ℎ〉 ∼ 〈𝑔, ℎ〉) |
15 | 14 | rgen2a 3115 | . . . . 5 ⊢ ∀𝑔 ∈ 𝑆 ∀ℎ ∈ 𝑆 〈𝑔, ℎ〉 ∼ 〈𝑔, ℎ〉 |
16 | breq12 4809 | . . . . . . 7 ⊢ ((𝑓 = 〈𝑔, ℎ〉 ∧ 𝑓 = 〈𝑔, ℎ〉) → (𝑓 ∼ 𝑓 ↔ 〈𝑔, ℎ〉 ∼ 〈𝑔, ℎ〉)) | |
17 | 16 | anidms 680 | . . . . . 6 ⊢ (𝑓 = 〈𝑔, ℎ〉 → (𝑓 ∼ 𝑓 ↔ 〈𝑔, ℎ〉 ∼ 〈𝑔, ℎ〉)) |
18 | 17 | ralxp 5419 | . . . . 5 ⊢ (∀𝑓 ∈ (𝑆 × 𝑆)𝑓 ∼ 𝑓 ↔ ∀𝑔 ∈ 𝑆 ∀ℎ ∈ 𝑆 〈𝑔, ℎ〉 ∼ 〈𝑔, ℎ〉) |
19 | 15, 18 | mpbir 221 | . . . 4 ⊢ ∀𝑓 ∈ (𝑆 × 𝑆)𝑓 ∼ 𝑓 |
20 | 19 | rspec 3069 | . . 3 ⊢ (𝑓 ∈ (𝑆 × 𝑆) → 𝑓 ∼ 𝑓) |
21 | opabssxp 5350 | . . . . . 6 ⊢ {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ (𝑆 × 𝑆) ∧ 𝑦 ∈ (𝑆 × 𝑆)) ∧ ∃𝑧∃𝑤∃𝑣∃𝑢((𝑥 = 〈𝑧, 𝑤〉 ∧ 𝑦 = 〈𝑣, 𝑢〉) ∧ (𝑧 + 𝑢) = (𝑤 + 𝑣)))} ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆)) | |
22 | 1, 21 | eqsstri 3776 | . . . . 5 ⊢ ∼ ⊆ ((𝑆 × 𝑆) × (𝑆 × 𝑆)) |
23 | 22 | ssbri 4849 | . . . 4 ⊢ (𝑓 ∼ 𝑓 → 𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓) |
24 | brxp 5304 | . . . . 5 ⊢ (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓 ↔ (𝑓 ∈ (𝑆 × 𝑆) ∧ 𝑓 ∈ (𝑆 × 𝑆))) | |
25 | 24 | simplbi 478 | . . . 4 ⊢ (𝑓((𝑆 × 𝑆) × (𝑆 × 𝑆))𝑓 → 𝑓 ∈ (𝑆 × 𝑆)) |
26 | 23, 25 | syl 17 | . . 3 ⊢ (𝑓 ∼ 𝑓 → 𝑓 ∈ (𝑆 × 𝑆)) |
27 | 20, 26 | impbii 199 | . 2 ⊢ (𝑓 ∈ (𝑆 × 𝑆) ↔ 𝑓 ∼ 𝑓) |
28 | 2, 4, 8, 27 | iseri 7938 | 1 ⊢ ∼ Er (𝑆 × 𝑆) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 196 ∧ wa 383 = wceq 1632 ∃wex 1853 ∈ wcel 2139 ∀wral 3050 〈cop 4327 class class class wbr 4804 {copab 4864 × cxp 5264 (class class class)co 6813 Er wer 7908 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1871 ax-4 1886 ax-5 1988 ax-6 2054 ax-7 2090 ax-9 2148 ax-10 2168 ax-11 2183 ax-12 2196 ax-13 2391 ax-ext 2740 ax-sep 4933 ax-nul 4941 ax-pr 5055 |
This theorem depends on definitions: df-bi 197 df-or 384 df-an 385 df-3an 1074 df-tru 1635 df-ex 1854 df-nf 1859 df-sb 2047 df-eu 2611 df-mo 2612 df-clab 2747 df-cleq 2753 df-clel 2756 df-nfc 2891 df-ral 3055 df-rex 3056 df-rab 3059 df-v 3342 df-sbc 3577 df-csb 3675 df-dif 3718 df-un 3720 df-in 3722 df-ss 3729 df-nul 4059 df-if 4231 df-sn 4322 df-pr 4324 df-op 4328 df-uni 4589 df-iun 4674 df-br 4805 df-opab 4865 df-xp 5272 df-rel 5273 df-cnv 5274 df-co 5275 df-dm 5276 df-iota 6012 df-fv 6057 df-ov 6816 df-er 7911 |
This theorem is referenced by: enqer 9935 enrer 10078 |
Copyright terms: Public domain | W3C validator |