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

Theorem tgrest 21759
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 7181 . . . . 5 (𝐵t 𝐴) ∈ V
2 eltg3 21562 . . . . 5 ((𝐵t 𝐴) ∈ V → (𝑥 ∈ (topGen‘(𝐵t 𝐴)) ↔ ∃𝑦(𝑦 ⊆ (𝐵t 𝐴) ∧ 𝑥 = 𝑦)))
31, 2ax-mp 5 . . . 4 (𝑥 ∈ (topGen‘(𝐵t 𝐴)) ↔ ∃𝑦(𝑦 ⊆ (𝐵t 𝐴) ∧ 𝑥 = 𝑦))
4 simpll 765 . . . . . . . . 9 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → 𝐵𝑉)
5 funmpt 6386 . . . . . . . . . 10 Fun (𝑥𝐵 ↦ (𝑥𝐴))
65a1i 11 . . . . . . . . 9 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → Fun (𝑥𝐵 ↦ (𝑥𝐴)))
7 restval 16692 . . . . . . . . . . . 12 ((𝐵𝑉𝐴𝑊) → (𝐵t 𝐴) = ran (𝑥𝐵 ↦ (𝑥𝐴)))
87sseq2d 3997 . . . . . . . . . . 11 ((𝐵𝑉𝐴𝑊) → (𝑦 ⊆ (𝐵t 𝐴) ↔ 𝑦 ⊆ ran (𝑥𝐵 ↦ (𝑥𝐴))))
98biimpa 479 . . . . . . . . . 10 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → 𝑦 ⊆ ran (𝑥𝐵 ↦ (𝑥𝐴)))
10 vex 3496 . . . . . . . . . . . . 13 𝑥 ∈ V
1110inex1 5212 . . . . . . . . . . . 12 (𝑥𝐴) ∈ V
1211rgenw 3148 . . . . . . . . . . 11 𝑥𝐵 (𝑥𝐴) ∈ V
13 eqid 2819 . . . . . . . . . . . 12 (𝑥𝐵 ↦ (𝑥𝐴)) = (𝑥𝐵 ↦ (𝑥𝐴))
1413fnmpt 6481 . . . . . . . . . . 11 (∀𝑥𝐵 (𝑥𝐴) ∈ V → (𝑥𝐵 ↦ (𝑥𝐴)) Fn 𝐵)
15 fnima 6471 . . . . . . . . . . 11 ((𝑥𝐵 ↦ (𝑥𝐴)) Fn 𝐵 → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝐵) = ran (𝑥𝐵 ↦ (𝑥𝐴)))
1612, 14, 15mp2b 10 . . . . . . . . . 10 ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝐵) = ran (𝑥𝐵 ↦ (𝑥𝐴))
179, 16sseqtrrdi 4016 . . . . . . . . 9 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → 𝑦 ⊆ ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝐵))
18 ssimaexg 6742 . . . . . . . . 9 ((𝐵𝑉 ∧ Fun (𝑥𝐵 ↦ (𝑥𝐴)) ∧ 𝑦 ⊆ ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝐵)) → ∃𝑧(𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)))
194, 6, 17, 18syl3anc 1365 . . . . . . . 8 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → ∃𝑧(𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)))
20 df-ima 5561 . . . . . . . . . . . . . . . . 17 ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = ran ((𝑥𝐵 ↦ (𝑥𝐴)) ↾ 𝑧)
21 resmpt 5898 . . . . . . . . . . . . . . . . . . 19 (𝑧𝐵 → ((𝑥𝐵 ↦ (𝑥𝐴)) ↾ 𝑧) = (𝑥𝑧 ↦ (𝑥𝐴)))
2221adantl 484 . . . . . . . . . . . . . . . . . 18 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) ↾ 𝑧) = (𝑥𝑧 ↦ (𝑥𝐴)))
2322rneqd 5801 . . . . . . . . . . . . . . . . 17 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ran ((𝑥𝐵 ↦ (𝑥𝐴)) ↾ 𝑧) = ran (𝑥𝑧 ↦ (𝑥𝐴)))
2420, 23syl5eq 2866 . . . . . . . . . . . . . . . 16 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = ran (𝑥𝑧 ↦ (𝑥𝐴)))
2524unieqd 4840 . . . . . . . . . . . . . . 15 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = ran (𝑥𝑧 ↦ (𝑥𝐴)))
2611dfiun3 5830 . . . . . . . . . . . . . . 15 𝑥𝑧 (𝑥𝐴) = ran (𝑥𝑧 ↦ (𝑥𝐴))
2725, 26syl6eqr 2872 . . . . . . . . . . . . . 14 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = 𝑥𝑧 (𝑥𝐴))
28 iunin1 4985 . . . . . . . . . . . . . 14 𝑥𝑧 (𝑥𝐴) = ( 𝑥𝑧 𝑥𝐴)
2927, 28syl6eq 2870 . . . . . . . . . . . . 13 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) = ( 𝑥𝑧 𝑥𝐴))
30 fvex 6676 . . . . . . . . . . . . . 14 (topGen‘𝐵) ∈ V
31 simpr 487 . . . . . . . . . . . . . 14 ((𝐵𝑉𝐴𝑊) → 𝐴𝑊)
32 uniiun 4973 . . . . . . . . . . . . . . . 16 𝑧 = 𝑥𝑧 𝑥
33 eltg3i 21561 . . . . . . . . . . . . . . . 16 ((𝐵𝑉𝑧𝐵) → 𝑧 ∈ (topGen‘𝐵))
3432, 33eqeltrrid 2916 . . . . . . . . . . . . . . 15 ((𝐵𝑉𝑧𝐵) → 𝑥𝑧 𝑥 ∈ (topGen‘𝐵))
3534adantlr 713 . . . . . . . . . . . . . 14 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → 𝑥𝑧 𝑥 ∈ (topGen‘𝐵))
36 elrestr 16694 . . . . . . . . . . . . . 14 (((topGen‘𝐵) ∈ V ∧ 𝐴𝑊 𝑥𝑧 𝑥 ∈ (topGen‘𝐵)) → ( 𝑥𝑧 𝑥𝐴) ∈ ((topGen‘𝐵) ↾t 𝐴))
3730, 31, 35, 36mp3an2ani 1461 . . . . . . . . . . . . 13 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ( 𝑥𝑧 𝑥𝐴) ∈ ((topGen‘𝐵) ↾t 𝐴))
3829, 37eqeltrd 2911 . . . . . . . . . . . 12 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) ∈ ((topGen‘𝐵) ↾t 𝐴))
39 unieq 4838 . . . . . . . . . . . . 13 (𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) → 𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧))
4039eleq1d 2895 . . . . . . . . . . . 12 (𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) → ( 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴) ↔ ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) ∈ ((topGen‘𝐵) ↾t 𝐴)))
4138, 40syl5ibrcom 249 . . . . . . . . . . 11 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → (𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4241expimpd 456 . . . . . . . . . 10 ((𝐵𝑉𝐴𝑊) → ((𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4342exlimdv 1927 . . . . . . . . 9 ((𝐵𝑉𝐴𝑊) → (∃𝑧(𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4443adantr 483 . . . . . . . 8 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → (∃𝑧(𝑧𝐵𝑦 = ((𝑥𝐵 ↦ (𝑥𝐴)) “ 𝑧)) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4519, 44mpd 15 . . . . . . 7 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴))
46 eleq1 2898 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴) ↔ 𝑦 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4745, 46syl5ibrcom 249 . . . . . 6 (((𝐵𝑉𝐴𝑊) ∧ 𝑦 ⊆ (𝐵t 𝐴)) → (𝑥 = 𝑦𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4847expimpd 456 . . . . 5 ((𝐵𝑉𝐴𝑊) → ((𝑦 ⊆ (𝐵t 𝐴) ∧ 𝑥 = 𝑦) → 𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴)))
4948exlimdv 1927 . . . 4 ((𝐵𝑉𝐴𝑊) → (∃𝑦(𝑦 ⊆ (𝐵t 𝐴) ∧ 𝑥 = 𝑦) → 𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴)))
503, 49syl5bi 244 . . 3 ((𝐵𝑉𝐴𝑊) → (𝑥 ∈ (topGen‘(𝐵t 𝐴)) → 𝑥 ∈ ((topGen‘𝐵) ↾t 𝐴)))
5150ssrdv 3971 . 2 ((𝐵𝑉𝐴𝑊) → (topGen‘(𝐵t 𝐴)) ⊆ ((topGen‘𝐵) ↾t 𝐴))
52 restval 16692 . . . 4 (((topGen‘𝐵) ∈ V ∧ 𝐴𝑊) → ((topGen‘𝐵) ↾t 𝐴) = ran (𝑤 ∈ (topGen‘𝐵) ↦ (𝑤𝐴)))
5330, 31, 52sylancr 589 . . 3 ((𝐵𝑉𝐴𝑊) → ((topGen‘𝐵) ↾t 𝐴) = ran (𝑤 ∈ (topGen‘𝐵) ↦ (𝑤𝐴)))
54 eltg3 21562 . . . . . . . 8 (𝐵𝑉 → (𝑤 ∈ (topGen‘𝐵) ↔ ∃𝑧(𝑧𝐵𝑤 = 𝑧)))
5554adantr 483 . . . . . . 7 ((𝐵𝑉𝐴𝑊) → (𝑤 ∈ (topGen‘𝐵) ↔ ∃𝑧(𝑧𝐵𝑤 = 𝑧)))
5632ineq1i 4183 . . . . . . . . . . . 12 ( 𝑧𝐴) = ( 𝑥𝑧 𝑥𝐴)
5756, 28eqtr4i 2845 . . . . . . . . . . 11 ( 𝑧𝐴) = 𝑥𝑧 (𝑥𝐴)
58 simplll 773 . . . . . . . . . . . . . . . 16 ((((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) ∧ 𝑥𝑧) → 𝐵𝑉)
59 simpllr 774 . . . . . . . . . . . . . . . 16 ((((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) ∧ 𝑥𝑧) → 𝐴𝑊)
60 simpr 487 . . . . . . . . . . . . . . . . 17 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → 𝑧𝐵)
6160sselda 3965 . . . . . . . . . . . . . . . 16 ((((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) ∧ 𝑥𝑧) → 𝑥𝐵)
62 elrestr 16694 . . . . . . . . . . . . . . . 16 ((𝐵𝑉𝐴𝑊𝑥𝐵) → (𝑥𝐴) ∈ (𝐵t 𝐴))
6358, 59, 61, 62syl3anc 1365 . . . . . . . . . . . . . . 15 ((((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) ∧ 𝑥𝑧) → (𝑥𝐴) ∈ (𝐵t 𝐴))
6463fmpttd 6872 . . . . . . . . . . . . . 14 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → (𝑥𝑧 ↦ (𝑥𝐴)):𝑧⟶(𝐵t 𝐴))
6564frnd 6514 . . . . . . . . . . . . 13 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ran (𝑥𝑧 ↦ (𝑥𝐴)) ⊆ (𝐵t 𝐴))
66 eltg3i 21561 . . . . . . . . . . . . 13 (((𝐵t 𝐴) ∈ V ∧ ran (𝑥𝑧 ↦ (𝑥𝐴)) ⊆ (𝐵t 𝐴)) → ran (𝑥𝑧 ↦ (𝑥𝐴)) ∈ (topGen‘(𝐵t 𝐴)))
671, 65, 66sylancr 589 . . . . . . . . . . . 12 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ran (𝑥𝑧 ↦ (𝑥𝐴)) ∈ (topGen‘(𝐵t 𝐴)))
6826, 67eqeltrid 2915 . . . . . . . . . . 11 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → 𝑥𝑧 (𝑥𝐴) ∈ (topGen‘(𝐵t 𝐴)))
6957, 68eqeltrid 2915 . . . . . . . . . 10 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → ( 𝑧𝐴) ∈ (topGen‘(𝐵t 𝐴)))
70 ineq1 4179 . . . . . . . . . . 11 (𝑤 = 𝑧 → (𝑤𝐴) = ( 𝑧𝐴))
7170eleq1d 2895 . . . . . . . . . 10 (𝑤 = 𝑧 → ((𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴)) ↔ ( 𝑧𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7269, 71syl5ibrcom 249 . . . . . . . . 9 (((𝐵𝑉𝐴𝑊) ∧ 𝑧𝐵) → (𝑤 = 𝑧 → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7372expimpd 456 . . . . . . . 8 ((𝐵𝑉𝐴𝑊) → ((𝑧𝐵𝑤 = 𝑧) → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7473exlimdv 1927 . . . . . . 7 ((𝐵𝑉𝐴𝑊) → (∃𝑧(𝑧𝐵𝑤 = 𝑧) → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7555, 74sylbid 242 . . . . . 6 ((𝐵𝑉𝐴𝑊) → (𝑤 ∈ (topGen‘𝐵) → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴))))
7675imp 409 . . . . 5 (((𝐵𝑉𝐴𝑊) ∧ 𝑤 ∈ (topGen‘𝐵)) → (𝑤𝐴) ∈ (topGen‘(𝐵t 𝐴)))
7776fmpttd 6872 . . . 4 ((𝐵𝑉𝐴𝑊) → (𝑤 ∈ (topGen‘𝐵) ↦ (𝑤𝐴)):(topGen‘𝐵)⟶(topGen‘(𝐵t 𝐴)))
7877frnd 6514 . . 3 ((𝐵𝑉𝐴𝑊) → ran (𝑤 ∈ (topGen‘𝐵) ↦ (𝑤𝐴)) ⊆ (topGen‘(𝐵t 𝐴)))
7953, 78eqsstrd 4003 . 2 ((𝐵𝑉𝐴𝑊) → ((topGen‘𝐵) ↾t 𝐴) ⊆ (topGen‘(𝐵t 𝐴)))
8051, 79eqssd 3982 1 ((𝐵𝑉𝐴𝑊) → (topGen‘(𝐵t 𝐴)) = ((topGen‘𝐵) ↾t 𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1530  wex 1773  wcel 2107  wral 3136  Vcvv 3493  cin 3933  wss 3934   cuni 4830   ciun 4910  cmpt 5137  ran crn 5549  cres 5550  cima 5551  Fun wfun 6342   Fn wfn 6343  cfv 6348  (class class class)co 7148  t crest 16686  topGenctg 16703
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2791  ax-rep 5181  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320  ax-un 7453
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2616  df-eu 2648  df-clab 2798  df-cleq 2812  df-clel 2891  df-nfc 2961  df-ne 3015  df-ral 3141  df-rex 3142  df-reu 3143  df-rab 3145  df-v 3495  df-sbc 3771  df-csb 3882  df-dif 3937  df-un 3939  df-in 3941  df-ss 3950  df-nul 4290  df-if 4466  df-pw 4539  df-sn 4560  df-pr 4562  df-op 4566  df-uni 4831  df-iun 4912  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fn 6351  df-f 6352  df-f1 6353  df-fo 6354  df-f1o 6355  df-fv 6356  df-ov 7151  df-oprab 7152  df-mpo 7153  df-rest 16688  df-topgen 16709
This theorem is referenced by:  resttop  21760  ordtrest2  21804  2ndcrest  22054  txrest  22231  xkoptsub  22254  xrtgioo  23406  ordtrest2NEW  31154  ptrest  34878
  Copyright terms: Public domain W3C validator