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

Theorem abnexg 7519
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 7712. Note that the second antecedent 𝑥𝐴𝑥𝐹 cannot be translated to 𝐴𝐹 since 𝐹 may depend on 𝑥. In applications, one may take 𝐹 = {𝑥} or 𝐹 = 𝒫 𝑥 (see snnex 7521 and pwnex 7522 respectively, proved from abnex 7520, which is a consequence of abnexg 7519 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 7506 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ 𝑊 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V)
2 simpl 486 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝐹𝑉)
32ralimi 3073 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝐹𝑉)
4 dfiun2g 4926 . . . . . 6 (∀𝑥𝐴 𝐹𝑉 𝑥𝐴 𝐹 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹})
54eleq1d 2815 . . . . 5 (∀𝑥𝐴 𝐹𝑉 → ( 𝑥𝐴 𝐹 ∈ V ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V))
65biimprd 251 . . . 4 (∀𝑥𝐴 𝐹𝑉 → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
73, 6syl 17 . . 3 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
8 simpr 488 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝑥𝐹)
98ralimi 3073 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝑥𝐹)
10 iunid 4955 . . . . 5 𝑥𝐴 {𝑥} = 𝐴
11 snssi 4707 . . . . . . 7 (𝑥𝐹 → {𝑥} ⊆ 𝐹)
1211ralimi 3073 . . . . . 6 (∀𝑥𝐴 𝑥𝐹 → ∀𝑥𝐴 {𝑥} ⊆ 𝐹)
13 ss2iun 4908 . . . . . 6 (∀𝑥𝐴 {𝑥} ⊆ 𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1412, 13syl 17 . . . . 5 (∀𝑥𝐴 𝑥𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1510, 14eqsstrrid 3936 . . . 4 (∀𝑥𝐴 𝑥𝐹𝐴 𝑥𝐴 𝐹)
16 ssexg 5201 . . . . 5 ((𝐴 𝑥𝐴 𝐹 𝑥𝐴 𝐹 ∈ V) → 𝐴 ∈ V)
1716ex 416 . . . 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 399   = wceq 1543  wcel 2112  {cab 2714  wral 3051  wrex 3052  Vcvv 3398  wss 3853  {csn 4527   cuni 4805   ciun 4890
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-un 7501
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-tru 1546  df-ex 1788  df-nf 1792  df-sb 2073  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-in 3860  df-ss 3870  df-sn 4528  df-uni 4806  df-iun 4892
This theorem is referenced by:  abnex  7520
  Copyright terms: Public domain W3C validator