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

Theorem prf2nd 18359
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 2761 . . . . . . 7 (𝐷 ×c 𝐸) = (𝐷 ×c 𝐸)
2 eqid 2761 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
3 eqid 2761 . . . . . . . 8 (Base‘𝐸) = (Base‘𝐸)
41, 2, 3xpcbas 18332 . . . . . . 7 ((Base‘𝐷) × (Base‘𝐸)) = (Base‘(𝐷 ×c 𝐸))
5 eqid 2761 . . . . . . 7 (Hom ‘(𝐷 ×c 𝐸)) = (Hom ‘(𝐷 ×c 𝐸))
6 prf1st.c . . . . . . . . . 10 (𝜑 → 𝐹 ∈ (𝐶 Func 𝐷))
7 funcrcl 18018 . . . . . . . . . 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 18018 . . . . . . . . . 10 (𝐺 ∈ (𝐶 Func 𝐸) → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1311, 12syl 18 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1413simprd 501 . . . . . . . 8 (𝜑 → 𝐸 ∈ Cat)
1514adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → 𝐸 ∈ Cat)
16 eqid 2761 . . . . . . 7 (𝐷 2ndF 𝐸) = (𝐷 2ndF 𝐸)
17 eqid 2761 . . . . . . . . . 10 (Base‘𝐶) = (Base‘𝐶)
18 relfunc 18017 . . . . . . . . . . 11 Rel (𝐶 Func 𝐷)
19 1st2ndbr 8042 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
2018, 6, 19sylancr 599 . . . . . . . . . 10 (𝜑 → (1st ‘𝐹)(𝐶 Func 𝐷)(2nd ‘𝐹))
2117, 2, 20funcf1 18021 . . . . . . . . 9 (𝜑 → (1st ‘𝐹):(Base‘𝐶)⟶(Base‘𝐷))
2221ffvelcdmda 7076 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝐹)‘𝑥) ∈ (Base‘𝐷))
23 relfunc 18017 . . . . . . . . . . 11 Rel (𝐶 Func 𝐸)
24 1st2ndbr 8042 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐸) ∧ 𝐺 ∈ (𝐶 Func 𝐸)) → (1st ‘𝐺)(𝐶 Func 𝐸)(2nd ‘𝐺))
2523, 11, 24sylancr 599 . . . . . . . . . 10 (𝜑 → (1st ‘𝐺)(𝐶 Func 𝐸)(2nd ‘𝐺))
2617, 3, 25funcf1 18021 . . . . . . . . 9 (𝜑 → (1st ‘𝐺):(Base‘𝐶)⟶(Base‘𝐸))
2726ffvelcdmda 7076 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝐺)‘𝑥) ∈ (Base‘𝐸))
2822, 27opelxpd 5690 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩ ∈ ((Base‘𝐷) × (Base‘𝐸)))
291, 4, 5, 10, 15, 16, 282ndf1 18349 . . . . . 6 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = (2nd ‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
30 fvex 6890 . . . . . . 7 ((1st ‘𝐹)‘𝑥) ∈ V
31 fvex 6890 . . . . . . 7 ((1st ‘𝐺)‘𝑥) ∈ V
3230, 31op2nd 7999 . . . . . 6 (2nd ‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = ((1st ‘𝐺)‘𝑥)
3329, 32eqtrdi 2812 . . . . 5 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) = ((1st ‘𝐺)‘𝑥))
3433mpteq2dva 5198 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘𝐺)‘𝑥)))
35 prf1st.p . . . . . . 7 𝑃 = (𝐹 ⟨,⟩F 𝐺)
36 eqid 2761 . . . . . . 7 (Hom ‘𝐶) = (Hom ‘𝐶)
3735, 17, 36, 6, 11prfval 18353 . . . . . 6 (𝜑 → 𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩))⟩)
38 fvex 6890 . . . . . . . 8 (Base‘𝐶) ∈ V
3938mptex 7221 . . . . . . 7 (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩) ∈ V
4038, 38mpoex 8081 . . . . . . 7 (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩)) ∈ V
4139, 40op1std 8000 . . . . . 6 (𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (ℎ ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd ‘𝐹)𝑦)‘ℎ), ((𝑥(2nd ‘𝐺)𝑦)‘ℎ)⟩))⟩ → (1st ‘𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
4237, 41syl 18 . . . . 5 (𝜑 → (1st ‘𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
43 relfunc 18017 . . . . . . . 8 Rel ((𝐷 ×c 𝐸) Func 𝐸)
441, 9, 14, 162ndfcl 18352 . . . . . . . 8 (𝜑 → (𝐷 2ndF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐸))
45 1st2ndbr 8042 . . . . . . . 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 18021 . . . . . 6 (𝜑 → (1st ‘(𝐷 2ndF 𝐸)):((Base‘𝐷) × (Base‘𝐸))⟶(Base‘𝐸))
4847feqmptd 6945 . . . . 5 (𝜑 → (1st ‘(𝐷 2ndF 𝐸)) = (𝑢 ∈ ((Base‘𝐷) × (Base‘𝐸)) ↦ ((1st ‘(𝐷 2ndF 𝐸))‘𝑢)))
49 fveq2 6877 . . . . 5 (𝑢 = ⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩ → ((1st ‘(𝐷 2ndF 𝐸))‘𝑢) = ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩))
5028, 42, 48, 49fmptco 7122 . . . 4 (𝜑 → ((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st ‘𝑃)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st ‘𝐹)‘𝑥), ((1st ‘𝐺)‘𝑥)⟩)))
5126feqmptd 6945 . . . 4 (𝜑 → (1st ‘𝐺) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘𝐺)‘𝑥)))
5234, 50, 513eqtr4d 2806 . . 3 (𝜑 → ((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st ‘𝑃)) = (1st ‘𝐺))
539ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐷 ∈ Cat)
5414ad2antrr 739 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐸 ∈ Cat)
55 relfunc 18017 . . . . . . . . . . . . . . . 16 Rel (𝐶 Func (𝐷 ×c 𝐸))
5635, 1, 6, 11prfcl 18357 . . . . . . . . . . . . . . . 16 (𝜑 → 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸)))
57 1st2ndbr 8042 . . . . . . . . . . . . . . . 16 ((Rel (𝐶 Func (𝐷 ×c 𝐸)) ∧ 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸))) → (1st ‘𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd ‘𝑃))
5855, 56, 57sylancr 599 . . . . . . . . . . . . . . 15 (𝜑 → (1st ‘𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd ‘𝑃))
5917, 4, 58funcf1 18021 . . . . . . . . . . . . . 14 (𝜑 → (1st ‘𝑃):(Base‘𝐶)⟶((Base‘𝐷) × (Base‘𝐸)))
6059ffvelcdmda 7076 . . . . . . . . . . . . 13 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶)) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6160adantrr 730 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6261adantr 486 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st ‘𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6359ffvelcdmda 7076 . . . . . . . . . . . . 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 18350 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) = (2nd ↾ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))))
6766fveq1d 6879 . . . . . . . . 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 18023 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝑃)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))
7271ffvelcdmda 7076 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘𝑃)𝑦)‘𝑓) ∈ (((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦)))
7372fvresd 6897 . . . . . . . . 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 18356 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd ‘𝑃)𝑦)‘𝑓) = ⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩)
8079fveq2d 6881 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (2nd ‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = (2nd ‘⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩))
81 fvex 6890 . . . . . . . . . . 11 ((𝑥(2nd ‘𝐹)𝑦)‘𝑓) ∈ V
82 fvex 6890 . . . . . . . . . . 11 ((𝑥(2nd ‘𝐺)𝑦)‘𝑓) ∈ V
8381, 82op2nd 7999 . . . . . . . . . 10 (2nd ‘⟨((𝑥(2nd ‘𝐹)𝑦)‘𝑓), ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)⟩) = ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)
8480, 83eqtrdi 2812 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (2nd ‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((𝑥(2nd ‘𝐺)𝑦)‘𝑓))
8567, 73, 843eqtrd 2800 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓)) = ((𝑥(2nd ‘𝐺)𝑦)‘𝑓))
8685mpteq2dva 5198 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦))‘((𝑥(2nd ‘𝑃)𝑦)‘𝑓))) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)))
87 eqid 2761 . . . . . . . . 9 (Hom ‘𝐸) = (Hom ‘𝐸)
8846adantr 486 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st ‘(𝐷 2ndF 𝐸))((𝐷 ×c 𝐸) Func 𝐸)(2nd ‘(𝐷 2ndF 𝐸)))
894, 5, 87, 88, 61, 64funcf2 18023 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)):(((1st ‘𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st ‘𝑃)‘𝑦))⟶(((1st ‘(𝐷 2ndF 𝐸))‘((1st ‘𝑃)‘𝑥))(Hom ‘𝐸)((1st ‘(𝐷 2ndF 𝐸))‘((1st ‘𝑃)‘𝑦))))
90 fcompt 7126 . . . . . . . 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 18023 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐺)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st ‘𝐺)‘𝑥)(Hom ‘𝐸)((1st ‘𝐺)‘𝑦)))
9493feqmptd 6945 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd ‘𝐺)𝑦) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd ‘𝐺)𝑦)‘𝑓)))
9586, 91, 943eqtr4d 2806 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑥(2nd ‘𝐺)𝑦))
96953impb 1132 . . . . 5 ((𝜑 ∧ 𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)) = (𝑥(2nd ‘𝐺)𝑦))
9796mpoeq3dva 7489 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦))) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd ‘𝐺)𝑦)))
9817, 25funcfn2 18024 . . . . 5 (𝜑 → (2nd ‘𝐺) Fn ((Base‘𝐶) × (Base‘𝐶)))
99 fnov 7543 . . . . 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 ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦))) = (2nd ‘𝐺))
10252, 101opeq12d 4841 . 2 (𝜑 → ⟨((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st ‘𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)))⟩ = ⟨(1st ‘𝐺), (2nd ‘𝐺)⟩)
10317, 56, 44cofuval 18037 . 2 (𝜑 → ((𝐷 2ndF 𝐸) ∘func 𝑃) = ⟨((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st ‘𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st ‘𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st ‘𝑃)‘𝑦)) ∘ (𝑥(2nd ‘𝑃)𝑦)))⟩)
104 1st2nd 8039 . . 3 ((Rel (𝐶 Func 𝐸) ∧ 𝐺 ∈ (𝐶 Func 𝐸)) → 𝐺 = ⟨(1st ‘𝐺), (2nd ‘𝐺)⟩)
10523, 11, 104sylancr 599 . 2 (𝜑 → 𝐺 = ⟨(1st ‘𝐺), (2nd ‘𝐺)⟩)
106102, 103, 1053eqtr4d 2806 1 (𝜑 → ((𝐷 2ndF 𝐸) ∘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 6526  ⟶wf 6527  ‘cfv 6531  (class class class)co 7412   ∈ cmpo 7414  1st c1st 7988  2nd c2nd 7989  Basecbs 17367  Hom chom 17419  Catccat 17818   Func cfunc 18009   ∘func ccofu 18011   ×c cxpc 18322   2ndF c2ndf 18324   ⟨,⟩F cprf 18325
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 7740  ax-cnex 11237  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257  ax-pre-mulgt0 11258
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 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-om 7867  df-1st 7990  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-1o 8460  df-er 8701  df-map 8833  df-ixp 8910  df-en 8958  df-dom 8959  df-sdom 8960  df-fin 8961  df-pnf 11326  df-mnf 11327  df-xr 11328  df-ltxr 11329  df-le 11330  df-sub 11524  df-neg 11525  df-nn 12317  df-2 12386  df-3 12387  df-4 12388  df-5 12389  df-6 12390  df-7 12391  df-8 12392  df-9 12393  df-n0 12588  df-z 12675  df-dec 12796  df-uz 12947  df-fz 13621  df-struct 17305  df-slot 17340  df-ndx 17352  df-base 17368  df-hom 17432  df-cco 17433  df-cat 17822  df-cid 17823  df-func 18013  df-cofu 18015  df-xpc 18326  df-2ndf 18328  df-prf 18329
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator