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

Theorem abnexg 7478
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 7662. Note that the second antecedent 𝑥𝐴𝑥𝐹 cannot be translated to 𝐴𝐹 since 𝐹 may depend on 𝑥. In applications, one may take 𝐹 = {𝑥} or 𝐹 = 𝒫 𝑥 (see snnex 7480 and pwnex 7481 respectively, proved from abnex 7479, which is a consequence of abnexg 7478 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 7466 . 2 ({𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ 𝑊 {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V)
2 simpl 485 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝐹𝑉)
32ralimi 3160 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝐹𝑉)
4 dfiun2g 4955 . . . . . 6 (∀𝑥𝐴 𝐹𝑉 𝑥𝐴 𝐹 = {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹})
54eleq1d 2897 . . . . 5 (∀𝑥𝐴 𝐹𝑉 → ( 𝑥𝐴 𝐹 ∈ V ↔ {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V))
65biimprd 250 . . . 4 (∀𝑥𝐴 𝐹𝑉 → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
73, 6syl 17 . . 3 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ( {𝑦 ∣ ∃𝑥𝐴 𝑦 = 𝐹} ∈ V → 𝑥𝐴 𝐹 ∈ V))
8 simpr 487 . . . . 5 ((𝐹𝑉𝑥𝐹) → 𝑥𝐹)
98ralimi 3160 . . . 4 (∀𝑥𝐴 (𝐹𝑉𝑥𝐹) → ∀𝑥𝐴 𝑥𝐹)
10 iunid 4984 . . . . 5 𝑥𝐴 {𝑥} = 𝐴
11 snssi 4741 . . . . . . 7 (𝑥𝐹 → {𝑥} ⊆ 𝐹)
1211ralimi 3160 . . . . . 6 (∀𝑥𝐴 𝑥𝐹 → ∀𝑥𝐴 {𝑥} ⊆ 𝐹)
13 ss2iun 4937 . . . . . 6 (∀𝑥𝐴 {𝑥} ⊆ 𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1412, 13syl 17 . . . . 5 (∀𝑥𝐴 𝑥𝐹 𝑥𝐴 {𝑥} ⊆ 𝑥𝐴 𝐹)
1510, 14eqsstrrid 4016 . . . 4 (∀𝑥𝐴 𝑥𝐹𝐴 𝑥𝐴 𝐹)
16 ssexg 5227 . . . . 5 ((𝐴 𝑥𝐴 𝐹 𝑥𝐴 𝐹 ∈ V) → 𝐴 ∈ V)
1716ex 415 . . . 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 398   = wceq 1537  wcel 2114  {cab 2799  wral 3138  wrex 3139  Vcvv 3494  wss 3936  {csn 4567   cuni 4838   ciun 4919
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-un 7461
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-in 3943  df-ss 3952  df-sn 4568  df-uni 4839  df-iun 4921
This theorem is referenced by:  abnex  7479
  Copyright terms: Public domain W3C validator