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

Theorem mapxpen 8167
Description: Equinumerosity law for double set exponentiation. Proposition 10.45 of [TakeutiZaring] p. 96. (Contributed by NM, 21-Feb-2004.) (Revised by Mario Carneiro, 24-Jun-2015.)
Assertion
Ref Expression
mapxpen ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ≈ (𝐴𝑚 (𝐵 × 𝐶)))

Proof of Theorem mapxpen
Dummy variables 𝑓 𝑔 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ovexd 6720 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∈ V)
2 ovexd 6720 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝐴𝑚 (𝐵 × 𝐶)) ∈ V)
3 elmapi 7921 . . . . . . . . . 10 (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) → 𝑓:𝐶⟶(𝐴𝑚 𝐵))
43ffvelrnda 6399 . . . . . . . . 9 ((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑦𝐶) → (𝑓𝑦) ∈ (𝐴𝑚 𝐵))
5 elmapi 7921 . . . . . . . . 9 ((𝑓𝑦) ∈ (𝐴𝑚 𝐵) → (𝑓𝑦):𝐵𝐴)
64, 5syl 17 . . . . . . . 8 ((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑦𝐶) → (𝑓𝑦):𝐵𝐴)
76ffvelrnda 6399 . . . . . . 7 (((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑦𝐶) ∧ 𝑥𝐵) → ((𝑓𝑦)‘𝑥) ∈ 𝐴)
87an32s 863 . . . . . 6 (((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑥𝐵) ∧ 𝑦𝐶) → ((𝑓𝑦)‘𝑥) ∈ 𝐴)
98ralrimiva 2995 . . . . 5 ((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑥𝐵) → ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) ∈ 𝐴)
109ralrimiva 2995 . . . 4 (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) → ∀𝑥𝐵𝑦𝐶 ((𝑓𝑦)‘𝑥) ∈ 𝐴)
11 eqid 2651 . . . . 5 (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
1211fmpt2 7282 . . . 4 (∀𝑥𝐵𝑦𝐶 ((𝑓𝑦)‘𝑥) ∈ 𝐴 ↔ (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)):(𝐵 × 𝐶)⟶𝐴)
1310, 12sylib 208 . . 3 (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) → (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)):(𝐵 × 𝐶)⟶𝐴)
14 simp1 1081 . . . 4 ((𝐴𝑉𝐵𝑊𝐶𝑋) → 𝐴𝑉)
15 xpexg 7002 . . . . 5 ((𝐵𝑊𝐶𝑋) → (𝐵 × 𝐶) ∈ V)
16153adant1 1099 . . . 4 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝐵 × 𝐶) ∈ V)
17 elmapg 7912 . . . 4 ((𝐴𝑉 ∧ (𝐵 × 𝐶) ∈ V) → ((𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) ∈ (𝐴𝑚 (𝐵 × 𝐶)) ↔ (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)):(𝐵 × 𝐶)⟶𝐴))
1814, 16, 17syl2anc 694 . . 3 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) ∈ (𝐴𝑚 (𝐵 × 𝐶)) ↔ (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)):(𝐵 × 𝐶)⟶𝐴))
1913, 18syl5ibr 236 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) → (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) ∈ (𝐴𝑚 (𝐵 × 𝐶))))
20 elmapi 7921 . . . . . . . . 9 (𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)) → 𝑔:(𝐵 × 𝐶)⟶𝐴)
2120adantl 481 . . . . . . . 8 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) → 𝑔:(𝐵 × 𝐶)⟶𝐴)
22 fovrn 6846 . . . . . . . . . 10 ((𝑔:(𝐵 × 𝐶)⟶𝐴𝑥𝐵𝑦𝐶) → (𝑥𝑔𝑦) ∈ 𝐴)
23223expa 1284 . . . . . . . . 9 (((𝑔:(𝐵 × 𝐶)⟶𝐴𝑥𝐵) ∧ 𝑦𝐶) → (𝑥𝑔𝑦) ∈ 𝐴)
2423an32s 863 . . . . . . . 8 (((𝑔:(𝐵 × 𝐶)⟶𝐴𝑦𝐶) ∧ 𝑥𝐵) → (𝑥𝑔𝑦) ∈ 𝐴)
2521, 24sylanl1 683 . . . . . . 7 (((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) ∧ 𝑦𝐶) ∧ 𝑥𝐵) → (𝑥𝑔𝑦) ∈ 𝐴)
26 eqid 2651 . . . . . . 7 (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ (𝑥𝑔𝑦))
2725, 26fmptd 6425 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) ∧ 𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴)
28 elmapg 7912 . . . . . . . 8 ((𝐴𝑉𝐵𝑊) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ (𝐴𝑚 𝐵) ↔ (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴))
29283adant3 1101 . . . . . . 7 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ (𝐴𝑚 𝐵) ↔ (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴))
3029ad2antrr 762 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) ∧ 𝑦𝐶) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ (𝐴𝑚 𝐵) ↔ (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴))
3127, 30mpbird 247 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) ∧ 𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ (𝐴𝑚 𝐵))
32 eqid 2651 . . . . 5 (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
3331, 32fmptd 6425 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))):𝐶⟶(𝐴𝑚 𝐵))
3433ex 449 . . 3 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))):𝐶⟶(𝐴𝑚 𝐵)))
35 ovex 6718 . . . 4 (𝐴𝑚 𝐵) ∈ V
36 simp3 1083 . . . 4 ((𝐴𝑉𝐵𝑊𝐶𝑋) → 𝐶𝑋)
37 elmapg 7912 . . . 4 (((𝐴𝑚 𝐵) ∈ V ∧ 𝐶𝑋) → ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ↔ (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))):𝐶⟶(𝐴𝑚 𝐵)))
3835, 36, 37sylancr 696 . . 3 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ↔ (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))):𝐶⟶(𝐴𝑚 𝐵)))
3934, 38sylibrd 249 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶)))
40 elmapfn 7922 . . . . . . . 8 (𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)) → 𝑔 Fn (𝐵 × 𝐶))
4140ad2antll 765 . . . . . . 7 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑔 Fn (𝐵 × 𝐶))
42 fnov 6810 . . . . . . 7 (𝑔 Fn (𝐵 × 𝐶) ↔ 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑔𝑦)))
4341, 42sylib 208 . . . . . 6 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑔𝑦)))
44 simp3 1083 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → 𝑦𝐶)
4527adantlrl 756 . . . . . . . . . . . 12 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴)
46453adant2 1100 . . . . . . . . . . 11 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴)
47 simp1l2 1175 . . . . . . . . . . 11 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → 𝐵𝑊)
48 simp1l1 1174 . . . . . . . . . . 11 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → 𝐴𝑉)
49 fex2 7163 . . . . . . . . . . 11 (((𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴𝐵𝑊𝐴𝑉) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ V)
5046, 47, 48, 49syl3anc 1366 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ V)
5132fvmpt2 6330 . . . . . . . . . 10 ((𝑦𝐶 ∧ (𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ V) → ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦) = (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
5244, 50, 51syl2anc 694 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦) = (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
5352fveq1d 6231 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥) = ((𝑥𝐵 ↦ (𝑥𝑔𝑦))‘𝑥))
54 simp2 1082 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → 𝑥𝐵)
55 ovex 6718 . . . . . . . . 9 (𝑥𝑔𝑦) ∈ V
5626fvmpt2 6330 . . . . . . . . 9 ((𝑥𝐵 ∧ (𝑥𝑔𝑦) ∈ V) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦))‘𝑥) = (𝑥𝑔𝑦))
5754, 55, 56sylancl 695 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦))‘𝑥) = (𝑥𝑔𝑦))
5853, 57eqtrd 2685 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥) = (𝑥𝑔𝑦))
5958mpt2eq3dva 6761 . . . . . 6 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)) = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑔𝑦)))
6043, 59eqtr4d 2688 . . . . 5 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
61 eqid 2651 . . . . . . 7 𝐵 = 𝐵
62 nfcv 2793 . . . . . . . . . 10 𝑥𝐶
63 nfmpt1 4780 . . . . . . . . . 10 𝑥(𝑥𝐵 ↦ (𝑥𝑔𝑦))
6462, 63nfmpt 4779 . . . . . . . . 9 𝑥(𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
6564nfeq2 2809 . . . . . . . 8 𝑥 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
66 nfmpt1 4780 . . . . . . . . . . . 12 𝑦(𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
6766nfeq2 2809 . . . . . . . . . . 11 𝑦 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
68 fveq1 6228 . . . . . . . . . . . . 13 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑓𝑦) = ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦))
6968fveq1d 6231 . . . . . . . . . . . 12 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))
7069a1d 25 . . . . . . . . . . 11 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑦𝐶 → ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
7167, 70ralrimi 2986 . . . . . . . . . 10 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))
72 eqid 2651 . . . . . . . . . 10 𝐶 = 𝐶
7371, 72jctil 559 . . . . . . . . 9 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝐶 = 𝐶 ∧ ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
7473a1d 25 . . . . . . . 8 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑥𝐵 → (𝐶 = 𝐶 ∧ ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))))
7565, 74ralrimi 2986 . . . . . . 7 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → ∀𝑥𝐵 (𝐶 = 𝐶 ∧ ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
76 mpt2eq123 6756 . . . . . . 7 ((𝐵 = 𝐵 ∧ ∀𝑥𝐵 (𝐶 = 𝐶 ∧ ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))) → (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) = (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
7761, 75, 76sylancr 696 . . . . . 6 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) = (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
7877eqeq2d 2661 . . . . 5 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) ↔ 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))))
7960, 78syl5ibrcom 237 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))))
803ad2antrl 764 . . . . . . 7 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑓:𝐶⟶(𝐴𝑚 𝐵))
8180feqmptd 6288 . . . . . 6 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑓 = (𝑦𝐶 ↦ (𝑓𝑦)))
82 simprl 809 . . . . . . . . 9 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶))
8382, 6sylan 487 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑦𝐶) → (𝑓𝑦):𝐵𝐴)
8483feqmptd 6288 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑦𝐶) → (𝑓𝑦) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥)))
8584mpteq2dva 4777 . . . . . 6 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑦𝐶 ↦ (𝑓𝑦)) = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
8681, 85eqtrd 2685 . . . . 5 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
87 nfmpt22 6765 . . . . . . . . 9 𝑦(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
8887nfeq2 2809 . . . . . . . 8 𝑦 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
89 eqidd 2652 . . . . . . . . 9 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → 𝐵 = 𝐵)
90 nfmpt21 6764 . . . . . . . . . . 11 𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
9190nfeq2 2809 . . . . . . . . . 10 𝑥 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
92 nfv 1883 . . . . . . . . . 10 𝑥 𝑦𝐶
93 fvex 6239 . . . . . . . . . . . . 13 ((𝑓𝑦)‘𝑥) ∈ V
9411ovmpt4g 6825 . . . . . . . . . . . . 13 ((𝑥𝐵𝑦𝐶 ∧ ((𝑓𝑦)‘𝑥) ∈ V) → (𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))𝑦) = ((𝑓𝑦)‘𝑥))
9593, 94mp3an3 1453 . . . . . . . . . . . 12 ((𝑥𝐵𝑦𝐶) → (𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))𝑦) = ((𝑓𝑦)‘𝑥))
96 oveq 6696 . . . . . . . . . . . . 13 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑥𝑔𝑦) = (𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))𝑦))
9796eqeq1d 2653 . . . . . . . . . . . 12 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → ((𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥) ↔ (𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))𝑦) = ((𝑓𝑦)‘𝑥)))
9895, 97syl5ibr 236 . . . . . . . . . . 11 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → ((𝑥𝐵𝑦𝐶) → (𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥)))
9998expcomd 453 . . . . . . . . . 10 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑦𝐶 → (𝑥𝐵 → (𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥))))
10091, 92, 99ralrimd 2988 . . . . . . . . 9 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑦𝐶 → ∀𝑥𝐵 (𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥)))
101 mpteq12 4769 . . . . . . . . 9 ((𝐵 = 𝐵 ∧ ∀𝑥𝐵 (𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥)) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥)))
10289, 100, 101syl6an 567 . . . . . . . 8 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑦𝐶 → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
10388, 102ralrimi 2986 . . . . . . 7 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → ∀𝑦𝐶 (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥)))
104 mpteq12 4769 . . . . . . 7 ((𝐶 = 𝐶 ∧ ∀𝑦𝐶 (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
10572, 103, 104sylancr 696 . . . . . 6 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
106105eqeq2d 2661 . . . . 5 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ↔ 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥)))))
10786, 106syl5ibrcom 237 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))))
10879, 107impbid 202 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ↔ 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))))
109108ex 449 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) → (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ↔ 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)))))
1101, 2, 19, 39, 109en3d 8034 1 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ≈ (𝐴𝑚 (𝐵 × 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1054   = wceq 1523  wcel 2030  wral 2941  Vcvv 3231   class class class wbr 4685  cmpt 4762   × cxp 5141   Fn wfn 5921  wf 5922  cfv 5926  (class class class)co 6690  cmpt2 6692  𝑚 cmap 7899  cen 7994
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-8 2032  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pow 4873  ax-pr 4936  ax-un 6991
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ne 2824  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-csb 3567  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-pw 4193  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-iun 4554  df-br 4686  df-opab 4746  df-mpt 4763  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-dm 5153  df-rn 5154  df-res 5155  df-ima 5156  df-iota 5889  df-fun 5928  df-fn 5929  df-f 5930  df-f1 5931  df-fo 5932  df-f1o 5933  df-fv 5934  df-ov 6693  df-oprab 6694  df-mpt2 6695  df-1st 7210  df-2nd 7211  df-map 7901  df-en 7998
This theorem is referenced by:  mappwen  8973  cfpwsdom  9444  rpnnen  15000  rexpen  15001  enrelmap  38608
  Copyright terms: Public domain W3C validator