Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-bm1.3ii Structured version   Visualization version   GIF version

Theorem bj-bm1.3ii 38021
Description: The extension of a predicate (𝜑(𝑧)) is included in a set (𝑥) if and only if it is a set (𝑦). Sufficiency is obvious, and necessity is the content of the axiom of separation ax-sep 5248. Similar to Theorem 1.3(ii) of [BellMachover] p. 463. (Contributed by NM, 21-Jun-1993.) Generalized to a closed form biconditional with existential quantifications using two different setvars 𝑥, 𝑦 (which need not be disjoint). (Revised by BJ, 8-Aug-2022.)

TODO: move after sepexi 5255. Relabel ("sepbi"?).

Assertion
Ref Expression
bj-bm1.3ii (∃𝑥∀𝑧(𝜑 → 𝑧 ∈ 𝑥) ↔ ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑))
Distinct variable groups:   𝑥,𝑧   𝑦,𝑧   𝜑,𝑥   𝜑,𝑦
Allowed substitution hint:   𝜑(𝑧)

Proof of Theorem bj-bm1.3ii
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 elequ2 2159 . . . . 5 (𝑥 = 𝑡 → (𝑧 ∈ 𝑥 ↔ 𝑧 ∈ 𝑡))
21imbi2d 343 . . . 4 (𝑥 = 𝑡 → ((𝜑 → 𝑧 ∈ 𝑥) ↔ (𝜑 → 𝑧 ∈ 𝑡)))
32albidv 1952 . . 3 (𝑥 = 𝑡 → (∀𝑧(𝜑 → 𝑧 ∈ 𝑥) ↔ ∀𝑧(𝜑 → 𝑧 ∈ 𝑡)))
43cbvexvw 2069 . 2 (∃𝑥∀𝑧(𝜑 → 𝑧 ∈ 𝑥) ↔ ∃𝑡∀𝑧(𝜑 → 𝑧 ∈ 𝑡))
5 ax-sep 5248 . . . . 5 ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑡 ∧ 𝜑))
6 19.42v 1985 . . . . . 6 (∃𝑦(∀𝑧(𝜑 → 𝑧 ∈ 𝑡) ∧ ∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑡 ∧ 𝜑))) ↔ (∀𝑧(𝜑 → 𝑧 ∈ 𝑡) ∧ ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑡 ∧ 𝜑))))
7 bimsc1 858 . . . . . . . 8 (((𝜑 → 𝑧 ∈ 𝑡) ∧ (𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑡 ∧ 𝜑))) → (𝑧 ∈ 𝑦 ↔ 𝜑))
87alanimi 1848 . . . . . . 7 ((∀𝑧(𝜑 → 𝑧 ∈ 𝑡) ∧ ∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑡 ∧ 𝜑))) → ∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑))
98eximi 1867 . . . . . 6 (∃𝑦(∀𝑧(𝜑 → 𝑧 ∈ 𝑡) ∧ ∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑡 ∧ 𝜑))) → ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑))
106, 9sylbir 238 . . . . 5 ((∀𝑧(𝜑 → 𝑧 ∈ 𝑡) ∧ ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ (𝑧 ∈ 𝑡 ∧ 𝜑))) → ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑))
115, 10mpan2 704 . . . 4 (∀𝑧(𝜑 → 𝑧 ∈ 𝑡) → ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑))
1211exlimiv 1962 . . 3 (∃𝑡∀𝑧(𝜑 → 𝑧 ∈ 𝑡) → ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑))
13 elequ2 2159 . . . . . . 7 (𝑦 = 𝑡 → (𝑧 ∈ 𝑦 ↔ 𝑧 ∈ 𝑡))
1413bibi1d 346 . . . . . 6 (𝑦 = 𝑡 → ((𝑧 ∈ 𝑦 ↔ 𝜑) ↔ (𝑧 ∈ 𝑡 ↔ 𝜑)))
1514albidv 1952 . . . . 5 (𝑦 = 𝑡 → (∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑) ↔ ∀𝑧(𝑧 ∈ 𝑡 ↔ 𝜑)))
1615cbvexvw 2069 . . . 4 (∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑) ↔ ∃𝑡∀𝑧(𝑧 ∈ 𝑡 ↔ 𝜑))
17 biimpr 223 . . . . . 6 ((𝑧 ∈ 𝑡 ↔ 𝜑) → (𝜑 → 𝑧 ∈ 𝑡))
1817alimi 1843 . . . . 5 (∀𝑧(𝑧 ∈ 𝑡 ↔ 𝜑) → ∀𝑧(𝜑 → 𝑧 ∈ 𝑡))
1918eximi 1867 . . . 4 (∃𝑡∀𝑧(𝑧 ∈ 𝑡 ↔ 𝜑) → ∃𝑡∀𝑧(𝜑 → 𝑧 ∈ 𝑡))
2016, 19sylbi 220 . . 3 (∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑) → ∃𝑡∀𝑧(𝜑 → 𝑧 ∈ 𝑡))
2112, 20impbii 212 . 2 (∃𝑡∀𝑧(𝜑 → 𝑧 ∈ 𝑡) ↔ ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑))
224, 21bitri 278 1 (∃𝑥∀𝑧(𝜑 → 𝑧 ∈ 𝑥) ↔ ∃𝑦∀𝑧(𝑧 ∈ 𝑦 ↔ 𝜑))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567  ∃wex 1811
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-9 2154  ax-sep 5248
This proof depends on definitions:  df-bi 210  df-an 402  df-ex 1812
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator