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

Theorem addsproplem4 28005
Description: Lemma for surreal addition properties. Show the second half of the inductive hypothesis when 𝑌 is older than 𝑍. (Contributed by Scott Fenton, 21-Jan-2025.)
Hypotheses
Ref Expression
addsproplem.1 (𝜑 → ∀𝑥 No 𝑦 No 𝑧 No (((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑌)) ∪ (( bday 𝑋) +no ( bday 𝑍))) → ((𝑥 +s 𝑦) ∈ No ∧ (𝑦 <s 𝑧 → (𝑦 +s 𝑥) <s (𝑧 +s 𝑥)))))
addspropord.2 (𝜑𝑋 No )
addspropord.3 (𝜑𝑌 No )
addspropord.4 (𝜑𝑍 No )
addspropord.5 (𝜑𝑌 <s 𝑍)
addsproplem4.6 (𝜑 → ( bday 𝑌) ∈ ( bday 𝑍))
Assertion
Ref Expression
addsproplem4 (𝜑 → (𝑌 +s 𝑋) <s (𝑍 +s 𝑋))
Distinct variable groups:   𝑥,𝑋,𝑦,𝑧   𝑥,𝑌,𝑦,𝑧   𝑥,𝑍,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)

Proof of Theorem addsproplem4
Dummy variables 𝑎 𝑏 𝑐 𝑑 𝑒 𝑓 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 addsproplem.1 . . . . . 6 (𝜑 → ∀𝑥 No 𝑦 No 𝑧 No (((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑌)) ∪ (( bday 𝑋) +no ( bday 𝑍))) → ((𝑥 +s 𝑦) ∈ No ∧ (𝑦 <s 𝑧 → (𝑦 +s 𝑥) <s (𝑧 +s 𝑥)))))
2 uncom 4158 . . . . . . . . . 10 ((( bday 𝑋) +no ( bday 𝑌)) ∪ (( bday 𝑋) +no ( bday 𝑍))) = ((( bday 𝑋) +no ( bday 𝑍)) ∪ (( bday 𝑋) +no ( bday 𝑌)))
32eleq2i 2833 . . . . . . . . 9 (((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑌)) ∪ (( bday 𝑋) +no ( bday 𝑍))) ↔ ((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑍)) ∪ (( bday 𝑋) +no ( bday 𝑌))))
43imbi1i 349 . . . . . . . 8 ((((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑌)) ∪ (( bday 𝑋) +no ( bday 𝑍))) → ((𝑥 +s 𝑦) ∈ No ∧ (𝑦 <s 𝑧 → (𝑦 +s 𝑥) <s (𝑧 +s 𝑥)))) ↔ (((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑍)) ∪ (( bday 𝑋) +no ( bday 𝑌))) → ((𝑥 +s 𝑦) ∈ No ∧ (𝑦 <s 𝑧 → (𝑦 +s 𝑥) <s (𝑧 +s 𝑥)))))
54ralbii 3093 . . . . . . 7 (∀𝑧 No (((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑌)) ∪ (( bday 𝑋) +no ( bday 𝑍))) → ((𝑥 +s 𝑦) ∈ No ∧ (𝑦 <s 𝑧 → (𝑦 +s 𝑥) <s (𝑧 +s 𝑥)))) ↔ ∀𝑧 No (((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑍)) ∪ (( bday 𝑋) +no ( bday 𝑌))) → ((𝑥 +s 𝑦) ∈ No ∧ (𝑦 <s 𝑧 → (𝑦 +s 𝑥) <s (𝑧 +s 𝑥)))))
652ralbii 3128 . . . . . 6 (∀𝑥 No 𝑦 No 𝑧 No (((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑌)) ∪ (( bday 𝑋) +no ( bday 𝑍))) → ((𝑥 +s 𝑦) ∈ No ∧ (𝑦 <s 𝑧 → (𝑦 +s 𝑥) <s (𝑧 +s 𝑥)))) ↔ ∀𝑥 No 𝑦 No 𝑧 No (((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑍)) ∪ (( bday 𝑋) +no ( bday 𝑌))) → ((𝑥 +s 𝑦) ∈ No ∧ (𝑦 <s 𝑧 → (𝑦 +s 𝑥) <s (𝑧 +s 𝑥)))))
71, 6sylib 218 . . . . 5 (𝜑 → ∀𝑥 No 𝑦 No 𝑧 No (((( bday 𝑥) +no ( bday 𝑦)) ∪ (( bday 𝑥) +no ( bday 𝑧))) ∈ ((( bday 𝑋) +no ( bday 𝑍)) ∪ (( bday 𝑋) +no ( bday 𝑌))) → ((𝑥 +s 𝑦) ∈ No ∧ (𝑦 <s 𝑧 → (𝑦 +s 𝑥) <s (𝑧 +s 𝑥)))))
8 addspropord.2 . . . . 5 (𝜑𝑋 No )
9 addspropord.4 . . . . 5 (𝜑𝑍 No )
107, 8, 9addsproplem3 28004 . . . 4 (𝜑 → ((𝑋 +s 𝑍) ∈ No ∧ ({𝑎 ∣ ∃𝑐 ∈ ( L ‘𝑋)𝑎 = (𝑐 +s 𝑍)} ∪ {𝑏 ∣ ∃𝑑 ∈ ( L ‘𝑍)𝑏 = (𝑋 +s 𝑑)}) <<s {(𝑋 +s 𝑍)} ∧ {(𝑋 +s 𝑍)} <<s ({𝑒 ∣ ∃𝑔 ∈ ( R ‘𝑋)𝑒 = (𝑔 +s 𝑍)} ∪ {𝑓 ∣ ∃ ∈ ( R ‘𝑍)𝑓 = (𝑋 +s )})))
1110simp2d 1144 . . 3 (𝜑 → ({𝑎 ∣ ∃𝑐 ∈ ( L ‘𝑋)𝑎 = (𝑐 +s 𝑍)} ∪ {𝑏 ∣ ∃𝑑 ∈ ( L ‘𝑍)𝑏 = (𝑋 +s 𝑑)}) <<s {(𝑋 +s 𝑍)})
12 addsproplem4.6 . . . . . . . 8 (𝜑 → ( bday 𝑌) ∈ ( bday 𝑍))
13 bdayelon 27821 . . . . . . . . 9 ( bday 𝑍) ∈ On
14 addspropord.3 . . . . . . . . 9 (𝜑𝑌 No )
15 oldbday 27939 . . . . . . . . 9 ((( bday 𝑍) ∈ On ∧ 𝑌 No ) → (𝑌 ∈ ( O ‘( bday 𝑍)) ↔ ( bday 𝑌) ∈ ( bday 𝑍)))
1613, 14, 15sylancr 587 . . . . . . . 8 (𝜑 → (𝑌 ∈ ( O ‘( bday 𝑍)) ↔ ( bday 𝑌) ∈ ( bday 𝑍)))
1712, 16mpbird 257 . . . . . . 7 (𝜑𝑌 ∈ ( O ‘( bday 𝑍)))
18 addspropord.5 . . . . . . 7 (𝜑𝑌 <s 𝑍)
19 breq1 5146 . . . . . . . 8 (𝑦 = 𝑌 → (𝑦 <s 𝑍𝑌 <s 𝑍))
20 leftval 27902 . . . . . . . 8 ( L ‘𝑍) = {𝑦 ∈ ( O ‘( bday 𝑍)) ∣ 𝑦 <s 𝑍}
2119, 20elrab2 3695 . . . . . . 7 (𝑌 ∈ ( L ‘𝑍) ↔ (𝑌 ∈ ( O ‘( bday 𝑍)) ∧ 𝑌 <s 𝑍))
2217, 18, 21sylanbrc 583 . . . . . 6 (𝜑𝑌 ∈ ( L ‘𝑍))
23 eqid 2737 . . . . . 6 (𝑋 +s 𝑌) = (𝑋 +s 𝑌)
24 oveq2 7439 . . . . . . 7 (𝑑 = 𝑌 → (𝑋 +s 𝑑) = (𝑋 +s 𝑌))
2524rspceeqv 3645 . . . . . 6 ((𝑌 ∈ ( L ‘𝑍) ∧ (𝑋 +s 𝑌) = (𝑋 +s 𝑌)) → ∃𝑑 ∈ ( L ‘𝑍)(𝑋 +s 𝑌) = (𝑋 +s 𝑑))
2622, 23, 25sylancl 586 . . . . 5 (𝜑 → ∃𝑑 ∈ ( L ‘𝑍)(𝑋 +s 𝑌) = (𝑋 +s 𝑑))
27 ovex 7464 . . . . . 6 (𝑋 +s 𝑌) ∈ V
28 eqeq1 2741 . . . . . . 7 (𝑏 = (𝑋 +s 𝑌) → (𝑏 = (𝑋 +s 𝑑) ↔ (𝑋 +s 𝑌) = (𝑋 +s 𝑑)))
2928rexbidv 3179 . . . . . 6 (𝑏 = (𝑋 +s 𝑌) → (∃𝑑 ∈ ( L ‘𝑍)𝑏 = (𝑋 +s 𝑑) ↔ ∃𝑑 ∈ ( L ‘𝑍)(𝑋 +s 𝑌) = (𝑋 +s 𝑑)))
3027, 29elab 3679 . . . . 5 ((𝑋 +s 𝑌) ∈ {𝑏 ∣ ∃𝑑 ∈ ( L ‘𝑍)𝑏 = (𝑋 +s 𝑑)} ↔ ∃𝑑 ∈ ( L ‘𝑍)(𝑋 +s 𝑌) = (𝑋 +s 𝑑))
3126, 30sylibr 234 . . . 4 (𝜑 → (𝑋 +s 𝑌) ∈ {𝑏 ∣ ∃𝑑 ∈ ( L ‘𝑍)𝑏 = (𝑋 +s 𝑑)})
32 elun2 4183 . . . 4 ((𝑋 +s 𝑌) ∈ {𝑏 ∣ ∃𝑑 ∈ ( L ‘𝑍)𝑏 = (𝑋 +s 𝑑)} → (𝑋 +s 𝑌) ∈ ({𝑎 ∣ ∃𝑐 ∈ ( L ‘𝑋)𝑎 = (𝑐 +s 𝑍)} ∪ {𝑏 ∣ ∃𝑑 ∈ ( L ‘𝑍)𝑏 = (𝑋 +s 𝑑)}))
3331, 32syl 17 . . 3 (𝜑 → (𝑋 +s 𝑌) ∈ ({𝑎 ∣ ∃𝑐 ∈ ( L ‘𝑋)𝑎 = (𝑐 +s 𝑍)} ∪ {𝑏 ∣ ∃𝑑 ∈ ( L ‘𝑍)𝑏 = (𝑋 +s 𝑑)}))
34 ovex 7464 . . . . 5 (𝑋 +s 𝑍) ∈ V
3534snid 4662 . . . 4 (𝑋 +s 𝑍) ∈ {(𝑋 +s 𝑍)}
3635a1i 11 . . 3 (𝜑 → (𝑋 +s 𝑍) ∈ {(𝑋 +s 𝑍)})
3711, 33, 36ssltsepcd 27839 . 2 (𝜑 → (𝑋 +s 𝑌) <s (𝑋 +s 𝑍))
3814, 8addscomd 28000 . 2 (𝜑 → (𝑌 +s 𝑋) = (𝑋 +s 𝑌))
399, 8addscomd 28000 . 2 (𝜑 → (𝑍 +s 𝑋) = (𝑋 +s 𝑍))
4037, 38, 393brtr4d 5175 1 (𝜑 → (𝑌 +s 𝑋) <s (𝑍 +s 𝑋))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1540  wcel 2108  {cab 2714  wral 3061  wrex 3070  cun 3949  {csn 4626   class class class wbr 5143  Oncon0 6384  cfv 6561  (class class class)co 7431   +no cnadd 8703   No csur 27684   <s cslt 27685   bday cbday 27686   <<s csslt 27825   O cold 27882   L cleft 27884   R cright 27885   +s cadds 27992
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 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2708  ax-rep 5279  ax-sep 5296  ax-nul 5306  ax-pow 5365  ax-pr 5432  ax-un 7755
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3or 1088  df-3an 1089  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-mo 2540  df-eu 2569  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2892  df-ne 2941  df-ral 3062  df-rex 3071  df-rmo 3380  df-reu 3381  df-rab 3437  df-v 3482  df-sbc 3789  df-csb 3900  df-dif 3954  df-un 3956  df-in 3958  df-ss 3968  df-pss 3971  df-nul 4334  df-if 4526  df-pw 4602  df-sn 4627  df-pr 4629  df-tp 4631  df-op 4633  df-uni 4908  df-int 4947  df-iun 4993  df-br 5144  df-opab 5206  df-mpt 5226  df-tr 5260  df-id 5578  df-eprel 5584  df-po 5592  df-so 5593  df-fr 5637  df-se 5638  df-we 5639  df-xp 5691  df-rel 5692  df-cnv 5693  df-co 5694  df-dm 5695  df-rn 5696  df-res 5697  df-ima 5698  df-pred 6321  df-ord 6387  df-on 6388  df-suc 6390  df-iota 6514  df-fun 6563  df-fn 6564  df-f 6565  df-f1 6566  df-fo 6567  df-f1o 6568  df-fv 6569  df-riota 7388  df-ov 7434  df-oprab 7435  df-mpo 7436  df-1st 8014  df-2nd 8015  df-frecs 8306  df-wrecs 8337  df-recs 8411  df-1o 8506  df-2o 8507  df-nadd 8704  df-no 27687  df-slt 27688  df-bday 27689  df-sslt 27826  df-scut 27828  df-0s 27869  df-made 27886  df-old 27887  df-left 27889  df-right 27890  df-norec2 27982  df-adds 27993
This theorem is referenced by:  addsproplem7  28008
  Copyright terms: Public domain W3C validator