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

Theorem tgrest 22310
Description: A subspace can be generated by restricted sets from a basis for the original topology. (Contributed by Mario Carneiro, 19-Mar-2015.) (Proof shortened by Mario Carneiro, 30-Aug-2015.)
Assertion
Ref Expression
tgrest ((𝐵𝑉𝐴𝑊) → (topGen‘(𝐵t 𝐴)) = ((topGen‘𝐵) ↾t 𝐴))

Proof of Theorem tgrest
Dummy variables 𝑤 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ovex 7308 . . . . 5 (𝐵t 𝐴) ∈ V
2 eltg3 22112 . . . . 5 ((𝐵t 𝐴) ∈ V → (𝑥 ∈ (topGen‘(𝐵t 𝐴)) ↔ ∃𝑦(𝑦 ⊆ (𝐵t 𝐴) ∧ 𝑥 = 𝑦)))
31, 2ax-mp 5 . . . 4 (𝑥 ∈ (topGen‘(𝐵t 𝐴)) ↔ ∃𝑦(𝑦 ⊆ (𝐵t 𝐴) ∧ 𝑥 = 𝑦))
4 simpll 764 . . . . . . . . 9 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → 𝐵𝑉)
5 funmpt 6472 . . . . . . . . . 10 Fun (𝑥𝐵 ↦ (𝑥𝐴))
65a1i 11 . . . . . . . . 9 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → Fun (𝑥𝐵 ↦ (𝑥𝐴)))
7 restval 17137 . . . . . . . . . . . 12 ((𝐵𝑉𝐴𝑊) → (𝐵t 𝐴) = ran (𝑥𝐵 ↦ (𝑥𝐴)))
87sseq2d 3953 . . . . . . . . . . 11 ((𝐵𝑉𝐴𝑊) → (𝑦 ⊆ (𝐵t 𝐴) ↔ 𝑦 ⊆ ran (𝑥𝐵 ↦ (𝑥𝐴))))
98biimpa 477 . . . . . . . . . 10 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → 𝑦 ⊆ ran (𝑥𝐵 ↦ (𝑥𝐴)))
10 vex 3436 . . . . . . . . . . . . 13 𝑥 ∈ V
1110inex1 5241 . . . . . . . . . . . 12 (𝑥𝐴) ∈ V
1211rgenw 3076 . . . . . . . . . . 11 𝑥𝐵 (𝑥𝐴) ∈ V
13 eqid 2738 . . . . . . . . . . . 12 (𝑥𝐵 ↦ (𝑥𝐴)) = (𝑥𝐵 ↦ (𝑥𝐴))
1413fnmpt 6573 . . . . . . . . . . 11 (∀𝑥𝐵 (𝑥𝐴) ∈ V → (𝑥𝐵 ↦ (𝑥𝐴)) Fn 𝐵)
15 fnima 6563 . . . . . . . . . . 11 ((𝑥𝐵 ↦ (𝑥𝐴)) Fn 𝐵 → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝐵) = ran (𝑥𝐵 ↦ (𝑥𝐴)))
1612, 14, 15mp2b 10 . . . . . . . . . 10 ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝐵) = ran (𝑥𝐵 ↦ (𝑥𝐴))
179, 16sseqtrrdi 3972 . . . . . . . . 9 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → 𝑦 ⊆ ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝐵))
18 ssimaexg 6854 . . . . . . . . 9 ((𝐵𝑉 ∧ Fun (𝑥𝐵 ↦ (𝑥𝐴)) ∧ 𝑦 ⊆ ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝐵)) → ∃𝑧(𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)))
194, 6, 17, 18syl3anc 1370 . . . . . . . 8 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → ∃𝑧(𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)))
20 df-ima 5602 . . . . . . . . . . . . . . . . 17 ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = ran ((𝑥𝐵 ↦ (𝑥𝐴)) ↾ 𝑧)
21 resmpt 5945 . . . . . . . . . . . . . . . . . . 19 (𝑧𝐵 → ((𝑥𝐵 ↦ (𝑥𝐴)) ↾ 𝑧) = (𝑥𝑧 ↦ (𝑥𝐴)))
2221adantl 482 . . . . . . . . . . . . . . . . . 18 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) ↾ 𝑧) = (𝑥𝑧 ↦ (𝑥𝐴)))
2322rneqd 5847 . . . . . . . . . . . . . . . . 17 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ran ((𝑥𝐵 ↦ (𝑥𝐴)) ↾ 𝑧) = ran (𝑥𝑧 ↦ (𝑥𝐴)))
2420, 23eqtrid 2790 . . . . . . . . . . . . . . . 16 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = ran (𝑥𝑧 ↦ (𝑥𝐴)))
2524unieqd 4853 . . . . . . . . . . . . . . 15 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = ran (𝑥𝑧 ↦ (𝑥𝐴)))
2611dfiun3 5875 . . . . . . . . . . . . . . 15 𝑥𝑧 (𝑥𝐴) = ran (𝑥𝑧 ↦ (𝑥𝐴))
2725, 26eqtr4di 2796 . . . . . . . . . . . . . 14 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = 𝑥𝑧 (𝑥𝐴))
28 iunin1 5001 . . . . . . . . . . . . . 14 𝑥𝑧 (𝑥𝐴) = ( 𝑥𝑧 𝑥𝐴)
2927, 28eqtrdi 2794 . . . . . . . . . . . . 13 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = ( 𝑥𝑧 𝑥𝐴))
30 fvex 6787 . . . . . . . . . . . . . 14 (topGen‘𝐵) ∈ V
31 simpr 485 . . . . . . . . . . . . . 14 ((𝐵𝑉𝐴𝑊) → 𝐴𝑊)
32 uniiun 4988 . . . . . . . . . . . . . . . 16 𝑧 = 𝑥𝑧 𝑥
33 eltg3i 22111 . . . . . . . . . . . . . . . 16 ((𝐵𝑉𝑧𝐵) → 𝑧 ∈ (topGen‘𝐵))
3432, 33eqeltrrid 2844 . . . . . . . . . . . . . . 15 ((𝐵𝑉𝑧𝐵) → 𝑥𝑧 𝑥 ∈ (topGen‘𝐵))
3534adantlr 712 . . . . . . . . . . . . . 14 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → 𝑥𝑧 𝑥 ∈ (topGen‘𝐵))
36 elrestr 17139 . . . . . . . . . . . . . 14 (((topGen‘𝐵) ∈ V ∧ 𝐴𝑊 𝑥𝑧 𝑥 ∈ (topGen‘𝐵)) → ( 𝑥𝑧 𝑥𝐴) ∈ ((topGen‘𝐵) ↾t 𝐴))
3730, 31, 35, 36mp3an2ani 1467 . . . . . . . . . . . . 13 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ( 𝑥𝑧 𝑥𝐴) ∈ ((topGen‘𝐵) ↾t 𝐴))
3829, 37eqeltrd 2839 . . . . . . . . . . . 12 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) ∈ ((topGen‘𝐵) ↾t 𝐴))
39 unieq 4850 . . . . . . . . . . . . 13 (𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) → 𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧))
4039eleq1d 2823 . . . . . . . . . . . 12 (𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) → ( 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴) ↔ ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) ∈ ((topGen‘𝐵) ↾t 𝐴)))
4138, 40syl5ibrcom 246 . . . . . . . . . . 11 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → (𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4241expimpd 454 . . . . . . . . . 10 ((𝐵𝑉𝐴𝑊) → ((𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4342exlimdv 1936 . . . . . . . . 9 ((𝐵𝑉𝐴𝑊) → (∃𝑧(𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4443adantr 481 . . . . . . . 8 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → (∃𝑧(𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4519, 44mpd 15 . . . . . . 7 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴))
46 eleq1 2826 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴) ↔ 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4745, 46syl5ibrcom 246 . . . . . 6 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → (𝑥 = 𝑦𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4847expimpd 454 . . . . 5 ((𝐵𝑉𝐴𝑊) → ((𝑦 ⊆ (𝐵t 𝐴) ∧ 𝑥 = 𝑦) → 𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4948exlimdv 1936 . . . 4 ((𝐵𝑉𝐴𝑊) → (∃𝑦(𝑦 ⊆ (𝐵t 𝐴) ∧ 𝑥 = 𝑦) → 𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴)))
503, 49syl5bi 241 . . 3 ((𝐵𝑉𝐴𝑊) → (𝑥 ∈ (topGen‘(𝐵t 𝐴)) → 𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴)))
5150ssrdv 3927 . 2 ((𝐵𝑉𝐴𝑊) → (topGen‘(𝐵t 𝐴)) ⊆ ((topGen‘𝐵) ↾t 𝐴))
52 restval 17137 . . . 4 (((topGen‘𝐵) ∈ V ∧ 𝐴𝑊) → ((topGen‘𝐵) ↾t 𝐴) = ran (𝑤 ∈ (topGen‘𝐵) ↦ (𝑤𝐴)))
5330, 31, 52sylancr 587 . . 3 ((𝐵𝑉𝐴𝑊) → ((topGen‘𝐵) ↾t 𝐴) = ran (𝑤 ∈ (topGen‘𝐵) ↦ (𝑤𝐴)))
54 eltg3 22112 . . . . . . . 8 (𝐵𝑉 → (𝑤 ∈ (topGen‘𝐵) ↔ ∃𝑧(𝑧𝐵𝑤 = 𝑧)))
5554adantr 481 . . . . . . 7 ((𝐵𝑉𝐴𝑊) → (𝑤 ∈ (topGen‘𝐵) ↔ ∃𝑧(𝑧𝐵𝑤 = 𝑧)))
5632ineq1i 4142 . . . . . . . . . . . 12 ( 𝑧𝐴) = ( 𝑥𝑧 𝑥𝐴)
5756, 28eqtr4i 2769 . . . . . . . . . . 11 ( 𝑧𝐴) = 𝑥𝑧 (𝑥𝐴)
58 simplll 772 . . . . . . . . . . . . . . . 16 ((((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) ∧ 𝑥𝑧) → 𝐵𝑉)
59 simpllr 773 . . . . . . . . . . . . . . . 16 ((((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) ∧ 𝑥𝑧) → 𝐴𝑊)
60 simpr 485 . . . . . . . . . . . . . . . . 17 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → 𝑧𝐵)
6160sselda 3921 . . . . . . . . . . . . . . . 16 ((((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) ∧ 𝑥𝑧) → 𝑥𝐵)
62 elrestr 17139 . . . . . . . . . . . . . . . 16 ((𝐵𝑉𝐴𝑊𝑥𝐵) → (𝑥𝐴) ∈ (𝐵t 𝐴))
6358, 59, 61, 62syl3anc 1370 . . . . . . . . . . . . . . 15 ((((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) ∧ 𝑥𝑧) → (𝑥𝐴) ∈ (𝐵t 𝐴))
6463fmpttd 6989 . . . . . . . . . . . . . 14 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → (𝑥𝑧 ↦ (𝑥𝐴)):𝑧⟶(𝐵t 𝐴))
6564frnd 6608 . . . . . . . . . . . . 13 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ran (𝑥𝑧 ↦ (𝑥𝐴)) ⊆ (𝐵t 𝐴))
66 eltg3i 22111 . . . . . . . . . . . . 13 (((𝐵t 𝐴) ∈ V ∧ ran (𝑥𝑧 ↦ (𝑥𝐴)) ⊆ (𝐵t 𝐴)) → ran (𝑥𝑧 ↦ (𝑥𝐴)) ∈ (topGen‘(𝐵t 𝐴)))
671, 65, 66sylancr 587 . . . . . . . . . . . 12 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ran (𝑥𝑧 ↦ (𝑥𝐴)) ∈ (topGen‘(𝐵t 𝐴)))
6826, 67eqeltrid 2843 . . . . . . . . . . 11 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → 𝑥𝑧 (𝑥𝐴) ∈ (topGen‘(𝐵t 𝐴)))
6957, 68eqeltrid 2843 . . . . . . . . . 10 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ( 𝑧𝐴) ∈ (topGen‘(𝐵t 𝐴)))
70 ineq1 4139 . . . . . . . . . . 11 (𝑤 = 𝑧 → (𝑤𝐴) = ( 𝑧𝐴))
7170eleq1d 2823 . . . . . . . . . 10 (𝑤 = 𝑧 → ((𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴)) ↔ ( 𝑧𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7269, 71syl5ibrcom 246 . . . . . . . . 9 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → (𝑤 = 𝑧 → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7372expimpd 454 . . . . . . . 8 ((𝐵𝑉𝐴𝑊) → ((𝑧𝐵𝑤 = 𝑧) → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7473exlimdv 1936 . . . . . . 7 ((𝐵𝑉𝐴𝑊) → (∃𝑧(𝑧𝐵𝑤 = 𝑧) → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7555, 74sylbid 239 . . . . . 6 ((𝐵𝑉𝐴𝑊) → (𝑤 ∈ (topGen‘𝐵) → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7675imp 407 . . . . 5 (((𝐵𝑉𝐴𝑊) ∧ 𝑤 ∈ (topGen‘𝐵)) → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴)))
7776fmpttd 6989 . . . 4 ((𝐵𝑉𝐴𝑊) → (𝑤 ∈ (topGen‘𝐵) ↦ (𝑤𝐴)):(topGen‘𝐵)⟶(topGen‘(𝐵t 𝐴)))
7877frnd 6608 . . 3 ((𝐵𝑉𝐴𝑊) → ran (𝑤 ∈ (topGen‘𝐵) ↦ (𝑤𝐴)) ⊆ (topGen‘(𝐵t 𝐴)))
7953, 78eqsstrd 3959 . 2 ((𝐵𝑉𝐴𝑊) → ((topGen‘𝐵) ↾t 𝐴) ⊆ (topGen‘(𝐵t 𝐴)))
8051, 79eqssd 3938 1 ((𝐵𝑉𝐴𝑊) → (topGen‘(𝐵t 𝐴)) = ((topGen‘𝐵) ↾t 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  wral 3064  Vcvv 3432  cin 3886  wss 3887   cuni 4839   ciun 4924  cmpt 5157  ran crn 5590  cres 5591  cima 5592  Fun wfun 6427   Fn wfn 6428  cfv 6433  (class class class)co 7275  t crest 17131  topGenctg 17148
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-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
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-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  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-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-rest 17133  df-topgen 17154
This theorem is referenced by:  resttop  22311  ordtrest2  22355  2ndcrest  22605  txrest  22782  xkoptsub  22805  xrtgioo  23969  ordtrest2NEW  31873  ptrest  35776
  Copyright terms: Public domain W3C validator