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 48284
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 23370 . . . . . 6 (𝑈 ∈ Fin → 𝒫 𝑈 ∈ Top)
53, 4syl 18 . . . . 5 (𝜑 → 𝒫 𝑈 ∈ Top)
65adantr 486 . . . 4 ((𝜑 ∧ 𝑎 ∈ 𝑇) → 𝒫 𝑈 ∈ Top)
76adantr 486 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑖 ∈ 𝐼) → 𝒫 𝑈 ∈ Top)
87fmpttd 7146 . 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 48278 . 2 ((𝜑 ∧ 𝑎 ∈ 𝑇) → (𝑆‘𝑎) ∈ Fin)
149eleq2d 2853 . . . . . . . 8 (𝜑 → (𝑎 ∈ 𝑇 ↔ 𝑎 ∈ (𝑈 ↑m 𝐼)))
1514biimpa 482 . . . . . . 7 ((𝜑 ∧ 𝑎 ∈ 𝑇) → 𝑎 ∈ (𝑈 ↑m 𝐼))
16 elmapi 8906 . . . . . . 7 (𝑎 ∈ (𝑈 ↑m 𝐼) → 𝑎:𝐼⟶𝑈)
1715, 16syl 18 . . . . . 6 ((𝜑 ∧ 𝑎 ∈ 𝑇) → 𝑎:𝐼⟶𝑈)
1817ffvelcdmda 7115 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → (𝑎‘𝑏) ∈ 𝑈)
19 snelpwi 5418 . . . . 5 ((𝑎‘𝑏) ∈ 𝑈 → {(𝑎‘𝑏)} ∈ 𝒫 𝑈)
2018, 19syl 18 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → {(𝑎‘𝑏)} ∈ 𝒫 𝑈)
21 simpll 779 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → 𝜑)
22 pwidg 4580 . . . . 5 (𝑈 ∈ Fin → 𝑈 ∈ 𝒫 𝑈)
2321, 3, 223syl 19 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → 𝑈 ∈ 𝒫 𝑈)
2420, 23ifcld 4531 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) ∈ 𝒫 𝑈)
253, 1, 9, 10, 11, 12tmachlem-tpitem 48283 . . . 4 ((𝜑 ∧ 𝑏 ∈ 𝐼) → ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = 𝒫 𝑈)
2625adantlr 728 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = 𝒫 𝑈)
2724, 26eleqtrrd 2870 . 2 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ 𝐼) → if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) ∈ ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏))
28 eldifn 4070 . . . . 5 (𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎)) → ¬ 𝑏 ∈ (𝑆‘𝑎))
2928adantl 487 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → ¬ 𝑏 ∈ (𝑆‘𝑎))
3029iffalsed 4495 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) = 𝑈)
31 simpll 779 . . . . . 6 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → 𝜑)
32 eldifi 4069 . . . . . . 7 (𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎)) → 𝑏 ∈ 𝐼)
3332adantl 487 . . . . . 6 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → 𝑏 ∈ 𝐼)
3431, 33, 25syl2anc 596 . . . . 5 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = 𝒫 𝑈)
3534unieqd 4884 . . . 4 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → ∪ ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = ∪ 𝒫 𝑈)
36 unipw 5424 . . . 4 ∪ 𝒫 𝑈 = 𝑈
3735, 36eqtrdi 2817 . . 3 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → ∪ ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏) = 𝑈)
3830, 37eqtr4d 2804 . 2 (((𝜑 ∧ 𝑎 ∈ 𝑇) ∧ 𝑏 ∈ (𝐼 ∖ (𝑆‘𝑎))) → if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) = ∪ ((𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)‘𝑏))
392, 8, 13, 27, 38ptopn 23959 1 ((𝜑 ∧ 𝑎 ∈ 𝑇) → X𝑏 ∈ 𝐼 if(𝑏 ∈ (𝑆‘𝑎), {(𝑎‘𝑏)}, 𝑈) ∈ (∏t‘(𝑖 ∈ 𝐼 ↦ 𝒫 𝑈)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2150  ∀wral 3083  {crab 3415  Vcvv 3453   ∖ cdif 4047   ∩ cin 4091  ifcif 4484  𝒫 cpw 4559  {csn 4587  ∪ cuni 4871   ↦ cmpt 5191   ↾ cres 5659  ⟶wf 6561  ‘cfv 6565  (class class class)co 7450   ↑m cmap 8884  Xcixp 8962  Fincfn 9010  ∏tcpt 17661  Topctop 23268
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-rep 5237  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-ral 3084  df-rex 3094  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-int 4912  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-ov 7453  df-oprab 7454  df-mpo 7455  df-om 7911  df-1st 8034  df-2nd 8035  df-1o 8513  df-2o 8514  df-map 8886  df-ixp 8963  df-en 9011  df-fin 9014  df-fi 9439  df-topgen 17666  df-pt 17667  df-top 23269  df-bases 23321
This theorem is used by:  tmachlem-tpopen2  48285
  Copyright terms: Public domain W3C validator