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

Theorem prf1st 18371
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 2761 . . . . . . 7 (𝐷 ×c 𝐸) = (𝐷 ×c 𝐸)
2 eqid 2761 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
3 eqid 2761 . . . . . . . 8 (Base‘𝐸) = (Base‘𝐸)
41, 2, 3xpcbas 18345 . . . . . . 7 ((Base‘𝐷) × (Base‘𝐸)) = (Base‘(𝐷 ×c 𝐸))
5 eqid 2761 . . . . . . 7 (Hom ‘(𝐷 ×c 𝐸)) = (Hom ‘(𝐷 ×c 𝐸))
6 prf1st.c . . . . . . . . . 10 (𝜑 → 𝐹 ∈ (𝐶 Func 𝐷))
7 funcrcl 18031 . . . . . . . . . 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 18031 . . . . . . . . . 10 (𝐺 ∈ (𝐶 Func 𝐸) → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1311, 12syl 18 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1413simprd 501 . . . . . . . 8 (𝜑 → 𝐸 ∈ Cat)
1514adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → 𝐸 ∈ Cat)
16 eqid 2761 . . . . . . 7 (𝐷 1stF 𝐸) = (𝐷 1stF 𝐸)
17 eqid 2761 . . . . . . . . . 10 (Base‘𝐶) = (Base‘𝐶)
18 relfunc 18030 . . . . . . . . . . 11 Rel (𝐶 Func 𝐷)
19 1st2ndbr 8051 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
2018, 6, 19sylancr 599 . . . . . . . . . 10 (𝜑 → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
2117, 2, 20funcf1 18034 . . . . . . . . 9 (𝜑 → (1st ‘𝐹):(Base‘𝐶)⟶(Base‘𝐷))
2221ffvelcdmda 7082 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝐹)‘𝑥) ∈ (Base‘𝐷))
23 relfunc 18030 . . . . . . . . . . 11 Rel (𝐶 Func 𝐸)
24 1st2ndbr 8051 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐸) ∧ 𝐺 ∈ (𝐶 Func 𝐸)) → (1st ‘𝐺)(𝐶 Func 𝐸)(2nd ‘𝐺))
2523, 11, 24sylancr 599 . . . . . . . . . 10 (𝜑 → (1st ‘𝐺)(𝐶 Func 𝐸)(2nd ‘𝐺))
2617, 3, 25funcf1 18034 . . . . . . . . 9 (𝜑 → (1st ‘𝐺):(Base‘𝐶)⟶(Base‘𝐸))
2726ffvelcdmda 7082 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝐺)‘𝑥) ∈ (Base‘𝐸))
2822, 27opelxpd 5690 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩ ∈ ((Base‘𝐷) × (Base‘𝐸)))
291, 4, 5, 10, 15, 16, 281stf1 18359 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = (1st ‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
30 fvex 6896 . . . . . . 7 ((1st ‘𝐹)‘𝑥) ∈ V
31 fvex 6896 . . . . . . 7 ((1st ‘𝐺)‘𝑥) ∈ V
3230, 31op1st 8007 . . . . . 6 (1st ‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = ((1st ‘𝐹)‘𝑥)
3329, 32eqtrdi 2812 . . . . 5 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = ((1st ‘𝐹)‘𝑥))
3433mpteq2dva 5198 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘𝐹)‘𝑥)))
35 prf1st.p . . . . . . 7 𝑃 = (𝐹 ⟨,⟩F 𝐺)
36 eqid 2761 . . . . . . 7 (Hom ‘𝐶) = (Hom ‘𝐶)
3735, 17, 36, 6, 11prfval 18366 . . . . . 6 (𝜑 → 𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩))⟩)
38 fvex 6896 . . . . . . . 8 (Base‘𝐶) ∈ V
3938mptex 7227 . . . . . . 7 (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) ∈ V
4038, 38mpoex 8090 . . . . . . 7 (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩)) ∈ V
4139, 40op1std 8009 . . . . . 6 (𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩))⟩ → (1st ‘𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
4237, 41syl 18 . . . . 5 (𝜑 → (1st ‘𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
43 relfunc 18030 . . . . . . . 8 Rel ((𝐷 ×c 𝐸) Func 𝐷)
441, 9, 14, 161stfcl 18364 . . . . . . . 8 (𝜑 → (𝐷 1stF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐷))
45 1st2ndbr 8051 . . . . . . . 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 18034 . . . . . 6 (𝜑 → (1st ‘(𝐷 1stF 𝐸)):((Base‘𝐷) × (Base‘𝐸))⟶(Base‘𝐷))
4847feqmptd 6951 . . . . 5 (𝜑 → (1st ‘(𝐷 1stF 𝐸)) = (𝑢 ∈ ((Base‘𝐷) × (Base‘𝐸)) ↦ ((1st ‘(𝐷 1stF 𝐸))‘𝑢)))
49 fveq2 6883 . . . . 5 (𝑢 = ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩ → ((1st ‘(𝐷 1stF 𝐸))‘𝑢) = ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
5028, 42, 48, 49fmptco 7128 . . . 4 (𝜑 → ((1st ‘(𝐷 1stF 𝐸)) ∘ (1st ‘𝑃)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩)))
5121feqmptd 6951 . . . 4 (𝜑 → (1st ‘𝐹) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘𝐹)‘𝑥)))
5234, 50, 513eqtr4d 2806 . . 3 (𝜑 → ((1st ‘(𝐷 1stF 𝐸)) ∘ (1st ‘𝑃)) = (1st ‘𝐹))
539ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐷 ∈ Cat)
5414ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐸 ∈ Cat)
55 relfunc 18030 . . . . . . . . . . . . . . . 16 Rel (𝐶 Func (𝐷 ×c 𝐸))
5635, 1, 6, 11prfcl 18370 . . . . . . . . . . . . . . . 16 (𝜑 → 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸)))
57 1st2ndbr 8051 . . . . . . . . . . . . . . . 16 ((Rel (𝐶 Func (𝐷 ×c 𝐸)) ∧ 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸))) → (1st ‘𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd ‘𝑃))
5855, 56, 57sylancr 599 . . . . . . . . . . . . . . 15 (𝜑 → (1st ‘𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd ‘𝑃))
5917, 4, 58funcf1 18034 . . . . . . . . . . . . . 14 (𝜑 → (1st ‘𝑃):(Base‘𝐶)⟶((Base‘𝐷) × (Base‘𝐸)))
6059ffvelcdmda 7082 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6160adantrr 730 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6261adantr 486 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6359ffvelcdmda 7082 . . . . . . . . . . . . 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 18360 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) = (1st ↾ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))))
6766fveq1d 6885 . . . . . . . . 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 18036 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝑃)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))
7271ffvelcdmda 7082 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘𝑃)𝑦)‘𝑓) ∈ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))
7372fvresd 6903 . . . . . . . . 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 18369 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘𝑃)𝑦)‘𝑓) = ⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩)
8079fveq2d 6887 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (1st ‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = (1st ‘⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩))
81 fvex 6896 . . . . . . . . . . 11 ((𝑥(2nd ‘𝐹)𝑦)‘𝑓) ∈ V
82 fvex 6896 . . . . . . . . . . 11 ((𝑥(2nd ‘𝐺)𝑦)‘𝑓) ∈ V
8381, 82op1st 8007 . . . . . . . . . 10 (1st ‘⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩) = ((𝑥(2nd ‘𝐹)𝑦)‘𝑓)
8480, 83eqtrdi 2812 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (1st ‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((𝑥(2nd ‘𝐹)𝑦)‘𝑓))
8567, 73, 843eqtrd 2800 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((𝑥(2nd ‘𝐹)𝑦)‘𝑓))
8685mpteq2dva 5198 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓))) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd ‘𝐹)𝑦)‘𝑓)))
87 eqid 2761 . . . . . . . . 9 (Hom ‘𝐷) = (Hom ‘𝐷)
8846adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st ‘(𝐷 1stF 𝐸))((𝐷 ×c 𝐸) Func 𝐷)(2nd ‘(𝐷 1stF 𝐸)))
894, 5, 87, 88, 61, 64funcf2 18036 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)):(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))⟶(((1st ‘(𝐷 1stF 𝐸))‘((1st ‘𝑃)‘𝑥))(Hom ‘𝐷)((1st ‘(𝐷 1stF 𝐸))‘((1st ‘𝑃)‘𝑦))))
90 fcompt 7132 . . . . . . . 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 18036 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐹)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝐹)‘𝑥)(Hom ‘𝐷)((1st ‘𝐹)‘𝑦)))
9493feqmptd 6951 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐹)𝑦) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd ‘𝐹)𝑦)‘𝑓)))
9586, 91, 943eqtr4d 2806 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑥(2nd ‘𝐹)𝑦))
96953impb 1132 . . . . 5 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑥(2nd ‘𝐹)𝑦))
9796mpoeq3dva 7495 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦))) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐹)𝑦)))
9817, 20funcfn2 18037 . . . . 5 (𝜑 → (2nd ‘𝐹) Fn ((Base‘𝐶) × (Base‘𝐶)))
99 fnov 7549 . . . . 5 ((2nd ‘𝐹) Fn ((Base‘𝐶) × (Base‘𝐶)) ↔ (2nd ‘𝐹) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐹)𝑦)))
10098, 99sylib 221 . . . 4 (𝜑 → (2nd ‘𝐹) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐹)𝑦)))
10197, 100eqtr4d 2799 . . 3 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦))) = (2nd ‘𝐹))
10252, 101opeq12d 4841 . 2 (𝜑 → ⟨((1st ‘(𝐷 1stF 𝐸)) ∘ (1st ‘𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)))⟩ = ⟨(1st ‘𝐹), (2nd ‘𝐹)⟩)
10317, 56, 44cofuval 18050 . 2 (𝜑 → ((𝐷 1stF 𝐸) ∘func 𝑃) = ⟨((1st ‘(𝐷 1stF 𝐸)) ∘ (1st ‘𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)))⟩)
104 1st2nd 8048 . . 3 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → 𝐹 = ⟨(1st ‘𝐹), (2nd ‘𝐹)⟩)
10518, 6, 104sylancr 599 . 2 (𝜑 → 𝐹 = ⟨(1st ‘𝐹), (2nd ‘𝐹)⟩)
106102, 103, 1053eqtr4d 2806 1 (𝜑 → ((𝐷 1stF 𝐸) ∘func 𝑃) = 𝐹)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ⟨cop 4590   class class class wbr 5103   ↦ cmpt 5186   × cxp 5649   ↾ cres 5653   ∘ ccom 5655  Rel wrel 5656   Fn wfn 6532  ⟶wf 6533  ‘cfv 6537  (class class class)co 7418   ∈ cmpo 7420  1st c1st 7997  2nd c2nd 7998  Basecbs 17380  Hom chom 17432  Catccat 17831   Func cfunc 18022   ∘func ccofu 18024   ×c cxpc 18335   1stF c1stf 18336   ⟨,⟩F cprf 18338
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749  ax-cnex 11249  ax-resscn 11250  ax-1cn 11251  ax-icn 11252  ax-addcl 11253  ax-addrcl 11254  ax-mulcl 11255  ax-mulrcl 11256  ax-mulcom 11257  ax-addass 11258  ax-mulass 11259  ax-distr 11260  ax-i2m1 11261  ax-1ne0 11262  ax-1rid 11263  ax-rnegex 11264  ax-rrecex 11265  ax-cnre 11266  ax-pre-lttri 11267  ax-pre-lttrn 11268  ax-pre-ltadd 11269  ax-pre-mulgt0 11270
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 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-tp 4589  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6303  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-riota 7375  df-ov 7421  df-oprab 7422  df-mpo 7423  df-om 7876  df-1st 7999  df-2nd 8000  df-frecs 8292  df-wrecs 8323  df-recs 8372  df-rdg 8411  df-1o 8469  df-er 8710  df-map 8842  df-ixp 8919  df-en 8967  df-dom 8968  df-sdom 8969  df-fin 8970  df-pnf 11338  df-mnf 11339  df-xr 11340  df-ltxr 11341  df-le 11342  df-sub 11536  df-neg 11537  df-nn 12329  df-2 12398  df-3 12399  df-4 12400  df-5 12401  df-6 12402  df-7 12403  df-8 12404  df-9 12405  df-n0 12600  df-z 12687  df-dec 12808  df-uz 12959  df-fz 13633  df-struct 17318  df-slot 17353  df-ndx 17365  df-base 17381  df-hom 17445  df-cco 17446  df-cat 17835  df-cid 17836  df-func 18026  df-cofu 18028  df-xpc 18339  df-1stf 18340  df-prf 18342
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator