Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  eqscut2 Structured version   Visualization version   GIF version

Theorem eqscut2 34000
Description: Condition for equality to a surreal cut. (Contributed by Scott Fenton, 8-Aug-2024.)
Assertion
Ref Expression
eqscut2 ((𝐿 <<s 𝑅𝑋 No ) → ((𝐿 |s 𝑅) = 𝑋 ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))))
Distinct variable groups:   𝑦,𝐿   𝑦,𝑅   𝑦,𝑋

Proof of Theorem eqscut2
Dummy variables 𝑥 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqscut 33999 . 2 ((𝐿 <<s 𝑅𝑋 No ) → ((𝐿 |s 𝑅) = 𝑋 ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}))))
2 eqss 3936 . . . . 5 (( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ (( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ∧ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ⊆ ( bday 𝑋)))
3 sneq 4571 . . . . . . . . . . . . 13 (𝑥 = 𝑋 → {𝑥} = {𝑋})
43breq2d 5086 . . . . . . . . . . . 12 (𝑥 = 𝑋 → (𝐿 <<s {𝑥} ↔ 𝐿 <<s {𝑋}))
53breq1d 5084 . . . . . . . . . . . 12 (𝑥 = 𝑋 → ({𝑥} <<s 𝑅 ↔ {𝑋} <<s 𝑅))
64, 5anbi12d 631 . . . . . . . . . . 11 (𝑥 = 𝑋 → ((𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅) ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)))
76elrab3 3625 . . . . . . . . . 10 (𝑋 No → (𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)))
87adantl 482 . . . . . . . . 9 ((𝐿 <<s 𝑅𝑋 No ) → (𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)))
98biimpar 478 . . . . . . . 8 (((𝐿 <<s 𝑅𝑋 No ) ∧ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)) → 𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})
10 bdayfn 33968 . . . . . . . . 9 bday Fn No
11 ssrab2 4013 . . . . . . . . 9 {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ⊆ No
12 fnfvima 7109 . . . . . . . . 9 (( bday Fn No ∧ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ⊆ No 𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}))
1310, 11, 12mp3an12 1450 . . . . . . . 8 (𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} → ( bday 𝑋) ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}))
14 intss1 4894 . . . . . . . 8 (( bday 𝑋) ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ⊆ ( bday 𝑋))
159, 13, 143syl 18 . . . . . . 7 (((𝐿 <<s 𝑅𝑋 No ) ∧ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)) → ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ⊆ ( bday 𝑋))
1615biantrud 532 . . . . . 6 (((𝐿 <<s 𝑅𝑋 No ) ∧ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)) → (( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ (( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ∧ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ⊆ ( bday 𝑋))))
17 ssint 4895 . . . . . . 7 (( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∀𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})( bday 𝑋) ⊆ 𝑧)
18 fvelimab 6841 . . . . . . . . . . . . . 14 (( bday Fn No ∧ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ⊆ No ) → (𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∃𝑦 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ( bday 𝑦) = 𝑧))
1910, 11, 18mp2an 689 . . . . . . . . . . . . 13 (𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∃𝑦 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ( bday 𝑦) = 𝑧)
20 sneq 4571 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑦 → {𝑥} = {𝑦})
2120breq2d 5086 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝐿 <<s {𝑥} ↔ 𝐿 <<s {𝑦}))
2220breq1d 5084 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → ({𝑥} <<s 𝑅 ↔ {𝑦} <<s 𝑅))
2321, 22anbi12d 631 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → ((𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅) ↔ (𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅)))
2423rexrab 3633 . . . . . . . . . . . . 13 (∃𝑦 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ( bday 𝑦) = 𝑧 ↔ ∃𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧))
2519, 24bitri 274 . . . . . . . . . . . 12 (𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∃𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧))
2625imbi1i 350 . . . . . . . . . . 11 ((𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ⊆ 𝑧) ↔ (∃𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧))
27 r19.23v 3208 . . . . . . . . . . 11 (∀𝑦 No (((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧) ↔ (∃𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧))
28 eqcom 2745 . . . . . . . . . . . . . . 15 (( bday 𝑦) = 𝑧𝑧 = ( bday 𝑦))
2928anbi1ci 626 . . . . . . . . . . . . . 14 (((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) ↔ (𝑧 = ( bday 𝑦) ∧ (𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅)))
3029imbi1i 350 . . . . . . . . . . . . 13 ((((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧) ↔ ((𝑧 = ( bday 𝑦) ∧ (𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅)) → ( bday 𝑋) ⊆ 𝑧))
31 impexp 451 . . . . . . . . . . . . 13 (((𝑧 = ( bday 𝑦) ∧ (𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅)) → ( bday 𝑋) ⊆ 𝑧) ↔ (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3230, 31bitri 274 . . . . . . . . . . . 12 ((((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧) ↔ (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3332ralbii 3092 . . . . . . . . . . 11 (∀𝑦 No (((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧) ↔ ∀𝑦 No (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3426, 27, 333bitr2i 299 . . . . . . . . . 10 ((𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ⊆ 𝑧) ↔ ∀𝑦 No (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3534albii 1822 . . . . . . . . 9 (∀𝑧(𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ⊆ 𝑧) ↔ ∀𝑧𝑦 No (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
36 df-ral 3069 . . . . . . . . 9 (∀𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})( bday 𝑋) ⊆ 𝑧 ↔ ∀𝑧(𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ⊆ 𝑧))
37 ralcom4 3164 . . . . . . . . 9 (∀𝑦 No 𝑧(𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)) ↔ ∀𝑧𝑦 No (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3835, 36, 373bitr4i 303 . . . . . . . 8 (∀𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})( bday 𝑋) ⊆ 𝑧 ↔ ∀𝑦 No 𝑧(𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
39 fvex 6787 . . . . . . . . . 10 ( bday 𝑦) ∈ V
40 sseq2 3947 . . . . . . . . . . 11 (𝑧 = ( bday 𝑦) → (( bday 𝑋) ⊆ 𝑧 ↔ ( bday 𝑋) ⊆ ( bday 𝑦)))
4140imbi2d 341 . . . . . . . . . 10 (𝑧 = ( bday 𝑦) → (((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧) ↔ ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))))
4239, 41ceqsalv 3467 . . . . . . . . 9 (∀𝑧(𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)) ↔ ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))
4342ralbii 3092 . . . . . . . 8 (∀𝑦 No 𝑧(𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)) ↔ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))
4438, 43bitri 274 . . . . . . 7 (∀𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})( bday 𝑋) ⊆ 𝑧 ↔ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))
4517, 44bitri 274 . . . . . 6 (( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))
4616, 45bitr3di 286 . . . . 5 (((𝐿 <<s 𝑅𝑋 No ) ∧ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)) → ((( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ∧ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ⊆ ( bday 𝑋)) ↔ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))))
472, 46syl5bb 283 . . . 4 (((𝐿 <<s 𝑅𝑋 No ) ∧ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)) → (( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))))
4847pm5.32da 579 . . 3 ((𝐿 <<s 𝑅𝑋 No ) → (((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅) ∧ ( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})) ↔ ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅) ∧ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))))
49 df-3an 1088 . . 3 ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})) ↔ ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅) ∧ ( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})))
50 df-3an 1088 . . 3 ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))) ↔ ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅) ∧ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))))
5148, 49, 503bitr4g 314 . 2 ((𝐿 <<s 𝑅𝑋 No ) → ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})) ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))))
521, 51bitrd 278 1 ((𝐿 <<s 𝑅𝑋 No ) → ((𝐿 |s 𝑅) = 𝑋 ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086  wal 1537   = wceq 1539  wcel 2106  wral 3064  wrex 3065  {crab 3068  wss 3887  {csn 4561   cint 4879   class class class wbr 5074  cima 5592   Fn wfn 6428  cfv 6433  (class class class)co 7275   No csur 33843   bday cbday 33845   <<s csslt 33975   |s cscut 33977
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-tp 4566  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-ord 6269  df-on 6270  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1o 8297  df-2o 8298  df-no 33846  df-slt 33847  df-bday 33848  df-sslt 33976  df-scut 33978
This theorem is referenced by:  bday0b  34024
  Copyright terms: Public domain W3C validator