MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  sltrec Structured version   Visualization version   GIF version

Theorem sltrec 27767
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 768 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐶 <<s 𝐷)
2 simpll 766 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐴 <<s 𝐵)
3 simprr 772 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑌 = (𝐶 |s 𝐷))
4 simprl 770 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑋 = (𝐴 |s 𝐵))
51, 2, 3, 4slerecd 27766 . . . 4 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ (∀𝑏𝐵 𝑌 <s 𝑏 ∧ ∀𝑐𝐶 𝑐 <s 𝑋)))
6 ancom 460 . . . 4 ((∀𝑏𝐵 𝑌 <s 𝑏 ∧ ∀𝑐𝐶 𝑐 <s 𝑋) ↔ (∀𝑐𝐶 𝑐 <s 𝑋 ∧ ∀𝑏𝐵 𝑌 <s 𝑏))
75, 6bitrdi 287 . . 3 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ (∀𝑐𝐶 𝑐 <s 𝑋 ∧ ∀𝑏𝐵 𝑌 <s 𝑏)))
8 scutcut 27747 . . . . . . 7 (𝐶 <<s 𝐷 → ((𝐶 |s 𝐷) ∈ No 𝐶 <<s {(𝐶 |s 𝐷)} ∧ {(𝐶 |s 𝐷)} <<s 𝐷))
98simp1d 1142 . . . . . 6 (𝐶 <<s 𝐷 → (𝐶 |s 𝐷) ∈ No )
109ad2antlr 727 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝐶 |s 𝐷) ∈ No )
113, 10eqeltrd 2828 . . . 4 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑌 No )
12 scutcut 27747 . . . . . . 7 (𝐴 <<s 𝐵 → ((𝐴 |s 𝐵) ∈ No 𝐴 <<s {(𝐴 |s 𝐵)} ∧ {(𝐴 |s 𝐵)} <<s 𝐵))
1312simp1d 1142 . . . . . 6 (𝐴 <<s 𝐵 → (𝐴 |s 𝐵) ∈ No )
1413ad2antrr 726 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝐴 |s 𝐵) ∈ No )
154, 14eqeltrd 2828 . . . 4 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑋 No )
16 slenlt 27697 . . . 4 ((𝑌 No 𝑋 No ) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
1711, 15, 16syl2anc 584 . . 3 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
18 ssltss1 27734 . . . . . . . . 9 (𝐶 <<s 𝐷𝐶 No )
1918ad2antlr 727 . . . . . . . 8 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐶 No )
2019sselda 3943 . . . . . . 7 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐𝐶) → 𝑐 No )
2115adantr 480 . . . . . . 7 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐𝐶) → 𝑋 No )
22 sltnle 27698 . . . . . . 7 ((𝑐 No 𝑋 No ) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2320, 21, 22syl2anc 584 . . . . . 6 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐𝐶) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2423ralbidva 3154 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑐𝐶 𝑐 <s 𝑋 ↔ ∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐))
2511adantr 480 . . . . . . 7 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏𝐵) → 𝑌 No )
26 ssltss2 27735 . . . . . . . . 9 (𝐴 <<s 𝐵𝐵 No )
2726ad2antrr 726 . . . . . . . 8 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐵 No )
2827sselda 3943 . . . . . . 7 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏𝐵) → 𝑏 No )
29 sltnle 27698 . . . . . . 7 ((𝑌 No 𝑏 No ) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3025, 28, 29syl2anc 584 . . . . . 6 ((((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏𝐵) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3130ralbidva 3154 . . . . 5 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑏𝐵 𝑌 <s 𝑏 ↔ ∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌))
3224, 31anbi12d 632 . . . 4 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → ((∀𝑐𝐶 𝑐 <s 𝑋 ∧ ∀𝑏𝐵 𝑌 <s 𝑏) ↔ (∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌)))
33 ralnex 3055 . . . . . 6 (∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐 ↔ ¬ ∃𝑐𝐶 𝑋 ≤s 𝑐)
34 ralnex 3055 . . . . . 6 (∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌 ↔ ¬ ∃𝑏𝐵 𝑏 ≤s 𝑌)
3533, 34anbi12i 628 . . . . 5 ((∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌) ↔ (¬ ∃𝑐𝐶 𝑋 ≤s 𝑐 ∧ ¬ ∃𝑏𝐵 𝑏 ≤s 𝑌))
36 ioran 985 . . . . 5 (¬ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌) ↔ (¬ ∃𝑐𝐶 𝑋 ≤s 𝑐 ∧ ¬ ∃𝑏𝐵 𝑏 ≤s 𝑌))
3735, 36bitr4i 278 . . . 4 ((∀𝑐𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏𝐵 ¬ 𝑏 ≤s 𝑌) ↔ ¬ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌))
3832, 37bitrdi 287 . . 3 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → ((∀𝑐𝐶 𝑐 <s 𝑋 ∧ ∀𝑏𝐵 𝑌 <s 𝑏) ↔ ¬ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌)))
397, 17, 383bitr3d 309 . 2 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (¬ 𝑋 <s 𝑌 ↔ ¬ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌)))
4039con4bid 317 1 (((𝐴 <<s 𝐵𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑋 <s 𝑌 ↔ (∃𝑐𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏𝐵 𝑏 ≤s 𝑌)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395  wo 847   = wceq 1540  wcel 2109  wral 3044  wrex 3053  wss 3911  {csn 4585   class class class wbr 5102  (class class class)co 7369   No csur 27584   <s cslt 27585   ≤s csle 27689   <<s csslt 27726   |s cscut 27728
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-rep 5229  ax-sep 5246  ax-nul 5256  ax-pow 5315  ax-pr 5382  ax-un 7691
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rmo 3351  df-reu 3352  df-rab 3403  df-v 3446  df-sbc 3751  df-csb 3860  df-dif 3914  df-un 3916  df-in 3918  df-ss 3928  df-pss 3931  df-nul 4293  df-if 4485  df-pw 4561  df-sn 4586  df-pr 4588  df-tp 4590  df-op 4592  df-uni 4868  df-int 4907  df-br 5103  df-opab 5165  df-mpt 5184  df-tr 5210  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-ord 6323  df-on 6324  df-suc 6326  df-iota 6452  df-fun 6501  df-fn 6502  df-f 6503  df-f1 6504  df-fo 6505  df-f1o 6506  df-fv 6507  df-riota 7326  df-ov 7372  df-oprab 7373  df-mpo 7374  df-1o 8411  df-2o 8412  df-no 27587  df-slt 27588  df-bday 27589  df-sle 27690  df-sslt 27727  df-scut 27729
This theorem is referenced by:  sltrecd  27768  0slt1s  27778
  Copyright terms: Public domain W3C validator