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 33927
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 33926 . 2 ((𝐿 <<s 𝑅𝑋 No ) → ((𝐿 |s 𝑅) = 𝑋 ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}))))
2 eqss 3932 . . . . 5 (( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ (( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ∧ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ⊆ ( bday 𝑋)))
3 sneq 4568 . . . . . . . . . . . . 13 (𝑥 = 𝑋 → {𝑥} = {𝑋})
43breq2d 5082 . . . . . . . . . . . 12 (𝑥 = 𝑋 → (𝐿 <<s {𝑥} ↔ 𝐿 <<s {𝑋}))
53breq1d 5080 . . . . . . . . . . . 12 (𝑥 = 𝑋 → ({𝑥} <<s 𝑅 ↔ {𝑋} <<s 𝑅))
64, 5anbi12d 630 . . . . . . . . . . 11 (𝑥 = 𝑋 → ((𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅) ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)))
76elrab3 3618 . . . . . . . . . 10 (𝑋 No → (𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)))
87adantl 481 . . . . . . . . 9 ((𝐿 <<s 𝑅𝑋 No ) → (𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ↔ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)))
98biimpar 477 . . . . . . . 8 (((𝐿 <<s 𝑅𝑋 No ) ∧ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)) → 𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})
10 bdayfn 33895 . . . . . . . . 9 bday Fn No
11 ssrab2 4009 . . . . . . . . 9 {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ⊆ No
12 fnfvima 7091 . . . . . . . . 9 (( bday Fn No ∧ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ⊆ No 𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}))
1310, 11, 12mp3an12 1449 . . . . . . . 8 (𝑋 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} → ( bday 𝑋) ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}))
14 intss1 4891 . . . . . . . 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 531 . . . . . 6 (((𝐿 <<s 𝑅𝑋 No ) ∧ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)) → (( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ (( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ∧ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ⊆ ( bday 𝑋))))
17 ssint 4892 . . . . . . 7 (( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∀𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})( bday 𝑋) ⊆ 𝑧)
18 fvelimab 6823 . . . . . . . . . . . . . 14 (( bday Fn No ∧ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ⊆ No ) → (𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∃𝑦 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ( bday 𝑦) = 𝑧))
1910, 11, 18mp2an 688 . . . . . . . . . . . . 13 (𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∃𝑦 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ( bday 𝑦) = 𝑧)
20 sneq 4568 . . . . . . . . . . . . . . . 16 (𝑥 = 𝑦 → {𝑥} = {𝑦})
2120breq2d 5082 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝐿 <<s {𝑥} ↔ 𝐿 <<s {𝑦}))
2220breq1d 5080 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → ({𝑥} <<s 𝑅 ↔ {𝑦} <<s 𝑅))
2321, 22anbi12d 630 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → ((𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅) ↔ (𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅)))
2423rexrab 3626 . . . . . . . . . . . . 13 (∃𝑦 ∈ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)} ( bday 𝑦) = 𝑧 ↔ ∃𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧))
2519, 24bitri 274 . . . . . . . . . . . 12 (𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∃𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧))
2625imbi1i 349 . . . . . . . . . . 11 ((𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ⊆ 𝑧) ↔ (∃𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧))
27 r19.23v 3207 . . . . . . . . . . 11 (∀𝑦 No (((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧) ↔ (∃𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧))
28 eqcom 2745 . . . . . . . . . . . . . . 15 (( bday 𝑦) = 𝑧𝑧 = ( bday 𝑦))
2928anbi1ci 625 . . . . . . . . . . . . . 14 (((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) ↔ (𝑧 = ( bday 𝑦) ∧ (𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅)))
3029imbi1i 349 . . . . . . . . . . . . 13 ((((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧) ↔ ((𝑧 = ( bday 𝑦) ∧ (𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅)) → ( bday 𝑋) ⊆ 𝑧))
31 impexp 450 . . . . . . . . . . . . 13 (((𝑧 = ( bday 𝑦) ∧ (𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅)) → ( bday 𝑋) ⊆ 𝑧) ↔ (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3230, 31bitri 274 . . . . . . . . . . . 12 ((((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧) ↔ (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3332ralbii 3090 . . . . . . . . . . 11 (∀𝑦 No (((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) ∧ ( bday 𝑦) = 𝑧) → ( bday 𝑋) ⊆ 𝑧) ↔ ∀𝑦 No (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3426, 27, 333bitr2i 298 . . . . . . . . . 10 ((𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ⊆ 𝑧) ↔ ∀𝑦 No (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3534albii 1823 . . . . . . . . 9 (∀𝑧(𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ⊆ 𝑧) ↔ ∀𝑧𝑦 No (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
36 df-ral 3068 . . . . . . . . 9 (∀𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})( bday 𝑋) ⊆ 𝑧 ↔ ∀𝑧(𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) → ( bday 𝑋) ⊆ 𝑧))
37 ralcom4 3161 . . . . . . . . 9 (∀𝑦 No 𝑧(𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)) ↔ ∀𝑧𝑦 No (𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
3835, 36, 373bitr4i 302 . . . . . . . 8 (∀𝑧 ∈ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})( bday 𝑋) ⊆ 𝑧 ↔ ∀𝑦 No 𝑧(𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)))
39 fvex 6769 . . . . . . . . . 10 ( bday 𝑦) ∈ V
40 sseq2 3943 . . . . . . . . . . 11 (𝑧 = ( bday 𝑦) → (( bday 𝑋) ⊆ 𝑧 ↔ ( bday 𝑋) ⊆ ( bday 𝑦)))
4140imbi2d 340 . . . . . . . . . 10 (𝑧 = ( bday 𝑦) → (((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧) ↔ ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))))
4239, 41ceqsalv 3457 . . . . . . . . 9 (∀𝑧(𝑧 = ( bday 𝑦) → ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ 𝑧)) ↔ ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))
4342ralbii 3090 . . . . . . . 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 285 . . . . 5 (((𝐿 <<s 𝑅𝑋 No ) ∧ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)) → ((( bday 𝑋) ⊆ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ∧ ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ⊆ ( bday 𝑋)) ↔ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))))
472, 46syl5bb 282 . . . 4 (((𝐿 <<s 𝑅𝑋 No ) ∧ (𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅)) → (( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)}) ↔ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))))
4847pm5.32da 578 . . 3 ((𝐿 <<s 𝑅𝑋 No ) → (((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅) ∧ ( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})) ↔ ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅) ∧ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦)))))
49 df-3an 1087 . . 3 ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})) ↔ ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅) ∧ ( bday 𝑋) = ( bday “ {𝑥 No ∣ (𝐿 <<s {𝑥} ∧ {𝑥} <<s 𝑅)})))
50 df-3an 1087 . . 3 ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅 ∧ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))) ↔ ((𝐿 <<s {𝑋} ∧ {𝑋} <<s 𝑅) ∧ ∀𝑦 No ((𝐿 <<s {𝑦} ∧ {𝑦} <<s 𝑅) → ( bday 𝑋) ⊆ ( bday 𝑦))))
5148, 49, 503bitr4g 313 . 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 395  w3a 1085  wal 1537   = wceq 1539  wcel 2108  wral 3063  wrex 3064  {crab 3067  wss 3883  {csn 4558   cint 4876   class class class wbr 5070  cima 5583   Fn wfn 6413  cfv 6418  (class class class)co 7255   No csur 33770   bday cbday 33772   <<s csslt 33902   |s cscut 33904
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-ord 6254  df-on 6255  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-1o 8267  df-2o 8268  df-no 33773  df-slt 33774  df-bday 33775  df-sslt 33903  df-scut 33905
This theorem is referenced by:  bday0b  33951
  Copyright terms: Public domain W3C validator