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

Theorem dfac5lem5 9814
Description: Lemma for dfac5 9815. (Contributed by NM, 12-Apr-2004.)
Hypotheses
Ref Expression
dfac5lem.1 𝐴 = {𝑢 ∣ (𝑢 ≠ ∅ ∧ ∃𝑡 𝑢 = ({𝑡} × 𝑡))}
dfac5lem.2 𝐵 = ( 𝐴𝑦)
dfac5lem.3 (𝜑 ↔ ∀𝑥((∀𝑧𝑥 𝑧 ≠ ∅ ∧ ∀𝑧𝑥𝑤𝑥 (𝑧𝑤 → (𝑧𝑤) = ∅)) → ∃𝑦𝑧𝑥 ∃!𝑣 𝑣 ∈ (𝑧𝑦)))
Assertion
Ref Expression
dfac5lem5 (𝜑 → ∃𝑓𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤))
Distinct variable groups:   𝑥,𝑓,𝑧,𝑦,𝑤,𝑣,𝑢,𝑡,   𝑧,𝐵,𝑤,𝑓   𝑥,𝐴,𝑦,𝑧,𝑤
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧,𝑤,𝑣,𝑢,𝑡,𝑓,)   𝐴(𝑣,𝑢,𝑡,𝑓,)   𝐵(𝑥,𝑦,𝑣,𝑢,𝑡,)

Proof of Theorem dfac5lem5
Dummy variable 𝑔 is distinct from all other variables.
StepHypRef Expression
1 dfac5lem.1 . . 3 𝐴 = {𝑢 ∣ (𝑢 ≠ ∅ ∧ ∃𝑡 𝑢 = ({𝑡} × 𝑡))}
2 dfac5lem.2 . . 3 𝐵 = ( 𝐴𝑦)
3 dfac5lem.3 . . 3 (𝜑 ↔ ∀𝑥((∀𝑧𝑥 𝑧 ≠ ∅ ∧ ∀𝑧𝑥𝑤𝑥 (𝑧𝑤 → (𝑧𝑤) = ∅)) → ∃𝑦𝑧𝑥 ∃!𝑣 𝑣 ∈ (𝑧𝑦)))
41, 2, 3dfac5lem4 9813 . 2 (𝜑 → ∃𝑦𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦))
5 simpr 484 . . . . . . . . . 10 ((𝑤 ≠ ∅ ∧ 𝑤) → 𝑤)
65a1i 11 . . . . . . . . 9 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → 𝑤))
7 ineq1 4136 . . . . . . . . . . . . 13 (𝑧 = ({𝑤} × 𝑤) → (𝑧𝑦) = (({𝑤} × 𝑤) ∩ 𝑦))
87eleq2d 2824 . . . . . . . . . . . 12 (𝑧 = ({𝑤} × 𝑤) → (𝑣 ∈ (𝑧𝑦) ↔ 𝑣 ∈ (({𝑤} × 𝑤) ∩ 𝑦)))
98eubidv 2586 . . . . . . . . . . 11 (𝑧 = ({𝑤} × 𝑤) → (∃!𝑣 𝑣 ∈ (𝑧𝑦) ↔ ∃!𝑣 𝑣 ∈ (({𝑤} × 𝑤) ∩ 𝑦)))
109rspccv 3549 . . . . . . . . . 10 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → (({𝑤} × 𝑤) ∈ 𝐴 → ∃!𝑣 𝑣 ∈ (({𝑤} × 𝑤) ∩ 𝑦)))
111dfac5lem3 9812 . . . . . . . . . 10 (({𝑤} × 𝑤) ∈ 𝐴 ↔ (𝑤 ≠ ∅ ∧ 𝑤))
12 dfac5lem1 9810 . . . . . . . . . 10 (∃!𝑣 𝑣 ∈ (({𝑤} × 𝑤) ∩ 𝑦) ↔ ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))
1310, 11, 123imtr3g 294 . . . . . . . . 9 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
146, 13jcad 512 . . . . . . . 8 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → (𝑤 ∧ ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))))
152eleq2i 2830 . . . . . . . . . . 11 (⟨𝑤, 𝑔⟩ ∈ 𝐵 ↔ ⟨𝑤, 𝑔⟩ ∈ ( 𝐴𝑦))
16 elin 3899 . . . . . . . . . . 11 (⟨𝑤, 𝑔⟩ ∈ ( 𝐴𝑦) ↔ (⟨𝑤, 𝑔⟩ ∈ 𝐴 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))
171dfac5lem2 9811 . . . . . . . . . . . . 13 (⟨𝑤, 𝑔⟩ ∈ 𝐴 ↔ (𝑤𝑔𝑤))
1817anbi1i 623 . . . . . . . . . . . 12 ((⟨𝑤, 𝑔⟩ ∈ 𝐴 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦) ↔ ((𝑤𝑔𝑤) ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))
19 anass 468 . . . . . . . . . . . 12 (((𝑤𝑔𝑤) ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦) ↔ (𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
2018, 19bitri 274 . . . . . . . . . . 11 ((⟨𝑤, 𝑔⟩ ∈ 𝐴 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦) ↔ (𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
2115, 16, 203bitri 296 . . . . . . . . . 10 (⟨𝑤, 𝑔⟩ ∈ 𝐵 ↔ (𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
2221eubii 2585 . . . . . . . . 9 (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 ↔ ∃!𝑔(𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
23 euanv 2626 . . . . . . . . 9 (∃!𝑔(𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)) ↔ (𝑤 ∧ ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
2422, 23bitr2i 275 . . . . . . . 8 ((𝑤 ∧ ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)) ↔ ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵)
2514, 24syl6ib 250 . . . . . . 7 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵))
26 euex 2577 . . . . . . . 8 (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → ∃𝑔𝑤, 𝑔⟩ ∈ 𝐵)
27 nfeu1 2588 . . . . . . . . . 10 𝑔∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵
28 nfv 1918 . . . . . . . . . 10 𝑔(𝐵𝑤) ∈ 𝑤
2927, 28nfim 1900 . . . . . . . . 9 𝑔(∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤)
3021simprbi 496 . . . . . . . . . . 11 (⟨𝑤, 𝑔⟩ ∈ 𝐵 → (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))
3130simpld 494 . . . . . . . . . 10 (⟨𝑤, 𝑔⟩ ∈ 𝐵𝑔𝑤)
32 tz6.12 6779 . . . . . . . . . . . . 13 ((⟨𝑤, 𝑔⟩ ∈ 𝐵 ∧ ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵) → (𝐵𝑤) = 𝑔)
3332eleq1d 2823 . . . . . . . . . . . 12 ((⟨𝑤, 𝑔⟩ ∈ 𝐵 ∧ ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵) → ((𝐵𝑤) ∈ 𝑤𝑔𝑤))
3433biimparc 479 . . . . . . . . . . 11 ((𝑔𝑤 ∧ (⟨𝑤, 𝑔⟩ ∈ 𝐵 ∧ ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵)) → (𝐵𝑤) ∈ 𝑤)
3534exp32 420 . . . . . . . . . 10 (𝑔𝑤 → (⟨𝑤, 𝑔⟩ ∈ 𝐵 → (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤)))
3631, 35mpcom 38 . . . . . . . . 9 (⟨𝑤, 𝑔⟩ ∈ 𝐵 → (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤))
3729, 36exlimi 2213 . . . . . . . 8 (∃𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤))
3826, 37mpcom 38 . . . . . . 7 (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤)
3925, 38syl6 35 . . . . . 6 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → (𝐵𝑤) ∈ 𝑤))
4039expcomd 416 . . . . 5 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → (𝑤 → (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤)))
4140ralrimiv 3106 . . . 4 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ∀𝑤 (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤))
42 vex 3426 . . . . . . 7 𝑦 ∈ V
4342inex2 5237 . . . . . 6 ( 𝐴𝑦) ∈ V
442, 43eqeltri 2835 . . . . 5 𝐵 ∈ V
45 fveq1 6755 . . . . . . . 8 (𝑓 = 𝐵 → (𝑓𝑤) = (𝐵𝑤))
4645eleq1d 2823 . . . . . . 7 (𝑓 = 𝐵 → ((𝑓𝑤) ∈ 𝑤 ↔ (𝐵𝑤) ∈ 𝑤))
4746imbi2d 340 . . . . . 6 (𝑓 = 𝐵 → ((𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤) ↔ (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤)))
4847ralbidv 3120 . . . . 5 (𝑓 = 𝐵 → (∀𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤) ↔ ∀𝑤 (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤)))
4944, 48spcev 3535 . . . 4 (∀𝑤 (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤) → ∃𝑓𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤))
5041, 49syl 17 . . 3 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ∃𝑓𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤))
5150exlimiv 1934 . 2 (∃𝑦𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ∃𝑓𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤))
524, 51syl 17 1 (𝜑 → ∃𝑓𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  ∃!weu 2568  {cab 2715  wne 2942  wral 3063  wrex 3064  Vcvv 3422  cin 3882  c0 4253  {csn 4558  cop 4564   cuni 4836   × cxp 5578  cfv 6418
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-sep 5218  ax-nul 5225  ax-pow 5283  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-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-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-dm 5590  df-rn 5591  df-iota 6376  df-fv 6426
This theorem is referenced by:  dfac5  9815
  Copyright terms: Public domain W3C validator