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

Theorem abnexg 7770
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 7973. Note that the second antecedent ∀𝑥 ∈ 𝐴𝑥 ∈ 𝐹 cannot be translated to 𝐴 ⊆ 𝐹 since 𝐹 may depend on 𝑥. In applications, one may take 𝐹 = {𝑥} or 𝐹 = 𝒫 𝑥 (see snnex 7772 and pwnex 7773 respectively, proved from abnex 7771, which is a consequence of abnexg 7770 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 7757 . 2 ({𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ 𝑊 → ∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V)
2 simpl 488 . . . . 5 ((𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → 𝐹 ∈ 𝑉)
32ralimi 3100 . . . 4 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → ∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉)
4 dfiun2g 4988 . . . . . 6 (∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉 → ∪ 𝑥 ∈ 𝐴 𝐹 = ∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹})
54eleq1d 2846 . . . . 5 (∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉 → (∪ 𝑥 ∈ 𝐴 𝐹 ∈ V ↔ ∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V))
65biimprd 251 . . . 4 (∀𝑥 ∈ 𝐴 𝐹 ∈ 𝑉 → (∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V → ∪ 𝑥 ∈ 𝐴 𝐹 ∈ V))
73, 6syl 18 . . 3 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → (∪ {𝑦 ∣ ∃𝑥 ∈ 𝐴 𝑦 = 𝐹} ∈ V → ∪ 𝑥 ∈ 𝐴 𝐹 ∈ V))
8 simpr 490 . . . . 5 ((𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → 𝑥 ∈ 𝐹)
98ralimi 3100 . . . 4 (∀𝑥 ∈ 𝐴 (𝐹 ∈ 𝑉 ∧ 𝑥 ∈ 𝐹) → ∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹)
10 iunid 5019 . . . . 5 ∪ 𝑥 ∈ 𝐴 {𝑥} = 𝐴
11 snssi 4746 . . . . . . 7 (𝑥 ∈ 𝐹 → {𝑥} ⊆ 𝐹)
1211ralimi 3100 . . . . . 6 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹 → ∀𝑥 ∈ 𝐴 {𝑥} ⊆ 𝐹)
13 ss2iun 4970 . . . . . 6 (∀𝑥 ∈ 𝐴 {𝑥} ⊆ 𝐹 → ∪ 𝑥 ∈ 𝐴 {𝑥} ⊆ ∪ 𝑥 ∈ 𝐴 𝐹)
1412, 13syl 18 . . . . 5 (∀𝑥 ∈ 𝐴 𝑥 ∈ 𝐹 → ∪ 𝑥 ∈ 𝐴 {𝑥} ⊆ ∪ 𝑥 ∈ 𝐴 𝐹)
1510, 14eqsstrrid 3970 . . . 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 1570   ∈ wcel 2145  {cab 2739  ∀wral 3077  ∃wrex 3087  Vcvv 3451   ⊆ wss 3899  {csn 4584  ∪ cuni 4867  ∪ ciun 4951
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-11 2194  ax-ext 2733  ax-sep 5249  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-3an 1105  df-tru 1573  df-ex 1813  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-in 3906  df-ss 3916  df-sn 4585  df-uni 4868  df-iun 4953
This theorem is used by:  abnex  7771
  Copyright terms: Public domain W3C validator