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

Theorem prf2nd 17457
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 2823 . . . . . . 7 (𝐷 ×c 𝐸) = (𝐷 ×c 𝐸)
2 eqid 2823 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
3 eqid 2823 . . . . . . . 8 (Base‘𝐸) = (Base‘𝐸)
41, 2, 3xpcbas 17430 . . . . . . 7 ((Base‘𝐷) × (Base‘𝐸)) = (Base‘(𝐷 ×c 𝐸))
5 eqid 2823 . . . . . . 7 (Hom ‘(𝐷 ×c 𝐸)) = (Hom ‘(𝐷 ×c 𝐸))
6 prf1st.c . . . . . . . . . 10 (𝜑𝐹 ∈ (𝐶 Func 𝐷))
7 funcrcl 17135 . . . . . . . . . 10 (𝐹 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
86, 7syl 17 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
98simprd 498 . . . . . . . 8 (𝜑𝐷 ∈ Cat)
109adantr 483 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐷 ∈ Cat)
11 prf1st.d . . . . . . . . . 10 (𝜑𝐺 ∈ (𝐶 Func 𝐸))
12 funcrcl 17135 . . . . . . . . . 10 (𝐺 ∈ (𝐶 Func 𝐸) → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1311, 12syl 17 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1413simprd 498 . . . . . . . 8 (𝜑𝐸 ∈ Cat)
1514adantr 483 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐸 ∈ Cat)
16 eqid 2823 . . . . . . 7 (𝐷 2ndF 𝐸) = (𝐷 2ndF 𝐸)
17 eqid 2823 . . . . . . . . . 10 (Base‘𝐶) = (Base‘𝐶)
18 relfunc 17134 . . . . . . . . . . 11 Rel (𝐶 Func 𝐷)
19 1st2ndbr 7743 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
2018, 6, 19sylancr 589 . . . . . . . . . 10 (𝜑 → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
2117, 2, 20funcf1 17138 . . . . . . . . 9 (𝜑 → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
2221ffvelrnda 6853 . . . . . . . 8 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
23 relfunc 17134 . . . . . . . . . . 11 Rel (𝐶 Func 𝐸)
24 1st2ndbr 7743 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐸) ∧ 𝐺 ∈ (𝐶 Func 𝐸)) → (1st𝐺)(𝐶 Func 𝐸)(2nd𝐺))
2523, 11, 24sylancr 589 . . . . . . . . . 10 (𝜑 → (1st𝐺)(𝐶 Func 𝐸)(2nd𝐺))
2617, 3, 25funcf1 17138 . . . . . . . . 9 (𝜑 → (1st𝐺):(Base‘𝐶)⟶(Base‘𝐸))
2726ffvelrnda 6853 . . . . . . . 8 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐺)‘𝑥) ∈ (Base‘𝐸))
2822, 27opelxpd 5595 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩ ∈ ((Base‘𝐷) × (Base‘𝐸)))
291, 4, 5, 10, 15, 16, 282ndf1 17447 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩) = (2nd ‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩))
30 fvex 6685 . . . . . . 7 ((1st𝐹)‘𝑥) ∈ V
31 fvex 6685 . . . . . . 7 ((1st𝐺)‘𝑥) ∈ V
3230, 31op2nd 7700 . . . . . 6 (2nd ‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩) = ((1st𝐺)‘𝑥)
3329, 32syl6eq 2874 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩) = ((1st𝐺)‘𝑥))
3433mpteq2dva 5163 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st𝐺)‘𝑥)))
35 prf1st.p . . . . . . 7 𝑃 = (𝐹 ⟨,⟩F 𝐺)
36 eqid 2823 . . . . . . 7 (Hom ‘𝐶) = (Hom ‘𝐶)
3735, 17, 36, 6, 11prfval 17451 . . . . . 6 (𝜑𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ( ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd𝐹)𝑦)‘), ((𝑥(2nd𝐺)𝑦)‘)⟩))⟩)
38 fvex 6685 . . . . . . . 8 (Base‘𝐶) ∈ V
3938mptex 6988 . . . . . . 7 (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩) ∈ V
4038, 38mpoex 7779 . . . . . . 7 (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ( ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd𝐹)𝑦)‘), ((𝑥(2nd𝐺)𝑦)‘)⟩)) ∈ V
4139, 40op1std 7701 . . . . . 6 (𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ( ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd𝐹)𝑦)‘), ((𝑥(2nd𝐺)𝑦)‘)⟩))⟩ → (1st𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩))
4237, 41syl 17 . . . . 5 (𝜑 → (1st𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩))
43 relfunc 17134 . . . . . . . 8 Rel ((𝐷 ×c 𝐸) Func 𝐸)
441, 9, 14, 162ndfcl 17450 . . . . . . . 8 (𝜑 → (𝐷 2ndF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐸))
45 1st2ndbr 7743 . . . . . . . 8 ((Rel ((𝐷 ×c 𝐸) Func 𝐸) ∧ (𝐷 2ndF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐸)) → (1st ‘(𝐷 2ndF 𝐸))((𝐷 ×c 𝐸) Func 𝐸)(2nd ‘(𝐷 2ndF 𝐸)))
4643, 44, 45sylancr 589 . . . . . . 7 (𝜑 → (1st ‘(𝐷 2ndF 𝐸))((𝐷 ×c 𝐸) Func 𝐸)(2nd ‘(𝐷 2ndF 𝐸)))
474, 3, 46funcf1 17138 . . . . . 6 (𝜑 → (1st ‘(𝐷 2ndF 𝐸)):((Base‘𝐷) × (Base‘𝐸))⟶(Base‘𝐸))
4847feqmptd 6735 . . . . 5 (𝜑 → (1st ‘(𝐷 2ndF 𝐸)) = (𝑢 ∈ ((Base‘𝐷) × (Base‘𝐸)) ↦ ((1st ‘(𝐷 2ndF 𝐸))‘𝑢)))
49 fveq2 6672 . . . . 5 (𝑢 = ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩ → ((1st ‘(𝐷 2ndF 𝐸))‘𝑢) = ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩))
5028, 42, 48, 49fmptco 6893 . . . 4 (𝜑 → ((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st𝑃)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 2ndF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩)))
5126feqmptd 6735 . . . 4 (𝜑 → (1st𝐺) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st𝐺)‘𝑥)))
5234, 50, 513eqtr4d 2868 . . 3 (𝜑 → ((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st𝑃)) = (1st𝐺))
539ad2antrr 724 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐷 ∈ Cat)
5414ad2antrr 724 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐸 ∈ Cat)
55 relfunc 17134 . . . . . . . . . . . . . . . 16 Rel (𝐶 Func (𝐷 ×c 𝐸))
5635, 1, 6, 11prfcl 17455 . . . . . . . . . . . . . . . 16 (𝜑𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸)))
57 1st2ndbr 7743 . . . . . . . . . . . . . . . 16 ((Rel (𝐶 Func (𝐷 ×c 𝐸)) ∧ 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸))) → (1st𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd𝑃))
5855, 56, 57sylancr 589 . . . . . . . . . . . . . . 15 (𝜑 → (1st𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd𝑃))
5917, 4, 58funcf1 17138 . . . . . . . . . . . . . 14 (𝜑 → (1st𝑃):(Base‘𝐶)⟶((Base‘𝐷) × (Base‘𝐸)))
6059ffvelrnda 6853 . . . . . . . . . . . . 13 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6160adantrr 715 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6261adantr 483 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6359ffvelrnda 6853 . . . . . . . . . . . . 13 ((𝜑𝑦 ∈ (Base‘𝐶)) → ((1st𝑃)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6463adantrl 714 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝑃)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6564adantr 483 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st𝑃)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
661, 4, 5, 53, 54, 16, 62, 652ndf2 17448 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦)) = (2nd ↾ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦))))
6766fveq1d 6674 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦))‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = ((2nd ↾ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)))‘((𝑥(2nd𝑃)𝑦)‘𝑓)))
6858adantr 483 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd𝑃))
69 simprl 769 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
70 simprr 771 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
7117, 36, 5, 68, 69, 70funcf2 17140 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝑃)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)))
7271ffvelrnda 6853 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd𝑃)𝑦)‘𝑓) ∈ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)))
7372fvresd 6692 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((2nd ↾ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)))‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = (2nd ‘((𝑥(2nd𝑃)𝑦)‘𝑓)))
746ad2antrr 724 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐹 ∈ (𝐶 Func 𝐷))
7511ad2antrr 724 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐺 ∈ (𝐶 Func 𝐸))
7669adantr 483 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑥 ∈ (Base‘𝐶))
7770adantr 483 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑦 ∈ (Base‘𝐶))
78 simpr 487 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))
7935, 17, 36, 74, 75, 76, 77, 78prf2 17454 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd𝑃)𝑦)‘𝑓) = ⟨((𝑥(2nd𝐹)𝑦)‘𝑓), ((𝑥(2nd𝐺)𝑦)‘𝑓)⟩)
8079fveq2d 6676 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (2nd ‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = (2nd ‘⟨((𝑥(2nd𝐹)𝑦)‘𝑓), ((𝑥(2nd𝐺)𝑦)‘𝑓)⟩))
81 fvex 6685 . . . . . . . . . . 11 ((𝑥(2nd𝐹)𝑦)‘𝑓) ∈ V
82 fvex 6685 . . . . . . . . . . 11 ((𝑥(2nd𝐺)𝑦)‘𝑓) ∈ V
8381, 82op2nd 7700 . . . . . . . . . 10 (2nd ‘⟨((𝑥(2nd𝐹)𝑦)‘𝑓), ((𝑥(2nd𝐺)𝑦)‘𝑓)⟩) = ((𝑥(2nd𝐺)𝑦)‘𝑓)
8480, 83syl6eq 2874 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (2nd ‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = ((𝑥(2nd𝐺)𝑦)‘𝑓))
8567, 73, 843eqtrd 2862 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦))‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = ((𝑥(2nd𝐺)𝑦)‘𝑓))
8685mpteq2dva 5163 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦))‘((𝑥(2nd𝑃)𝑦)‘𝑓))) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd𝐺)𝑦)‘𝑓)))
87 eqid 2823 . . . . . . . . 9 (Hom ‘𝐸) = (Hom ‘𝐸)
8846adantr 483 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st ‘(𝐷 2ndF 𝐸))((𝐷 ×c 𝐸) Func 𝐸)(2nd ‘(𝐷 2ndF 𝐸)))
894, 5, 87, 88, 61, 64funcf2 17140 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦)):(((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦))⟶(((1st ‘(𝐷 2ndF 𝐸))‘((1st𝑃)‘𝑥))(Hom ‘𝐸)((1st ‘(𝐷 2ndF 𝐸))‘((1st𝑃)‘𝑦))))
90 fcompt 6897 . . . . . . . 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 586 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦))‘((𝑥(2nd𝑃)𝑦)‘𝑓))))
9225adantr 483 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st𝐺)(𝐶 Func 𝐸)(2nd𝐺))
9317, 36, 87, 92, 69, 70funcf2 17140 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐺)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐺)‘𝑥)(Hom ‘𝐸)((1st𝐺)‘𝑦)))
9493feqmptd 6735 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐺)𝑦) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd𝐺)𝑦)‘𝑓)))
9586, 91, 943eqtr4d 2868 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)) = (𝑥(2nd𝐺)𝑦))
96953impb 1111 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)) = (𝑥(2nd𝐺)𝑦))
9796mpoeq3dva 7233 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦))) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd𝐺)𝑦)))
9817, 25funcfn2 17141 . . . . 5 (𝜑 → (2nd𝐺) Fn ((Base‘𝐶) × (Base‘𝐶)))
99 fnov 7284 . . . . 5 ((2nd𝐺) Fn ((Base‘𝐶) × (Base‘𝐶)) ↔ (2nd𝐺) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd𝐺)𝑦)))
10098, 99sylib 220 . . . 4 (𝜑 → (2nd𝐺) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd𝐺)𝑦)))
10197, 100eqtr4d 2861 . . 3 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦))) = (2nd𝐺))
10252, 101opeq12d 4813 . 2 (𝜑 → ⟨((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)))⟩ = ⟨(1st𝐺), (2nd𝐺)⟩)
10317, 56, 44cofuval 17154 . 2 (𝜑 → ((𝐷 2ndF 𝐸) ∘func 𝑃) = ⟨((1st ‘(𝐷 2ndF 𝐸)) ∘ (1st𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 2ndF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)))⟩)
104 1st2nd 7740 . . 3 ((Rel (𝐶 Func 𝐸) ∧ 𝐺 ∈ (𝐶 Func 𝐸)) → 𝐺 = ⟨(1st𝐺), (2nd𝐺)⟩)
10523, 11, 104sylancr 589 . 2 (𝜑𝐺 = ⟨(1st𝐺), (2nd𝐺)⟩)
106102, 103, 1053eqtr4d 2868 1 (𝜑 → ((𝐷 2ndF 𝐸) ∘func 𝑃) = 𝐺)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  cop 4575   class class class wbr 5068  cmpt 5148   × cxp 5555  cres 5559  ccom 5561  Rel wrel 5562   Fn wfn 6352  wf 6353  cfv 6357  (class class class)co 7158  cmpo 7160  1st c1st 7689  2nd c2nd 7690  Basecbs 16485  Hom chom 16578  Catccat 16937   Func cfunc 17126  func ccofu 17128   ×c cxpc 17420   2ndF c2ndf 17422   ⟨,⟩F cprf 17423
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-rep 5192  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-cnex 10595  ax-resscn 10596  ax-1cn 10597  ax-icn 10598  ax-addcl 10599  ax-addrcl 10600  ax-mulcl 10601  ax-mulrcl 10602  ax-mulcom 10603  ax-addass 10604  ax-mulass 10605  ax-distr 10606  ax-i2m1 10607  ax-1ne0 10608  ax-1rid 10609  ax-rnegex 10610  ax-rrecex 10611  ax-cnre 10612  ax-pre-lttri 10613  ax-pre-lttrn 10614  ax-pre-ltadd 10615  ax-pre-mulgt0 10616
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-nel 3126  df-ral 3145  df-rex 3146  df-reu 3147  df-rmo 3148  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-int 4879  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-pred 6150  df-ord 6196  df-on 6197  df-lim 6198  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-riota 7116  df-ov 7161  df-oprab 7162  df-mpo 7163  df-om 7583  df-1st 7691  df-2nd 7692  df-wrecs 7949  df-recs 8010  df-rdg 8048  df-1o 8104  df-oadd 8108  df-er 8291  df-map 8410  df-ixp 8464  df-en 8512  df-dom 8513  df-sdom 8514  df-fin 8515  df-pnf 10679  df-mnf 10680  df-xr 10681  df-ltxr 10682  df-le 10683  df-sub 10874  df-neg 10875  df-nn 11641  df-2 11703  df-3 11704  df-4 11705  df-5 11706  df-6 11707  df-7 11708  df-8 11709  df-9 11710  df-n0 11901  df-z 11985  df-dec 12102  df-uz 12247  df-fz 12896  df-struct 16487  df-ndx 16488  df-slot 16489  df-base 16491  df-hom 16591  df-cco 16592  df-cat 16941  df-cid 16942  df-func 17130  df-cofu 17132  df-xpc 17424  df-2ndf 17426  df-prf 17427
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator