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

Theorem abnexg 7774
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 7977. Note that the second antecedent ∀𝑥 ∈ 𝐴𝑥 ∈ 𝐹 cannot be translated to 𝐴 ⊆ 𝐹 since 𝐹 may depend on 𝑥. In applications, one may take 𝐹 = {𝑥} or 𝐹 = 𝒫 𝑥 (see snnex 7776 and pwnex 7777 respectively, proved from abnex 7775, which is a consequence of abnexg 7774 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 7761 . 2 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ 𝑊 → ∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V)
2 simpl 488 . . . . 5 ((𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → 𝐹 ∈ 𝑉)
32ralimi 3099 . . . 4 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → ∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉)
4 dfiun2g 4987 . . . . . 6 (∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉 → ∪ 𝑥 ∈ 𝐴 𝐹 = ∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹})
54eleq1d 2845 . . . . 5 (∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉 → (∪ 𝑥 ∈ 𝐴 𝐹 ∈ V ↔ ∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V))
65biimprd 251 . . . 4 (∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉 → (∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V → ∪ 𝑥 ∈ 𝐴 𝐹 ∈ V))
73, 6syl 18 . . 3 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → (∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V → ∪ 𝑥 ∈ 𝐴 𝐹 ∈ V))
8 simpr 490 . . . . 5 ((𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → 𝑥 ∈ 𝐹)
98ralimi 3099 . . . 4 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹)
10 iunid 5018 . . . . 5 ∪ 𝑥 ∈ 𝐴 {𝑥} = 𝐴
11 snssi 4742 . . . . . . 7 (𝑥 ∈ 𝐹 → {𝑥} ⊆ 𝐹)
1211ralimi 3099 . . . . . 6 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹 → ∀𝑥 ∈ 𝐴 {𝑥} ⊆ 𝐹)
13 ss2iun 4969 . . . . . 6 (∀𝑥 ∈ 𝐴 {𝑥} ⊆ 𝐹 → ∪ 𝑥 ∈ 𝐴 {𝑥} ⊆ ∪ 𝑥 ∈ 𝐴 𝐹)
1412, 13syl 18 . . . . 5 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹 → ∪ 𝑥 ∈ 𝐴 {𝑥} ⊆ ∪ 𝑥 ∈ 𝐴 𝐹)
1510, 14eqsstrrid 3948 . . . 4 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹 → 𝐴 ⊆ ∪ 𝑥 ∈ 𝐴 𝐹)
16 ssexg 5281 . . . . 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 1569   ∈ wcel 2144  {cab 2738  ∀wral 3076  ∃wrex 3086  Vcvv 3450   ⊆ wss 3896  {csn 4584  ∪ cuni 4866  ∪ ciun 4950
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-11 2193  ax-ext 2732  ax-sep 5248  ax-un 7755
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-in 4090  df-sn 4585  df-uni 4867  df-iun 4952
This theorem is used by:  abnex  7775
  Copyright terms: Public domain W3C validator