| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > leftval | Structured version Visualization version GIF version | ||
| Description: The value of the left options function. (Contributed by Scott Fenton, 9-Oct-2024.) |
| Ref | Expression |
|---|---|
| leftval | ⊢ ( L ‘𝐴) = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝑥 <s 𝐴} |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | 2fveq3 6845 | . . . 4 ⊢ (𝑦 = 𝐴 → ( O ‘( bday ‘𝑦)) = ( O ‘( bday ‘𝐴))) | |
| 2 | breq2 5089 | . . . 4 ⊢ (𝑦 = 𝐴 → (𝑥 <s 𝑦 ↔ 𝑥 <s 𝐴)) | |
| 3 | 1, 2 | rabeqbidv 3407 | . . 3 ⊢ (𝑦 = 𝐴 → {𝑥 ∈ ( O ‘( bday ‘𝑦)) ∣ 𝑥 <s 𝑦} = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝑥 <s 𝐴}) |
| 4 | df-left 27822 | . . 3 ⊢ L = (𝑦 ∈ No ↦ {𝑥 ∈ ( O ‘( bday ‘𝑦)) ∣ 𝑥 <s 𝑦}) | |
| 5 | fvex 6853 | . . . 4 ⊢ ( O ‘( bday ‘𝐴)) ∈ V | |
| 6 | 5 | rabex 5280 | . . 3 ⊢ {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝑥 <s 𝐴} ∈ V |
| 7 | 3, 4, 6 | fvmpt 6947 | . 2 ⊢ (𝐴 ∈ No → ( L ‘𝐴) = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝑥 <s 𝐴}) |
| 8 | 4 | fvmptndm 6979 | . . 3 ⊢ (¬ 𝐴 ∈ No → ( L ‘𝐴) = ∅) |
| 9 | bdaydm 27742 | . . . . . . . . 9 ⊢ dom bday = No | |
| 10 | 9 | eleq2i 2828 | . . . . . . . 8 ⊢ (𝐴 ∈ dom bday ↔ 𝐴 ∈ No ) |
| 11 | ndmfv 6872 | . . . . . . . 8 ⊢ (¬ 𝐴 ∈ dom bday → ( bday ‘𝐴) = ∅) | |
| 12 | 10, 11 | sylnbir 331 | . . . . . . 7 ⊢ (¬ 𝐴 ∈ No → ( bday ‘𝐴) = ∅) |
| 13 | 12 | fveq2d 6844 | . . . . . 6 ⊢ (¬ 𝐴 ∈ No → ( O ‘( bday ‘𝐴)) = ( O ‘∅)) |
| 14 | old0 27831 | . . . . . 6 ⊢ ( O ‘∅) = ∅ | |
| 15 | 13, 14 | eqtrdi 2787 | . . . . 5 ⊢ (¬ 𝐴 ∈ No → ( O ‘( bday ‘𝐴)) = ∅) |
| 16 | 15 | rabeqdv 3404 | . . . 4 ⊢ (¬ 𝐴 ∈ No → {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝑥 <s 𝐴} = {𝑥 ∈ ∅ ∣ 𝑥 <s 𝐴}) |
| 17 | rab0 4326 | . . . 4 ⊢ {𝑥 ∈ ∅ ∣ 𝑥 <s 𝐴} = ∅ | |
| 18 | 16, 17 | eqtrdi 2787 | . . 3 ⊢ (¬ 𝐴 ∈ No → {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝑥 <s 𝐴} = ∅) |
| 19 | 8, 18 | eqtr4d 2774 | . 2 ⊢ (¬ 𝐴 ∈ No → ( L ‘𝐴) = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝑥 <s 𝐴}) |
| 20 | 7, 19 | pm2.61i 182 | 1 ⊢ ( L ‘𝐴) = {𝑥 ∈ ( O ‘( bday ‘𝐴)) ∣ 𝑥 <s 𝐴} |
| Colors of variables: wff setvar class |
| Syntax hints: ¬ wn 3 = wceq 1542 ∈ wcel 2114 {crab 3389 ∅c0 4273 class class class wbr 5085 dom cdm 5631 ‘cfv 6498 No csur 27603 <s clts 27604 bday cbday 27605 O cold 27815 L cleft 27817 |
| 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 2708 ax-rep 5212 ax-sep 5231 ax-nul 5241 ax-pow 5307 ax-pr 5375 ax-un 7689 |
| 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 2539 df-eu 2569 df-clab 2715 df-cleq 2728 df-clel 2811 df-nfc 2885 df-ne 2933 df-ral 3052 df-rex 3062 df-reu 3343 df-rab 3390 df-v 3431 df-sbc 3729 df-csb 3838 df-dif 3892 df-un 3894 df-in 3896 df-ss 3906 df-pss 3909 df-nul 4274 df-if 4467 df-pw 4543 df-sn 4568 df-pr 4570 df-op 4574 df-uni 4851 df-iun 4935 df-br 5086 df-opab 5148 df-mpt 5167 df-tr 5193 df-id 5526 df-eprel 5531 df-po 5539 df-so 5540 df-fr 5584 df-we 5586 df-xp 5637 df-rel 5638 df-cnv 5639 df-co 5640 df-dm 5641 df-rn 5642 df-res 5643 df-ima 5644 df-pred 6265 df-ord 6326 df-on 6327 df-suc 6329 df-iota 6454 df-fun 6500 df-fn 6501 df-f 6502 df-f1 6503 df-fo 6504 df-f1o 6505 df-fv 6506 df-ov 7370 df-2nd 7943 df-frecs 8231 df-wrecs 8262 df-recs 8311 df-1o 8405 df-no 27606 df-bday 27608 df-made 27819 df-old 27820 df-left 27822 |
| This theorem is referenced by: elleft 27843 sltsleft 27852 leftssold 27863 left1s 27887 lrold 27889 madebdaylemlrcut 27891 ltslpss 27900 cofcutr 27916 cofcutrtime 27919 addsproplem2 27962 |
| Copyright terms: Public domain | W3C validator |