| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > fnwe | Structured version Visualization version GIF version | ||
| Description: A variant on lexicographic order, which sorts first by some function of the base set, and then by a "backup" well-ordering when the function value is equal on both elements. (Contributed by Mario Carneiro, 10-Mar-2013.) (Revised by Mario Carneiro, 18-Nov-2014.) |
| Ref | Expression |
|---|---|
| fnwe.1 | ⊢ 𝑇 = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴) ∧ ((𝐹‘𝑥)𝑅(𝐹‘𝑦) ∨ ((𝐹‘𝑥) = (𝐹‘𝑦) ∧ 𝑥𝑆𝑦)))} |
| fnwe.2 | ⊢ (𝜑 → 𝐹:𝐴⟶𝐵) |
| fnwe.3 | ⊢ (𝜑 → 𝑅 We 𝐵) |
| fnwe.4 | ⊢ (𝜑 → 𝑆 We 𝐴) |
| fnwe.5 | ⊢ (𝜑 → (𝐹 “ 𝑤) ∈ V) |
| Ref | Expression |
|---|---|
| fnwe | ⊢ (𝜑 → 𝑇 We 𝐴) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | fnwe.1 | . 2 ⊢ 𝑇 = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴) ∧ ((𝐹‘𝑥)𝑅(𝐹‘𝑦) ∨ ((𝐹‘𝑥) = (𝐹‘𝑦) ∧ 𝑥𝑆𝑦)))} | |
| 2 | fnwe.2 | . 2 ⊢ (𝜑 → 𝐹:𝐴⟶𝐵) | |
| 3 | fnwe.3 | . 2 ⊢ (𝜑 → 𝑅 We 𝐵) | |
| 4 | fnwe.4 | . 2 ⊢ (𝜑 → 𝑆 We 𝐴) | |
| 5 | fnwe.5 | . 2 ⊢ (𝜑 → (𝐹 “ 𝑤) ∈ V) | |
| 6 | eqid 2736 | . 2 ⊢ {〈𝑢, 𝑣〉 ∣ ((𝑢 ∈ (𝐵 × 𝐴) ∧ 𝑣 ∈ (𝐵 × 𝐴)) ∧ ((1st ‘𝑢)𝑅(1st ‘𝑣) ∨ ((1st ‘𝑢) = (1st ‘𝑣) ∧ (2nd ‘𝑢)𝑆(2nd ‘𝑣))))} = {〈𝑢, 𝑣〉 ∣ ((𝑢 ∈ (𝐵 × 𝐴) ∧ 𝑣 ∈ (𝐵 × 𝐴)) ∧ ((1st ‘𝑢)𝑅(1st ‘𝑣) ∨ ((1st ‘𝑢) = (1st ‘𝑣) ∧ (2nd ‘𝑢)𝑆(2nd ‘𝑣))))} | |
| 7 | eqid 2736 | . 2 ⊢ (𝑧 ∈ 𝐴 ↦ 〈(𝐹‘𝑧), 𝑧〉) = (𝑧 ∈ 𝐴 ↦ 〈(𝐹‘𝑧), 𝑧〉) | |
| 8 | 1, 2, 3, 4, 5, 6, 7 | fnwelem 8073 | 1 ⊢ (𝜑 → 𝑇 We 𝐴) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 ∨ wo 847 = wceq 1541 ∈ wcel 2113 Vcvv 3440 〈cop 4586 class class class wbr 5098 {copab 5160 ↦ cmpt 5179 We wwe 5576 × cxp 5622 “ cima 5627 ⟶wf 6488 ‘cfv 6492 1st c1st 7931 2nd c2nd 7932 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1796 ax-4 1810 ax-5 1911 ax-6 1968 ax-7 2009 ax-8 2115 ax-9 2123 ax-10 2146 ax-11 2162 ax-12 2184 ax-ext 2708 ax-sep 5241 ax-nul 5251 ax-pow 5310 ax-pr 5377 ax-un 7680 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3or 1087 df-3an 1088 df-tru 1544 df-fal 1554 df-ex 1781 df-nf 1785 df-sb 2068 df-mo 2539 df-eu 2569 df-clab 2715 df-cleq 2728 df-clel 2811 df-nfc 2885 df-ne 2933 df-ral 3052 df-rex 3061 df-rab 3400 df-v 3442 df-dif 3904 df-un 3906 df-in 3908 df-ss 3918 df-nul 4286 df-if 4480 df-pw 4556 df-sn 4581 df-pr 4583 df-op 4587 df-uni 4864 df-int 4903 df-br 5099 df-opab 5161 df-mpt 5180 df-id 5519 df-po 5532 df-so 5533 df-fr 5577 df-we 5579 df-xp 5630 df-rel 5631 df-cnv 5632 df-co 5633 df-dm 5634 df-rn 5635 df-res 5636 df-ima 5637 df-iota 6448 df-fun 6494 df-fn 6495 df-f 6496 df-f1 6497 df-fo 6498 df-f1o 6499 df-fv 6500 df-isom 6501 df-1st 7933 df-2nd 7934 |
| This theorem is referenced by: r0weon 9922 |
| Copyright terms: Public domain | W3C validator |