Users' Mathboxes Mathbox for Jonathan Ben-Naim < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bnj1366 Structured version   Visualization version   GIF version

Theorem bnj1366 32709
Description: First-order logic and set theory. (Contributed by Jonathan Ben-Naim, 3-Jun-2011.) (Proof shortened by Mario Carneiro, 22-Dec-2016.) (New usage is discouraged.)
Hypothesis
Ref Expression
bnj1366.1 (𝜓 ↔ (𝐴 ∈ V ∧ ∀𝑥𝐴 ∃!𝑦𝜑𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝜑}))
Assertion
Ref Expression
bnj1366 (𝜓𝐵 ∈ V)
Distinct variable group:   𝑥,𝐴,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)   𝐵(𝑥,𝑦)

Proof of Theorem bnj1366
StepHypRef Expression
1 bnj1366.1 . . . 4 (𝜓 ↔ (𝐴 ∈ V ∧ ∀𝑥𝐴 ∃!𝑦𝜑𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝜑}))
21simp3bi 1145 . . 3 (𝜓𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝜑})
31simp2bi 1144 . . . . 5 (𝜓 → ∀𝑥𝐴 ∃!𝑦𝜑)
4 nfcv 2906 . . . . . . 7 𝑦𝐴
5 nfeu1 2588 . . . . . . 7 𝑦∃!𝑦𝜑
64, 5nfralw 3149 . . . . . 6 𝑦𝑥𝐴 ∃!𝑦𝜑
7 nfra1 3142 . . . . . . . 8 𝑥𝑥𝐴 ∃!𝑦𝜑
8 rspa 3130 . . . . . . . . 9 ((∀𝑥𝐴 ∃!𝑦𝜑𝑥𝐴) → ∃!𝑦𝜑)
9 iota1 6395 . . . . . . . . . 10 (∃!𝑦𝜑 → (𝜑 ↔ (℩𝑦𝜑) = 𝑦))
10 eqcom 2745 . . . . . . . . . 10 ((℩𝑦𝜑) = 𝑦𝑦 = (℩𝑦𝜑))
119, 10bitrdi 286 . . . . . . . . 9 (∃!𝑦𝜑 → (𝜑𝑦 = (℩𝑦𝜑)))
128, 11syl 17 . . . . . . . 8 ((∀𝑥𝐴 ∃!𝑦𝜑𝑥𝐴) → (𝜑𝑦 = (℩𝑦𝜑)))
137, 12rexbida 3246 . . . . . . 7 (∀𝑥𝐴 ∃!𝑦𝜑 → (∃𝑥𝐴 𝜑 ↔ ∃𝑥𝐴 𝑦 = (℩𝑦𝜑)))
14 abid 2719 . . . . . . 7 (𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ ∃𝑥𝐴 𝜑)
15 eqid 2738 . . . . . . . 8 (𝑥𝐴 ↦ (℩𝑦𝜑)) = (𝑥𝐴 ↦ (℩𝑦𝜑))
16 iotaex 6398 . . . . . . . 8 (℩𝑦𝜑) ∈ V
1715, 16elrnmpti 5858 . . . . . . 7 (𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑)) ↔ ∃𝑥𝐴 𝑦 = (℩𝑦𝜑))
1813, 14, 173bitr4g 313 . . . . . 6 (∀𝑥𝐴 ∃!𝑦𝜑 → (𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ 𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑))))
196, 18alrimi 2209 . . . . 5 (∀𝑥𝐴 ∃!𝑦𝜑 → ∀𝑦(𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ 𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑))))
203, 19syl 17 . . . 4 (𝜓 → ∀𝑦(𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ 𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑))))
21 nfab1 2908 . . . . 5 𝑦{𝑦 ∣ ∃𝑥𝐴 𝜑}
22 nfiota1 6378 . . . . . . 7 𝑦(℩𝑦𝜑)
234, 22nfmpt 5177 . . . . . 6 𝑦(𝑥𝐴 ↦ (℩𝑦𝜑))
2423nfrn 5850 . . . . 5 𝑦ran (𝑥𝐴 ↦ (℩𝑦𝜑))
2521, 24cleqf 2937 . . . 4 ({𝑦 ∣ ∃𝑥𝐴 𝜑} = ran (𝑥𝐴 ↦ (℩𝑦𝜑)) ↔ ∀𝑦(𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ 𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑))))
2620, 25sylibr 233 . . 3 (𝜓 → {𝑦 ∣ ∃𝑥𝐴 𝜑} = ran (𝑥𝐴 ↦ (℩𝑦𝜑)))
272, 26eqtrd 2778 . 2 (𝜓𝐵 = ran (𝑥𝐴 ↦ (℩𝑦𝜑)))
281simp1bi 1143 . . 3 (𝜓𝐴 ∈ V)
29 mptexg 7079 . . 3 (𝐴 ∈ V → (𝑥𝐴 ↦ (℩𝑦𝜑)) ∈ V)
30 rnexg 7725 . . 3 ((𝑥𝐴 ↦ (℩𝑦𝜑)) ∈ V → ran (𝑥𝐴 ↦ (℩𝑦𝜑)) ∈ V)
3128, 29, 303syl 18 . 2 (𝜓 → ran (𝑥𝐴 ↦ (℩𝑦𝜑)) ∈ V)
3227, 31eqeltrd 2839 1 (𝜓𝐵 ∈ V)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085  wal 1537   = wceq 1539  wcel 2108  ∃!weu 2568  {cab 2715  wral 3063  wrex 3064  Vcvv 3422  cmpt 5153  ran crn 5581  cio 6374
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-rep 5205  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426
This theorem is referenced by:  bnj1489  32936
  Copyright terms: Public domain W3C validator