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

Theorem abnexg 7584
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 7777. Note that the second antecedent 𝑥𝐴𝑥𝐹 cannot be translated to 𝐴𝐹 since 𝐹 may depend on 𝑥. In applications, one may take 𝐹 = {𝑥} or 𝐹 = 𝒫 𝑥 (see snnex 7586 and pwnex 7587 respectively, proved from abnex 7585, which is a consequence of abnexg 7584 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 7571 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ 𝑊 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V)
2 simpl 482 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝐹𝑉)
32ralimi 3086 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝐹𝑉)
4 dfiun2g 4957 . . . . . 6 (∀𝑥𝐴 𝐹𝑉 𝑥𝐴 𝐹 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹})
54eleq1d 2823 . . . . 5 (∀𝑥𝐴 𝐹𝑉 → ( 𝑥𝐴 𝐹 ∈ V ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V))
65biimprd 247 . . . 4 (∀𝑥𝐴 𝐹𝑉 → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
73, 6syl 17 . . 3 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
8 simpr 484 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝑥𝐹)
98ralimi 3086 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝑥𝐹)
10 iunid 4986 . . . . 5 𝑥𝐴 {𝑥} = 𝐴
11 snssi 4738 . . . . . . 7 (𝑥𝐹 → {𝑥} ⊆ 𝐹)
1211ralimi 3086 . . . . . 6 (∀𝑥𝐴 𝑥𝐹 → ∀𝑥𝐴 {𝑥} ⊆ 𝐹)
13 ss2iun 4939 . . . . . 6 (∀𝑥𝐴 {𝑥} ⊆ 𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1412, 13syl 17 . . . . 5 (∀𝑥𝐴 𝑥𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1510, 14eqsstrrid 3966 . . . 4 (∀𝑥𝐴 𝑥𝐹𝐴 𝑥𝐴 𝐹)
16 ssexg 5242 . . . . 5 ((𝐴 𝑥𝐴 𝐹 𝑥𝐴 𝐹 ∈ V) → 𝐴 ∈ V)
1716ex 412 . . . 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 395   = wceq 1539  wcel 2108  {cab 2715  wral 3063  wrex 3064  Vcvv 3422  wss 3883  {csn 4558   cuni 4836   ciun 4921
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-tru 1542  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-in 3890  df-ss 3900  df-sn 4559  df-uni 4837  df-iun 4923
This theorem is referenced by:  abnex  7585
  Copyright terms: Public domain W3C validator