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

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

Proof of Theorem ltsrec
StepHypRef Expression
1 simplr 781 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐶 <<s 𝐷)
2 simpll 779 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐴 <<s 𝐵)
3 simprr 785 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑌 = (𝐶 |s 𝐷))
4 simprl 783 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑋 = (𝐴 |s 𝐵))
51, 2, 3, 4lesrecd 28310 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ (∀𝑏 ∈ 𝐵 𝑌 <s 𝑏 ∧ ∀𝑐 ∈ 𝐶 𝑐 <s 𝑋)))
6 ancom 466 . . . 4 ((∀𝑏 ∈ 𝐵 𝑌 <s 𝑏 ∧ ∀𝑐 ∈ 𝐶 𝑐 <s 𝑋) ↔ (∀𝑐 ∈ 𝐶 𝑐 <s 𝑋 ∧ ∀𝑏 ∈ 𝐵 𝑌 <s 𝑏))
75, 6bitrdi 290 . . 3 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ (∀𝑐 ∈ 𝐶 𝑐 <s 𝑋 ∧ ∀𝑏 ∈ 𝐵 𝑌 <s 𝑏)))
8 cutcuts 28291 . . . . . . 7 (𝐶 <<s 𝐷 → ((𝐶 |s 𝐷) ∈ No ∧ 𝐶 <<s {(𝐶 |s 𝐷)} ∧ {(𝐶 |s 𝐷)} <<s 𝐷))
98simp1d 1161 . . . . . 6 (𝐶 <<s 𝐷 → (𝐶 |s 𝐷) ∈ No)
109ad2antlr 740 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝐶 |s 𝐷) ∈ No)
113, 10eqeltrd 2870 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑌 ∈ No)
12 cutcuts 28291 . . . . . . 7 (𝐴 <<s 𝐵 → ((𝐴 |s 𝐵) ∈ No ∧ 𝐴 <<s {(𝐴 |s 𝐵)} ∧ {(𝐴 |s 𝐵)} <<s 𝐵))
1312simp1d 1161 . . . . . 6 (𝐴 <<s 𝐵 → (𝐴 |s 𝐵) ∈ No)
1413ad2antrr 739 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝐴 |s 𝐵) ∈ No)
154, 14eqeltrd 2870 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑋 ∈ No)
16 lenlts 28233 . . . 4 ((𝑌 ∈ No ∧ 𝑋 ∈ No) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
1711, 15, 16syl2anc 596 . . 3 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
18 sltsss1 28275 . . . . . . . . 9 (𝐶 <<s 𝐷 → 𝐶 ⊆ No)
1918ad2antlr 740 . . . . . . . 8 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐶 ⊆ No)
2019sselda 3915 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐 ∈ 𝐶) → 𝑐 ∈ No)
2115adantr 486 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐 ∈ 𝐶) → 𝑋 ∈ No)
22 ltnles 28234 . . . . . . 7 ((𝑐 ∈ No ∧ 𝑋 ∈ No) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2320, 21, 22syl2anc 596 . . . . . 6 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐 ∈ 𝐶) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2423ralbidva 3193 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑐 ∈ 𝐶 𝑐 <s 𝑋 ↔ ∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐))
2511adantr 486 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏 ∈ 𝐵) → 𝑌 ∈ No)
26 sltsss2 28276 . . . . . . . . 9 (𝐴 <<s 𝐵 → 𝐵 ⊆ No)
2726ad2antrr 739 . . . . . . . 8 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐵 ⊆ No)
2827sselda 3915 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏 ∈ 𝐵) → 𝑏 ∈ No)
29 ltnles 28234 . . . . . . 7 ((𝑌 ∈ No ∧ 𝑏 ∈ No) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3025, 28, 29syl2anc 596 . . . . . 6 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏 ∈ 𝐵) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3130ralbidva 3193 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑏 ∈ 𝐵 𝑌 <s 𝑏 ↔ ∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌))
3224, 31anbi12d 644 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → ((∀𝑐 ∈ 𝐶 𝑐 <s 𝑋 ∧ ∀𝑏 ∈ 𝐵 𝑌 <s 𝑏) ↔ (∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌)))
33 ralnex 3098 . . . . . 6 (∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐 ↔ ¬ ∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐)
34 ralnex 3098 . . . . . 6 (∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌 ↔ ¬ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌)
3533, 34anbi12i 640 . . . . 5 ((∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌) ↔ (¬ ∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐 ∧ ¬ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌))
36 ioran 1000 . . . . 5 (¬ (∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌) ↔ (¬ ∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐 ∧ ¬ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌))
3735, 36bitr4i 281 . . . 4 ((∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌) ↔ ¬ (∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌))
3832, 37bitrdi 290 . . 3 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → ((∀𝑐 ∈ 𝐶 𝑐 <s 𝑋 ∧ ∀𝑏 ∈ 𝐵 𝑌 <s 𝑏) ↔ ¬ (∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌)))
397, 17, 383bitr3d 312 . 2 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (¬ 𝑋 <s 𝑌 ↔ ¬ (∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌)))
4039con4bid 320 1 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑋 <s 𝑌 ↔ (∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐 ∨ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1572   ∈ wcel 2151  ∀wral 3086  ∃wrex 3096   ⊆ wss 3902  {csn 4590   class class class wbr 5111  (class class class)co 7462  Nocsur 28121   <s clts 28122   ≤s cles 28225   <<s cslts 28267   |s ccuts 28269
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-rep 5241  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7794
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rmo 3371  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-tp 4595  df-op 4844  df-uni 4876  df-int 4916  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-ord 6398  df-on 6399  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-riota 7418  df-ov 7465  df-oprab 7466  df-mpo 7467  df-1o 8525  df-2o 8526  df-no 28124  df-lts 28125  df-bday 28126  df-les 28226  df-slts 28268  df-cuts 28270
This theorem is used by:  ltsrecd  28312  0lt1s  28322
  Copyright terms: Public domain W3C validator