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

Theorem ac6num 9245
Description: A version of ac6 9246 which takes the choice as a hypothesis. (Contributed by Mario Carneiro, 27-Aug-2015.)
Hypothesis
Ref Expression
ac6num.1 (𝑦 = (𝑓𝑥) → (𝜑𝜓))
Assertion
Ref Expression
ac6num ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 𝜓))
Distinct variable groups:   𝑥,𝑓,𝐴   𝑦,𝑓,𝐵,𝑥   𝜑,𝑓   𝜓,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑓)   𝐴(𝑦)   𝑉(𝑥,𝑦,𝑓)

Proof of Theorem ac6num
Dummy variables 𝑔 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 nfiu1 4516 . . . . . . . . 9 𝑥 𝑥𝐴 {𝑦𝐵𝜑}
21nfel1 2775 . . . . . . . 8 𝑥 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card
3 ssiun2 4529 . . . . . . . . 9 (𝑥𝐴 → {𝑦𝐵𝜑} ⊆ 𝑥𝐴 {𝑦𝐵𝜑})
4 ssexg 4764 . . . . . . . . . 10 (({𝑦𝐵𝜑} ⊆ 𝑥𝐴 {𝑦𝐵𝜑} ∧ 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card) → {𝑦𝐵𝜑} ∈ V)
54expcom 451 . . . . . . . . 9 ( 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card → ({𝑦𝐵𝜑} ⊆ 𝑥𝐴 {𝑦𝐵𝜑} → {𝑦𝐵𝜑} ∈ V))
63, 5syl5 34 . . . . . . . 8 ( 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card → (𝑥𝐴 → {𝑦𝐵𝜑} ∈ V))
72, 6ralrimi 2951 . . . . . . 7 ( 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card → ∀𝑥𝐴 {𝑦𝐵𝜑} ∈ V)
8 dfiun2g 4518 . . . . . . 7 (∀𝑥𝐴 {𝑦𝐵𝜑} ∈ V → 𝑥𝐴 {𝑦𝐵𝜑} = {𝑧 ∣ ∃𝑥𝐴 𝑧 = {𝑦𝐵𝜑}})
97, 8syl 17 . . . . . 6 ( 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card → 𝑥𝐴 {𝑦𝐵𝜑} = {𝑧 ∣ ∃𝑥𝐴 𝑧 = {𝑦𝐵𝜑}})
10 eqid 2621 . . . . . . . 8 (𝑥𝐴 ↦ {𝑦𝐵𝜑}) = (𝑥𝐴 ↦ {𝑦𝐵𝜑})
1110rnmpt 5331 . . . . . . 7 ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) = {𝑧 ∣ ∃𝑥𝐴 𝑧 = {𝑦𝐵𝜑}}
1211unieqi 4411 . . . . . 6 ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) = {𝑧 ∣ ∃𝑥𝐴 𝑧 = {𝑦𝐵𝜑}}
139, 12syl6eqr 2673 . . . . 5 ( 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card → 𝑥𝐴 {𝑦𝐵𝜑} = ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}))
14 id 22 . . . . 5 ( 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card → 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card)
1513, 14eqeltrrd 2699 . . . 4 ( 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card → ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∈ dom card)
16153ad2ant2 1081 . . 3 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∈ dom card)
17 simp3 1061 . . . . 5 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∀𝑥𝐴𝑦𝐵 𝜑)
18 necom 2843 . . . . . . . 8 ({𝑦𝐵𝜑} ≠ ∅ ↔ ∅ ≠ {𝑦𝐵𝜑})
19 rabn0 3932 . . . . . . . 8 ({𝑦𝐵𝜑} ≠ ∅ ↔ ∃𝑦𝐵 𝜑)
20 df-ne 2791 . . . . . . . 8 (∅ ≠ {𝑦𝐵𝜑} ↔ ¬ ∅ = {𝑦𝐵𝜑})
2118, 19, 203bitr3i 290 . . . . . . 7 (∃𝑦𝐵 𝜑 ↔ ¬ ∅ = {𝑦𝐵𝜑})
2221ralbii 2974 . . . . . 6 (∀𝑥𝐴𝑦𝐵 𝜑 ↔ ∀𝑥𝐴 ¬ ∅ = {𝑦𝐵𝜑})
23 ralnex 2986 . . . . . 6 (∀𝑥𝐴 ¬ ∅ = {𝑦𝐵𝜑} ↔ ¬ ∃𝑥𝐴 ∅ = {𝑦𝐵𝜑})
2422, 23bitri 264 . . . . 5 (∀𝑥𝐴𝑦𝐵 𝜑 ↔ ¬ ∃𝑥𝐴 ∅ = {𝑦𝐵𝜑})
2517, 24sylib 208 . . . 4 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ¬ ∃𝑥𝐴 ∅ = {𝑦𝐵𝜑})
26 0ex 4750 . . . . 5 ∅ ∈ V
2710elrnmpt 5332 . . . . 5 (∅ ∈ V → (∅ ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ↔ ∃𝑥𝐴 ∅ = {𝑦𝐵𝜑}))
2826, 27ax-mp 5 . . . 4 (∅ ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ↔ ∃𝑥𝐴 ∅ = {𝑦𝐵𝜑})
2925, 28sylnibr 319 . . 3 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ¬ ∅ ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}))
30 ac5num 8803 . . 3 (( ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∈ dom card ∧ ¬ ∅ ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})) → ∃𝑔(𝑔:ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})⟶ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧))
3116, 29, 30syl2anc 692 . 2 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑔(𝑔:ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})⟶ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧))
32 ffn 6002 . . . . . 6 (𝑔:ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})⟶ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) → 𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}))
3332anim1i 591 . . . . 5 ((𝑔:ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})⟶ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧) → (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧))
3473ad2ant2 1081 . . . . . . 7 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∀𝑥𝐴 {𝑦𝐵𝜑} ∈ V)
35 fveq2 6148 . . . . . . . . 9 (𝑧 = {𝑦𝐵𝜑} → (𝑔𝑧) = (𝑔‘{𝑦𝐵𝜑}))
36 id 22 . . . . . . . . 9 (𝑧 = {𝑦𝐵𝜑} → 𝑧 = {𝑦𝐵𝜑})
3735, 36eleq12d 2692 . . . . . . . 8 (𝑧 = {𝑦𝐵𝜑} → ((𝑔𝑧) ∈ 𝑧 ↔ (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑}))
3810, 37ralrnmpt 6324 . . . . . . 7 (∀𝑥𝐴 {𝑦𝐵𝜑} ∈ V → (∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧 ↔ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑}))
3934, 38syl 17 . . . . . 6 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → (∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧 ↔ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑}))
4039anbi2d 739 . . . . 5 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ((𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧) ↔ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})))
4133, 40syl5ib 234 . . . 4 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ((𝑔:ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})⟶ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧) → (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})))
423sseld 3582 . . . . . . . . . . 11 (𝑥𝐴 → ((𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑} → (𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑}))
4342ralimia 2945 . . . . . . . . . 10 (∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑} → ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑})
4443ad2antll 764 . . . . . . . . 9 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑})
45 nfv 1840 . . . . . . . . . 10 𝑧(𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑}
46 nfcsb1v 3530 . . . . . . . . . . 11 𝑥𝑧 / 𝑥(𝑔‘{𝑦𝐵𝜑})
4746, 1nfel 2773 . . . . . . . . . 10 𝑥𝑧 / 𝑥(𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑}
48 csbeq1a 3523 . . . . . . . . . . 11 (𝑥 = 𝑧 → (𝑔‘{𝑦𝐵𝜑}) = 𝑧 / 𝑥(𝑔‘{𝑦𝐵𝜑}))
4948eleq1d 2683 . . . . . . . . . 10 (𝑥 = 𝑧 → ((𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑} ↔ 𝑧 / 𝑥(𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑}))
5045, 47, 49cbvral 3155 . . . . . . . . 9 (∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑} ↔ ∀𝑧𝐴 𝑧 / 𝑥(𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑})
5144, 50sylib 208 . . . . . . . 8 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → ∀𝑧𝐴 𝑧 / 𝑥(𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑})
52 nfcv 2761 . . . . . . . . . 10 𝑧(𝑔‘{𝑦𝐵𝜑})
5352, 46, 48cbvmpt 4709 . . . . . . . . 9 (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) = (𝑧𝐴𝑧 / 𝑥(𝑔‘{𝑦𝐵𝜑}))
5453fmpt 6337 . . . . . . . 8 (∀𝑧𝐴 𝑧 / 𝑥(𝑔‘{𝑦𝐵𝜑}) ∈ 𝑥𝐴 {𝑦𝐵𝜑} ↔ (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})):𝐴 𝑥𝐴 {𝑦𝐵𝜑})
5551, 54sylib 208 . . . . . . 7 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})):𝐴 𝑥𝐴 {𝑦𝐵𝜑})
56 simpl1 1062 . . . . . . 7 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → 𝐴𝑉)
57 simpl2 1063 . . . . . . 7 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card)
58 fex2 7068 . . . . . . 7 (((𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})):𝐴 𝑥𝐴 {𝑦𝐵𝜑} ∧ 𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card) → (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) ∈ V)
5955, 56, 57, 58syl3anc 1323 . . . . . 6 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) ∈ V)
60 ssrab2 3666 . . . . . . . . . . 11 {𝑦𝐵𝜑} ⊆ 𝐵
6160sseli 3579 . . . . . . . . . 10 ((𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑} → (𝑔‘{𝑦𝐵𝜑}) ∈ 𝐵)
6261ralimi 2947 . . . . . . . . 9 (∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑} → ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ 𝐵)
6362ad2antll 764 . . . . . . . 8 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ 𝐵)
64 eqid 2621 . . . . . . . . 9 (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) = (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑}))
6564fmpt 6337 . . . . . . . 8 (∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ 𝐵 ↔ (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})):𝐴𝐵)
6663, 65sylib 208 . . . . . . 7 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})):𝐴𝐵)
67 nfcv 2761 . . . . . . . . . . 11 𝑦𝐵
6867elrabsf 3456 . . . . . . . . . 10 ((𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑} ↔ ((𝑔‘{𝑦𝐵𝜑}) ∈ 𝐵[(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑))
6968simprbi 480 . . . . . . . . 9 ((𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑} → [(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑)
7069ralimi 2947 . . . . . . . 8 (∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑} → ∀𝑥𝐴 [(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑)
7170ad2antll 764 . . . . . . 7 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → ∀𝑥𝐴 [(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑)
7266, 71jca 554 . . . . . 6 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → ((𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})):𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑))
73 feq1 5983 . . . . . . . 8 (𝑓 = (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) → (𝑓:𝐴𝐵 ↔ (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})):𝐴𝐵))
74 nfmpt1 4707 . . . . . . . . . 10 𝑥(𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑}))
7574nfeq2 2776 . . . . . . . . 9 𝑥 𝑓 = (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑}))
76 fvex 6158 . . . . . . . . . . 11 (𝑓𝑥) ∈ V
77 ac6num.1 . . . . . . . . . . 11 (𝑦 = (𝑓𝑥) → (𝜑𝜓))
7876, 77sbcie 3452 . . . . . . . . . 10 ([(𝑓𝑥) / 𝑦]𝜑𝜓)
79 fveq1 6147 . . . . . . . . . . . 12 (𝑓 = (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) → (𝑓𝑥) = ((𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑}))‘𝑥))
80 fvex 6158 . . . . . . . . . . . . 13 (𝑔‘{𝑦𝐵𝜑}) ∈ V
8164fvmpt2 6248 . . . . . . . . . . . . 13 ((𝑥𝐴 ∧ (𝑔‘{𝑦𝐵𝜑}) ∈ V) → ((𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑}))‘𝑥) = (𝑔‘{𝑦𝐵𝜑}))
8280, 81mpan2 706 . . . . . . . . . . . 12 (𝑥𝐴 → ((𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑}))‘𝑥) = (𝑔‘{𝑦𝐵𝜑}))
8379, 82sylan9eq 2675 . . . . . . . . . . 11 ((𝑓 = (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) ∧ 𝑥𝐴) → (𝑓𝑥) = (𝑔‘{𝑦𝐵𝜑}))
8483sbceq1d 3422 . . . . . . . . . 10 ((𝑓 = (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) ∧ 𝑥𝐴) → ([(𝑓𝑥) / 𝑦]𝜑[(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑))
8578, 84syl5bbr 274 . . . . . . . . 9 ((𝑓 = (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) ∧ 𝑥𝐴) → (𝜓[(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑))
8675, 85ralbida 2976 . . . . . . . 8 (𝑓 = (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) → (∀𝑥𝐴 𝜓 ↔ ∀𝑥𝐴 [(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑))
8773, 86anbi12d 746 . . . . . . 7 (𝑓 = (𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) → ((𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 𝜓) ↔ ((𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})):𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑)))
8887spcegv 3280 . . . . . 6 ((𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})) ∈ V → (((𝑥𝐴 ↦ (𝑔‘{𝑦𝐵𝜑})):𝐴𝐵 ∧ ∀𝑥𝐴 [(𝑔‘{𝑦𝐵𝜑}) / 𝑦]𝜑) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 𝜓)))
8959, 72, 88sylc 65 . . . . 5 (((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) ∧ (𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑})) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 𝜓))
9089ex 450 . . . 4 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ((𝑔 Fn ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑥𝐴 (𝑔‘{𝑦𝐵𝜑}) ∈ {𝑦𝐵𝜑}) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 𝜓)))
9141, 90syld 47 . . 3 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ((𝑔:ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})⟶ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 𝜓)))
9291exlimdv 1858 . 2 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → (∃𝑔(𝑔:ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})⟶ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑}) ∧ ∀𝑧 ∈ ran (𝑥𝐴 ↦ {𝑦𝐵𝜑})(𝑔𝑧) ∈ 𝑧) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 𝜓)))
9331, 92mpd 15 1 ((𝐴𝑉 𝑥𝐴 {𝑦𝐵𝜑} ∈ dom card ∧ ∀𝑥𝐴𝑦𝐵 𝜑) → ∃𝑓(𝑓:𝐴𝐵 ∧ ∀𝑥𝐴 𝜓))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384  w3a 1036   = wceq 1480  wex 1701  wcel 1987  {cab 2607  wne 2790  wral 2907  wrex 2908  {crab 2911  Vcvv 3186  [wsbc 3417  csb 3514  wss 3555  c0 3891   cuni 4402   ciun 4485  cmpt 4673  dom cdm 5074  ran crn 5075   Fn wfn 5842  wf 5843  cfv 5847  cardccrd 8705
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-int 4441  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-se 5034  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-ord 5685  df-on 5686  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-isom 5856  df-riota 6565  df-en 7900  df-card 8709
This theorem is referenced by:  ac6  9246  ptcmplem3  21768  poimirlem32  33070
  Copyright terms: Public domain W3C validator