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

Theorem dfac8clem 10124
Description: Lemma for dfac8c 10125. (Contributed by Mario Carneiro, 10-Jan-2013.)
Hypothesis
Ref Expression
dfac8clem.1 𝐹 = (𝑠 ∈ (𝐴 ∖ {∅}) ↦ (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
Assertion
Ref Expression
dfac8clem (𝐴 ∈ 𝐵 → (∃𝑟 𝑟 We ∪ 𝐴 → ∃𝑓∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧)))
Distinct variable groups:   𝑎,𝑏,𝑓,𝑟,𝑠,𝑧,𝐴   𝐵,𝑟,𝑠   𝑓,𝐹,𝑧
Allowed substitution hints:   𝐵(𝑧, 𝑓, 𝑎, 𝑏)   𝐹(𝑠, 𝑟, 𝑎, 𝑏)

Proof of Theorem dfac8clem
StepHypRef Expression
1 eldifsn 4748 . . . . . . 7 (𝑠 ∈ (𝐴 ∖ {∅}) ↔ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅))
2 elssuni 4902 . . . . . . . . 9 (𝑠 ∈ 𝐴 → 𝑠 ⊆ ∪ 𝐴)
32ad2antrl 741 . . . . . . . 8 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → 𝑠 ⊆ ∪ 𝐴)
4 simplr 781 . . . . . . . . . 10 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → 𝑟 We ∪ 𝐴)
5 vex 3458 . . . . . . . . . . 11 𝑟 ∈ V
6 exse2 7939 . . . . . . . . . . 11 (𝑟 ∈ V → 𝑟 Se ∪ 𝐴)
75, 6mp1i 14 . . . . . . . . . 10 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → 𝑟 Se ∪ 𝐴)
8 simprr 785 . . . . . . . . . 10 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → 𝑠 ≠ ∅)
9 wereu2 5652 . . . . . . . . . 10 (((𝑟 We ∪ 𝐴 ∧ 𝑟 Se ∪ 𝐴) ∧ (𝑠 ⊆ ∪ 𝐴 ∧ 𝑠 ≠ ∅)) → ∃!𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎)
104, 7, 3, 8, 9syl22anc 852 . . . . . . . . 9 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → ∃!𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎)
11 riotacl 7404 . . . . . . . . 9 (∃!𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎 → (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ 𝑠)
1210, 11syl 18 . . . . . . . 8 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ 𝑠)
133, 12sseldd 3914 . . . . . . 7 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ ∪ 𝐴)
141, 13sylan2b 606 . . . . . 6 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ 𝑠 ∈ (𝐴 ∖ {∅})) → (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ ∪ 𝐴)
15 dfac8clem.1 . . . . . 6 𝐹 = (𝑠 ∈ (𝐴 ∖ {∅}) ↦ (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
1614, 15fmptd 7125 . . . . 5 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → 𝐹:(𝐴 ∖ {∅})⟶∪ 𝐴)
17 difexg 5295 . . . . . 6 (𝐴 ∈ 𝐵 → (𝐴 ∖ {∅}) ∈ V)
1817adantr 486 . . . . 5 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → (𝐴 ∖ {∅}) ∈ V)
19 uniexg 7767 . . . . . 6 (𝐴 ∈ 𝐵 → ∪ 𝐴 ∈ V)
2019adantr 486 . . . . 5 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → ∪ 𝐴 ∈ V)
21 fex2 7958 . . . . 5 ((𝐹:(𝐴 ∖ {∅})⟶∪ 𝐴 ∧ (𝐴 ∖ {∅}) ∈ V ∧ ∪ 𝐴 ∈ V) → 𝐹 ∈ V)
2216, 18, 20, 21syl3anc 1398 . . . 4 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → 𝐹 ∈ V)
23 riotaex 7391 . . . . . . . . . . 11 (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ V
2415fvmpt2 7016 . . . . . . . . . . 11 ((𝑠 ∈ (𝐴 ∖ {∅}) ∧ (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ V) → (𝐹‘𝑠) = (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
2523, 24mpan2 704 . . . . . . . . . 10 (𝑠 ∈ (𝐴 ∖ {∅}) → (𝐹‘𝑠) = (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
261, 25sylbir 238 . . . . . . . . 9 ((𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅) → (𝐹‘𝑠) = (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
2726adantl 487 . . . . . . . 8 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → (𝐹‘𝑠) = (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
2827, 12eqeltrd 2864 . . . . . . 7 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → (𝐹‘𝑠) ∈ 𝑠)
2928expr 462 . . . . . 6 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ 𝑠 ∈ 𝐴) → (𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠))
3029ralrimiva 3158 . . . . 5 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → ∀𝑠 ∈ 𝐴 (𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠))
31 nfv 1948 . . . . . . 7 Ⅎ𝑠 𝑧 ≠ ∅
32 nfmpt1 5207 . . . . . . . . . 10 Ⅎ𝑠(𝑠 ∈ (𝐴 ∖ {∅}) ↦ (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
3315, 32nfcxfr 2924 . . . . . . . . 9 Ⅎ𝑠𝐹
34 nfcv 2926 . . . . . . . . 9 Ⅎ𝑠𝑧
3533, 34nffv 6906 . . . . . . . 8 Ⅎ𝑠(𝐹‘𝑧)
3635nfel1 2942 . . . . . . 7 Ⅎ𝑠(𝐹‘𝑧) ∈ 𝑧
3731, 36nfim 1930 . . . . . 6 Ⅎ𝑠(𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧)
38 nfv 1948 . . . . . 6 Ⅎ𝑧(𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠)
39 neeq1 3021 . . . . . . 7 (𝑧 = 𝑠 → (𝑧 ≠ ∅ ↔ 𝑠 ≠ ∅))
40 fveq2 6896 . . . . . . . 8 (𝑧 = 𝑠 → (𝐹‘𝑧) = (𝐹‘𝑠))
41 id 23 . . . . . . . 8 (𝑧 = 𝑠 → 𝑧 = 𝑠)
4240, 41eleq12d 2858 . . . . . . 7 (𝑧 = 𝑠 → ((𝐹‘𝑧) ∈ 𝑧 ↔ (𝐹‘𝑠) ∈ 𝑠))
4339, 42imbi12d 347 . . . . . 6 (𝑧 = 𝑠 → ((𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧) ↔ (𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠)))
4437, 38, 43cbvralw 3308 . . . . 5 (∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧) ↔ ∀𝑠 ∈ 𝐴 (𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠))
4530, 44sylibr 237 . . . 4 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → ∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧))
46 fveq1 6895 . . . . . . 7 (𝑓 = 𝐹 → (𝑓‘𝑧) = (𝐹‘𝑧))
4746eleq1d 2849 . . . . . 6 (𝑓 = 𝐹 → ((𝑓‘𝑧) ∈ 𝑧 ↔ (𝐹‘𝑧) ∈ 𝑧))
4847imbi2d 343 . . . . 5 (𝑓 = 𝐹 → ((𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧) ↔ (𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧)))
4948ralbidv 3189 . . . 4 (𝑓 = 𝐹 → (∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧) ↔ ∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧)))
5022, 45, 49spcedv 3556 . . 3 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → ∃𝑓∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧))
5150ex 418 . 2 (𝐴 ∈ 𝐵 → (𝑟 We ∪ 𝐴 → ∃𝑓∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧)))
5251exlimdv 1967 1 (𝐴 ∈ 𝐵 → (∃𝑟 𝑟 We ∪ 𝐴 → ∃𝑓∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1569  ∃wex 1811   ∈ wcel 2146   ≠ wne 2959  ∀wral 3080  ∃!wreu 3367  Vcvv 3454   ⊆ wss 3900   ∖ cdif 4048  ∅c0 4281  {csn 4588  ∪ cuni 4870   class class class wbr 5106   ↦ cmpt 5189   Se wse 5606   We wwe 5607  ⟶wf 6543  ‘cfv 6547  ℩crio 7386
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-mpt 5190  df-id 5550  df-po 5563  df-so 5564  df-fr 5608  df-se 5609  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-fv 6555  df-riota 7387
This theorem is used by:  dfac8c  10125
  Copyright terms: Public domain W3C validator