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

Theorem abnexg 7821
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 8026. Note that the second antecedent ∀𝑥 ∈ 𝐴𝑥 ∈ 𝐹 cannot be translated to 𝐴 ⊆ 𝐹 since 𝐹 may depend on 𝑥. In applications, one may take 𝐹 = {𝑥} or 𝐹 = 𝒫 𝑥 (see snnex 7823 and pwnex 7824 respectively, proved from abnex 7822, which is a consequence of abnexg 7821 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 7808 . 2 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ 𝑊 → ∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V)
2 simpl 488 . . . . 5 ((𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → 𝐹 ∈ 𝑉)
32ralimi 3114 . . . 4 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → ∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉)
4 dfiun2g 5001 . . . . . 6 (∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉 → ∪ 𝑥 ∈ 𝐴 𝐹 = ∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹})
54eleq1d 2860 . . . . 5 (∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉 → (∪ 𝑥 ∈ 𝐴 𝐹 ∈ V ↔ ∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V))
65biimprd 251 . . . 4 (∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉 → (∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V → ∪ 𝑥 ∈ 𝐴 𝐹 ∈ V))
73, 6syl 18 . . 3 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → (∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V → ∪ 𝑥 ∈ 𝐴 𝐹 ∈ V))
8 simpr 490 . . . . 5 ((𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → 𝑥 ∈ 𝐹)
98ralimi 3114 . . . 4 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹)
10 iunid 5032 . . . . 5 ∪ 𝑥 ∈ 𝐴 {𝑥} = 𝐴
11 snssi 4756 . . . . . . 7 (𝑥 ∈ 𝐹 → {𝑥} ⊆ 𝐹)
1211ralimi 3114 . . . . . 6 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹 → ∀𝑥 ∈ 𝐴 {𝑥} ⊆ 𝐹)
13 ss2iun 4983 . . . . . 6 (∀𝑥 ∈ 𝐴 {𝑥} ⊆ 𝐹 → ∪ 𝑥 ∈ 𝐴 {𝑥} ⊆ ∪ 𝑥 ∈ 𝐴 𝐹)
1412, 13syl 18 . . . . 5 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹 → ∪ 𝑥 ∈ 𝐴 {𝑥} ⊆ ∪ 𝑥 ∈ 𝐴 𝐹)
1510, 14eqsstrrid 3959 . . . 4 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹 → 𝐴 ⊆ ∪ 𝑥 ∈ 𝐴 𝐹)
16 ssexg 5296 . . . . 5 ((𝐴 ⊆ ∪ 𝑥 ∈ 𝐴 𝐹 ∧ ∪ 𝑥 ∈ 𝐴 𝐹 ∈ V) → 𝐴 ∈ V)
1716ex 418 . . . 4 (𝐴 ⊆ ∪ 𝑥 ∈ 𝐴 𝐹 → (∪ 𝑥 ∈ 𝐴 𝐹 ∈ V → 𝐴 ∈ V))
189, 15, 173syl 19 . . 3 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → (∪ 𝑥 ∈ 𝐴 𝐹 ∈ V → 𝐴 ∈ V))
197, 18syld 48 . 2 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → (∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V → 𝐴 ∈ V))
201, 19syl5 35 1 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ 𝑊 → 𝐴 ∈ V))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  {cab 2752  ∀wral 3091  ∃wrex 3101  Vcvv 3461   ⊆ wss 3907  {csn 4595  ∪ cuni 4880  ∪ ciun 4964
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-11 2206  ax-ext 2746  ax-sep 5263  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1106  df-tru 1575  df-ex 1819  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-in 4101  df-sn 4596  df-uni 4881  df-iun 4966
This theorem is used by:  abnex  7822
  Copyright terms: Public domain W3C validator