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

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

Proof of Theorem prf1st
Dummy variables 𝑓 ℎ 𝑥 𝑦 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2763 . . . . . . 7 (𝐷 ×c 𝐸) = (𝐷 ×c 𝐸)
2 eqid 2763 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
3 eqid 2763 . . . . . . . 8 (Base‘𝐸) = (Base‘𝐸)
41, 2, 3xpcbas 18393 . . . . . . 7 ((Base‘𝐷) × (Base‘𝐸)) = (Base‘(𝐷 ×c 𝐸))
5 eqid 2763 . . . . . . 7 (Hom ‘(𝐷 ×c 𝐸)) = (Hom ‘(𝐷 ×c 𝐸))
6 prf1st.c . . . . . . . . . 10 (𝜑 → 𝐹 ∈ (𝐶 Func 𝐷))
7 funcrcl 18079 . . . . . . . . . 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 18079 . . . . . . . . . 10 (𝐺 ∈ (𝐶 Func 𝐸) → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1311, 12syl 18 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1413simprd 501 . . . . . . . 8 (𝜑 → 𝐸 ∈ Cat)
1514adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → 𝐸 ∈ Cat)
16 eqid 2763 . . . . . . 7 (𝐷 1stF 𝐸) = (𝐷 1stF 𝐸)
17 eqid 2763 . . . . . . . . . 10 (Base‘𝐶) = (Base‘𝐶)
18 relfunc 18078 . . . . . . . . . . 11 Rel (𝐶 Func 𝐷)
19 1st2ndbr 8085 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
2018, 6, 19sylancr 599 . . . . . . . . . 10 (𝜑 → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
2117, 2, 20funcf1 18082 . . . . . . . . 9 (𝜑 → (1st ‘𝐹):(Base‘𝐶)⟶(Base‘𝐷))
2221ffvelcdmda 7114 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝐹)‘𝑥) ∈ (Base‘𝐷))
23 relfunc 18078 . . . . . . . . . . 11 Rel (𝐶 Func 𝐸)
24 1st2ndbr 8085 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐸) ∧ 𝐺 ∈ (𝐶 Func 𝐸)) → (1st ‘𝐺)(𝐶 Func 𝐸)(2nd ‘𝐺))
2523, 11, 24sylancr 599 . . . . . . . . . 10 (𝜑 → (1st ‘𝐺)(𝐶 Func 𝐸)(2nd ‘𝐺))
2617, 3, 25funcf1 18082 . . . . . . . . 9 (𝜑 → (1st ‘𝐺):(Base‘𝐶)⟶(Base‘𝐸))
2726ffvelcdmda 7114 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝐺)‘𝑥) ∈ (Base‘𝐸))
2822, 27opelxpd 5695 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩ ∈ ((Base‘𝐷) × (Base‘𝐸)))
291, 4, 5, 10, 15, 16, 281stf1 18407 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = (1st ‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
30 fvex 6927 . . . . . . 7 ((1st ‘𝐹)‘𝑥) ∈ V
31 fvex 6927 . . . . . . 7 ((1st ‘𝐺)‘𝑥) ∈ V
3230, 31op1st 8041 . . . . . 6 (1st ‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = ((1st ‘𝐹)‘𝑥)
3329, 32eqtrdi 2814 . . . . 5 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = ((1st ‘𝐹)‘𝑥))
3433mpteq2dva 5202 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘𝐹)‘𝑥)))
35 prf1st.p . . . . . . 7 𝑃 = (𝐹 ⟨,⟩F 𝐺)
36 eqid 2763 . . . . . . 7 (Hom ‘𝐶) = (Hom ‘𝐶)
3735, 17, 36, 6, 11prfval 18414 . . . . . 6 (𝜑 → 𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩))⟩)
38 fvex 6927 . . . . . . . 8 (Base‘𝐶) ∈ V
3938mptex 7258 . . . . . . 7 (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) ∈ V
4038, 38mpoex 8125 . . . . . . 7 (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩)) ∈ V
4139, 40op1std 8043 . . . . . 6 (𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩))⟩ → (1st ‘𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
4237, 41syl 18 . . . . 5 (𝜑 → (1st ‘𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
43 relfunc 18078 . . . . . . . 8 Rel ((𝐷 ×c 𝐸) Func 𝐷)
441, 9, 14, 161stfcl 18412 . . . . . . . 8 (𝜑 → (𝐷 1stF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐷))
45 1st2ndbr 8085 . . . . . . . 8 ((Rel ((𝐷 ×c 𝐸) Func 𝐷) ∧ (𝐷 1stF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐷)) → (1st ‘(𝐷 1stF 𝐸))((𝐷 ×c 𝐸) Func 𝐷)(2nd ‘(𝐷 1stF 𝐸)))
4643, 44, 45sylancr 599 . . . . . . 7 (𝜑 → (1st ‘(𝐷 1stF 𝐸))((𝐷 ×c 𝐸) Func 𝐷)(2nd ‘(𝐷 1stF 𝐸)))
474, 2, 46funcf1 18082 . . . . . 6 (𝜑 → (1st ‘(𝐷 1stF 𝐸)):((Base‘𝐷) × (Base‘𝐸))⟶(Base‘𝐷))
4847feqmptd 6982 . . . . 5 (𝜑 → (1st ‘(𝐷 1stF 𝐸)) = (𝑢 ∈ ((Base‘𝐷) × (Base‘𝐸)) ↦ ((1st ‘(𝐷 1stF 𝐸))‘𝑢)))
49 fveq2 6914 . . . . 5 (𝑢 = ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩ → ((1st ‘(𝐷 1stF 𝐸))‘𝑢) = ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
5028, 42, 48, 49fmptco 7160 . . . 4 (𝜑 → ((1st ‘(𝐷 1stF 𝐸)) ∘ (1st ‘𝑃)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩)))
5121feqmptd 6982 . . . 4 (𝜑 → (1st ‘𝐹) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘𝐹)‘𝑥)))
5234, 50, 513eqtr4d 2808 . . 3 (𝜑 → ((1st ‘(𝐷 1stF 𝐸)) ∘ (1st ‘𝑃)) = (1st ‘𝐹))
539ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐷 ∈ Cat)
5414ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐸 ∈ Cat)
55 relfunc 18078 . . . . . . . . . . . . . . . 16 Rel (𝐶 Func (𝐷 ×c 𝐸))
5635, 1, 6, 11prfcl 18418 . . . . . . . . . . . . . . . 16 (𝜑 → 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸)))
57 1st2ndbr 8085 . . . . . . . . . . . . . . . 16 ((Rel (𝐶 Func (𝐷 ×c 𝐸)) ∧ 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸))) → (1st ‘𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd ‘𝑃))
5855, 56, 57sylancr 599 . . . . . . . . . . . . . . 15 (𝜑 → (1st ‘𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd ‘𝑃))
5917, 4, 58funcf1 18082 . . . . . . . . . . . . . 14 (𝜑 → (1st ‘𝑃):(Base‘𝐶)⟶((Base‘𝐷) × (Base‘𝐸)))
6059ffvelcdmda 7114 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6160adantrr 730 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6261adantr 486 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6359ffvelcdmda 7114 . . . . . . . . . . . . 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, 651stf2 18408 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) = (1st ↾ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))))
6766fveq1d 6916 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((1st ↾ (((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 18084 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝑃)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))
7271ffvelcdmda 7114 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘𝑃)𝑦)‘𝑓) ∈ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))
7372fvresd 6934 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st ↾ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = (1st ‘((𝑥(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 18417 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘𝑃)𝑦)‘𝑓) = ⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩)
8079fveq2d 6918 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (1st ‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = (1st ‘⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩))
81 fvex 6927 . . . . . . . . . . 11 ((𝑥(2nd ‘𝐹)𝑦)‘𝑓) ∈ V
82 fvex 6927 . . . . . . . . . . 11 ((𝑥(2nd ‘𝐺)𝑦)‘𝑓) ∈ V
8381, 82op1st 8041 . . . . . . . . . 10 (1st ‘⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩) = ((𝑥(2nd ‘𝐹)𝑦)‘𝑓)
8480, 83eqtrdi 2814 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (1st ‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((𝑥(2nd ‘𝐹)𝑦)‘𝑓))
8567, 73, 843eqtrd 2802 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((𝑥(2nd ‘𝐹)𝑦)‘𝑓))
8685mpteq2dva 5202 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓))) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd ‘𝐹)𝑦)‘𝑓)))
87 eqid 2763 . . . . . . . . 9 (Hom ‘𝐷) = (Hom ‘𝐷)
8846adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st ‘(𝐷 1stF 𝐸))((𝐷 ×c 𝐸) Func 𝐷)(2nd ‘(𝐷 1stF 𝐸)))
894, 5, 87, 88, 61, 64funcf2 18084 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)):(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))⟶(((1st ‘(𝐷 1stF 𝐸))‘((1st ‘𝑃)‘𝑥))(Hom ‘𝐷)((1st ‘(𝐷 1stF 𝐸))‘((1st ‘𝑃)‘𝑦))))
90 fcompt 7164 . . . . . . . 8 (((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)):(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))⟶(((1st ‘(𝐷 1stF 𝐸))‘((1st ‘𝑃)‘𝑥))(Hom ‘𝐷)((1st ‘(𝐷 1stF 𝐸))‘((1st ‘𝑃)‘𝑦))) ∧ (𝑥(2nd ‘𝑃)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓))))
9189, 71, 90syl2anc 596 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓))))
9220adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
9317, 36, 87, 92, 69, 70funcf2 18084 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐹)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝐹)‘𝑥)(Hom ‘𝐷)((1st ‘𝐹)‘𝑦)))
9493feqmptd 6982 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐹)𝑦) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd ‘𝐹)𝑦)‘𝑓)))
9586, 91, 943eqtr4d 2808 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑥(2nd ‘𝐹)𝑦))
96953impb 1132 . . . . 5 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑥(2nd ‘𝐹)𝑦))
9796mpoeq3dva 7526 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦))) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐹)𝑦)))
9817, 20funcfn2 18085 . . . . 5 (𝜑 → (2nd ‘𝐹) Fn ((Base‘𝐶) × (Base‘𝐶)))
99 fnov 7580 . . . . 5 ((2nd ‘𝐹) Fn ((Base‘𝐶) × (Base‘𝐶)) ↔ (2nd ‘𝐹) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐹)𝑦)))
10098, 99sylib 221 . . . 4 (𝜑 → (2nd ‘𝐹) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐹)𝑦)))
10197, 100eqtr4d 2801 . . 3 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦))) = (2nd ‘𝐹))
10252, 101opeq12d 4851 . 2 (𝜑 → ⟨((1st ‘(𝐷 1stF 𝐸)) ∘ (1st ‘𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)))⟩ = ⟨(1st ‘𝐹), (2nd ‘𝐹)⟩)
10317, 56, 44cofuval 18098 . 2 (𝜑 → ((𝐷 1stF 𝐸) ∘func 𝑃) = ⟨((1st ‘(𝐷 1stF 𝐸)) ∘ (1st ‘𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)))⟩)
104 1st2nd 8082 . . 3 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → 𝐹 = ⟨(1st ‘𝐹), (2nd ‘𝐹)⟩)
10518, 6, 104sylancr 599 . 2 (𝜑 → 𝐹 = ⟨(1st ‘𝐹), (2nd ‘𝐹)⟩)
106102, 103, 1053eqtr4d 2808 1 (𝜑 → ((𝐷 1stF 𝐸) ∘func 𝑃) = 𝐹)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  ⟨cop 4838   class class class wbr 5106   ↦ cmpt 5190   × cxp 5654   ↾ cres 5658   ∘ ccom 5660  Rel wrel 5661   Fn wfn 6559  ⟶wf 6560  ‘cfv 6564  (class class class)co 7449   ∈ cmpo 7451  1st c1st 8031  2nd c2nd 8032  Basecbs 17428  Hom chom 17480  Catccat 17879   Func cfunc 18070   ∘func ccofu 18072   ×c cxpc 18383   1stF c1stf 18384   ⟨,⟩F cprf 18386
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5236  ax-sep 5253  ax-nul 5264  ax-pow 5332  ax-pr 5396  ax-un 7781  ax-cnex 11293  ax-resscn 11294  ax-1cn 11295  ax-icn 11296  ax-addcl 11297  ax-addrcl 11298  ax-mulcl 11299  ax-mulrcl 11300  ax-mulcom 11301  ax-addass 11302  ax-mulass 11303  ax-distr 11304  ax-i2m1 11305  ax-1ne0 11306  ax-1rid 11307  ax-rnegex 11308  ax-rrecex 11309  ax-cnre 11310  ax-pre-lttri 11311  ax-pre-lttrn 11312  ax-pre-ltadd 11313  ax-pre-mulgt0 11314
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-tp 4593  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-tr 5217  df-id 5551  df-eprel 5556  df-po 5564  df-so 5565  df-fr 5609  df-we 5611  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-pred 6328  df-ord 6389  df-on 6390  df-lim 6391  df-suc 6392  df-iota 6518  df-fun 6566  df-fn 6567  df-f 6568  df-f1 6569  df-fo 6570  df-f1o 6571  df-fv 6572  df-riota 7406  df-ov 7452  df-oprab 7453  df-mpo 7454  df-om 7910  df-1st 8033  df-2nd 8034  df-frecs 8335  df-wrecs 8366  df-recs 8415  df-rdg 8454  df-1o 8512  df-er 8753  df-map 8885  df-ixp 8962  df-en 9010  df-dom 9011  df-sdom 9012  df-fin 9013  df-pnf 11382  df-mnf 11383  df-xr 11384  df-ltxr 11385  df-le 11386  df-sub 11580  df-neg 11581  df-nn 12374  df-2 12443  df-3 12444  df-4 12445  df-5 12446  df-6 12447  df-7 12448  df-8 12449  df-9 12450  df-n0 12645  df-z 12732  df-dec 12853  df-uz 13004  df-fz 13678  df-struct 17366  df-slot 17401  df-ndx 17413  df-base 17429  df-hom 17493  df-cco 17494  df-cat 17883  df-cid 17884  df-func 18074  df-cofu 18076  df-xpc 18387  df-1stf 18388  df-prf 18390
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator