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

Theorem prf2nd 18384
Description: Cancellation of pairing with second projection. (Contributed by Mario Carneiro, 12-Jan-2017.)
Hypotheses
Ref Expression
prf1st.p 𝑃 = (𝐹 ⟨,⟩F 𝐺)
prf1st.c (𝜑 → 𝐹 ∈ (𝐶 Func 𝐷))
prf1st.d (𝜑 → 𝐺 ∈ (𝐶 Func 𝐸))
Assertion
Ref Expression
prf2nd (𝜑 → ((𝐷 2ndF 𝐸) ∘func 𝑃) = 𝐺)

Proof of Theorem prf2nd
Dummy variables 𝑓 ℎ 𝑥 𝑦 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2760 . . . . . . 7 (𝐷 ×c 𝐸) = (𝐷 ×c 𝐸)
2 eqid 2760 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
3 eqid 2760 . . . . . . . 8 (Base‘𝐸) = (Base‘𝐸)
41, 2, 3xpcbas 18357 . . . . . . 7 ((Base‘𝐷) × (Base‘𝐸)) = (Base‘(𝐷 ×c 𝐸))
5 eqid 2760 . . . . . . 7 (Hom ‘(𝐷 ×c 𝐸)) = (Hom ‘(𝐷 ×c 𝐸))
6 prf1st.c . . . . . . . . . 10 (𝜑 → 𝐹 ∈ (𝐶 Func 𝐷))
7 funcrcl 18043 . . . . . . . . . 10 (𝐹 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
86, 7syl 18 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
98simprd 501 . . . . . . . 8 (𝜑 → 𝐷 ∈ Cat)
109adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → 𝐷 ∈ Cat)
11 prf1st.d . . . . . . . . . 10 (𝜑 → 𝐺 ∈ (𝐶 Func 𝐸))
12 funcrcl 18043 . . . . . . . . . 10 (𝐺 ∈ (𝐶 Func 𝐸) → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1311, 12syl 18 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1413simprd 501 . . . . . . . 8 (𝜑 → 𝐸 ∈ Cat)
1514adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → 𝐸 ∈ Cat)
16 eqid 2760 . . . . . . 7 (𝐷 2ndF 𝐸) = (𝐷 2ndF 𝐸)
17 eqid 2760 . . . . . . . . . 10 (Base‘𝐶) = (Base‘𝐶)
18 relfunc 18042 . . . . . . . . . . 11 Rel (𝐶 Func 𝐷)
19 1st2ndbr 8053 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
2018, 6, 19sylancr 599 . . . . . . . . . 10 (𝜑 → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
2117, 2, 20funcf1 18046 . . . . . . . . 9 (𝜑 → (1st ‘𝐹):(Base‘𝐶)⟶(Base‘𝐷))
2221ffvelcdmda 7084 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝐹)‘𝑥) ∈ (Base‘𝐷))
23 relfunc 18042 . . . . . . . . . . 11 Rel (𝐶 Func 𝐸)
24 1st2ndbr 8053 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐸) ∧ 𝐺 ∈ (𝐶 Func 𝐸)) → (1st ‘𝐺)(𝐶 Func 𝐸)(2nd ‘𝐺))
2523, 11, 24sylancr 599 . . . . . . . . . 10 (𝜑 → (1st ‘𝐺)(𝐶 Func 𝐸)(2nd ‘𝐺))
2617, 3, 25funcf1 18046 . . . . . . . . 9 (𝜑 → (1st ‘𝐺):(Base‘𝐶)⟶(Base‘𝐸))
2726ffvelcdmda 7084 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝐺)‘𝑥) ∈ (Base‘𝐸))
2822, 27opelxpd 5689 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩ ∈ ((Base‘𝐷) × (Base‘𝐸)))
291, 4, 5, 10, 15, 16, 282ndf1 18374 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = (2nd ‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
30 fvex 6898 . . . . . . 7 ((1st ‘𝐹)‘𝑥) ∈ V
31 fvex 6898 . . . . . . 7 ((1st ‘𝐺)‘𝑥) ∈ V
3230, 31op2nd 8010 . . . . . 6 (2nd ‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = ((1st ‘𝐺)‘𝑥)
3329, 32eqtrdi 2811 . . . . 5 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = ((1st ‘𝐺)‘𝑥))
3433mpteq2dva 5197 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘𝐺)‘𝑥)))
35 prf1st.p . . . . . . 7 𝑃 = (𝐹 ⟨,⟩F 𝐺)
36 eqid 2760 . . . . . . 7 (Hom ‘𝐶) = (Hom ‘𝐶)
3735, 17, 36, 6, 11prfval 18378 . . . . . 6 (𝜑 → 𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩))⟩)
38 fvex 6898 . . . . . . . 8 (Base‘𝐶) ∈ V
3938mptex 7229 . . . . . . 7 (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) ∈ V
4038, 38mpoex 8092 . . . . . . 7 (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩)) ∈ V
4139, 40op1std 8011 . . . . . 6 (𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩))⟩ → (1st ‘𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
4237, 41syl 18 . . . . 5 (𝜑 → (1st ‘𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
43 relfunc 18042 . . . . . . . 8 Rel ((𝐷 ×c 𝐸) Func 𝐸)
441, 9, 14, 162ndfcl 18377 . . . . . . . 8 (𝜑 → (𝐷 2ndF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐸))
45 1st2ndbr 8053 . . . . . . . 8 ((Rel ((𝐷 ×c 𝐸) Func 𝐸) ∧ (𝐷 2ndF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐸)) → (1st ‘(𝐷 2ndF 𝐸))((𝐷 ×c 𝐸) Func 𝐸)(2nd ‘(𝐷 2ndF 𝐸)))
4643, 44, 45sylancr 599 . . . . . . 7 (𝜑 → (1st ‘(𝐷 2ndF 𝐸))((𝐷 ×c 𝐸) Func 𝐸)(2nd ‘(𝐷 2ndF 𝐸)))
474, 3, 46funcf1 18046 . . . . . 6 (𝜑 → (1st ‘(𝐷 2ndF 𝐸)):((Base‘𝐷) × (Base‘𝐸))⟶(Base‘𝐸))
4847feqmptd 6953 . . . . 5 (𝜑 → (1st ‘(𝐷 2ndF 𝐸)) = (𝑢 ∈ ((Base‘𝐷) × (Base‘𝐸)) ↦ ((1st ‘(𝐷 2ndF 𝐸))‘𝑢)))
49 fveq2 6885 . . . . 5 (𝑢 = ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩ → ((1st ‘(𝐷 2ndF 𝐸))‘𝑢) = ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
5028, 42, 48, 49fmptco 7130 . . . 4 (𝜑 → ((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st ‘𝑃)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩)))
5126feqmptd 6953 . . . 4 (𝜑 → (1st ‘𝐺) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘𝐺)‘𝑥)))
5234, 50, 513eqtr4d 2805 . . 3 (𝜑 → ((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st ‘𝑃)) = (1st ‘𝐺))
539ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐷 ∈ Cat)
5414ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐸 ∈ Cat)
55 relfunc 18042 . . . . . . . . . . . . . . . 16 Rel (𝐶 Func (𝐷 ×c 𝐸))
5635, 1, 6, 11prfcl 18382 . . . . . . . . . . . . . . . 16 (𝜑 → 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸)))
57 1st2ndbr 8053 . . . . . . . . . . . . . . . 16 ((Rel (𝐶 Func (𝐷 ×c 𝐸)) ∧ 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸))) → (1st ‘𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd ‘𝑃))
5855, 56, 57sylancr 599 . . . . . . . . . . . . . . 15 (𝜑 → (1st ‘𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd ‘𝑃))
5917, 4, 58funcf1 18046 . . . . . . . . . . . . . 14 (𝜑 → (1st ‘𝑃):(Base‘𝐶)⟶((Base‘𝐷) × (Base‘𝐸)))
6059ffvelcdmda 7084 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6160adantrr 730 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6261adantr 486 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6359ffvelcdmda 7084 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑦 ∈ (Base‘𝐶)) → ((1st ‘𝑃)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6463adantrl 729 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘𝑃)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6564adantr 486 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st ‘𝑃)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
661, 4, 5, 53, 54, 16, 62, 652ndf2 18375 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) = (2nd ↾ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))))
6766fveq1d 6887 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((2nd ↾ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)))
6858adantr 486 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st ‘𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd ‘𝑃))
69 simprl 783 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
70 simprr 785 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
7117, 36, 5, 68, 69, 70funcf2 18048 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝑃)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))
7271ffvelcdmda 7084 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘𝑃)𝑦)‘𝑓) ∈ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))
7372fvresd 6905 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((2nd ↾ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = (2nd ‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)))
746ad2antrr 739 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐹 ∈ (𝐶 Func 𝐷))
7511ad2antrr 739 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐺 ∈ (𝐶 Func 𝐸))
7669adantr 486 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑥 ∈ (Base‘𝐶))
7770adantr 486 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑦 ∈ (Base‘𝐶))
78 simpr 490 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))
7935, 17, 36, 74, 75, 76, 77, 78prf2 18381 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘𝑃)𝑦)‘𝑓) = ⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩)
8079fveq2d 6889 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (2nd ‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = (2nd ‘⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩))
81 fvex 6898 . . . . . . . . . . 11 ((𝑥(2nd ‘𝐹)𝑦)‘𝑓) ∈ V
82 fvex 6898 . . . . . . . . . . 11 ((𝑥(2nd ‘𝐺)𝑦)‘𝑓) ∈ V
8381, 82op2nd 8010 . . . . . . . . . 10 (2nd ‘⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩) = ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)
8480, 83eqtrdi 2811 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (2nd ‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((𝑥(2nd ‘𝐺)𝑦)‘𝑓))
8567, 73, 843eqtrd 2799 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((𝑥(2nd ‘𝐺)𝑦)‘𝑓))
8685mpteq2dva 5197 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓))) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)))
87 eqid 2760 . . . . . . . . 9 (Hom ‘𝐸) = (Hom ‘𝐸)
8846adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st ‘(𝐷 2ndF 𝐸))((𝐷 ×c 𝐸) Func 𝐸)(2nd ‘(𝐷 2ndF 𝐸)))
894, 5, 87, 88, 61, 64funcf2 18048 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)):(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))⟶(((1st ‘(𝐷 2ndF 𝐸))‘((1st ‘𝑃)‘𝑥))(Hom ‘𝐸)((1st ‘(𝐷 2ndF 𝐸))‘((1st ‘𝑃)‘𝑦))))
90 fcompt 7134 . . . . . . . 8 (((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)):(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))⟶(((1st ‘(𝐷 2ndF 𝐸))‘((1st ‘𝑃)‘𝑥))(Hom ‘𝐸)((1st ‘(𝐷 2ndF 𝐸))‘((1st ‘𝑃)‘𝑦))) ∧ (𝑥(2nd ‘𝑃)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓))))
9189, 71, 90syl2anc 596 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓))))
9225adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st ‘𝐺)(𝐶 Func 𝐸)(2nd ‘𝐺))
9317, 36, 87, 92, 69, 70funcf2 18048 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐺)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝐺)‘𝑥)(Hom ‘𝐸)((1st ‘𝐺)‘𝑦)))
9493feqmptd 6953 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐺)𝑦) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)))
9586, 91, 943eqtr4d 2805 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑥(2nd ‘𝐺)𝑦))
96953impb 1132 . . . . 5 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑥(2nd ‘𝐺)𝑦))
9796mpoeq3dva 7497 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦))) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐺)𝑦)))
9817, 25funcfn2 18049 . . . . 5 (𝜑 → (2nd ‘𝐺) Fn ((Base‘𝐶) × (Base‘𝐶)))
99 fnov 7551 . . . . 5 ((2nd ‘𝐺) Fn ((Base‘𝐶) × (Base‘𝐶)) ↔ (2nd ‘𝐺) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐺)𝑦)))
10098, 99sylib 221 . . . 4 (𝜑 → (2nd ‘𝐺) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐺)𝑦)))
10197, 100eqtr4d 2798 . . 3 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦))) = (2nd ‘𝐺))
10252, 101opeq12d 4847 . 2 (𝜑 → ⟨((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st ‘𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)))⟩ = ⟨(1st ‘𝐺), (2nd ‘𝐺)⟩)
10317, 56, 44cofuval 18062 . 2 (𝜑 → ((𝐷 2ndF 𝐸) ∘func 𝑃) = ⟨((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st ‘𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)))⟩)
104 1st2nd 8050 . . 3 ((Rel (𝐶 Func 𝐸) ∧ 𝐺 ∈ (𝐶 Func 𝐸)) → 𝐺 = ⟨(1st ‘𝐺), (2nd ‘𝐺)⟩)
10523, 11, 104sylancr 599 . 2 (𝜑 → 𝐺 = ⟨(1st ‘𝐺), (2nd ‘𝐺)⟩)
106102, 103, 1053eqtr4d 2805 1 (𝜑 → ((𝐷 2ndF 𝐸) ∘func 𝑃) = 𝐺)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  ⟨cop 4834   class class class wbr 5102   ↦ cmpt 5185   × cxp 5648   ↾ cres 5652   ∘ ccom 5654  Rel wrel 5655   Fn wfn 6533  ⟶wf 6534  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422  1st c1st 7999  2nd c2nd 8000  Basecbs 17392  Hom chom 17444  Catccat 17843   Func cfunc 18034   ∘func ccofu 18036   ×c cxpc 18347   2ndF c2ndf 18349   ⟨,⟩F cprf 18350
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-cnex 11259  ax-resscn 11260  ax-1cn 11261  ax-icn 11262  ax-addcl 11263  ax-addrcl 11264  ax-mulcl 11265  ax-mulrcl 11266  ax-mulcom 11267  ax-addass 11268  ax-mulass 11269  ax-distr 11270  ax-i2m1 11271  ax-1ne0 11272  ax-1rid 11273  ax-rnegex 11274  ax-rrecex 11275  ax-cnre 11276  ax-pre-lttri 11277  ax-pre-lttrn 11278  ax-pre-ltadd 11279  ax-pre-mulgt0 11280
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8302  df-wrecs 8333  df-recs 8382  df-rdg 8421  df-1o 8479  df-er 8720  df-map 8852  df-ixp 8929  df-en 8977  df-dom 8978  df-sdom 8979  df-fin 8980  df-pnf 11348  df-mnf 11349  df-xr 11350  df-ltxr 11351  df-le 11352  df-sub 11546  df-neg 11547  df-nn 12339  df-2 12408  df-3 12409  df-4 12410  df-5 12411  df-6 12412  df-7 12413  df-8 12414  df-9 12415  df-n0 12610  df-z 12697  df-dec 12818  df-uz 12969  df-fz 13643  df-struct 17330  df-slot 17365  df-ndx 17377  df-base 17393  df-hom 17457  df-cco 17458  df-cat 17847  df-cid 17848  df-func 18038  df-cofu 18040  df-xpc 18351  df-2ndf 18353  df-prf 18354
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator