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

Theorem dfac8clem 10111
Description: Lemma for dfac8c 10112. (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 4899 . . . . . . . . 9 (𝑠 ∈ 𝐴 → 𝑠 ⊆ ∪ 𝐴)
32ad2antrl 741 . . . . . . . 8 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → 𝑠 ⊆ ∪ 𝐴)
4 simplr 781 . . . . . . . . . 10 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → 𝑟 We ∪ 𝐴)
5 vex 3455 . . . . . . . . . . 11 𝑟 ∈ V
6 exse2 7929 . . . . . . . . . . 11 (𝑟 ∈ V → 𝑟 Se ∪ 𝐴)
75, 6mp1i 14 . . . . . . . . . 10 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → 𝑟 Se ∪ 𝐴)
8 simprr 785 . . . . . . . . . 10 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → 𝑠 ≠ ∅)
9 wereu2 5648 . . . . . . . . . 10 (((𝑟 We ∪ 𝐴 ∧ 𝑟 Se ∪ 𝐴) ∧ (𝑠 ⊆ ∪ 𝐴 ∧ 𝑠 ≠ ∅)) → ∃!𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎)
104, 7, 3, 8, 9syl22anc 852 . . . . . . . . 9 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → ∃!𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎)
11 riotacl 7394 . . . . . . . . 9 (∃!𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎 → (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ 𝑠)
1210, 11syl 18 . . . . . . . 8 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ 𝑠)
133, 12sseldd 3932 . . . . . . 7 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ ∪ 𝐴)
141, 13sylan2b 606 . . . . . 6 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ 𝑠 ∈ (𝐴 ∖ {∅})) → (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ ∪ 𝐴)
15 dfac8clem.1 . . . . . 6 𝐹 = (𝑠 ∈ (𝐴 ∖ {∅}) ↦ (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
1614, 15fmptd 7114 . . . . 5 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → 𝐹:(𝐴 ∖ {∅})⟶∪ 𝐴)
17 difexg 5291 . . . . . 6 (𝐴 ∈ 𝐵 → (𝐴 ∖ {∅}) ∈ V)
1817adantr 486 . . . . 5 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → (𝐴 ∖ {∅}) ∈ V)
19 uniexg 7757 . . . . . 6 (𝐴 ∈ 𝐵 → ∪ 𝐴 ∈ V)
2019adantr 486 . . . . 5 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → ∪ 𝐴 ∈ V)
21 fex2 7948 . . . . 5 ((𝐹:(𝐴 ∖ {∅})⟶∪ 𝐴 ∧ (𝐴 ∖ {∅}) ∈ V ∧ ∪ 𝐴 ∈ V) → 𝐹 ∈ V)
2216, 18, 20, 21syl3anc 1398 . . . 4 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → 𝐹 ∈ V)
23 riotaex 7381 . . . . . . . . . . 11 (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ V
2415fvmpt2 7005 . . . . . . . . . . 11 ((𝑠 ∈ (𝐴 ∖ {∅}) ∧ (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎) ∈ V) → (𝐹‘𝑠) = (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
2523, 24mpan2 704 . . . . . . . . . 10 (𝑠 ∈ (𝐴 ∖ {∅}) → (𝐹‘𝑠) = (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
261, 25sylbir 238 . . . . . . . . 9 ((𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅) → (𝐹‘𝑠) = (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
2726adantl 487 . . . . . . . 8 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → (𝐹‘𝑠) = (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
2827, 12eqeltrd 2861 . . . . . . 7 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ (𝑠 ∈ 𝐴 ∧ 𝑠 ≠ ∅)) → (𝐹‘𝑠) ∈ 𝑠)
2928expr 462 . . . . . 6 (((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) ∧ 𝑠 ∈ 𝐴) → (𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠))
3029ralrimiva 3155 . . . . 5 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → ∀𝑠 ∈ 𝐴 (𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠))
31 nfv 1947 . . . . . . 7 Ⅎ𝑠 𝑧 ≠ ∅
32 nfmpt1 5204 . . . . . . . . . 10 Ⅎ𝑠(𝑠 ∈ (𝐴 ∖ {∅}) ↦ (℩𝑎 ∈ 𝑠 ∀𝑏 ∈ 𝑠 ¬ 𝑏𝑟𝑎))
3315, 32nfcxfr 2921 . . . . . . . . 9 Ⅎ𝑠𝐹
34 nfcv 2923 . . . . . . . . 9 Ⅎ𝑠𝑧
3533, 34nffv 6895 . . . . . . . 8 Ⅎ𝑠(𝐹‘𝑧)
3635nfel1 2939 . . . . . . 7 Ⅎ𝑠(𝐹‘𝑧) ∈ 𝑧
3731, 36nfim 1929 . . . . . 6 Ⅎ𝑠(𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧)
38 nfv 1947 . . . . . 6 Ⅎ𝑧(𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠)
39 neeq1 3018 . . . . . . 7 (𝑧 = 𝑠 → (𝑧 ≠ ∅ ↔ 𝑠 ≠ ∅))
40 fveq2 6885 . . . . . . . 8 (𝑧 = 𝑠 → (𝐹‘𝑧) = (𝐹‘𝑠))
41 id 23 . . . . . . . 8 (𝑧 = 𝑠 → 𝑧 = 𝑠)
4240, 41eleq12d 2855 . . . . . . 7 (𝑧 = 𝑠 → ((𝐹‘𝑧) ∈ 𝑧 ↔ (𝐹‘𝑠) ∈ 𝑠))
4339, 42imbi12d 347 . . . . . 6 (𝑧 = 𝑠 → ((𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧) ↔ (𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠)))
4437, 38, 43cbvralw 3305 . . . . 5 (∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧) ↔ ∀𝑠 ∈ 𝐴 (𝑠 ≠ ∅ → (𝐹‘𝑠) ∈ 𝑠))
4530, 44sylibr 237 . . . 4 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → ∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧))
46 fveq1 6884 . . . . . . 7 (𝑓 = 𝐹 → (𝑓‘𝑧) = (𝐹‘𝑧))
4746eleq1d 2846 . . . . . 6 (𝑓 = 𝐹 → ((𝑓‘𝑧) ∈ 𝑧 ↔ (𝐹‘𝑧) ∈ 𝑧))
4847imbi2d 343 . . . . 5 (𝑓 = 𝐹 → ((𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧) ↔ (𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧)))
4948ralbidv 3186 . . . 4 (𝑓 = 𝐹 → (∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧) ↔ ∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝐹‘𝑧) ∈ 𝑧)))
5022, 45, 49spcedv 3553 . . 3 ((𝐴 ∈ 𝐵 ∧ 𝑟 We ∪ 𝐴) → ∃𝑓∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧))
5150ex 418 . 2 (𝐴 ∈ 𝐵 → (𝑟 We ∪ 𝐴 → ∃𝑓∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧)))
5251exlimdv 1966 1 (𝐴 ∈ 𝐵 → (∃𝑟 𝑟 We ∪ 𝐴 → ∃𝑓∀𝑧 ∈ 𝐴 (𝑧 ≠ ∅ → (𝑓‘𝑧) ∈ 𝑧)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570  ∃wex 1812   ∈ wcel 2145   ≠ wne 2956  ∀wral 3077  ∃!wreu 3364  Vcvv 3451   ∖ cdif 3896   ⊆ wss 3899  ∅c0 4279  {csn 4584  ∪ cuni 4867   class class class wbr 5103   ↦ cmpt 5186   Se wse 5602   We wwe 5603  ⟶wf 6534  ‘cfv 6538  ℩crio 7376
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-po 5559  df-so 5560  df-fr 5604  df-se 5605  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-fv 6546  df-riota 7377
This theorem is used by:  dfac8c  10112
  Copyright terms: Public domain W3C validator