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

Theorem marypha2 9468
Description: Version of marypha1 9463 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 9374 . . 3 (𝜑 → ∪ ran 𝐹 ∈ Fin)
4 eqid 2763 . . . . 5 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) = ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥))
54marypha2lem1 9464 . . . 4 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ⊆ (𝐴 × ∪ ran 𝐹)
65a1i 11 . . 3 (𝜑 → ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ⊆ (𝐴 × ∪ ran 𝐹))
7 marypha2.c . . . 4 ((𝜑 ∧ 𝑑 ⊆ 𝐴) → 𝑑 ≼ ∪ (𝐹 “ 𝑑))
82ffnd 6740 . . . . 5 (𝜑 → 𝐹 Fn 𝐴)
94marypha2lem4 9467 . . . . 5 ((𝐹 Fn 𝐴 ∧ 𝑑 ⊆ 𝐴) → (∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) “ 𝑑) = ∪ (𝐹 “ 𝑑))
108, 9sylan 592 . . . 4 ((𝜑 ∧ 𝑑 ⊆ 𝐴) → (∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) “ 𝑑) = ∪ (𝐹 “ 𝑑))
117, 10breqtrrd 5139 . . 3 ((𝜑 ∧ 𝑑 ⊆ 𝐴) → 𝑑 ≼ (∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) “ 𝑑))
121, 3, 6, 11marypha1 9463 . 2 (𝜑 → ∃𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥))𝑔:𝐴⟶1-1∪ ran 𝐹)
13 df-rex 3091 . . 3 (∃𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥))𝑔:𝐴⟶1-1∪ ran 𝐹 ↔ ∃𝑔(𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹))
14 ssv 3937 . . . . . . . 8 ∪ ran 𝐹 ⊆ V
15 f1ss 6815 . . . . . . . 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 4567 . . . . . . . 8 (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) → 𝑔 ⊆ ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)))
1918ad2antrl 741 . . . . . . 7 ((𝜑 ∧ (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹)) → 𝑔 ⊆ ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)))
20 f1fn 6809 . . . . . . . . 9 (𝑔:𝐴⟶1-1∪ ran 𝐹 → 𝑔 Fn 𝐴)
2120ad2antll 742 . . . . . . . 8 ((𝜑 ∧ (𝑔 ∈ 𝒫 ∪ 𝑥 ∈ 𝐴 ({𝑥} × (𝐹‘𝑥)) ∧ 𝑔:𝐴⟶1-1∪ ran 𝐹)) → 𝑔 Fn 𝐴)
224marypha2lem3 9466 . . . . . . . 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 1952 . . 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 1570  ∃wex 1812   ∈ wcel 2147  ∀wral 3080  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900  𝒫 cpw 4560  {csn 4588  ∪ cuni 4872  ∪ ciun 4956   class class class wbr 5108   × cxp 5656  ran crn 5659   “ cima 5661   Fn wfn 6561  ⟶wf 6562  ⟶1-1wf1 6563  ‘cfv 6566   ≼ cdom 9009  Fincfn 9011
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
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 2102  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-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  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 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-om 7912  df-1st 8035  df-2nd 8036  df-1o 8514  df-er 8755  df-en 9012  df-dom 9013  df-sdom 9014  df-fin 9015
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator