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

Theorem abnexg 6964
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 7140. Note that the second antecedent 𝑥𝐴𝑥𝐹 cannot be translated to 𝐴𝐹 since 𝐹 may depend on 𝑥. In applications, one may take 𝐹 = {𝑥} or 𝐹 = 𝒫 𝑥 (see snnex 6966 and pwnex 6968 respectively, proved from abnex 6965, which is a consequence of abnexg 6964 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 6955 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ 𝑊 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V)
2 simpl 473 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝐹𝑉)
32ralimi 2952 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝐹𝑉)
4 dfiun2g 4552 . . . . . 6 (∀𝑥𝐴 𝐹𝑉 𝑥𝐴 𝐹 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹})
54eleq1d 2686 . . . . 5 (∀𝑥𝐴 𝐹𝑉 → ( 𝑥𝐴 𝐹 ∈ V ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V))
65biimprd 238 . . . 4 (∀𝑥𝐴 𝐹𝑉 → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
73, 6syl 17 . . 3 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
8 simpr 477 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝑥𝐹)
98ralimi 2952 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝑥𝐹)
10 iunid 4575 . . . . 5 𝑥𝐴 {𝑥} = 𝐴
11 snssi 4339 . . . . . . 7 (𝑥𝐹 → {𝑥} ⊆ 𝐹)
1211ralimi 2952 . . . . . 6 (∀𝑥𝐴 𝑥𝐹 → ∀𝑥𝐴 {𝑥} ⊆ 𝐹)
13 ss2iun 4536 . . . . . 6 (∀𝑥𝐴 {𝑥} ⊆ 𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1412, 13syl 17 . . . . 5 (∀𝑥𝐴 𝑥𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1510, 14syl5eqssr 3650 . . . 4 (∀𝑥𝐴 𝑥𝐹𝐴 𝑥𝐴 𝐹)
16 ssexg 4804 . . . . 5 ((𝐴 𝑥𝐴 𝐹 𝑥𝐴 𝐹 ∈ V) → 𝐴 ∈ V)
1716ex 450 . . . 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 384   = wceq 1483  wcel 1990  {cab 2608  wral 2912  wrex 2913  Vcvv 3200  wss 3574  {csn 4177   cuni 4436   ciun 4520
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-v 3202  df-in 3581  df-ss 3588  df-sn 4178  df-uni 4437  df-iun 4522
This theorem is referenced by:  abnex  6965
  Copyright terms: Public domain W3C validator