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

Theorem intab 4507
Description: The intersection of a special case of a class abstraction. 𝑦 may be free in 𝜑 and 𝐴, which can be thought of a 𝜑(𝑦) and 𝐴(𝑦). Typically, abrexex2 7148 or abexssex 7149 can be used to satisfy the second hypothesis. (Contributed by NM, 28-Jul-2006.) (Proof shortened by Mario Carneiro, 14-Nov-2016.)
Hypotheses
Ref Expression
intab.1 𝐴 ∈ V
intab.2 {𝑥 ∣ ∃𝑦(𝜑𝑥 = 𝐴)} ∈ V
Assertion
Ref Expression
intab {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} = {𝑥 ∣ ∃𝑦(𝜑𝑥 = 𝐴)}
Distinct variable groups:   𝑥,𝐴   𝜑,𝑥   𝑥,𝑦
Allowed substitution hints:   𝜑(𝑦)   𝐴(𝑦)

Proof of Theorem intab
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 eqeq1 2626 . . . . . . . . . 10 (𝑧 = 𝑥 → (𝑧 = 𝐴𝑥 = 𝐴))
21anbi2d 740 . . . . . . . . 9 (𝑧 = 𝑥 → ((𝜑𝑧 = 𝐴) ↔ (𝜑𝑥 = 𝐴)))
32exbidv 1850 . . . . . . . 8 (𝑧 = 𝑥 → (∃𝑦(𝜑𝑧 = 𝐴) ↔ ∃𝑦(𝜑𝑥 = 𝐴)))
43cbvabv 2747 . . . . . . 7 {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} = {𝑥 ∣ ∃𝑦(𝜑𝑥 = 𝐴)}
5 intab.2 . . . . . . 7 {𝑥 ∣ ∃𝑦(𝜑𝑥 = 𝐴)} ∈ V
64, 5eqeltri 2697 . . . . . 6 {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ∈ V
7 nfe1 2027 . . . . . . . . 9 𝑦𝑦(𝜑𝑧 = 𝐴)
87nfab 2769 . . . . . . . 8 𝑦{𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}
98nfeq2 2780 . . . . . . 7 𝑦 𝑥 = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}
10 eleq2 2690 . . . . . . . 8 (𝑥 = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} → (𝐴𝑥𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}))
1110imbi2d 330 . . . . . . 7 (𝑥 = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} → ((𝜑𝐴𝑥) ↔ (𝜑𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})))
129, 11albid 2090 . . . . . 6 (𝑥 = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} → (∀𝑦(𝜑𝐴𝑥) ↔ ∀𝑦(𝜑𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})))
136, 12elab 3350 . . . . 5 ({𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ∈ {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} ↔ ∀𝑦(𝜑𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}))
14 19.8a 2052 . . . . . . . . 9 ((𝜑𝑧 = 𝐴) → ∃𝑦(𝜑𝑧 = 𝐴))
1514ex 450 . . . . . . . 8 (𝜑 → (𝑧 = 𝐴 → ∃𝑦(𝜑𝑧 = 𝐴)))
1615alrimiv 1855 . . . . . . 7 (𝜑 → ∀𝑧(𝑧 = 𝐴 → ∃𝑦(𝜑𝑧 = 𝐴)))
17 intab.1 . . . . . . . 8 𝐴 ∈ V
1817sbc6 3462 . . . . . . 7 ([𝐴 / 𝑧]𝑦(𝜑𝑧 = 𝐴) ↔ ∀𝑧(𝑧 = 𝐴 → ∃𝑦(𝜑𝑧 = 𝐴)))
1916, 18sylibr 224 . . . . . 6 (𝜑[𝐴 / 𝑧]𝑦(𝜑𝑧 = 𝐴))
20 df-sbc 3436 . . . . . 6 ([𝐴 / 𝑧]𝑦(𝜑𝑧 = 𝐴) ↔ 𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})
2119, 20sylib 208 . . . . 5 (𝜑𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})
2213, 21mpgbir 1726 . . . 4 {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ∈ {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)}
23 intss1 4492 . . . 4 ({𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ∈ {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} → {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} ⊆ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})
2422, 23ax-mp 5 . . 3 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} ⊆ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}
25 19.29r 1802 . . . . . . . 8 ((∃𝑦(𝜑𝑧 = 𝐴) ∧ ∀𝑦(𝜑𝐴𝑥)) → ∃𝑦((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)))
26 simplr 792 . . . . . . . . . 10 (((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)) → 𝑧 = 𝐴)
27 pm3.35 611 . . . . . . . . . . 11 ((𝜑 ∧ (𝜑𝐴𝑥)) → 𝐴𝑥)
2827adantlr 751 . . . . . . . . . 10 (((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)) → 𝐴𝑥)
2926, 28eqeltrd 2701 . . . . . . . . 9 (((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)) → 𝑧𝑥)
3029exlimiv 1858 . . . . . . . 8 (∃𝑦((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)) → 𝑧𝑥)
3125, 30syl 17 . . . . . . 7 ((∃𝑦(𝜑𝑧 = 𝐴) ∧ ∀𝑦(𝜑𝐴𝑥)) → 𝑧𝑥)
3231ex 450 . . . . . 6 (∃𝑦(𝜑𝑧 = 𝐴) → (∀𝑦(𝜑𝐴𝑥) → 𝑧𝑥))
3332alrimiv 1855 . . . . 5 (∃𝑦(𝜑𝑧 = 𝐴) → ∀𝑥(∀𝑦(𝜑𝐴𝑥) → 𝑧𝑥))
34 vex 3203 . . . . . 6 𝑧 ∈ V
3534elintab 4487 . . . . 5 (𝑧 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} ↔ ∀𝑥(∀𝑦(𝜑𝐴𝑥) → 𝑧𝑥))
3633, 35sylibr 224 . . . 4 (∃𝑦(𝜑𝑧 = 𝐴) → 𝑧 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)})
3736abssi 3677 . . 3 {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ⊆ {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)}
3824, 37eqssi 3619 . 2 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}
3938, 4eqtri 2644 1 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} = {𝑥 ∣ ∃𝑦(𝜑𝑥 = 𝐴)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 384  wal 1481   = wceq 1483  wex 1704  wcel 1990  {cab 2608  Vcvv 3200  [wsbc 3435  wss 3574   cint 4475
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-v 3202  df-sbc 3436  df-in 3581  df-ss 3588  df-int 4476
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator