![]() |
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 10923 | . . . . 5 ⊢ (𝐴 ∈ (N × N) → ([Q]‘𝐴) ∈ Q) | |
2 | 1 | 3ad2ant1 1134 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐴) ∈ Q) |
3 | nqercl 10923 | . . . . 5 ⊢ (𝐵 ∈ (N × N) → ([Q]‘𝐵) ∈ Q) | |
4 | 3 | 3ad2ant2 1135 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐵) ∈ Q) |
5 | enqer 10913 | . . . . . 6 ⊢ ~Q Er (N × N) | |
6 | 5 | a1i 11 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ~Q Er (N × N)) |
7 | nqerrel 10924 | . . . . . . 7 ⊢ (𝐴 ∈ (N × N) → 𝐴 ~Q ([Q]‘𝐴)) | |
8 | 7 | 3ad2ant1 1134 | . . . . . 6 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → 𝐴 ~Q ([Q]‘𝐴)) |
9 | simp3 1139 | . . . . . 6 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → 𝐴 ~Q 𝐵) | |
10 | 6, 8, 9 | ertr3d 8718 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐴) ~Q 𝐵) |
11 | nqerrel 10924 | . . . . . 6 ⊢ (𝐵 ∈ (N × N) → 𝐵 ~Q ([Q]‘𝐵)) | |
12 | 11 | 3ad2ant2 1135 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → 𝐵 ~Q ([Q]‘𝐵)) |
13 | 6, 10, 12 | ertrd 8716 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐴) ~Q ([Q]‘𝐵)) |
14 | enqeq 10926 | . . . 4 ⊢ ((([Q]‘𝐴) ∈ Q ∧ ([Q]‘𝐵) ∈ Q ∧ ([Q]‘𝐴) ~Q ([Q]‘𝐵)) → ([Q]‘𝐴) = ([Q]‘𝐵)) | |
15 | 2, 4, 13, 14 | syl3anc 1372 | . . 3 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐴 ~Q 𝐵) → ([Q]‘𝐴) = ([Q]‘𝐵)) |
16 | 15 | 3expia 1122 | . 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 482 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → 𝐴 ~Q ([Q]‘𝐴)) |
19 | simprr 772 | . . . . 5 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → ([Q]‘𝐴) = ([Q]‘𝐵)) | |
20 | 18, 19 | breqtrd 5174 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → 𝐴 ~Q ([Q]‘𝐵)) |
21 | 11 | ad2antrl 727 | . . . 4 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → 𝐵 ~Q ([Q]‘𝐵)) |
22 | 17, 20, 21 | ertr4d 8719 | . . 3 ⊢ ((𝐴 ∈ (N × N) ∧ (𝐵 ∈ (N × N) ∧ ([Q]‘𝐴) = ([Q]‘𝐵))) → 𝐴 ~Q 𝐵) |
23 | 22 | expr 458 | . 2 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (([Q]‘𝐴) = ([Q]‘𝐵) → 𝐴 ~Q 𝐵)) |
24 | 16, 23 | impbid 211 | 1 ⊢ ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ ([Q]‘𝐴) = ([Q]‘𝐵))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 205 ∧ wa 397 ∧ w3a 1088 = wceq 1542 ∈ wcel 2107 class class class wbr 5148 × cxp 5674 ‘cfv 6541 Er wer 8697 Ncnpi 10836 ~Q ceq 10843 Qcnq 10844 [Q]cerq 10846 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2109 ax-9 2117 ax-10 2138 ax-11 2155 ax-12 2172 ax-ext 2704 ax-sep 5299 ax-nul 5306 ax-pr 5427 ax-un 7722 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 847 df-3or 1089 df-3an 1090 df-tru 1545 df-fal 1555 df-ex 1783 df-nf 1787 df-sb 2069 df-mo 2535 df-eu 2564 df-clab 2711 df-cleq 2725 df-clel 2811 df-nfc 2886 df-ne 2942 df-ral 3063 df-rex 3072 df-rmo 3377 df-reu 3378 df-rab 3434 df-v 3477 df-sbc 3778 df-csb 3894 df-dif 3951 df-un 3953 df-in 3955 df-ss 3965 df-pss 3967 df-nul 4323 df-if 4529 df-pw 4604 df-sn 4629 df-pr 4631 df-op 4635 df-uni 4909 df-iun 4999 df-br 5149 df-opab 5211 df-mpt 5232 df-tr 5266 df-id 5574 df-eprel 5580 df-po 5588 df-so 5589 df-fr 5631 df-we 5633 df-xp 5682 df-rel 5683 df-cnv 5684 df-co 5685 df-dm 5686 df-rn 5687 df-res 5688 df-ima 5689 df-pred 6298 df-ord 6365 df-on 6366 df-lim 6367 df-suc 6368 df-iota 6493 df-fun 6543 df-fn 6544 df-f 6545 df-f1 6546 df-fo 6547 df-f1o 6548 df-fv 6549 df-ov 7409 df-oprab 7410 df-mpo 7411 df-om 7853 df-1st 7972 df-2nd 7973 df-frecs 8263 df-wrecs 8294 df-recs 8368 df-rdg 8407 df-1o 8463 df-oadd 8467 df-omul 8468 df-er 8700 df-ni 10864 df-mi 10866 df-lti 10867 df-enq 10903 df-nq 10904 df-erq 10905 df-1nq 10908 |
This theorem is referenced by: adderpq 10948 mulerpq 10949 distrnq 10953 recmulnq 10956 ltexnq 10967 |
Copyright terms: Public domain | W3C validator |