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

Theorem sltrec 34014
Description: A comparison law for surreals considered as cuts of sets of surreals. (Contributed by Scott Fenton, 11-Dec-2021.)
Assertion
Ref Expression
sltrec (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑋 <s 𝑌 ↔ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌)))
Distinct variable groups:   𝐴,𝑏,𝑐   𝐵,𝑏,𝑐   𝐶,𝑏,𝑐   𝐷,𝑏,𝑐   𝑋,𝑏,𝑐   𝑌,𝑏,𝑐

Proof of Theorem sltrec
StepHypRef Expression
1 simplr 766 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐶 <<s 𝐷)
2 simpll 764 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐴 <<s 𝐵)
3 simprr 770 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑌 = (𝐶 |s 𝐷))
4 simprl 768 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑋 = (𝐴 |s 𝐵))
5 slerec 34013 . . . . 5 (((𝐶 <<s 𝐷𝐴 <<s 𝐵) ∧ (𝑌 = (𝐶 |s 𝐷) ∧ 𝑋 = (𝐴 |s 𝐵))) → (𝑌 ≤s 𝑋 ↔ (∀𝑏𝐵 𝑌 <s 𝑏 ∧ ∀𝑐𝐶 𝑐 <s 𝑋)))
61, 2, 3, 4, 5syl22anc 836 . . . 4 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ (∀𝑏𝐵 𝑌 <s 𝑏 ∧ ∀𝑐𝐶 𝑐 <s 𝑋)))
7 ancom 461 . . . 4 ((∀𝑏𝐵 𝑌 <s 𝑏 ∧ ∀𝑐𝐶 𝑐 <s 𝑋) ↔ (∀𝑐𝐶 𝑐 <s 𝑋 ∧ ∀𝑏𝐵 𝑌 <s 𝑏))
86, 7bitrdi 287 . . 3 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ (∀𝑐𝐶 𝑐 <s 𝑋 ∧ ∀𝑏𝐵 𝑌 <s 𝑏)))
9 scutcut 33995 . . . . . . 7 (𝐶 <<s 𝐷 → ((𝐶 |s 𝐷) ∈ No 𝐶 <<s {(𝐶 |s 𝐷)} ∧ {(𝐶 |s 𝐷)} <<s 𝐷))
109simp1d 1141 . . . . . 6 (𝐶 <<s 𝐷 → (𝐶 |s 𝐷) ∈ No )
1110ad2antlr 724 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝐶 |s 𝐷) ∈ No )
123, 11eqeltrd 2839 . . . 4 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑌 No )
13 scutcut 33995 . . . . . . 7 (𝐴 <<s 𝐵 → ((𝐴 |s 𝐵) ∈ No 𝐴 <<s {(𝐴 |s 𝐵)} ∧ {(𝐴 |s 𝐵)} <<s 𝐵))
1413simp1d 1141 . . . . . 6 (𝐴 <<s 𝐵 → (𝐴 |s 𝐵) ∈ No )
1514ad2antrr 723 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝐴 |s 𝐵) ∈ No )
164, 15eqeltrd 2839 . . . 4 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑋 No )
17 slenlt 33955 . . . 4 ((𝑌 No 𝑋 No ) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
1812, 16, 17syl2anc 584 . . 3 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
19 ssltss1 33983 . . . . . . . . 9 (𝐶 <<s 𝐷𝐶 No )
2019ad2antlr 724 . . . . . . . 8 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐶 No )
2120sselda 3921 . . . . . . 7 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐𝐶) → 𝑐 No )
2216adantr 481 . . . . . . 7 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐𝐶) → 𝑋 No )
23 sltnle 33956 . . . . . . 7 ((𝑐 No 𝑋 No ) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2421, 22, 23syl2anc 584 . . . . . 6 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐𝐶) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2524ralbidva 3111 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑐𝐶 𝑐 <s 𝑋 ↔ ∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐))
2612adantr 481 . . . . . . 7 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏𝐵) → 𝑌 No )
27 ssltss2 33984 . . . . . . . . 9 (𝐴 <<s 𝐵𝐵 No )
2827ad2antrr 723 . . . . . . . 8 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐵 No )
2928sselda 3921 . . . . . . 7 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏𝐵) → 𝑏 No )
30 sltnle 33956 . . . . . . 7 ((𝑌 No 𝑏 No ) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3126, 29, 30syl2anc 584 . . . . . 6 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏𝐵) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3231ralbidva 3111 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑏𝐵 𝑌 <s 𝑏 ↔ ∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌))
3325, 32anbi12d 631 . . . 4 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → ((∀𝑐𝐶 𝑐 <s 𝑋 ∧ ∀𝑏𝐵 𝑌 <s 𝑏) ↔ (∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌)))
34 ralnex 3167 . . . . . 6 (∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐 ↔ ¬ ∃𝑐𝐶 𝑋 ≤s 𝑐)
35 ralnex 3167 . . . . . 6 (∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌 ↔ ¬ ∃𝑏𝐵 𝑏 ≤s 𝑌)
3634, 35anbi12i 627 . . . . 5 ((∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌) ↔ (¬ ∃𝑐𝐶 𝑋 ≤s 𝑐 ∧ ¬ ∃𝑏𝐵 𝑏 ≤s 𝑌))
37 ioran 981 . . . . 5 (¬ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌) ↔ (¬ ∃𝑐𝐶 𝑋 ≤s 𝑐 ∧ ¬ ∃𝑏𝐵 𝑏 ≤s 𝑌))
3836, 37bitr4i 277 . . . 4 ((∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌) ↔ ¬ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌))
3933, 38bitrdi 287 . . 3 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → ((∀𝑐𝐶 𝑐 <s 𝑋 ∧ ∀𝑏𝐵 𝑌 <s 𝑏) ↔ ¬ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌)))
408, 18, 393bitr3d 309 . 2 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (¬ 𝑋 <s 𝑌 ↔ ¬ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌)))
4140con4bid 317 1 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑋 <s 𝑌 ↔ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  wo 844   = wceq 1539  wcel 2106  wral 3064  wrex 3065  wss 3887  {csn 4561   class class class wbr 5074  (class class class)co 7275   No csur 33843   <s cslt 33844   ≤s csle 33947   <<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-sle 33948  df-sslt 33976  df-scut 33978
This theorem is referenced by:  0slt1s  34023  sltn0  34085
  Copyright terms: Public domain W3C validator