| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > rightval | Structured version Visualization version GIF version | ||
| Description: The value of the right options function. (Contributed by Scott Fenton, 9-Oct-2024.) |
| Ref | Expression |
|---|---|
| rightval | ⊢ ( R ‘𝐴) = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝐴 <s 𝑥} |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 2fveq3 6893 | . . . 4 ⊢ (𝑦 = 𝐴 → ( O ‘( bday ‘𝑦)) = ( O ‘( bday ‘𝐴))) | |
| 2 | breq1 5117 | . . . 4 ⊢ (𝑦 = 𝐴 → (𝑦 <s 𝑥 ↔ 𝐴 <s 𝑥)) | |
| 3 | 1, 2 | rabeqbidv 3437 | . . 3 ⊢ (𝑦 = 𝐴 → {𝑥 ∈ ( O ‘( bday ‘𝑦)) ∣ 𝑦 <s 𝑥} = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝐴 <s 𝑥}) |
| 4 | df-right 28061 | . . 3 ⊢ R = (𝑦 ∈ No ↦ {𝑥 ∈ ( O ‘( bday ‘𝑦)) ∣ 𝑦 <s 𝑥}) | |
| 5 | fvex 6901 | . . . 4 ⊢ ( O ‘( bday ‘𝐴)) ∈ V | |
| 6 | 5 | rabex 5314 | . . 3 ⊢ {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝐴 <s 𝑥} ∈ V |
| 7 | 3, 4, 6 | fvmpt 6996 | . 2 ⊢ (𝐴 ∈ No → ( R ‘𝐴) = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝐴 <s 𝑥}) |
| 8 | 4 | fvmptndm 7028 | . . 3 ⊢ (¬ 𝐴 ∈ No → ( R ‘𝐴) = ∅) |
| 9 | bdaydm 27979 | . . . . . . . . 9 ⊢ dom bday = No | |
| 10 | 9 | eleq2i 2858 | . . . . . . . 8 ⊢ (𝐴 ∈ dom bday ↔ 𝐴 ∈ No ) |
| 11 | ndmfv 6920 | . . . . . . . 8 ⊢ (¬ 𝐴 ∈ dom bday → ( bday ‘𝐴) = ∅) | |
| 12 | 10, 11 | sylnbir 334 | . . . . . . 7 ⊢ (¬ 𝐴 ∈ No → ( bday ‘𝐴) = ∅) |
| 13 | 12 | fveq2d 6892 | . . . . . 6 ⊢ (¬ 𝐴 ∈ No → ( O ‘( bday ‘𝐴)) = ( O ‘∅)) |
| 14 | old0 28069 | . . . . . 6 ⊢ ( O ‘∅) = ∅ | |
| 15 | 13, 14 | eqtrdi 2817 | . . . . 5 ⊢ (¬ 𝐴 ∈ No → ( O ‘( bday ‘𝐴)) = ∅) |
| 16 | 15 | rabeqdv 3434 | . . . 4 ⊢ (¬ 𝐴 ∈ No → {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝐴 <s 𝑥} = {𝑥 ∈ ∅ ∣ 𝐴 <s 𝑥}) |
| 17 | rab0 4345 | . . . 4 ⊢ {𝑥 ∈ ∅ ∣ 𝐴 <s 𝑥} = ∅ | |
| 18 | 16, 17 | eqtrdi 2817 | . . 3 ⊢ (¬ 𝐴 ∈ No → {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝐴 <s 𝑥} = ∅) |
| 19 | 8, 18 | eqtr4d 2804 | . 2 ⊢ (¬ 𝐴 ∈ No → ( R ‘𝐴) = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝐴 <s 𝑥}) |
| 20 | 7, 19 | pm2.61i 184 | 1 ⊢ ( R ‘𝐴) = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝐴 <s 𝑥} |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 = wceq 1570 ∈ wcel 2146 {crab 3419 ∅c0 4289 class class class wbr 5114 dom cdm 5666 ‘cfv 6543 No csur 27841 <s clts 27842 bday cbday 27843 O cold 28053 R cright 28056 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-10 2179 ax-11 2195 ax-12 2216 ax-ext 2738 ax-rep 5243 ax-sep 5262 ax-nul 5274 ax-pow 5341 ax-pr 5409 ax-un 7745 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3or 1104 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-nf 1817 df-sb 2100 df-mo 2570 df-eu 2600 df-clab 2745 df-cleq 2758 df-clel 2841 df-nfc 2915 df-ne 2962 df-ral 3083 df-rex 3093 df-reu 3373 df-rab 3420 df-v 3460 df-sbc 3748 df-csb 3857 df-dif 3911 df-un 3913 df-in 3915 df-ss 3925 df-pss 3928 df-nul 4290 df-if 4493 df-pw 4569 df-sn 4595 df-pr 4597 df-op 4601 df-uni 4878 df-iun 4963 df-br 5115 df-opab 5179 df-mpt 5198 df-tr 5224 df-id 5561 df-eprel 5566 df-po 5574 df-so 5575 df-fr 5619 df-we 5621 df-xp 5672 df-rel 5673 df-cnv 5674 df-co 5675 df-dm 5676 df-rn 5677 df-res 5678 df-ima 5679 df-pred 6309 df-ord 6370 df-on 6371 df-suc 6373 df-iota 6499 df-fun 6545 df-fn 6546 df-f 6547 df-f1 6548 df-fo 6549 df-f1o 6550 df-fv 6551 df-ov 7426 df-2nd 7996 df-frecs 8287 df-wrecs 8318 df-recs 8367 df-1o 8462 df-no 27844 df-bday 27846 df-made 28057 df-old 28058 df-right 28061 |
| This theorem is used by: elright 28082 sltsright 28091 rightssold 28102 right1s 28126 lrold 28127 madebdaylemlrcut 28129 cofcutr 28154 cofcutrtime 28157 addsproplem2 28200 |
| Copyright terms: Public domain | W3C validator |