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

Theorem nosupdm 27624
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 4533 . . . . 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 2779 . . . 4 (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦𝑆 = (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
43dmeqd 5902 . . 3 (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 → dom 𝑆 = dom (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
5 iotaex 6515 . . . 4 (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥)) ∈ V
6 eqid 2727 . . . 4 (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))) = (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥)))
75, 6dmmpti 6693 . . 3 dom (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐴 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))) = {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))}
84, 7eqtrdi 2783 . 2 (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 → dom 𝑆 = {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))})
9 dmeq 5900 . . . . . . 7 (𝑢 = 𝑝 → dom 𝑢 = dom 𝑝)
109eleq2d 2814 . . . . . 6 (𝑢 = 𝑝 → (𝑦 ∈ dom 𝑢𝑦 ∈ dom 𝑝))
11 breq1 5145 . . . . . . . . . 10 (𝑣 = 𝑞 → (𝑣 <s 𝑢𝑞 <s 𝑢))
1211notbid 318 . . . . . . . . 9 (𝑣 = 𝑞 → (¬ 𝑣 <s 𝑢 ↔ ¬ 𝑞 <s 𝑢))
13 reseq1 5973 . . . . . . . . . 10 (𝑣 = 𝑞 → (𝑣 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))
1413eqeq2d 2738 . . . . . . . . 9 (𝑣 = 𝑞 → ((𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦) ↔ (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)))
1512, 14imbi12d 344 . . . . . . . 8 (𝑣 = 𝑞 → ((¬ 𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)) ↔ (¬ 𝑞 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
1615cbvralvw 3229 . . . . . . 7 (∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)) ↔ ∀𝑞𝐴𝑞 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)))
17 breq2 5146 . . . . . . . . . 10 (𝑢 = 𝑝 → (𝑞 <s 𝑢𝑞 <s 𝑝))
1817notbid 318 . . . . . . . . 9 (𝑢 = 𝑝 → (¬ 𝑞 <s 𝑢 ↔ ¬ 𝑞 <s 𝑝))
19 reseq1 5973 . . . . . . . . . 10 (𝑢 = 𝑝 → (𝑢 ↾ suc 𝑦) = (𝑝 ↾ suc 𝑦))
2019eqeq1d 2729 . . . . . . . . 9 (𝑢 = 𝑝 → ((𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦) ↔ (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)))
2118, 20imbi12d 344 . . . . . . . 8 (𝑢 = 𝑝 → ((¬ 𝑞 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)) ↔ (¬ 𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
2221ralbidv 3172 . . . . . . 7 (𝑢 = 𝑝 → (∀𝑞𝐴𝑞 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)) ↔ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
2316, 22bitrid 283 . . . . . 6 (𝑢 = 𝑝 → (∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)) ↔ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
2410, 23anbi12d 630 . . . . 5 (𝑢 = 𝑝 → ((𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦))) ↔ (𝑦 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)))))
2524cbvrexvw 3230 . . . 4 (∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦))) ↔ ∃𝑝𝐴 (𝑦 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))))
26 eleq1w 2811 . . . . . 6 (𝑦 = 𝑧 → (𝑦 ∈ dom 𝑝𝑧 ∈ dom 𝑝))
27 suceq 6429 . . . . . . . . . 10 (𝑦 = 𝑧 → suc 𝑦 = suc 𝑧)
2827reseq2d 5979 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑝 ↾ suc 𝑦) = (𝑝 ↾ suc 𝑧))
2927reseq2d 5979 . . . . . . . . 9 (𝑦 = 𝑧 → (𝑞 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑧))
3028, 29eqeq12d 2743 . . . . . . . 8 (𝑦 = 𝑧 → ((𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦) ↔ (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))
3130imbi2d 340 . . . . . . 7 (𝑦 = 𝑧 → ((¬ 𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)) ↔ (¬ 𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧))))
3231ralbidv 3172 . . . . . 6 (𝑦 = 𝑧 → (∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦)) ↔ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧))))
3326, 32anbi12d 630 . . . . 5 (𝑦 = 𝑧 → ((𝑦 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))) ↔ (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))))
3433rexbidv 3173 . . . 4 (𝑦 = 𝑧 → (∃𝑝𝐴 (𝑦 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑦) = (𝑞 ↾ suc 𝑦))) ↔ ∃𝑝𝐴 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))))
3525, 34bitrid 283 . . 3 (𝑦 = 𝑧 → (∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦))) ↔ ∃𝑝𝐴 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))))
3635cbvabv 2800 . 2 {𝑦 ∣ ∃𝑢𝐴 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐴𝑣 <s 𝑢 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} = {𝑧 ∣ ∃𝑝𝐴 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))}
378, 36eqtrdi 2783 1 (¬ ∃𝑥𝐴𝑦𝐴 ¬ 𝑥 <s 𝑦 → dom 𝑆 = {𝑧 ∣ ∃𝑝𝐴 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐴𝑞 <s 𝑝 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1085   = wceq 1534  wcel 2099  {cab 2704  wral 3056  wrex 3065  cun 3942  ifcif 4524  {csn 4624  cop 4630   class class class wbr 5142  cmpt 5225  dom cdm 5672  cres 5674  suc csuc 6365  cio 6492  cfv 6542  crio 7369  2oc2o 8474   <s cslt 27561
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2164  ax-ext 2698  ax-sep 5293  ax-nul 5300  ax-pr 5423
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-3an 1087  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2529  df-eu 2558  df-clab 2705  df-cleq 2719  df-clel 2805  df-nfc 2880  df-ne 2936  df-ral 3057  df-rex 3066  df-rab 3428  df-v 3471  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-nul 4319  df-if 4525  df-sn 4625  df-pr 4627  df-op 4631  df-uni 4904  df-br 5143  df-opab 5205  df-mpt 5226  df-id 5570  df-xp 5678  df-rel 5679  df-cnv 5680  df-co 5681  df-dm 5682  df-res 5684  df-suc 6369  df-iota 6494  df-fun 6544  df-fn 6545
This theorem is referenced by:  nosupbnd1lem3  27630  nosupbnd1lem5  27632  nosupbnd2  27636
  Copyright terms: Public domain W3C validator