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

Theorem 1st2ndprf 17667
Description: Break a functor into a product category into first and second projections. (Contributed by Mario Carneiro, 12-Jan-2017.)
Hypotheses
Ref Expression
1st2ndprf.t 𝑇 = (𝐷 ×c 𝐸)
1st2ndprf.f (𝜑𝐹 ∈ (𝐶 Func 𝑇))
1st2ndprf.d (𝜑𝐷 ∈ Cat)
1st2ndprf.e (𝜑𝐸 ∈ Cat)
Assertion
Ref Expression
1st2ndprf (𝜑𝐹 = (((𝐷 1stF 𝐸) ∘func 𝐹) ⟨,⟩F ((𝐷 2ndF 𝐸) ∘func 𝐹)))

Proof of Theorem 1st2ndprf
Dummy variables 𝑥 𝑓 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2736 . . . . . 6 (Base‘𝐶) = (Base‘𝐶)
2 1st2ndprf.t . . . . . . 7 𝑇 = (𝐷 ×c 𝐸)
3 eqid 2736 . . . . . . 7 (Base‘𝐷) = (Base‘𝐷)
4 eqid 2736 . . . . . . 7 (Base‘𝐸) = (Base‘𝐸)
52, 3, 4xpcbas 17639 . . . . . 6 ((Base‘𝐷) × (Base‘𝐸)) = (Base‘𝑇)
6 relfunc 17322 . . . . . . 7 Rel (𝐶 Func 𝑇)
7 1st2ndprf.f . . . . . . 7 (𝜑𝐹 ∈ (𝐶 Func 𝑇))
8 1st2ndbr 7791 . . . . . . 7 ((Rel (𝐶 Func 𝑇) ∧ 𝐹 ∈ (𝐶 Func 𝑇)) → (1st𝐹)(𝐶 Func 𝑇)(2nd𝐹))
96, 7, 8sylancr 590 . . . . . 6 (𝜑 → (1st𝐹)(𝐶 Func 𝑇)(2nd𝐹))
101, 5, 9funcf1 17326 . . . . 5 (𝜑 → (1st𝐹):(Base‘𝐶)⟶((Base‘𝐷) × (Base‘𝐸)))
1110feqmptd 6758 . . . 4 (𝜑 → (1st𝐹) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st𝐹)‘𝑥)))
1210ffvelrnda 6882 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
13 1st2nd2 7778 . . . . . . 7 (((1st𝐹)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)) → ((1st𝐹)‘𝑥) = ⟨(1st ‘((1st𝐹)‘𝑥)), (2nd ‘((1st𝐹)‘𝑥))⟩)
1412, 13syl 17 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑥) = ⟨(1st ‘((1st𝐹)‘𝑥)), (2nd ‘((1st𝐹)‘𝑥))⟩)
157adantr 484 . . . . . . . . 9 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐹 ∈ (𝐶 Func 𝑇))
16 1st2ndprf.d . . . . . . . . . . 11 (𝜑𝐷 ∈ Cat)
17 1st2ndprf.e . . . . . . . . . . 11 (𝜑𝐸 ∈ Cat)
18 eqid 2736 . . . . . . . . . . 11 (𝐷 1stF 𝐸) = (𝐷 1stF 𝐸)
192, 16, 17, 181stfcl 17658 . . . . . . . . . 10 (𝜑 → (𝐷 1stF 𝐸) ∈ (𝑇 Func 𝐷))
2019adantr 484 . . . . . . . . 9 ((𝜑𝑥 ∈ (Base‘𝐶)) → (𝐷 1stF 𝐸) ∈ (𝑇 Func 𝐷))
21 simpr 488 . . . . . . . . 9 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝑥 ∈ (Base‘𝐶))
221, 15, 20, 21cofu1 17344 . . . . . . . 8 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘((𝐷 1stF 𝐸) ∘func 𝐹))‘𝑥) = ((1st ‘(𝐷 1stF 𝐸))‘((1st𝐹)‘𝑥)))
23 eqid 2736 . . . . . . . . 9 (Hom ‘𝑇) = (Hom ‘𝑇)
2416adantr 484 . . . . . . . . 9 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐷 ∈ Cat)
2517adantr 484 . . . . . . . . 9 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐸 ∈ Cat)
262, 5, 23, 24, 25, 18, 121stf1 17653 . . . . . . . 8 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 1stF 𝐸))‘((1st𝐹)‘𝑥)) = (1st ‘((1st𝐹)‘𝑥)))
2722, 26eqtrd 2771 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘((𝐷 1stF 𝐸) ∘func 𝐹))‘𝑥) = (1st ‘((1st𝐹)‘𝑥)))
28 eqid 2736 . . . . . . . . . . 11 (𝐷 2ndF 𝐸) = (𝐷 2ndF 𝐸)
292, 16, 17, 282ndfcl 17659 . . . . . . . . . 10 (𝜑 → (𝐷 2ndF 𝐸) ∈ (𝑇 Func 𝐸))
3029adantr 484 . . . . . . . . 9 ((𝜑𝑥 ∈ (Base‘𝐶)) → (𝐷 2ndF 𝐸) ∈ (𝑇 Func 𝐸))
311, 15, 30, 21cofu1 17344 . . . . . . . 8 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘((𝐷 2ndF 𝐸) ∘func 𝐹))‘𝑥) = ((1st ‘(𝐷 2ndF 𝐸))‘((1st𝐹)‘𝑥)))
322, 5, 23, 24, 25, 28, 122ndf1 17656 . . . . . . . 8 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 2ndF 𝐸))‘((1st𝐹)‘𝑥)) = (2nd ‘((1st𝐹)‘𝑥)))
3331, 32eqtrd 2771 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘((𝐷 2ndF 𝐸) ∘func 𝐹))‘𝑥) = (2nd ‘((1st𝐹)‘𝑥)))
3427, 33opeq12d 4778 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ⟨((1st ‘((𝐷 1stF 𝐸) ∘func 𝐹))‘𝑥), ((1st ‘((𝐷 2ndF 𝐸) ∘func 𝐹))‘𝑥)⟩ = ⟨(1st ‘((1st𝐹)‘𝑥)), (2nd ‘((1st𝐹)‘𝑥))⟩)
3514, 34eqtr4d 2774 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑥) = ⟨((1st ‘((𝐷 1stF 𝐸) ∘func 𝐹))‘𝑥), ((1st ‘((𝐷 2ndF 𝐸) ∘func 𝐹))‘𝑥)⟩)
3635mpteq2dva 5135 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ((1st𝐹)‘𝑥)) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘((𝐷 1stF 𝐸) ∘func 𝐹))‘𝑥), ((1st ‘((𝐷 2ndF 𝐸) ∘func 𝐹))‘𝑥)⟩))
3711, 36eqtrd 2771 . . 3 (𝜑 → (1st𝐹) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘((𝐷 1stF 𝐸) ∘func 𝐹))‘𝑥), ((1st ‘((𝐷 2ndF 𝐸) ∘func 𝐹))‘𝑥)⟩))
381, 9funcfn2 17329 . . . . 5 (𝜑 → (2nd𝐹) Fn ((Base‘𝐶) × (Base‘𝐶)))
39 fnov 7319 . . . . 5 ((2nd𝐹) Fn ((Base‘𝐶) × (Base‘𝐶)) ↔ (2nd𝐹) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd𝐹)𝑦)))
4038, 39sylib 221 . . . 4 (𝜑 → (2nd𝐹) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd𝐹)𝑦)))
41 eqid 2736 . . . . . . . . 9 (Hom ‘𝐶) = (Hom ‘𝐶)
429adantr 484 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st𝐹)(𝐶 Func 𝑇)(2nd𝐹))
43 simprl 771 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
44 simprr 773 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
451, 41, 23, 42, 43, 44funcf2 17328 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐹)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦)))
4645feqmptd 6758 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐹)𝑦) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd𝐹)𝑦)‘𝑓)))
472, 23relxpchom 17642 . . . . . . . . . 10 Rel (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦))
4845ffvelrnda 6882 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd𝐹)𝑦)‘𝑓) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦)))
49 1st2nd 7788 . . . . . . . . . 10 ((Rel (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦)) ∧ ((𝑥(2nd𝐹)𝑦)‘𝑓) ∈ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦))) → ((𝑥(2nd𝐹)𝑦)‘𝑓) = ⟨(1st ‘((𝑥(2nd𝐹)𝑦)‘𝑓)), (2nd ‘((𝑥(2nd𝐹)𝑦)‘𝑓))⟩)
5047, 48, 49sylancr 590 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd𝐹)𝑦)‘𝑓) = ⟨(1st ‘((𝑥(2nd𝐹)𝑦)‘𝑓)), (2nd ‘((𝑥(2nd𝐹)𝑦)‘𝑓))⟩)
517ad2antrr 726 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐹 ∈ (𝐶 Func 𝑇))
5219ad2antrr 726 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (𝐷 1stF 𝐸) ∈ (𝑇 Func 𝐷))
5343adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑥 ∈ (Base‘𝐶))
5444adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑦 ∈ (Base‘𝐶))
55 simpr 488 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))
561, 51, 52, 53, 54, 41, 55cofu2 17346 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓) = ((((1st𝐹)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝐹)‘𝑦))‘((𝑥(2nd𝐹)𝑦)‘𝑓)))
5716adantr 484 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐷 ∈ Cat)
5817adantr 484 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝐸 ∈ Cat)
5912adantrr 717 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝐹)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6010ffvelrnda 6882 . . . . . . . . . . . . . . 15 ((𝜑𝑦 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6160adantrl 716 . . . . . . . . . . . . . 14 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝐹)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
622, 5, 23, 57, 58, 18, 59, 611stf2 17654 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st𝐹)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝐹)‘𝑦)) = (1st ↾ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦))))
6362adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (((1st𝐹)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝐹)‘𝑦)) = (1st ↾ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦))))
6463fveq1d 6697 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st𝐹)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝐹)‘𝑦))‘((𝑥(2nd𝐹)𝑦)‘𝑓)) = ((1st ↾ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦)))‘((𝑥(2nd𝐹)𝑦)‘𝑓)))
6548fvresd 6715 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st ↾ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦)))‘((𝑥(2nd𝐹)𝑦)‘𝑓)) = (1st ‘((𝑥(2nd𝐹)𝑦)‘𝑓)))
6656, 64, 653eqtrd 2775 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓) = (1st ‘((𝑥(2nd𝐹)𝑦)‘𝑓)))
6729ad2antrr 726 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (𝐷 2ndF 𝐸) ∈ (𝑇 Func 𝐸))
681, 51, 67, 53, 54, 41, 55cofu2 17346 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓) = ((((1st𝐹)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝐹)‘𝑦))‘((𝑥(2nd𝐹)𝑦)‘𝑓)))
692, 5, 23, 57, 58, 28, 59, 612ndf2 17657 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st𝐹)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝐹)‘𝑦)) = (2nd ↾ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦))))
7069adantr 484 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (((1st𝐹)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝐹)‘𝑦)) = (2nd ↾ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦))))
7170fveq1d 6697 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st𝐹)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝐹)‘𝑦))‘((𝑥(2nd𝐹)𝑦)‘𝑓)) = ((2nd ↾ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦)))‘((𝑥(2nd𝐹)𝑦)‘𝑓)))
7248fvresd 6715 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((2nd ↾ (((1st𝐹)‘𝑥)(Hom ‘𝑇)((1st𝐹)‘𝑦)))‘((𝑥(2nd𝐹)𝑦)‘𝑓)) = (2nd ‘((𝑥(2nd𝐹)𝑦)‘𝑓)))
7368, 71, 723eqtrd 2775 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓) = (2nd ‘((𝑥(2nd𝐹)𝑦)‘𝑓)))
7466, 73opeq12d 4778 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ⟨((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓), ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓)⟩ = ⟨(1st ‘((𝑥(2nd𝐹)𝑦)‘𝑓)), (2nd ‘((𝑥(2nd𝐹)𝑦)‘𝑓))⟩)
7550, 74eqtr4d 2774 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd𝐹)𝑦)‘𝑓) = ⟨((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓), ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓)⟩)
7675mpteq2dva 5135 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd𝐹)𝑦)‘𝑓)) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓), ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓)⟩))
7746, 76eqtrd 2771 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐹)𝑦) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓), ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓)⟩))
78773impb 1117 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → (𝑥(2nd𝐹)𝑦) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓), ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓)⟩))
7978mpoeq3dva 7266 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd𝐹)𝑦)) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓), ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓)⟩)))
8040, 79eqtrd 2771 . . 3 (𝜑 → (2nd𝐹) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓), ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓)⟩)))
8137, 80opeq12d 4778 . 2 (𝜑 → ⟨(1st𝐹), (2nd𝐹)⟩ = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘((𝐷 1stF 𝐸) ∘func 𝐹))‘𝑥), ((1st ‘((𝐷 2ndF 𝐸) ∘func 𝐹))‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓), ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓)⟩))⟩)
82 1st2nd 7788 . . 3 ((Rel (𝐶 Func 𝑇) ∧ 𝐹 ∈ (𝐶 Func 𝑇)) → 𝐹 = ⟨(1st𝐹), (2nd𝐹)⟩)
836, 7, 82sylancr 590 . 2 (𝜑𝐹 = ⟨(1st𝐹), (2nd𝐹)⟩)
84 eqid 2736 . . 3 (((𝐷 1stF 𝐸) ∘func 𝐹) ⟨,⟩F ((𝐷 2ndF 𝐸) ∘func 𝐹)) = (((𝐷 1stF 𝐸) ∘func 𝐹) ⟨,⟩F ((𝐷 2ndF 𝐸) ∘func 𝐹))
857, 19cofucl 17348 . . 3 (𝜑 → ((𝐷 1stF 𝐸) ∘func 𝐹) ∈ (𝐶 Func 𝐷))
867, 29cofucl 17348 . . 3 (𝜑 → ((𝐷 2ndF 𝐸) ∘func 𝐹) ∈ (𝐶 Func 𝐸))
8784, 1, 41, 85, 86prfval 17660 . 2 (𝜑 → (((𝐷 1stF 𝐸) ∘func 𝐹) ⟨,⟩F ((𝐷 2ndF 𝐸) ∘func 𝐹)) = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘((𝐷 1stF 𝐸) ∘func 𝐹))‘𝑥), ((1st ‘((𝐷 2ndF 𝐸) ∘func 𝐹))‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘((𝐷 1stF 𝐸) ∘func 𝐹))𝑦)‘𝑓), ((𝑥(2nd ‘((𝐷 2ndF 𝐸) ∘func 𝐹))𝑦)‘𝑓)⟩))⟩)
8881, 83, 873eqtr4d 2781 1 (𝜑𝐹 = (((𝐷 1stF 𝐸) ∘func 𝐹) ⟨,⟩F ((𝐷 2ndF 𝐸) ∘func 𝐹)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1543  wcel 2112  cop 4533   class class class wbr 5039  cmpt 5120   × cxp 5534  cres 5538  Rel wrel 5541   Fn wfn 6353  cfv 6358  (class class class)co 7191  cmpo 7193  1st c1st 7737  2nd c2nd 7738  Basecbs 16666  Hom chom 16760  Catccat 17121   Func cfunc 17314  func ccofu 17316   ×c cxpc 17629   1stF c1stf 17630   2ndF c2ndf 17631   ⟨,⟩F cprf 17632
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-rep 5164  ax-sep 5177  ax-nul 5184  ax-pow 5243  ax-pr 5307  ax-un 7501  ax-cnex 10750  ax-resscn 10751  ax-1cn 10752  ax-icn 10753  ax-addcl 10754  ax-addrcl 10755  ax-mulcl 10756  ax-mulrcl 10757  ax-mulcom 10758  ax-addass 10759  ax-mulass 10760  ax-distr 10761  ax-i2m1 10762  ax-1ne0 10763  ax-1rid 10764  ax-rnegex 10765  ax-rrecex 10766  ax-cnre 10767  ax-pre-lttri 10768  ax-pre-lttrn 10769  ax-pre-ltadd 10770  ax-pre-mulgt0 10771
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-nel 3037  df-ral 3056  df-rex 3057  df-reu 3058  df-rmo 3059  df-rab 3060  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-pss 3872  df-nul 4224  df-if 4426  df-pw 4501  df-sn 4528  df-pr 4530  df-tp 4532  df-op 4534  df-uni 4806  df-iun 4892  df-br 5040  df-opab 5102  df-mpt 5121  df-tr 5147  df-id 5440  df-eprel 5445  df-po 5453  df-so 5454  df-fr 5494  df-we 5496  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-pred 6140  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6316  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-riota 7148  df-ov 7194  df-oprab 7195  df-mpo 7196  df-om 7623  df-1st 7739  df-2nd 7740  df-wrecs 8025  df-recs 8086  df-rdg 8124  df-1o 8180  df-er 8369  df-map 8488  df-ixp 8557  df-en 8605  df-dom 8606  df-sdom 8607  df-fin 8608  df-pnf 10834  df-mnf 10835  df-xr 10836  df-ltxr 10837  df-le 10838  df-sub 11029  df-neg 11030  df-nn 11796  df-2 11858  df-3 11859  df-4 11860  df-5 11861  df-6 11862  df-7 11863  df-8 11864  df-9 11865  df-n0 12056  df-z 12142  df-dec 12259  df-uz 12404  df-fz 13061  df-struct 16668  df-ndx 16669  df-slot 16670  df-base 16672  df-hom 16773  df-cco 16774  df-cat 17125  df-cid 17126  df-func 17318  df-cofu 17320  df-xpc 17633  df-1stf 17634  df-2ndf 17635  df-prf 17636
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator