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

Theorem ltsrec 28220
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 28219 . . . 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 28200 . . . . . . 7 (𝐶 <<s 𝐷 → ((𝐶 |s 𝐷) ∈ No ∧ 𝐶 <<s {(𝐶 |s 𝐷)} ∧ {(𝐶 |s 𝐷)} <<s 𝐷))
98simp1d 1160 . . . . . 6 (𝐶 <<s 𝐷 → (𝐶 |s 𝐷) ∈ No)
109ad2antlr 740 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝐶 |s 𝐷) ∈ No)
113, 10eqeltrd 2864 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑌 ∈ No)
12 cutcuts 28200 . . . . . . 7 (𝐴 <<s 𝐵 → ((𝐴 |s 𝐵) ∈ No ∧ 𝐴 <<s {(𝐴 |s 𝐵)} ∧ {(𝐴 |s 𝐵)} <<s 𝐵))
1312simp1d 1160 . . . . . 6 (𝐴 <<s 𝐵 → (𝐴 |s 𝐵) ∈ No)
1413ad2antrr 739 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝐴 |s 𝐵) ∈ No)
154, 14eqeltrd 2864 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑋 ∈ No)
16 lenlts 28142 . . . 4 ((𝑌 ∈ No ∧ 𝑋 ∈ No) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
1711, 15, 16syl2anc 596 . . 3 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
18 sltsss1 28184 . . . . . . . . 9 (𝐶 <<s 𝐷 → 𝐶 ⊆ No)
1918ad2antlr 740 . . . . . . . 8 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐶 ⊆ No)
2019sselda 3913 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐 ∈ 𝐶) → 𝑐 ∈ No)
2115adantr 486 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐 ∈ 𝐶) → 𝑋 ∈ No)
22 ltnles 28143 . . . . . . 7 ((𝑐 ∈ No ∧ 𝑋 ∈ No) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2320, 21, 22syl2anc 596 . . . . . 6 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐 ∈ 𝐶) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2423ralbidva 3187 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑐 ∈ 𝐶 𝑐 <s 𝑋 ↔ ∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐))
2511adantr 486 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏 ∈ 𝐵) → 𝑌 ∈ No)
26 sltsss2 28185 . . . . . . . . 9 (𝐴 <<s 𝐵 → 𝐵 ⊆ No)
2726ad2antrr 739 . . . . . . . 8 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐵 ⊆ No)
2827sselda 3913 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏 ∈ 𝐵) → 𝑏 ∈ No)
29 ltnles 28143 . . . . . . 7 ((𝑌 ∈ No ∧ 𝑏 ∈ No) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3025, 28, 29syl2anc 596 . . . . . 6 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏 ∈ 𝐵) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3130ralbidva 3187 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑏 ∈ 𝐵 𝑌 <s 𝑏 ↔ ∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌))
3224, 31anbi12d 644 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → ((∀𝑐 ∈ 𝐶 𝑐 <s 𝑋 ∧ ∀𝑏 ∈ 𝐵 𝑌 <s 𝑏) ↔ (∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌)))
33 ralnex 3092 . . . . . 6 (∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐 ↔ ¬ ∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐)
34 ralnex 3092 . . . . . 6 (∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌 ↔ ¬ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌)
3533, 34anbi12i 640 . . . . 5 ((∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌) ↔ (¬ ∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐 ∧ ¬ ∃𝑏 ∈ 𝐵 𝑏 ≤s 𝑌))
36 ioran 999 . . . . 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 1570   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900  {csn 4588   class class class wbr 5106  (class class class)co 7446  Nocsur 28030   <s clts 28031   ≤s cles 28134   <<s cslts 28176   |s ccuts 28178
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7778
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4839  df-uni 4871  df-int 4911  df-br 5107  df-opab 5172  df-mpt 5191  df-tr 5217  df-id 5551  df-eprel 5556  df-po 5564  df-so 5565  df-fr 5609  df-we 5611  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-ord 6386  df-on 6387  df-suc 6389  df-iota 6515  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-riota 7403  df-ov 7449  df-oprab 7450  df-mpo 7451  df-1o 8507  df-2o 8508  df-no 28033  df-lts 28034  df-bday 28035  df-les 28135  df-slts 28177  df-cuts 28179
This theorem is used by:  ltsrecd  28221  0lt1s  28231
  Copyright terms: Public domain W3C validator