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

Theorem nosupdm 27204
Description: The domain of the surreal supremum when there is no maximum. The primary point of this theorem is to change bound variable. (Contributed by Scott Fenton, 6-Dec-2021.)
Hypothesis
Ref Expression
nosupdm.1 𝑆 = if(∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦, ((𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦) ∪ {⟨dom (𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦), 2o⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
Assertion
Ref Expression
nosupdm (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 → dom 𝑆 = {𝑧 ∣ ∃𝑝𝐴 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))})
Distinct variable groups:   𝐴,𝑔   𝐴,𝑝,𝑞,𝑢,𝑣,𝑦,𝑧   𝑢,𝑔,𝑣,𝑦   𝑞,𝑝,𝑢,𝑣,𝑦,𝑧
Allowed substitution hints:   𝐴(𝑥)   𝑆(𝑥,𝑦,𝑧,𝑣,𝑢,𝑔,𝑞,𝑝)

Proof of Theorem nosupdm
StepHypRef Expression
1 nosupdm.1 . . . . 5 𝑆 = if(∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦, ((𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦) ∪ {⟨dom (𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦), 2o⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
2 iffalse 4537 . . . . 5 (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 → if(∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦, ((𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦) ∪ {⟨dom (𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦), 2o⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥)))) = (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
31, 2eqtrid 2784 . . . 4 (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦𝑆 = (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
43dmeqd 5905 . . 3 (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 → dom 𝑆 = dom (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
5 iotaex 6516 . . . 4 (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥)) ∈ V
6 eqid 2732 . . . 4 (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))) = (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥)))
75, 6dmmpti 6694 . . 3 dom (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))) = {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))}
84, 7eqtrdi 2788 . 2 (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 → dom 𝑆 = {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))})
9 dmeq 5903 . . . . . . 7 (𝑢 = 𝑝 → dom 𝑢 = dom 𝑝)
109eleq2d 2819 . . . . . 6 (𝑢 = 𝑝 → (𝑦 ∈ dom 𝑢𝑦 ∈ dom 𝑝))
11 breq1 5151 . . . . . . . . . 10 (𝑣 = 𝑞 → (𝑣 <s 𝑢𝑞 <s 𝑢))
1211notbid 317 . . . . . . . . 9 (𝑣 = 𝑞 → (¬ 𝑣 <s 𝑢 ↔ ¬ 𝑞 <s 𝑢))
13 reseq1 5975 . . . . . . . . . 10 (𝑣 = 𝑞 → (𝑣 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))
1413eqeq2d 2743 . . . . . . . . 9 (𝑣 = 𝑞 → ((𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦) ↔ (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)))
1512, 14imbi12d 344 . . . . . . . 8 (𝑣 = 𝑞 → ((¬ 𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)) ↔ (¬ 𝑞 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
1615cbvralvw 3234 . . . . . . 7 (∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)) ↔ ∀𝑞𝐴𝑞 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)))
17 breq2 5152 . . . . . . . . . 10 (𝑢 = 𝑝 → (𝑞 <s 𝑢𝑞 <s 𝑝))
1817notbid 317 . . . . . . . . 9 (𝑢 = 𝑝 → (¬ 𝑞 <s 𝑢 ↔ ¬ 𝑞 <s 𝑝))
19 reseq1 5975 . . . . . . . . . 10 (𝑢 = 𝑝 → (𝑢 ↾ suc 𝑦) = (𝑝 ↾ suc 𝑦))
2019eqeq1d 2734 . . . . . . . . 9 (𝑢 = 𝑝 → ((𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦) ↔ (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)))
2118, 20imbi12d 344 . . . . . . . 8 (𝑢 = 𝑝 → ((¬ 𝑞 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)) ↔ (¬ 𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
2221ralbidv 3177 . . . . . . 7 (𝑢 = 𝑝 → (∀𝑞𝐴𝑞 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)) ↔ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
2316, 22bitrid 282 . . . . . 6 (𝑢 = 𝑝 → (∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)) ↔ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
2410, 23anbi12d 631 . . . . 5 (𝑢 = 𝑝 → ((𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦))) ↔ (𝑦 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)))))
2524cbvrexvw 3235 . . . 4 (∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦))) ↔ ∃𝑝𝐴 (𝑦 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
26 eleq1w 2816 . . . . . 6 (𝑦 = 𝑧 → (𝑦 ∈ dom 𝑝𝑧 ∈ dom 𝑝))
27 suceq 6430 . . . . . . . . . 10 (𝑦 = 𝑧 → suc 𝑦 = suc 𝑧)
2827reseq2d 5981 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑝 ↾ suc 𝑦) = (𝑝 ↾ suc 𝑧))
2927reseq2d 5981 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑞 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑧))
3028, 29eqeq12d 2748 . . . . . . . 8 (𝑦 = 𝑧 → ((𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦) ↔ (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))
3130imbi2d 340 . . . . . . 7 (𝑦 = 𝑧 → ((¬ 𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)) ↔ (¬ 𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧))))
3231ralbidv 3177 . . . . . 6 (𝑦 = 𝑧 → (∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)) ↔ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧))))
3326, 32anbi12d 631 . . . . 5 (𝑦 = 𝑧 → ((𝑦 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))) ↔ (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))))
3433rexbidv 3178 . . . 4 (𝑦 = 𝑧 → (∃𝑝𝐴 (𝑦 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))) ↔ ∃𝑝𝐴 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))))
3525, 34bitrid 282 . . 3 (𝑦 = 𝑧 → (∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦))) ↔ ∃𝑝𝐴 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))))
3635cbvabv 2805 . 2 {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} = {𝑧 ∣ ∃𝑝𝐴 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))}
378, 36eqtrdi 2788 1 (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 → dom 𝑆 = {𝑧 ∣ ∃𝑝𝐴 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  w3a 1087   = wceq 1541  wcel 2106  {cab 2709  wral 3061  wrex 3070  cun 3946  ifcif 4528  {csn 4628  cop 4634   class class class wbr 5148  cmpt 5231  dom cdm 5676  cres 5678  suc csuc 6366  cio 6493  cfv 6543  crio 7363  2oc2o 8459   <s cslt 27141
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2703  ax-sep 5299  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2534  df-eu 2563  df-clab 2710  df-cleq 2724  df-clel 2810  df-nfc 2885  df-ne 2941  df-ral 3062  df-rex 3071  df-rab 3433  df-v 3476  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-br 5149  df-opab 5211  df-mpt 5232  df-id 5574  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-res 5688  df-suc 6370  df-iota 6495  df-fun 6545  df-fn 6546
This theorem is referenced by:  nosupbnd1lem3  27210  nosupbnd1lem5  27212  nosupbnd2  27216
  Copyright terms: Public domain W3C validator