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

Theorem mapxpen 8291
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 6843 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∈ V)
2 ovexd 6843 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝐴𝑚 (𝐵 × 𝐶)) ∈ V)
3 elmapi 8045 . . . . . . . . . 10 (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) → 𝑓:𝐶⟶(𝐴𝑚 𝐵))
43ffvelrnda 6522 . . . . . . . . 9 ((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑦𝐶) → (𝑓𝑦) ∈ (𝐴𝑚 𝐵))
5 elmapi 8045 . . . . . . . . 9 ((𝑓𝑦) ∈ (𝐴𝑚 𝐵) → (𝑓𝑦):𝐵𝐴)
64, 5syl 17 . . . . . . . 8 ((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑦𝐶) → (𝑓𝑦):𝐵𝐴)
76ffvelrnda 6522 . . . . . . 7 (((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑦𝐶) ∧ 𝑥𝐵) → ((𝑓𝑦)‘𝑥) ∈ 𝐴)
87an32s 881 . . . . . 6 (((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑥𝐵) ∧ 𝑦𝐶) → ((𝑓𝑦)‘𝑥) ∈ 𝐴)
98ralrimiva 3104 . . . . 5 ((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑥𝐵) → ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) ∈ 𝐴)
109ralrimiva 3104 . . . 4 (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) → ∀𝑥𝐵𝑦𝐶 ((𝑓𝑦)‘𝑥) ∈ 𝐴)
11 eqid 2760 . . . . 5 (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
1211fmpt2 7405 . . . 4 (∀𝑥𝐵𝑦𝐶 ((𝑓𝑦)‘𝑥) ∈ 𝐴 ↔ (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)):(𝐵 × 𝐶)⟶𝐴)
1310, 12sylib 208 . . 3 (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) → (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)):(𝐵 × 𝐶)⟶𝐴)
14 simp1 1131 . . . 4 ((𝐴𝑉𝐵𝑊𝐶𝑋) → 𝐴𝑉)
15 xpexg 7125 . . . . 5 ((𝐵𝑊𝐶𝑋) → (𝐵 × 𝐶) ∈ V)
16153adant1 1125 . . . 4 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝐵 × 𝐶) ∈ V)
17 elmapg 8036 . . . 4 ((𝐴𝑉 ∧ (𝐵 × 𝐶) ∈ V) → ((𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) ∈ (𝐴𝑚 (𝐵 × 𝐶)) ↔ (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)):(𝐵 × 𝐶)⟶𝐴))
1814, 16, 17syl2anc 696 . . 3 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) ∈ (𝐴𝑚 (𝐵 × 𝐶)) ↔ (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)):(𝐵 × 𝐶)⟶𝐴))
1913, 18syl5ibr 236 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) → (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) ∈ (𝐴𝑚 (𝐵 × 𝐶))))
20 elmapi 8045 . . . . . . . . 9 (𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)) → 𝑔:(𝐵 × 𝐶)⟶𝐴)
2120adantl 473 . . . . . . . 8 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) → 𝑔:(𝐵 × 𝐶)⟶𝐴)
22 fovrn 6969 . . . . . . . . . 10 ((𝑔:(𝐵 × 𝐶)⟶𝐴𝑥𝐵𝑦𝐶) → (𝑥𝑔𝑦) ∈ 𝐴)
23223expa 1112 . . . . . . . . 9 (((𝑔:(𝐵 × 𝐶)⟶𝐴𝑥𝐵) ∧ 𝑦𝐶) → (𝑥𝑔𝑦) ∈ 𝐴)
2423an32s 881 . . . . . . . 8 (((𝑔:(𝐵 × 𝐶)⟶𝐴𝑦𝐶) ∧ 𝑥𝐵) → (𝑥𝑔𝑦) ∈ 𝐴)
2521, 24sylanl1 685 . . . . . . 7 (((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) ∧ 𝑦𝐶) ∧ 𝑥𝐵) → (𝑥𝑔𝑦) ∈ 𝐴)
26 eqid 2760 . . . . . . 7 (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ (𝑥𝑔𝑦))
2725, 26fmptd 6548 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) ∧ 𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴)
28 elmapg 8036 . . . . . . . 8 ((𝐴𝑉𝐵𝑊) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ (𝐴𝑚 𝐵) ↔ (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴))
29283adant3 1127 . . . . . . 7 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ (𝐴𝑚 𝐵) ↔ (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴))
3029ad2antrr 764 . . . . . 6 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) ∧ 𝑦𝐶) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ (𝐴𝑚 𝐵) ↔ (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴))
3127, 30mpbird 247 . . . . 5 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) ∧ 𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ (𝐴𝑚 𝐵))
32 eqid 2760 . . . . 5 (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
3331, 32fmptd 6548 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))):𝐶⟶(𝐴𝑚 𝐵))
3433ex 449 . . 3 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))):𝐶⟶(𝐴𝑚 𝐵)))
35 ovex 6841 . . . 4 (𝐴𝑚 𝐵) ∈ V
36 simp3 1133 . . . 4 ((𝐴𝑉𝐵𝑊𝐶𝑋) → 𝐶𝑋)
37 elmapg 8036 . . . 4 (((𝐴𝑚 𝐵) ∈ V ∧ 𝐶𝑋) → ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ↔ (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))):𝐶⟶(𝐴𝑚 𝐵)))
3835, 36, 37sylancr 698 . . 3 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ↔ (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))):𝐶⟶(𝐴𝑚 𝐵)))
3934, 38sylibrd 249 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → (𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶)))
40 elmapfn 8046 . . . . . . . 8 (𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)) → 𝑔 Fn (𝐵 × 𝐶))
4140ad2antll 767 . . . . . . 7 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑔 Fn (𝐵 × 𝐶))
42 fnov 6933 . . . . . . 7 (𝑔 Fn (𝐵 × 𝐶) ↔ 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑔𝑦)))
4341, 42sylib 208 . . . . . 6 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑔𝑦)))
44 simp3 1133 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → 𝑦𝐶)
4527adantlrl 758 . . . . . . . . . . . 12 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴)
46453adant2 1126 . . . . . . . . . . 11 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴)
47 simp1l2 1352 . . . . . . . . . . 11 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → 𝐵𝑊)
48 simp1l1 1351 . . . . . . . . . . 11 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → 𝐴𝑉)
49 fex2 7286 . . . . . . . . . . 11 (((𝑥𝐵 ↦ (𝑥𝑔𝑦)):𝐵𝐴𝐵𝑊𝐴𝑉) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ V)
5046, 47, 48, 49syl3anc 1477 . . . . . . . . . 10 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ V)
5132fvmpt2 6453 . . . . . . . . . 10 ((𝑦𝐶 ∧ (𝑥𝐵 ↦ (𝑥𝑔𝑦)) ∈ V) → ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦) = (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
5244, 50, 51syl2anc 696 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦) = (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
5352fveq1d 6354 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥) = ((𝑥𝐵 ↦ (𝑥𝑔𝑦))‘𝑥))
54 simp2 1132 . . . . . . . . 9 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → 𝑥𝐵)
55 ovex 6841 . . . . . . . . 9 (𝑥𝑔𝑦) ∈ V
5626fvmpt2 6453 . . . . . . . . 9 ((𝑥𝐵 ∧ (𝑥𝑔𝑦) ∈ V) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦))‘𝑥) = (𝑥𝑔𝑦))
5754, 55, 56sylancl 697 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → ((𝑥𝐵 ↦ (𝑥𝑔𝑦))‘𝑥) = (𝑥𝑔𝑦))
5853, 57eqtrd 2794 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑥𝐵𝑦𝐶) → (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥) = (𝑥𝑔𝑦))
5958mpt2eq3dva 6884 . . . . . 6 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)) = (𝑥𝐵, 𝑦𝐶 ↦ (𝑥𝑔𝑦)))
6043, 59eqtr4d 2797 . . . . 5 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
61 eqid 2760 . . . . . . 7 𝐵 = 𝐵
62 nfcv 2902 . . . . . . . . . 10 𝑥𝐶
63 nfmpt1 4899 . . . . . . . . . 10 𝑥(𝑥𝐵 ↦ (𝑥𝑔𝑦))
6462, 63nfmpt 4898 . . . . . . . . 9 𝑥(𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
6564nfeq2 2918 . . . . . . . 8 𝑥 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
66 nfmpt1 4899 . . . . . . . . . . . 12 𝑦(𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
6766nfeq2 2918 . . . . . . . . . . 11 𝑦 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))
68 fveq1 6351 . . . . . . . . . . . . 13 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑓𝑦) = ((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦))
6968fveq1d 6354 . . . . . . . . . . . 12 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))
7069a1d 25 . . . . . . . . . . 11 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑦𝐶 → ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
7167, 70ralrimi 3095 . . . . . . . . . 10 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))
72 eqid 2760 . . . . . . . . . 10 𝐶 = 𝐶
7371, 72jctil 561 . . . . . . . . 9 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝐶 = 𝐶 ∧ ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
7473a1d 25 . . . . . . . 8 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑥𝐵 → (𝐶 = 𝐶 ∧ ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))))
7565, 74ralrimi 3095 . . . . . . 7 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → ∀𝑥𝐵 (𝐶 = 𝐶 ∧ ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
76 mpt2eq123 6879 . . . . . . 7 ((𝐵 = 𝐵 ∧ ∀𝑥𝐵 (𝐶 = 𝐶 ∧ ∀𝑦𝐶 ((𝑓𝑦)‘𝑥) = (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))) → (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) = (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
7761, 75, 76sylancr 698 . . . . . 6 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) = (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥)))
7877eqeq2d 2770 . . . . 5 (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) ↔ 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ (((𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))‘𝑦)‘𝑥))))
7960, 78syl5ibrcom 237 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) → 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))))
803ad2antrl 766 . . . . . . 7 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑓:𝐶⟶(𝐴𝑚 𝐵))
8180feqmptd 6411 . . . . . 6 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑓 = (𝑦𝐶 ↦ (𝑓𝑦)))
82 simprl 811 . . . . . . . . 9 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶))
8382, 6sylan 489 . . . . . . . 8 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑦𝐶) → (𝑓𝑦):𝐵𝐴)
8483feqmptd 6411 . . . . . . 7 ((((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) ∧ 𝑦𝐶) → (𝑓𝑦) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥)))
8584mpteq2dva 4896 . . . . . 6 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑦𝐶 ↦ (𝑓𝑦)) = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
8681, 85eqtrd 2794 . . . . 5 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
87 nfmpt22 6888 . . . . . . . . 9 𝑦(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
8887nfeq2 2918 . . . . . . . 8 𝑦 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
89 eqidd 2761 . . . . . . . . 9 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → 𝐵 = 𝐵)
90 nfmpt21 6887 . . . . . . . . . . 11 𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
9190nfeq2 2918 . . . . . . . . . 10 𝑥 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))
92 nfv 1992 . . . . . . . . . 10 𝑥 𝑦𝐶
93 fvex 6362 . . . . . . . . . . . . 13 ((𝑓𝑦)‘𝑥) ∈ V
9411ovmpt4g 6948 . . . . . . . . . . . . 13 ((𝑥𝐵𝑦𝐶 ∧ ((𝑓𝑦)‘𝑥) ∈ V) → (𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))𝑦) = ((𝑓𝑦)‘𝑥))
9593, 94mp3an3 1562 . . . . . . . . . . . 12 ((𝑥𝐵𝑦𝐶) → (𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))𝑦) = ((𝑓𝑦)‘𝑥))
96 oveq 6819 . . . . . . . . . . . . 13 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑥𝑔𝑦) = (𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))𝑦))
9796eqeq1d 2762 . . . . . . . . . . . 12 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → ((𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥) ↔ (𝑥(𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))𝑦) = ((𝑓𝑦)‘𝑥)))
9895, 97syl5ibr 236 . . . . . . . . . . 11 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → ((𝑥𝐵𝑦𝐶) → (𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥)))
9998expcomd 453 . . . . . . . . . 10 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑦𝐶 → (𝑥𝐵 → (𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥))))
10091, 92, 99ralrimd 3097 . . . . . . . . 9 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑦𝐶 → ∀𝑥𝐵 (𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥)))
101 mpteq12 4888 . . . . . . . . 9 ((𝐵 = 𝐵 ∧ ∀𝑥𝐵 (𝑥𝑔𝑦) = ((𝑓𝑦)‘𝑥)) → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥)))
10289, 100, 101syl6an 569 . . . . . . . 8 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑦𝐶 → (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
10388, 102ralrimi 3095 . . . . . . 7 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → ∀𝑦𝐶 (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥)))
104 mpteq12 4888 . . . . . . 7 ((𝐶 = 𝐶 ∧ ∀𝑦𝐶 (𝑥𝐵 ↦ (𝑥𝑔𝑦)) = (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
10572, 103, 104sylancr 698 . . . . . 6 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥))))
106105eqeq2d 2770 . . . . 5 (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ↔ 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ ((𝑓𝑦)‘𝑥)))))
10786, 106syl5ibrcom 237 . . . 4 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)) → 𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦)))))
10879, 107impbid 202 . . 3 (((𝐴𝑉𝐵𝑊𝐶𝑋) ∧ (𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶)))) → (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ↔ 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥))))
109108ex 449 . 2 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝑓 ∈ ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ∧ 𝑔 ∈ (𝐴𝑚 (𝐵 × 𝐶))) → (𝑓 = (𝑦𝐶 ↦ (𝑥𝐵 ↦ (𝑥𝑔𝑦))) ↔ 𝑔 = (𝑥𝐵, 𝑦𝐶 ↦ ((𝑓𝑦)‘𝑥)))))
1101, 2, 19, 39, 109en3d 8158 1 ((𝐴𝑉𝐵𝑊𝐶𝑋) → ((𝐴𝑚 𝐵) ↑𝑚 𝐶) ≈ (𝐴𝑚 (𝐵 × 𝐶)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383  w3a 1072   = wceq 1632  wcel 2139  wral 3050  Vcvv 3340   class class class wbr 4804  cmpt 4881   × cxp 5264   Fn wfn 6044  wf 6045  cfv 6049  (class class class)co 6813  cmpt2 6815  𝑚 cmap 8023  cen 8118
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7114
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-ov 6816  df-oprab 6817  df-mpt2 6818  df-1st 7333  df-2nd 7334  df-map 8025  df-en 8122
This theorem is referenced by:  mappwen  9125  cfpwsdom  9598  rpnnen  15155  rexpen  15156  enrelmap  38793
  Copyright terms: Public domain W3C validator