Users' Mathboxes Mathbox for Ender Ting < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  tmachlem-tpopen Structured version   Visualization version   GIF version

Theorem tmachlem-tpopen 48154
Description: Agreement sets are open in the product topology of tapes. (Contributed by Ender Ting, 27-Jul-2026.)
Hypotheses
Ref Expression
tmach.finalph (𝜑 → 𝑈 ∈ Fin)
tmach.exindex (𝜑 → 𝐼 ∈ V)
tmach.tapelist (𝜑 → 𝑇 = (𝑈 ↑m 𝐼))
tmach.scanmap (𝜑 → 𝑆:𝑇⟶(𝒫 𝐼 ∩ Fin))
tmach.agreemap (𝜑 → 𝐴 = (𝑧 ∈ 𝑇 ↦ {𝑦 ∈ 𝑇 ∣ (𝑦 ↾ (𝑆‘𝑧)) = (𝑧 ↾ (𝑆‘𝑧))}))
tmach.agreement (𝜑 → ∀𝑧 ∈ 𝑇 ∀𝑦 ∈ (𝐴‘𝑧)(𝑆‘𝑦) = (𝑆‘𝑧))
Assertion
Ref Expression
tmachlem-tpopen ((𝜑 ∧ 𝑎 ∈ 𝑇) → X𝑏 ∈ 𝐼 if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) ∈ (∏t‘(𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)))
Distinct variable groups:   𝑈,𝑎,𝑏,𝑖,𝑦,𝑧   𝐼,𝑎,𝑏,𝑖,𝑦,𝑧   𝜑,𝑎,𝑏,𝑖,𝑦,𝑧   𝑆,𝑎,𝑏,𝑖,𝑦,𝑧   𝐴,𝑎,𝑏,𝑖,𝑦,𝑧   𝑇,𝑎,𝑏,𝑖,𝑦,𝑧

Proof of Theorem tmachlem-tpopen
StepHypRef Expression
1 tmach.exindex . . 3 (𝜑 → 𝐼 ∈ V)
21adantr 486 . 2 ((𝜑 ∧ 𝑎 ∈ 𝑇) → 𝐼 ∈ V)
3 tmach.finalph . . . . . 6 (𝜑 → 𝑈 ∈ Fin)
4 distop 23340 . . . . . 6 (𝑈 ∈ Fin → 𝒫 𝑈 ∈ Top)
53, 4syl 18 . . . . 5 (𝜑 → 𝒫 𝑈 ∈ Top)
65adantr 486 . . . 4 ((𝜑 ∧ 𝑎 ∈ 𝑇) → 𝒫 𝑈 ∈ Top)
76adantr 486 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑖 ∈ 𝐼) → 𝒫 𝑈 ∈ Top)
87fmpttd 7136 . 2 ((𝜑 ∧ 𝑎 ∈ 𝑇) → (𝑖 ∈ 𝐼 ↦ 𝒫 𝑈):𝐼⟶Top)
9 tmach.tapelist . . 3 (𝜑 → 𝑇 = (𝑈 ↑m 𝐼))
10 tmach.scanmap . . 3 (𝜑 → 𝑆:𝑇⟶(𝒫 𝐼 ∩ Fin))
11 tmach.agreemap . . 3 (𝜑 → 𝐴 = (𝑧 ∈ 𝑇 ↦ {𝑦 ∈ 𝑇 ∣ (𝑦 ↾ (𝑆‘𝑧)) = (𝑧 ↾ (𝑆‘𝑧))}))
12 tmach.agreement . . 3 (𝜑 → ∀𝑧 ∈ 𝑇 ∀𝑦 ∈ (𝐴‘𝑧)(𝑆‘𝑦) = (𝑆‘𝑧))
133, 1, 9, 10, 11, 12tmachlem-finscan 48148 . 2 ((𝜑 ∧ 𝑎 ∈ 𝑇) → (𝑆‘𝑎) ∈ Fin)
149eleq2d 2850 . . . . . . . 8 (𝜑 → (𝑎 ∈ 𝑇 ↔ 𝑎 ∈ (𝑈 ↑m 𝐼)))
1514biimpa 482 . . . . . . 7 ((𝜑 ∧ 𝑎 ∈ 𝑇) → 𝑎 ∈ (𝑈 ↑m 𝐼))
16 elmapi 8894 . . . . . . 7 (𝑎 ∈ (𝑈 ↑m 𝐼) → 𝑎:𝐼⟶𝑈)
1715, 16syl 18 . . . . . 6 ((𝜑 ∧ 𝑎 ∈ 𝑇) → 𝑎:𝐼⟶𝑈)
1817ffvelcdmda 7105 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → (𝑎‘𝑏) ∈ 𝑈)
19 snelpwi 5416 . . . . 5 ((𝑎‘𝑏) ∈ 𝑈 → {(𝑎‘𝑏)} ∈ 𝒫 𝑈)
2018, 19syl 18 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → {(𝑎‘𝑏)} ∈ 𝒫 𝑈)
21 simpll 779 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → 𝜑)
22 pwidg 4581 . . . . 5 (𝑈 ∈ Fin → 𝑈 ∈ 𝒫 𝑈)
2321, 3, 223syl 19 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → 𝑈 ∈ 𝒫 𝑈)
2420, 23ifcld 4532 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) ∈ 𝒫 𝑈)
253, 1, 9, 10, 11, 12tmachlem-tpitem 48153 . . . 4 ((𝜑 ∧ 𝑏 ∈ 𝐼) → ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = 𝒫 𝑈)
2625adantlr 728 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = 𝒫 𝑈)
2724, 26eleqtrrd 2867 . 2 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) ∈ ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏))
28 eldifn 4071 . . . . 5 (𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎)) → ¬ 𝑏 ∈ (𝑆‘𝑎))
2928adantl 487 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → ¬ 𝑏 ∈ (𝑆‘𝑎))
3029iffalsed 4496 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) = 𝑈)
31 simpll 779 . . . . . 6 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → 𝜑)
32 eldifi 4070 . . . . . . 7 (𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎)) → 𝑏 ∈ 𝐼)
3332adantl 487 . . . . . 6 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → 𝑏 ∈ 𝐼)
3431, 33, 25syl2anc 596 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = 𝒫 𝑈)
3534unieqd 4883 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → ∪ ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = ∪ 𝒫 𝑈)
36 unipw 5422 . . . 4 ∪ 𝒫 𝑈 = 𝑈
3735, 36eqtrdi 2814 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → ∪ ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = 𝑈)
3830, 37eqtr4d 2801 . 2 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) = ∪ ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏))
392, 8, 13, 27, 38ptopn 23929 1 ((𝜑 ∧ 𝑎 ∈ 𝑇) → X𝑏 ∈ 𝐼 if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) ∈ (∏t‘(𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ∀wral 3080  {crab 3416  Vcvv 3454   ∖ cdif 4048   ∩ cin 4092  ifcif 4485  𝒫 cpw 4560  {csn 4588  ∪ cuni 4870   ↦ cmpt 5189   ↾ cres 5657  ⟶wf 6551  ‘cfv 6555  (class class class)co 7440   ↑m cmap 8872  Xcixp 8950  Fincfn 8998  ∏tcpt 17635  Topctop 23238
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5235  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-int 4911  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-ov 7443  df-oprab 7444  df-mpo 7445  df-om 7899  df-1st 8022  df-2nd 8023  df-1o 8501  df-2o 8502  df-map 8874  df-ixp 8951  df-en 8999  df-fin 9002  df-fi 9427  df-topgen 17640  df-pt 17641  df-top 23239  df-bases 23291
This theorem is used by:  tmachlem-tpopen2  48155
  Copyright terms: Public domain W3C validator