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

Theorem marypha2 9487
Description: Version of marypha1 9482 using a functional family of sets instead of a relation. (Contributed by Stefan O'Rear, 20-Feb-2015.)
Hypotheses
Ref Expression
marypha2.a (𝜑 → 𝐴 ∈ Fin)
marypha2.b (𝜑 → 𝐹:𝐴⟶Fin)
marypha2.c ((𝜑 ∧ 𝑑 ⊆ 𝐴) → 𝑑 ≼ ∪ (𝐹 “ 𝑑))
Assertion
Ref Expression
marypha2 (𝜑 → ∃𝑔(𝑔:𝐴⟶1-1V ∧ ∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝐹‘𝑥)))
Distinct variable groups:   𝜑,𝑑,𝑔,𝑥   𝐴,𝑑,𝑔,𝑥   𝐹,𝑑,𝑔,𝑥

Proof of Theorem marypha2
StepHypRef Expression
1 marypha2.a . . 3 (𝜑 → 𝐴 ∈ Fin)
2 marypha2.b . . . 4 (𝜑 → 𝐹:𝐴⟶Fin)
32, 1unirnffid 9393 . . 3 (𝜑 → ∪ ran 𝐹 ∈ Fin)
4 eqid 2774 . . . . 5 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) = ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥))
54marypha2lem1 9483 . . . 4 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ⊆ (𝐴 × ∪ ran 𝐹)
65a1i 11 . . 3 (𝜑 → ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ⊆ (𝐴 × ∪ ran 𝐹))
7 marypha2.c . . . 4 ((𝜑 ∧ 𝑑 ⊆ 𝐴) → 𝑑 ≼ ∪ (𝐹 “ 𝑑))
82ffnd 6758 . . . . 5 (𝜑 → 𝐹 Fn 𝐴)
94marypha2lem4 9486 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝑑 ⊆ 𝐴) → (∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) “ 𝑑) = ∪ (𝐹 “ 𝑑))
108, 9sylan 592 . . . 4 ((𝜑 ∧ 𝑑 ⊆ 𝐴) → (∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) “ 𝑑) = ∪ (𝐹 “ 𝑑))
117, 10breqtrrd 5147 . . 3 ((𝜑 ∧ 𝑑 ⊆ 𝐴) → 𝑑 ≼ (∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) “ 𝑑))
121, 3, 6, 11marypha1 9482 . 2 (𝜑 → ∃𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥))𝑔:𝐴⟶1-1∪ ran 𝐹)
13 df-rex 3102 . . 3 (∃𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥))𝑔:𝐴⟶1-1∪ ran 𝐹 ↔ ∃𝑔(𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹))
14 ssv 3944 . . . . . . . 8 ∪ ran 𝐹 ⊆ V
15 f1ss 6833 . . . . . . . 8 ((𝑔:𝐴⟶1-1∪ ran 𝐹 ∧ ∪ ran 𝐹 ⊆ V) → 𝑔:𝐴⟶1-1V)
1614, 15mpan2 704 . . . . . . 7 (𝑔:𝐴⟶1-1∪ ran 𝐹 → 𝑔:𝐴⟶1-1V)
1716ad2antll 742 . . . . . 6 ((𝜑 ∧ (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹)) → 𝑔:𝐴⟶1-1V)
18 elpwi 4574 . . . . . . . 8 (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) → 𝑔 ⊆ ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)))
1918ad2antrl 741 . . . . . . 7 ((𝜑 ∧ (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹)) → 𝑔 ⊆ ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)))
20 f1fn 6827 . . . . . . . . 9 (𝑔:𝐴⟶1-1∪ ran 𝐹 → 𝑔 Fn 𝐴)
2120ad2antll 742 . . . . . . . 8 ((𝜑 ∧ (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹)) → 𝑔 Fn 𝐴)
224marypha2lem3 9485 . . . . . . . 8 ((𝐹 Fn 𝐴 ∧ 𝑔 Fn 𝐴) → (𝑔 ⊆ ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ↔ ∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝐹‘𝑥)))
238, 21, 22syl2an2r 698 . . . . . . 7 ((𝜑 ∧ (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹)) → (𝑔 ⊆ ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ↔ ∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝐹‘𝑥)))
2419, 23mpbid 235 . . . . . 6 ((𝜑 ∧ (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹)) → ∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝐹‘𝑥))
2517, 24jca 521 . . . . 5 ((𝜑 ∧ (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹)) → (𝑔:𝐴⟶1-1V ∧ ∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝐹‘𝑥)))
2625ex 418 . . . 4 (𝜑 → ((𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹) → (𝑔:𝐴⟶1-1V ∧ ∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝐹‘𝑥))))
2726eximdv 1959 . . 3 (𝜑 → (∃𝑔(𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹) → ∃𝑔(𝑔:𝐴⟶1-1V ∧ ∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝐹‘𝑥))))
2813, 27biimtrid 245 . 2 (𝜑 → (∃𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥))𝑔:𝐴⟶1-1∪ ran 𝐹 → ∃𝑔(𝑔:𝐴⟶1-1V ∧ ∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝐹‘𝑥))))
2912, 28mpd 16 1 (𝜑 → ∃𝑔(𝑔:𝐴⟶1-1V ∧ ∀𝑥 ∈ 𝐴 (𝑔‘𝑥) ∈ (𝐹‘𝑥)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ∃wex 1818   ∈ wcel 2156  ∀wral 3091  ∃wrex 3101  Vcvv 3461   ⊆ wss 3907  𝒫 cpw 4567  {csn 4595  ∪ cuni 4880  ∪ ciun 4964   class class class wbr 5116   × cxp 5664  ran crn 5667   “ cima 5669   Fn wfn 6574  ⟶wf 6575  ⟶1-1wf1 6576  ‘cfv 6579   ≼ cdom 9028  Fincfn 9030
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-om 7931  df-1st 8054  df-2nd 8055  df-1o 8533  df-er 8774  df-en 9031  df-dom 9032  df-sdom 9033  df-fin 9034
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator