| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > nqereq | Structured version Visualization version GIF version | ||
| Description: The function [Q] acts as a substitute for equivalence classes, and it satisfies the fundamental requirement for equivalence representatives: the representatives are equal iff the members are equivalent. (Contributed by Mario Carneiro, 6-May-2013.) (Revised by Mario Carneiro, 12-Aug-2015.) (New usage is discouraged.) |
| Ref | Expression |
|---|---|
| nqereq | ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ ([Q]‘𝐴) = ([Q]‘𝐵))) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | nqercl 10889 | . . . . 5 ⊢ (𝐴 ∈ (N × N) → ([Q]‘𝐴) ∈ Q) | |
| 2 | 1 | 3ad2ant1 1146 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐴) ∈ Q) |
| 3 | nqercl 10889 | . . . . 5 ⊢ (𝐵 ∈ (N × N) → ([Q]‘𝐵) ∈ Q) | |
| 4 | 3 | 3ad2ant2 1147 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐵) ∈ Q) |
| 5 | enqer 10879 | . . . . . 6 ⊢ ~Q Er (N × N) | |
| 6 | 5 | a1i 11 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ~Q Er (N × N)) |
| 7 | nqerrel 10890 | . . . . . . 7 ⊢ (𝐴 ∈ (N × N) → 𝐴 ~Q ([Q]‘𝐴)) | |
| 8 | 7 | 3ad2ant1 1146 | . . . . . 6 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → 𝐴 ~Q ([Q]‘𝐴)) |
| 9 | simp3 1151 | . . . . . 6 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → 𝐴 ~Q 𝐵) | |
| 10 | 6, 8, 9 | ertr3d 8697 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐴) ~Q 𝐵) |
| 11 | nqerrel 10890 | . . . . . 6 ⊢ (𝐵 ∈ (N × N) → 𝐵 ~Q ([Q]‘𝐵)) | |
| 12 | 11 | 3ad2ant2 1147 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → 𝐵 ~Q ([Q]‘𝐵)) |
| 13 | 6, 10, 12 | ertrd 8695 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐴) ~Q ([Q]‘𝐵)) |
| 14 | enqeq 10892 | . . . 4 ⊢ ((([Q]‘𝐴) ∈ Q ∧ ([Q]‘𝐵) ∈ Q ∧ ([Q]‘𝐴) ~Q ([Q]‘𝐵)) → ([Q]‘𝐴) = ([Q]‘𝐵)) | |
| 15 | 2, 4, 13, 14 | syl3anc 1390 | . . 3 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐴) = ([Q]‘𝐵)) |
| 16 | 15 | 3expia 1134 | . 2 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ~Q 𝐵 → ([Q]‘𝐴) = ([Q]‘𝐵))) |
| 17 | 5 | a1i 11 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → ~Q Er (N × N)) |
| 18 | 7 | adantr 484 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → 𝐴 ~Q ([Q]‘𝐴)) |
| 19 | simprr 782 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → ([Q]‘𝐴) = ([Q]‘𝐵)) | |
| 20 | 18, 19 | breqtrd 5126 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → 𝐴 ~Q ([Q]‘𝐵)) |
| 21 | 11 | ad2antrl 738 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → 𝐵 ~Q ([Q]‘𝐵)) |
| 22 | 17, 20, 21 | ertr4d 8698 | . . 3 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → 𝐴 ~Q 𝐵) |
| 23 | 22 | expr 460 | . 2 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (([Q]‘𝐴) = ([Q]‘𝐵) → 𝐴 ~Q 𝐵)) |
| 24 | 16, 23 | impbid 214 | 1 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ ([Q]‘𝐴) = ([Q]‘𝐵))) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ↔ wb 208 ∧ wa 399 ∧ w3a 1098 = wceq 1560 ∈ wcel 2142 class class class wbr 5100 × cxp 5645 ‘cfv 6521 Er wer 8675 Ncnpi 10802 ~Q ceq 10809 Qcnq 10810 [Q]cerq 10812 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1815 ax-4 1829 ax-5 1930 ax-6 1987 ax-7 2028 ax-8 2144 ax-9 2152 ax-10 2175 ax-11 2191 ax-12 2212 ax-ext 2734 ax-sep 5246 ax-nul 5256 ax-pr 5390 ax-un 7718 |
| This theorem depends on definitions: df-bi 209 df-an 400 df-or 859 df-3or 1099 df-3an 1100 df-tru 1563 df-fal 1573 df-ex 1800 df-nf 1804 df-sb 2091 df-mo 2566 df-eu 2596 df-clab 2741 df-cleq 2754 df-clel 2837 df-nfc 2911 df-ne 2958 df-ral 3077 df-rex 3087 df-rmo 3367 df-reu 3368 df-rab 3415 df-v 3456 df-sbc 3745 df-csb 3853 df-dif 3907 df-un 3909 df-in 3911 df-ss 3921 df-pss 3924 df-nul 4286 df-if 4481 df-pw 4557 df-sn 4583 df-pr 4585 df-op 4589 df-uni 4866 df-iun 4951 df-br 5101 df-opab 5163 df-mpt 5182 df-tr 5208 df-id 5542 df-eprel 5547 df-po 5555 df-so 5556 df-fr 5600 df-we 5602 df-xp 5653 df-rel 5654 df-cnv 5655 df-co 5656 df-dm 5657 df-rn 5658 df-res 5659 df-ima 5660 df-pred 6288 df-ord 6349 df-on 6350 df-lim 6351 df-suc 6352 df-iota 6477 df-fun 6523 df-fn 6524 df-f 6525 df-f1 6526 df-fo 6527 df-f1o 6528 df-fv 6529 df-ov 7399 df-oprab 7400 df-mpo 7401 df-om 7847 df-1st 7970 df-2nd 7971 df-frecs 8262 df-wrecs 8293 df-recs 8342 df-rdg 8381 df-1o 8437 df-oadd 8441 df-omul 8442 df-er 8678 df-ni 10830 df-mi 10832 df-lti 10833 df-enq 10869 df-nq 10870 df-erq 10871 df-1nq 10874 |
| This theorem is referenced by: adderpq 10914 mulerpq 10915 distrnq 10919 recmulnq 10922 ltexnq 10933 |
| Copyright terms: Public domain | W3C validator |