Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  noinfdm Structured version   Visualization version   GIF version

Theorem noinfdm 33922
Description: Next, we calculate the domain of 𝑇. This is mostly to change bound variables. (Contributed by Scott Fenton, 8-Aug-2024.)
Hypothesis
Ref Expression
noinfdm.1 𝑇 = if(∃𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥, ((𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥) ∪ {⟨dom (𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥), 1o⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
Assertion
Ref Expression
noinfdm (¬ ∃𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥 → dom 𝑇 = {𝑧 ∣ ∃𝑝𝐵 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐵𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))})
Distinct variable groups:   𝐵,𝑔   𝐵,𝑝,𝑞,𝑢,𝑣,𝑦,𝑧   𝑢,𝑔,𝑣,𝑦
Allowed substitution hints:   𝐵(𝑥)   𝑇(𝑥,𝑦,𝑧,𝑣,𝑢,𝑔,𝑞,𝑝)

Proof of Theorem noinfdm
StepHypRef Expression
1 noinfdm.1 . . . 4 𝑇 = if(∃𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥, ((𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥) ∪ {⟨dom (𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥), 1o⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
2 iffalse 4468 . . . 4 (¬ ∃𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥 → if(∃𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥, ((𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥) ∪ {⟨dom (𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥), 1o⟩}), (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥)))) = (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
31, 2eqtrid 2790 . . 3 (¬ ∃𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥𝑇 = (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
43dmeqd 5814 . 2 (¬ ∃𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥 → dom 𝑇 = dom (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))))
5 iotaex 6413 . . . 4 (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥)) ∈ V
6 eqid 2738 . . . 4 (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))) = (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥)))
75, 6dmmpti 6577 . . 3 dom (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))) = {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))}
8 eleq1w 2821 . . . . . . 7 (𝑦 = 𝑧 → (𝑦 ∈ dom 𝑢𝑧 ∈ dom 𝑢))
9 suceq 6331 . . . . . . . . . . 11 (𝑦 = 𝑧 → suc 𝑦 = suc 𝑧)
109reseq2d 5891 . . . . . . . . . 10 (𝑦 = 𝑧 → (𝑢 ↾ suc 𝑦) = (𝑢 ↾ suc 𝑧))
119reseq2d 5891 . . . . . . . . . 10 (𝑦 = 𝑧 → (𝑣 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑧))
1210, 11eqeq12d 2754 . . . . . . . . 9 (𝑦 = 𝑧 → ((𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦) ↔ (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧)))
1312imbi2d 341 . . . . . . . 8 (𝑦 = 𝑧 → ((¬ 𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)) ↔ (¬ 𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧))))
1413ralbidv 3112 . . . . . . 7 (𝑦 = 𝑧 → (∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)) ↔ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧))))
158, 14anbi12d 631 . . . . . 6 (𝑦 = 𝑧 → ((𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦))) ↔ (𝑧 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧)))))
1615rexbidv 3226 . . . . 5 (𝑦 = 𝑧 → (∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦))) ↔ ∃𝑢𝐵 (𝑧 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧)))))
17 dmeq 5812 . . . . . . . 8 (𝑢 = 𝑝 → dom 𝑢 = dom 𝑝)
1817eleq2d 2824 . . . . . . 7 (𝑢 = 𝑝 → (𝑧 ∈ dom 𝑢𝑧 ∈ dom 𝑝))
19 breq1 5077 . . . . . . . . . . 11 (𝑢 = 𝑝 → (𝑢 <s 𝑣𝑝 <s 𝑣))
2019notbid 318 . . . . . . . . . 10 (𝑢 = 𝑝 → (¬ 𝑢 <s 𝑣 ↔ ¬ 𝑝 <s 𝑣))
21 reseq1 5885 . . . . . . . . . . 11 (𝑢 = 𝑝 → (𝑢 ↾ suc 𝑧) = (𝑝 ↾ suc 𝑧))
2221eqeq1d 2740 . . . . . . . . . 10 (𝑢 = 𝑝 → ((𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧) ↔ (𝑝 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧)))
2320, 22imbi12d 345 . . . . . . . . 9 (𝑢 = 𝑝 → ((¬ 𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧)) ↔ (¬ 𝑝 <s 𝑣 → (𝑝 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧))))
2423ralbidv 3112 . . . . . . . 8 (𝑢 = 𝑝 → (∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧)) ↔ ∀𝑣𝐵𝑝 <s 𝑣 → (𝑝 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧))))
25 breq2 5078 . . . . . . . . . . 11 (𝑣 = 𝑞 → (𝑝 <s 𝑣𝑝 <s 𝑞))
2625notbid 318 . . . . . . . . . 10 (𝑣 = 𝑞 → (¬ 𝑝 <s 𝑣 ↔ ¬ 𝑝 <s 𝑞))
27 reseq1 5885 . . . . . . . . . . 11 (𝑣 = 𝑞 → (𝑣 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧))
2827eqeq2d 2749 . . . . . . . . . 10 (𝑣 = 𝑞 → ((𝑝 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧) ↔ (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))
2926, 28imbi12d 345 . . . . . . . . 9 (𝑣 = 𝑞 → ((¬ 𝑝 <s 𝑣 → (𝑝 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧)) ↔ (¬ 𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧))))
3029cbvralvw 3383 . . . . . . . 8 (∀𝑣𝐵𝑝 <s 𝑣 → (𝑝 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧)) ↔ ∀𝑞𝐵𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))
3124, 30bitrdi 287 . . . . . . 7 (𝑢 = 𝑝 → (∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧)) ↔ ∀𝑞𝐵𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧))))
3218, 31anbi12d 631 . . . . . 6 (𝑢 = 𝑝 → ((𝑧 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧))) ↔ (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐵𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))))
3332cbvrexvw 3384 . . . . 5 (∃𝑢𝐵 (𝑧 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑧) = (𝑣 ↾ suc 𝑧))) ↔ ∃𝑝𝐵 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐵𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧))))
3416, 33bitrdi 287 . . . 4 (𝑦 = 𝑧 → (∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦))) ↔ ∃𝑝𝐵 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐵𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))))
3534cbvabv 2811 . . 3 {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} = {𝑧 ∣ ∃𝑝𝐵 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐵𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))}
367, 35eqtri 2766 . 2 dom (𝑔 ∈ {𝑦 ∣ ∃𝑢𝐵 (𝑦 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑦) = (𝑣 ↾ suc 𝑦)))} ↦ (℩𝑥𝑢𝐵 (𝑔 ∈ dom 𝑢 ∧ ∀𝑣𝐵𝑢 <s 𝑣 → (𝑢 ↾ suc 𝑔) = (𝑣 ↾ suc 𝑔)) ∧ (𝑢𝑔) = 𝑥))) = {𝑧 ∣ ∃𝑝𝐵 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐵𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))}
374, 36eqtrdi 2794 1 (¬ ∃𝑥𝐵𝑦𝐵 ¬ 𝑦 <s 𝑥 → dom 𝑇 = {𝑧 ∣ ∃𝑝𝐵 (𝑧 ∈ dom 𝑝 ∧ ∀𝑞𝐵𝑝 <s 𝑞 → (𝑝 ↾ suc 𝑧) = (𝑞 ↾ suc 𝑧)))})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  {cab 2715  wral 3064  wrex 3065  cun 3885  ifcif 4459  {csn 4561  cop 4567   class class class wbr 5074  cmpt 5157  dom cdm 5589  cres 5591  suc csuc 6268  cio 6389  cfv 6433  crio 7231  1oc1o 8290   <s cslt 33844
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  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 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-res 5601  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436
This theorem is referenced by:  noinfbday  33923  noinfres  33925  noinfbnd1lem1  33926  noinfbnd1lem3  33928  noinfbnd1lem5  33930  noinfbnd2  33934
  Copyright terms: Public domain W3C validator