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

Theorem intab 4868
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 7652 or abexssex 7653 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 2802 . . . . . . . . . 10 (𝑧 = 𝑥 → (𝑧 = 𝐴𝑥 = 𝐴))
21anbi2d 631 . . . . . . . . 9 (𝑧 = 𝑥 → ((𝜑𝑧 = 𝐴) ↔ (𝜑𝑥 = 𝐴)))
32exbidv 1922 . . . . . . . 8 (𝑧 = 𝑥 → (∃𝑦(𝜑𝑧 = 𝐴) ↔ ∃𝑦(𝜑𝑥 = 𝐴)))
43cbvabv 2866 . . . . . . 7 {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} = {𝑥 ∣ ∃𝑦(𝜑𝑥 = 𝐴)}
5 intab.2 . . . . . . 7 {𝑥 ∣ ∃𝑦(𝜑𝑥 = 𝐴)} ∈ V
64, 5eqeltri 2886 . . . . . 6 {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ∈ V
7 nfe1 2151 . . . . . . . . 9 𝑦𝑦(𝜑𝑧 = 𝐴)
87nfab 2961 . . . . . . . 8 𝑦{𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}
98nfeq2 2972 . . . . . . 7 𝑦 𝑥 = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}
10 eleq2 2878 . . . . . . . 8 (𝑥 = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} → (𝐴𝑥𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}))
1110imbi2d 344 . . . . . . 7 (𝑥 = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} → ((𝜑𝐴𝑥) ↔ (𝜑𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})))
129, 11albid 2222 . . . . . 6 (𝑥 = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} → (∀𝑦(𝜑𝐴𝑥) ↔ ∀𝑦(𝜑𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})))
136, 12elab 3615 . . . . 5 ({𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ∈ {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} ↔ ∀𝑦(𝜑𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}))
14 19.8a 2178 . . . . . . . . 9 ((𝜑𝑧 = 𝐴) → ∃𝑦(𝜑𝑧 = 𝐴))
1514ex 416 . . . . . . . 8 (𝜑 → (𝑧 = 𝐴 → ∃𝑦(𝜑𝑧 = 𝐴)))
1615alrimiv 1928 . . . . . . 7 (𝜑 → ∀𝑧(𝑧 = 𝐴 → ∃𝑦(𝜑𝑧 = 𝐴)))
17 intab.1 . . . . . . . 8 𝐴 ∈ V
1817sbc6 3750 . . . . . . 7 ([𝐴 / 𝑧]𝑦(𝜑𝑧 = 𝐴) ↔ ∀𝑧(𝑧 = 𝐴 → ∃𝑦(𝜑𝑧 = 𝐴)))
1916, 18sylibr 237 . . . . . 6 (𝜑[𝐴 / 𝑧]𝑦(𝜑𝑧 = 𝐴))
20 df-sbc 3721 . . . . . 6 ([𝐴 / 𝑧]𝑦(𝜑𝑧 = 𝐴) ↔ 𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})
2119, 20sylib 221 . . . . 5 (𝜑𝐴 ∈ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})
2213, 21mpgbir 1801 . . . 4 {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ∈ {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)}
23 intss1 4853 . . . 4 ({𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ∈ {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} → {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} ⊆ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)})
2422, 23ax-mp 5 . . 3 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} ⊆ {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}
25 19.29r 1875 . . . . . . . 8 ((∃𝑦(𝜑𝑧 = 𝐴) ∧ ∀𝑦(𝜑𝐴𝑥)) → ∃𝑦((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)))
26 simplr 768 . . . . . . . . . 10 (((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)) → 𝑧 = 𝐴)
27 pm3.35 802 . . . . . . . . . . 11 ((𝜑 ∧ (𝜑𝐴𝑥)) → 𝐴𝑥)
2827adantlr 714 . . . . . . . . . 10 (((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)) → 𝐴𝑥)
2926, 28eqeltrd 2890 . . . . . . . . 9 (((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)) → 𝑧𝑥)
3029exlimiv 1931 . . . . . . . 8 (∃𝑦((𝜑𝑧 = 𝐴) ∧ (𝜑𝐴𝑥)) → 𝑧𝑥)
3125, 30syl 17 . . . . . . 7 ((∃𝑦(𝜑𝑧 = 𝐴) ∧ ∀𝑦(𝜑𝐴𝑥)) → 𝑧𝑥)
3231ex 416 . . . . . 6 (∃𝑦(𝜑𝑧 = 𝐴) → (∀𝑦(𝜑𝐴𝑥) → 𝑧𝑥))
3332alrimiv 1928 . . . . 5 (∃𝑦(𝜑𝑧 = 𝐴) → ∀𝑥(∀𝑦(𝜑𝐴𝑥) → 𝑧𝑥))
34 vex 3444 . . . . . 6 𝑧 ∈ V
3534elintab 4849 . . . . 5 (𝑧 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} ↔ ∀𝑥(∀𝑦(𝜑𝐴𝑥) → 𝑧𝑥))
3633, 35sylibr 237 . . . 4 (∃𝑦(𝜑𝑧 = 𝐴) → 𝑧 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)})
3736abssi 3997 . . 3 {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)} ⊆ {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)}
3824, 37eqssi 3931 . 2 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} = {𝑧 ∣ ∃𝑦(𝜑𝑧 = 𝐴)}
3938, 4eqtri 2821 1 {𝑥 ∣ ∀𝑦(𝜑𝐴𝑥)} = {𝑥 ∣ ∃𝑦(𝜑𝑥 = 𝐴)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wal 1536   = wceq 1538  wex 1781  wcel 2111  {cab 2776  Vcvv 3441  [wsbc 3720  wss 3881   cint 4838
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-v 3443  df-sbc 3721  df-in 3888  df-ss 3898  df-int 4839
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator