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 32109
 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 1143 . . 3 (𝜓𝐵 = {𝑦 ∣ ∃𝑥𝐴 𝜑})
31simp2bi 1142 . . . . 5 (𝜓 → ∀𝑥𝐴 ∃!𝑦𝜑)
4 nfcv 2973 . . . . . . 7 𝑦𝐴
5 nfeu1 2673 . . . . . . 7 𝑦∃!𝑦𝜑
64, 5nfralw 3212 . . . . . 6 𝑦𝑥𝐴 ∃!𝑦𝜑
7 nfra1 3206 . . . . . . . 8 𝑥𝑥𝐴 ∃!𝑦𝜑
8 rspa 3193 . . . . . . . . 9 ((∀𝑥𝐴 ∃!𝑦𝜑𝑥𝐴) → ∃!𝑦𝜑)
9 iota1 6308 . . . . . . . . . 10 (∃!𝑦𝜑 → (𝜑 ↔ (℩𝑦𝜑) = 𝑦))
10 eqcom 2827 . . . . . . . . . 10 ((℩𝑦𝜑) = 𝑦𝑦 = (℩𝑦𝜑))
119, 10syl6bb 289 . . . . . . . . 9 (∃!𝑦𝜑 → (𝜑𝑦 = (℩𝑦𝜑)))
128, 11syl 17 . . . . . . . 8 ((∀𝑥𝐴 ∃!𝑦𝜑𝑥𝐴) → (𝜑𝑦 = (℩𝑦𝜑)))
137, 12rexbida 3305 . . . . . . 7 (∀𝑥𝐴 ∃!𝑦𝜑 → (∃𝑥𝐴 𝜑 ↔ ∃𝑥𝐴 𝑦 = (℩𝑦𝜑)))
14 abid 2802 . . . . . . 7 (𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ ∃𝑥𝐴 𝜑)
15 eqid 2820 . . . . . . . 8 (𝑥𝐴 ↦ (℩𝑦𝜑)) = (𝑥𝐴 ↦ (℩𝑦𝜑))
16 iotaex 6311 . . . . . . . 8 (℩𝑦𝜑) ∈ V
1715, 16elrnmpti 5808 . . . . . . 7 (𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑)) ↔ ∃𝑥𝐴 𝑦 = (℩𝑦𝜑))
1813, 14, 173bitr4g 316 . . . . . 6 (∀𝑥𝐴 ∃!𝑦𝜑 → (𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ 𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑))))
196, 18alrimi 2213 . . . . 5 (∀𝑥𝐴 ∃!𝑦𝜑 → ∀𝑦(𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ 𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑))))
203, 19syl 17 . . . 4 (𝜓 → ∀𝑦(𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ 𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑))))
21 nfab1 2975 . . . . 5 𝑦{𝑦 ∣ ∃𝑥𝐴 𝜑}
22 nfiota1 6292 . . . . . . 7 𝑦(℩𝑦𝜑)
234, 22nfmpt 5139 . . . . . 6 𝑦(𝑥𝐴 ↦ (℩𝑦𝜑))
2423nfrn 5800 . . . . 5 𝑦ran (𝑥𝐴 ↦ (℩𝑦𝜑))
2521, 24cleqf 3002 . . . 4 ({𝑦 ∣ ∃𝑥𝐴 𝜑} = ran (𝑥𝐴 ↦ (℩𝑦𝜑)) ↔ ∀𝑦(𝑦 ∈ {𝑦 ∣ ∃𝑥𝐴 𝜑} ↔ 𝑦 ∈ ran (𝑥𝐴 ↦ (℩𝑦𝜑))))
2620, 25sylibr 236 . . 3 (𝜓 → {𝑦 ∣ ∃𝑥𝐴 𝜑} = ran (𝑥𝐴 ↦ (℩𝑦𝜑)))
272, 26eqtrd 2855 . 2 (𝜓𝐵 = ran (𝑥𝐴 ↦ (℩𝑦𝜑)))
281simp1bi 1141 . . 3 (𝜓𝐴 ∈ V)
29 mptexg 6960 . . 3 (𝐴 ∈ V → (𝑥𝐴 ↦ (℩𝑦𝜑)) ∈ V)
30 rnexg 7592 . . 3 ((𝑥𝐴 ↦ (℩𝑦𝜑)) ∈ V → ran (𝑥𝐴 ↦ (℩𝑦𝜑)) ∈ V)
3128, 29, 303syl 18 . 2 (𝜓 → ran (𝑥𝐴 ↦ (℩𝑦𝜑)) ∈ V)
3227, 31eqeltrd 2911 1 (𝜓𝐵 ∈ V)
 Colors of variables: wff setvar class Syntax hints:   → wi 4   ↔ wb 208   ∧ wa 398   ∧ w3a 1083  ∀wal 1535   = wceq 1537   ∈ wcel 2114  ∃!weu 2652  {cab 2798  ∀wral 3125  ∃wrex 3126  Vcvv 3473   ↦ cmpt 5122  ran crn 5532  ℩cio 6288 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 2792  ax-rep 5166  ax-sep 5179  ax-nul 5186  ax-pr 5306  ax-un 7439 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-mo 2622  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2891  df-nfc 2959  df-ne 3007  df-ral 3130  df-rex 3131  df-reu 3132  df-rab 3134  df-v 3475  df-sbc 3753  df-csb 3861  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4270  df-if 4444  df-sn 4544  df-pr 4546  df-op 4550  df-uni 4815  df-iun 4897  df-br 5043  df-opab 5105  df-mpt 5123  df-id 5436  df-xp 5537  df-rel 5538  df-cnv 5539  df-co 5540  df-dm 5541  df-rn 5542  df-res 5543  df-ima 5544  df-iota 6290  df-fun 6333  df-fn 6334  df-f 6335  df-f1 6336  df-fo 6337  df-f1o 6338  df-fv 6339 This theorem is referenced by:  bnj1489  32336
 Copyright terms: Public domain W3C validator