| 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 2737 | . 2 ⊢ {〈𝑢, 𝑣〉 ∣ ((𝑢 ∈ (𝐵 × 𝐴) ∧ 𝑣 ∈ (𝐵 × 𝐴)) ∧ ((1st ‘𝑢)𝑅(1st ‘𝑣) ∨ ((1st ‘𝑢) = (1st ‘𝑣) ∧ (2nd ‘𝑢)𝑆(2nd ‘𝑣))))} = {〈𝑢, 𝑣〉 ∣ ((𝑢 ∈ (𝐵 × 𝐴) ∧ 𝑣 ∈ (𝐵 × 𝐴)) ∧ ((1st ‘𝑢)𝑅(1st ‘𝑣) ∨ ((1st ‘𝑢) = (1st ‘𝑣) ∧ (2nd ‘𝑢)𝑆(2nd ‘𝑣))))} | |
| 7 | eqid 2737 | . 2 ⊢ (𝑧 ∈ 𝐴 ↦ 〈(𝐹‘𝑧), 𝑧〉) = (𝑧 ∈ 𝐴 ↦ 〈(𝐹‘𝑧), 𝑧〉) | |
| 8 | 1, 2, 3, 4, 5, 6, 7 | fnwelem 8083 | 1 ⊢ (𝜑 → 𝑇 We 𝐴) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 ∨ wo 848 = wceq 1542 ∈ wcel 2114 Vcvv 3442 〈cop 4588 class class class wbr 5100 {copab 5162 ↦ cmpt 5181 We wwe 5584 × cxp 5630 “ cima 5635 ⟶wf 6496 ‘cfv 6500 1st c1st 7941 2nd c2nd 7942 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1797 ax-4 1811 ax-5 1912 ax-6 1969 ax-7 2010 ax-8 2116 ax-9 2124 ax-10 2147 ax-11 2163 ax-12 2185 ax-ext 2709 ax-sep 5243 ax-nul 5253 ax-pow 5312 ax-pr 5379 ax-un 7690 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-3or 1088 df-3an 1089 df-tru 1545 df-fal 1555 df-ex 1782 df-nf 1786 df-sb 2069 df-mo 2540 df-eu 2570 df-clab 2716 df-cleq 2729 df-clel 2812 df-nfc 2886 df-ne 2934 df-ral 3053 df-rex 3063 df-rab 3402 df-v 3444 df-dif 3906 df-un 3908 df-in 3910 df-ss 3920 df-nul 4288 df-if 4482 df-pw 4558 df-sn 4583 df-pr 4585 df-op 4589 df-uni 4866 df-int 4905 df-br 5101 df-opab 5163 df-mpt 5182 df-id 5527 df-po 5540 df-so 5541 df-fr 5585 df-we 5587 df-xp 5638 df-rel 5639 df-cnv 5640 df-co 5641 df-dm 5642 df-rn 5643 df-res 5644 df-ima 5645 df-iota 6456 df-fun 6502 df-fn 6503 df-f 6504 df-f1 6505 df-fo 6506 df-f1o 6507 df-fv 6508 df-isom 6509 df-1st 7943 df-2nd 7944 |
| This theorem is referenced by: r0weon 9934 |
| Copyright terms: Public domain | W3C validator |