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

Theorem dfac5lem5 8833
Description: Lemma for dfac5 8834. (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 8832 . 2 (𝜑 → ∃𝑦𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦))
5 simpr 476 . . . . . . . . . 10 ((𝑤 ≠ ∅ ∧ 𝑤) → 𝑤)
65a1i 11 . . . . . . . . 9 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → 𝑤))
7 ineq1 3769 . . . . . . . . . . . . 13 (𝑧 = ({𝑤} × 𝑤) → (𝑧𝑦) = (({𝑤} × 𝑤) ∩ 𝑦))
87eleq2d 2673 . . . . . . . . . . . 12 (𝑧 = ({𝑤} × 𝑤) → (𝑣 ∈ (𝑧𝑦) ↔ 𝑣 ∈ (({𝑤} × 𝑤) ∩ 𝑦)))
98eubidv 2478 . . . . . . . . . . 11 (𝑧 = ({𝑤} × 𝑤) → (∃!𝑣 𝑣 ∈ (𝑧𝑦) ↔ ∃!𝑣 𝑣 ∈ (({𝑤} × 𝑤) ∩ 𝑦)))
109rspccv 3279 . . . . . . . . . 10 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → (({𝑤} × 𝑤) ∈ 𝐴 → ∃!𝑣 𝑣 ∈ (({𝑤} × 𝑤) ∩ 𝑦)))
111dfac5lem3 8831 . . . . . . . . . 10 (({𝑤} × 𝑤) ∈ 𝐴 ↔ (𝑤 ≠ ∅ ∧ 𝑤))
12 dfac5lem1 8829 . . . . . . . . . 10 (∃!𝑣 𝑣 ∈ (({𝑤} × 𝑤) ∩ 𝑦) ↔ ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))
1310, 11, 123imtr3g 283 . . . . . . . . 9 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
146, 13jcad 554 . . . . . . . 8 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → (𝑤 ∧ ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))))
152eleq2i 2680 . . . . . . . . . . 11 (⟨𝑤, 𝑔⟩ ∈ 𝐵 ↔ ⟨𝑤, 𝑔⟩ ∈ ( 𝐴𝑦))
16 elin 3758 . . . . . . . . . . 11 (⟨𝑤, 𝑔⟩ ∈ ( 𝐴𝑦) ↔ (⟨𝑤, 𝑔⟩ ∈ 𝐴 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))
171dfac5lem2 8830 . . . . . . . . . . . . 13 (⟨𝑤, 𝑔⟩ ∈ 𝐴 ↔ (𝑤𝑔𝑤))
1817anbi1i 727 . . . . . . . . . . . 12 ((⟨𝑤, 𝑔⟩ ∈ 𝐴 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦) ↔ ((𝑤𝑔𝑤) ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))
19 anass 679 . . . . . . . . . . . 12 (((𝑤𝑔𝑤) ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦) ↔ (𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
2018, 19bitri 263 . . . . . . . . . . 11 ((⟨𝑤, 𝑔⟩ ∈ 𝐴 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦) ↔ (𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
2115, 16, 203bitri 285 . . . . . . . . . 10 (⟨𝑤, 𝑔⟩ ∈ 𝐵 ↔ (𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
2221eubii 2480 . . . . . . . . 9 (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 ↔ ∃!𝑔(𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
23 euanv 2522 . . . . . . . . 9 (∃!𝑔(𝑤 ∧ (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)) ↔ (𝑤 ∧ ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)))
2422, 23bitr2i 264 . . . . . . . 8 ((𝑤 ∧ ∃!𝑔(𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦)) ↔ ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵)
2514, 24syl6ib 240 . . . . . . 7 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵))
26 euex 2482 . . . . . . . 8 (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → ∃𝑔𝑤, 𝑔⟩ ∈ 𝐵)
27 nfeu1 2468 . . . . . . . . . 10 𝑔∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵
28 nfv 1830 . . . . . . . . . 10 𝑔(𝐵𝑤) ∈ 𝑤
2927, 28nfim 1813 . . . . . . . . 9 𝑔(∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤)
3021simprbi 479 . . . . . . . . . . 11 (⟨𝑤, 𝑔⟩ ∈ 𝐵 → (𝑔𝑤 ∧ ⟨𝑤, 𝑔⟩ ∈ 𝑦))
3130simpld 474 . . . . . . . . . 10 (⟨𝑤, 𝑔⟩ ∈ 𝐵𝑔𝑤)
32 tz6.12 6121 . . . . . . . . . . . . 13 ((⟨𝑤, 𝑔⟩ ∈ 𝐵 ∧ ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵) → (𝐵𝑤) = 𝑔)
3332eleq1d 2672 . . . . . . . . . . . 12 ((⟨𝑤, 𝑔⟩ ∈ 𝐵 ∧ ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵) → ((𝐵𝑤) ∈ 𝑤𝑔𝑤))
3433biimparc 503 . . . . . . . . . . 11 ((𝑔𝑤 ∧ (⟨𝑤, 𝑔⟩ ∈ 𝐵 ∧ ∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵)) → (𝐵𝑤) ∈ 𝑤)
3534exp32 629 . . . . . . . . . 10 (𝑔𝑤 → (⟨𝑤, 𝑔⟩ ∈ 𝐵 → (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤)))
3631, 35mpcom 37 . . . . . . . . 9 (⟨𝑤, 𝑔⟩ ∈ 𝐵 → (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤))
3729, 36exlimi 2073 . . . . . . . 8 (∃𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤))
3826, 37mpcom 37 . . . . . . 7 (∃!𝑔𝑤, 𝑔⟩ ∈ 𝐵 → (𝐵𝑤) ∈ 𝑤)
3925, 38syl6 34 . . . . . 6 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ((𝑤 ≠ ∅ ∧ 𝑤) → (𝐵𝑤) ∈ 𝑤))
4039expcomd 453 . . . . 5 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → (𝑤 → (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤)))
4140ralrimiv 2948 . . . 4 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ∀𝑤 (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤))
42 vex 3176 . . . . . . 7 𝑦 ∈ V
4342inex2 4728 . . . . . 6 ( 𝐴𝑦) ∈ V
442, 43eqeltri 2684 . . . . 5 𝐵 ∈ V
45 fveq1 6102 . . . . . . . 8 (𝑓 = 𝐵 → (𝑓𝑤) = (𝐵𝑤))
4645eleq1d 2672 . . . . . . 7 (𝑓 = 𝐵 → ((𝑓𝑤) ∈ 𝑤 ↔ (𝐵𝑤) ∈ 𝑤))
4746imbi2d 329 . . . . . 6 (𝑓 = 𝐵 → ((𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤) ↔ (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤)))
4847ralbidv 2969 . . . . 5 (𝑓 = 𝐵 → (∀𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤) ↔ ∀𝑤 (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤)))
4944, 48spcev 3273 . . . 4 (∀𝑤 (𝑤 ≠ ∅ → (𝐵𝑤) ∈ 𝑤) → ∃𝑓𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤))
5041, 49syl 17 . . 3 (∀𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ∃𝑓𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤))
5150exlimiv 1845 . 2 (∃𝑦𝑧𝐴 ∃!𝑣 𝑣 ∈ (𝑧𝑦) → ∃𝑓𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤))
524, 51syl 17 1 (𝜑 → ∃𝑓𝑤 (𝑤 ≠ ∅ → (𝑓𝑤) ∈ 𝑤))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383  wal 1473   = wceq 1475  wex 1695  wcel 1977  ∃!weu 2458  {cab 2596  wne 2780  wral 2896  wrex 2897  Vcvv 3173  cin 3539  c0 3874  {csn 4125  cop 4131   cuni 4372   × cxp 5036  cfv 5804
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-op 4132  df-uni 4373  df-br 4584  df-opab 4644  df-xp 5044  df-rel 5045  df-cnv 5046  df-dm 5048  df-rn 5049  df-iota 5768  df-fv 5812
This theorem is referenced by:  dfac5  8834
  Copyright terms: Public domain W3C validator