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

Theorem isfildlem 24185
Description: Lemma for isfild 24186. (Contributed by Mario Carneiro, 1-Dec-2013.)
Hypotheses
Ref Expression
isfild.1 (𝜑 → (𝑥 ∈ 𝐹 ↔ (𝑥 ⊆ 𝐴 ∧ 𝜓)))
isfild.2 (𝜑 → 𝐴 ∈ 𝑉)
Assertion
Ref Expression
isfildlem (𝜑 → (𝐵 ∈ 𝐹 ↔ (𝐵 ⊆ 𝐴 ∧ [𝐵 / 𝑥]𝜓)))
Distinct variable groups:   𝑥,𝐴   𝑥,𝐹   𝜑,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝐵(𝑥)   𝑉(𝑥)

Proof of Theorem isfildlem
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 elex 3471 . . 3 (𝐵 ∈ 𝐹 → 𝐵 ∈ V)
21a1i 11 . 2 (𝜑 → (𝐵 ∈ 𝐹 → 𝐵 ∈ V))
3 isfild.2 . . . 4 (𝜑 → 𝐴 ∈ 𝑉)
4 ssexg 5281 . . . . 5 ((𝐵 ⊆ 𝐴 ∧ 𝐴 ∈ 𝑉) → 𝐵 ∈ V)
54expcom 419 . . . 4 (𝐴 ∈ 𝑉 → (𝐵 ⊆ 𝐴 → 𝐵 ∈ V))
63, 5syl 18 . . 3 (𝜑 → (𝐵 ⊆ 𝐴 → 𝐵 ∈ V))
76adantrd 497 . 2 (𝜑 → ((𝐵 ⊆ 𝐴 ∧ [𝐵 / 𝑥]𝜓) → 𝐵 ∈ V))
8 eleq1 2848 . . . . . 6 (𝑦 = 𝐵 → (𝑦 ∈ 𝐹 ↔ 𝐵 ∈ 𝐹))
9 sseq1 3934 . . . . . . 7 (𝑦 = 𝐵 → (𝑦 ⊆ 𝐴 ↔ 𝐵 ⊆ 𝐴))
10 dfsbcq 3740 . . . . . . 7 (𝑦 = 𝐵 → ([𝑦 / 𝑥]𝜓 ↔ [𝐵 / 𝑥]𝜓))
119, 10anbi12d 644 . . . . . 6 (𝑦 = 𝐵 → ((𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓) ↔ (𝐵 ⊆ 𝐴 ∧ [𝐵 / 𝑥]𝜓)))
128, 11bibi12d 348 . . . . 5 (𝑦 = 𝐵 → ((𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)) ↔ (𝐵 ∈ 𝐹 ↔ (𝐵 ⊆ 𝐴 ∧ [𝐵 / 𝑥]𝜓))))
1312imbi2d 343 . . . 4 (𝑦 = 𝐵 → ((𝜑 → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓))) ↔ (𝜑 → (𝐵 ∈ 𝐹 ↔ (𝐵 ⊆ 𝐴 ∧ [𝐵 / 𝑥]𝜓)))))
14 nfv 1946 . . . . . 6 Ⅎ𝑥𝜑
15 nfv 1946 . . . . . . 7 Ⅎ𝑥 𝑦 ∈ 𝐹
16 nfv 1946 . . . . . . . 8 Ⅎ𝑥 𝑦 ⊆ 𝐴
17 nfsbc1v 3758 . . . . . . . 8 Ⅎ𝑥[𝑦 / 𝑥]𝜓
1816, 17nfan 1931 . . . . . . 7 Ⅎ𝑥(𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)
1915, 18nfbi 1935 . . . . . 6 Ⅎ𝑥(𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓))
2014, 19nfim 1928 . . . . 5 Ⅎ𝑥(𝜑 → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
21 eleq1 2848 . . . . . . 7 (𝑥 = 𝑦 → (𝑥 ∈ 𝐹 ↔ 𝑦 ∈ 𝐹))
22 sseq1 3934 . . . . . . . 8 (𝑥 = 𝑦 → (𝑥 ⊆ 𝐴 ↔ 𝑦 ⊆ 𝐴))
23 sbceq1a 3749 . . . . . . . 8 (𝑥 = 𝑦 → (𝜓 ↔ [𝑦 / 𝑥]𝜓))
2422, 23anbi12d 644 . . . . . . 7 (𝑥 = 𝑦 → ((𝑥 ⊆ 𝐴 ∧ 𝜓) ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
2521, 24bibi12d 348 . . . . . 6 (𝑥 = 𝑦 → ((𝑥 ∈ 𝐹 ↔ (𝑥 ⊆ 𝐴 ∧ 𝜓)) ↔ (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓))))
2625imbi2d 343 . . . . 5 (𝑥 = 𝑦 → ((𝜑 → (𝑥 ∈ 𝐹 ↔ (𝑥 ⊆ 𝐴 ∧ 𝜓))) ↔ (𝜑 → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))))
27 isfild.1 . . . . 5 (𝜑 → (𝑥 ∈ 𝐹 ↔ (𝑥 ⊆ 𝐴 ∧ 𝜓)))
2820, 26, 27chvarfv 2276 . . . 4 (𝜑 → (𝑦 ∈ 𝐹 ↔ (𝑦 ⊆ 𝐴 ∧ [𝑦 / 𝑥]𝜓)))
2913, 28vtoclg 3517 . . 3 (𝐵 ∈ V → (𝜑 → (𝐵 ∈ 𝐹 ↔ (𝐵 ⊆ 𝐴 ∧ [𝐵 / 𝑥]𝜓))))
3029com12 33 . 2 (𝜑 → (𝐵 ∈ V → (𝐵 ∈ 𝐹 ↔ (𝐵 ⊆ 𝐴 ∧ [𝐵 / 𝑥]𝜓))))
312, 7, 30pm5.21ndd 382 1 (𝜑 → (𝐵 ∈ 𝐹 ↔ (𝐵 ⊆ 𝐴 ∧ [𝐵 / 𝑥]𝜓)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  [wsbc 3738   ⊆ wss 3896
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-rab 3413  df-v 3452  df-sbc 3739  df-ss 3897  df-in 4090
This theorem is used by:  isfild  24186
  Copyright terms: Public domain W3C validator