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

Theorem abnexg 7606
Description: Sufficient condition for a class abstraction to be a proper class. The class 𝐹 can be thought of as an expression in 𝑥 and the abstraction appearing in the statement as the class of values 𝐹 as 𝑥 varies through 𝐴. Assuming the antecedents, if that class is a set, then so is the "domain" 𝐴. The converse holds without antecedent, see abrexexg 7803. Note that the second antecedent 𝑥𝐴𝑥𝐹 cannot be translated to 𝐴𝐹 since 𝐹 may depend on 𝑥. In applications, one may take 𝐹 = {𝑥} or 𝐹 = 𝒫 𝑥 (see snnex 7608 and pwnex 7609 respectively, proved from abnex 7607, which is a consequence of abnexg 7606 with 𝐴 = V). (Contributed by BJ, 2-Dec-2021.)
Assertion
Ref Expression
abnexg (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ 𝑊𝐴 ∈ V))
Distinct variable groups:   𝑥,𝐴,𝑦   𝑦,𝐹
Allowed substitution hints:   𝐹(𝑥)   𝑉(𝑥,𝑦)   𝑊(𝑥,𝑦)

Proof of Theorem abnexg
StepHypRef Expression
1 uniexg 7593 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ 𝑊 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V)
2 simpl 483 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝐹𝑉)
32ralimi 3087 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝐹𝑉)
4 dfiun2g 4960 . . . . . 6 (∀𝑥𝐴 𝐹𝑉 𝑥𝐴 𝐹 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹})
54eleq1d 2823 . . . . 5 (∀𝑥𝐴 𝐹𝑉 → ( 𝑥𝐴 𝐹 ∈ V ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V))
65biimprd 247 . . . 4 (∀𝑥𝐴 𝐹𝑉 → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
73, 6syl 17 . . 3 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
8 simpr 485 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝑥𝐹)
98ralimi 3087 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝑥𝐹)
10 iunid 4990 . . . . 5 𝑥𝐴 {𝑥} = 𝐴
11 snssi 4741 . . . . . . 7 (𝑥𝐹 → {𝑥} ⊆ 𝐹)
1211ralimi 3087 . . . . . 6 (∀𝑥𝐴 𝑥𝐹 → ∀𝑥𝐴 {𝑥} ⊆ 𝐹)
13 ss2iun 4942 . . . . . 6 (∀𝑥𝐴 {𝑥} ⊆ 𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1412, 13syl 17 . . . . 5 (∀𝑥𝐴 𝑥𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1510, 14eqsstrrid 3970 . . . 4 (∀𝑥𝐴 𝑥𝐹𝐴 𝑥𝐴 𝐹)
16 ssexg 5247 . . . . 5 ((𝐴 𝑥𝐴 𝐹 𝑥𝐴 𝐹 ∈ V) → 𝐴 ∈ V)
1716ex 413 . . . 4 (𝐴 𝑥𝐴 𝐹 → ( 𝑥𝐴 𝐹 ∈ V → 𝐴 ∈ V))
189, 15, 173syl 18 . . 3 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ( 𝑥𝐴 𝐹 ∈ V → 𝐴 ∈ V))
197, 18syld 47 . 2 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝐴 ∈ V))
201, 19syl5 34 1 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ 𝑊𝐴 ∈ V))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  {cab 2715  wral 3064  wrex 3065  Vcvv 3432  wss 3887  {csn 4561   cuni 4839   ciun 4924
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-tru 1542  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-in 3894  df-ss 3904  df-sn 4562  df-uni 4840  df-iun 4926
This theorem is referenced by:  abnex  7607
  Copyright terms: Public domain W3C validator