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

Theorem ltsrec 28169
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 28168 . . . 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 28149 . . . . . . 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 2861 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑌 ∈ No )
12 cutcuts 28149 . . . . . . 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 2861 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝑋 ∈ No )
16 lenlts 28091 . . . 4 ((𝑌 ∈ No ∧ 𝑋 ∈ No ) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
1711, 15, 16syl2anc 596 . . 3 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (𝑌 ≤s 𝑋 ↔ ¬ 𝑋 <s 𝑌))
18 sltsss1 28133 . . . . . . . . 9 (𝐶 <<s 𝐷 → 𝐶 ⊆ No )
1918ad2antlr 740 . . . . . . . 8 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐶 ⊆ No )
2019sselda 3931 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐 ∈ 𝐶) → 𝑐 ∈ No )
2115adantr 486 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐 ∈ 𝐶) → 𝑋 ∈ No )
22 ltnles 28092 . . . . . . 7 ((𝑐 ∈ No ∧ 𝑋 ∈ No ) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2320, 21, 22syl2anc 596 . . . . . 6 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑐 ∈ 𝐶) → (𝑐 <s 𝑋 ↔ ¬ 𝑋 ≤s 𝑐))
2423ralbidva 3184 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑐 ∈ 𝐶 𝑐 <s 𝑋 ↔ ∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐))
2511adantr 486 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏 ∈ 𝐵) → 𝑌 ∈ No )
26 sltsss2 28134 . . . . . . . . 9 (𝐴 <<s 𝐵 → 𝐵 ⊆ No )
2726ad2antrr 739 . . . . . . . 8 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → 𝐵 ⊆ No )
2827sselda 3931 . . . . . . 7 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏 ∈ 𝐵) → 𝑏 ∈ No )
29 ltnles 28092 . . . . . . 7 ((𝑌 ∈ No ∧ 𝑏 ∈ No ) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3025, 28, 29syl2anc 596 . . . . . 6 ((((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) ∧ 𝑏 ∈ 𝐵) → (𝑌 <s 𝑏 ↔ ¬ 𝑏 ≤s 𝑌))
3130ralbidva 3184 . . . . 5 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → (∀𝑏 ∈ 𝐵 𝑌 <s 𝑏 ↔ ∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌))
3224, 31anbi12d 644 . . . 4 (((𝐴 <<s 𝐵 ∧ 𝐶 <<s 𝐷) ∧ (𝑋 = (𝐴 |s 𝐵) ∧ 𝑌 = (𝐶 |s 𝐷))) → ((∀𝑐 ∈ 𝐶 𝑐 <s 𝑋 ∧ ∀𝑏 ∈ 𝐵 𝑌 <s 𝑏) ↔ (∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐 ∧ ∀𝑏 ∈ 𝐵 ¬ 𝑏 ≤s 𝑌)))
33 ralnex 3089 . . . . . 6 (∀𝑐 ∈ 𝐶 ¬ 𝑋 ≤s 𝑐 ↔ ¬ ∃𝑐 ∈ 𝐶 𝑋 ≤s 𝑐)
34 ralnex 3089 . . . . . 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 2145  ∀wral 3077  ∃wrex 3087   ⊆ wss 3899  {csn 4584   class class class wbr 5103  (class class class)co 7412   No csur 27979   <s clts 27980   ≤s cles 28083   <<s cslts 28125   |s ccuts 28127
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-int 4908  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-ord 6358  df-on 6359  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-1o 8460  df-2o 8461  df-no 27982  df-lts 27983  df-bday 27984  df-les 28084  df-slts 28126  df-cuts 28128
This theorem is used by:  ltsrecd  28170  0lt1s  28180
  Copyright terms: Public domain W3C validator