ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  eltg2 GIF version

Theorem eltg2 15245
Description: Membership in a topology generated by a basis. (Contributed by NM, 15-Jul-2006.) (Revised by Mario Carneiro, 10-Jan-2015.)
Assertion
Ref Expression
eltg2 (𝐵 ∈ 𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ (𝐴 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝐴))))
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑥,𝑉,𝑦

Proof of Theorem eltg2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 tgval2 15243 . . 3 (𝐵 ∈ 𝑉 → (topGen‘𝐵) = {𝑧 ∣ (𝑧 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝑧 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧))})
21eleq2d 2308 . 2 (𝐵 ∈ 𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ 𝐴 ∈ {𝑧 ∣ (𝑧 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝑧 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧))}))
3 elex 2833 . . . 4 (𝐴 ∈ {𝑧 ∣ (𝑧 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝑧 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧))} → 𝐴 ∈ V)
43adantl 277 . . 3 ((𝐵 ∈ 𝑉 ∧ 𝐴 ∈ {𝑧 ∣ (𝑧 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝑧 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧))}) → 𝐴 ∈ V)
5 uniexg 4585 . . . . . 6 (𝐵 ∈ 𝑉 → ∪ 𝐵 ∈ V)
6 ssexg 4272 . . . . . 6 ((𝐴 ⊆ ∪ 𝐵 ∧ ∪ 𝐵 ∈ V) → 𝐴 ∈ V)
75, 6sylan2 286 . . . . 5 ((𝐴 ⊆ ∪ 𝐵 ∧ 𝐵 ∈ 𝑉) → 𝐴 ∈ V)
87ancoms 268 . . . 4 ((𝐵 ∈ 𝑉 ∧ 𝐴 ⊆ ∪ 𝐵) → 𝐴 ∈ V)
98adantrr 483 . . 3 ((𝐵 ∈ 𝑉 ∧ (𝐴 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝐴))) → 𝐴 ∈ V)
10 sseq1 3271 . . . . 5 (𝑧 = 𝐴 → (𝑧 ⊆ ∪ 𝐵 ↔ 𝐴 ⊆ ∪ 𝐵))
11 sseq2 3272 . . . . . . . 8 (𝑧 = 𝐴 → (𝑦 ⊆ 𝑧 ↔ 𝑦 ⊆ 𝐴))
1211anbi2d 468 . . . . . . 7 (𝑧 = 𝐴 → ((𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧) ↔ (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝐴)))
1312rexbidv 2551 . . . . . 6 (𝑧 = 𝐴 → (∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧) ↔ ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝐴)))
1413raleqbi1dv 2761 . . . . 5 (𝑧 = 𝐴 → (∀𝑥 ∈ 𝑧 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧) ↔ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝐴)))
1510, 14anbi12d 477 . . . 4 (𝑧 = 𝐴 → ((𝑧 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝑧 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧)) ↔ (𝐴 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝐴))))
1615elabg 2972 . . 3 (𝐴 ∈ V → (𝐴 ∈ {𝑧 ∣ (𝑧 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝑧 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧))} ↔ (𝐴 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝐴))))
174, 9, 16pm5.21nd 928 . 2 (𝐵 ∈ 𝑉 → (𝐴 ∈ {𝑧 ∣ (𝑧 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝑧 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝑧))} ↔ (𝐴 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝐴))))
182, 17bitrd 188 1 (𝐵 ∈ 𝑉 → (𝐴 ∈ (topGen‘𝐵) ↔ (𝐴 ⊆ ∪ 𝐵 ∧ ∀𝑥 ∈ 𝐴 ∃𝑦 ∈ 𝐵 (𝑥 ∈ 𝑦 ∧ 𝑦 ⊆ 𝐴))))
Colors of variables:    wff set class
This proof depends on syntax axioms:   → wi 4   ∧ wa 104   ↔ wb 105   = wceq 1402   ∈ wcel 2209  {cab 2224  ∀wral 2528  ∃wrex 2529  Vcvv 2821   ⊆ wss 3220  ∪ cuni 3935  ‘cfv 5377  topGenctg 13661
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-pow 4311  ax-pr 4346  ax-un 4578
This proof depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-v 2823  df-sbc 3052  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-br 4131  df-opab 4193  df-mpt 4194  df-id 4438  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-iota 5337  df-fun 5379  df-fv 5385  df-topgen 13667
This theorem is used by:  eltg2b  15246  tg1  15251  tgcl  15256  elmopn  15638  xmettx  15702
  Copyright terms: Public domain W3C validator