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

Theorem prf1st 17045
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 2760 . . . . . . 7 (𝐷 ×c 𝐸) = (𝐷 ×c 𝐸)
2 eqid 2760 . . . . . . . 8 (Base‘𝐷) = (Base‘𝐷)
3 eqid 2760 . . . . . . . 8 (Base‘𝐸) = (Base‘𝐸)
41, 2, 3xpcbas 17019 . . . . . . 7 ((Base‘𝐷) × (Base‘𝐸)) = (Base‘(𝐷 ×c 𝐸))
5 eqid 2760 . . . . . . 7 (Hom ‘(𝐷 ×c 𝐸)) = (Hom ‘(𝐷 ×c 𝐸))
6 prf1st.c . . . . . . . . . 10 (𝜑𝐹 ∈ (𝐶 Func 𝐷))
7 funcrcl 16724 . . . . . . . . . 10 (𝐹 ∈ (𝐶 Func 𝐷) → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
86, 7syl 17 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ 𝐷 ∈ Cat))
98simprd 482 . . . . . . . 8 (𝜑𝐷 ∈ Cat)
109adantr 472 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐷 ∈ Cat)
11 prf1st.d . . . . . . . . . 10 (𝜑𝐺 ∈ (𝐶 Func 𝐸))
12 funcrcl 16724 . . . . . . . . . 10 (𝐺 ∈ (𝐶 Func 𝐸) → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1311, 12syl 17 . . . . . . . . 9 (𝜑 → (𝐶 ∈ Cat ∧ 𝐸 ∈ Cat))
1413simprd 482 . . . . . . . 8 (𝜑𝐸 ∈ Cat)
1514adantr 472 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → 𝐸 ∈ Cat)
16 eqid 2760 . . . . . . 7 (𝐷 1stF 𝐸) = (𝐷 1stF 𝐸)
17 eqid 2760 . . . . . . . . . 10 (Base‘𝐶) = (Base‘𝐶)
18 relfunc 16723 . . . . . . . . . . 11 Rel (𝐶 Func 𝐷)
19 1st2ndbr 7384 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
2018, 6, 19sylancr 698 . . . . . . . . . 10 (𝜑 → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
2117, 2, 20funcf1 16727 . . . . . . . . 9 (𝜑 → (1st𝐹):(Base‘𝐶)⟶(Base‘𝐷))
2221ffvelrnda 6522 . . . . . . . 8 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐹)‘𝑥) ∈ (Base‘𝐷))
23 relfunc 16723 . . . . . . . . . . 11 Rel (𝐶 Func 𝐸)
24 1st2ndbr 7384 . . . . . . . . . . 11 ((Rel (𝐶 Func 𝐸) ∧ 𝐺 ∈ (𝐶 Func 𝐸)) → (1st𝐺)(𝐶 Func 𝐸)(2nd𝐺))
2523, 11, 24sylancr 698 . . . . . . . . . 10 (𝜑 → (1st𝐺)(𝐶 Func 𝐸)(2nd𝐺))
2617, 3, 25funcf1 16727 . . . . . . . . 9 (𝜑 → (1st𝐺):(Base‘𝐶)⟶(Base‘𝐸))
2726ffvelrnda 6522 . . . . . . . 8 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝐺)‘𝑥) ∈ (Base‘𝐸))
28 opelxpi 5305 . . . . . . . 8 ((((1st𝐹)‘𝑥) ∈ (Base‘𝐷) ∧ ((1st𝐺)‘𝑥) ∈ (Base‘𝐸)) → ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩ ∈ ((Base‘𝐷) × (Base‘𝐸)))
2922, 27, 28syl2anc 696 . . . . . . 7 ((𝜑𝑥 ∈ (Base‘𝐶)) → ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩ ∈ ((Base‘𝐷) × (Base‘𝐸)))
301, 4, 5, 10, 15, 16, 291stf1 17033 . . . . . 6 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩) = (1st ‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩))
31 fvex 6362 . . . . . . 7 ((1st𝐹)‘𝑥) ∈ V
32 fvex 6362 . . . . . . 7 ((1st𝐺)‘𝑥) ∈ V
3331, 32op1st 7341 . . . . . 6 (1st ‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩) = ((1st𝐹)‘𝑥)
3430, 33syl6eq 2810 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩) = ((1st𝐹)‘𝑥))
3534mpteq2dva 4896 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st𝐹)‘𝑥)))
36 prf1st.p . . . . . . 7 𝑃 = (𝐹 ⟨,⟩F 𝐺)
37 eqid 2760 . . . . . . 7 (Hom ‘𝐶) = (Hom ‘𝐶)
3836, 17, 37, 6, 11prfval 17040 . . . . . 6 (𝜑𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ( ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd𝐹)𝑦)‘), ((𝑥(2nd𝐺)𝑦)‘)⟩))⟩)
39 fvex 6362 . . . . . . . 8 (Base‘𝐶) ∈ V
4039mptex 6650 . . . . . . 7 (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩) ∈ V
4139, 39mpt2ex 7415 . . . . . . 7 (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ( ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd𝐹)𝑦)‘), ((𝑥(2nd𝐺)𝑦)‘)⟩)) ∈ V
4240, 41op1std 7343 . . . . . 6 (𝑃 = ⟨(𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ( ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ⟨((𝑥(2nd𝐹)𝑦)‘), ((𝑥(2nd𝐺)𝑦)‘)⟩))⟩ → (1st𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩))
4338, 42syl 17 . . . . 5 (𝜑 → (1st𝑃) = (𝑥 ∈ (Base‘𝐶) ↦ ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩))
44 relfunc 16723 . . . . . . . 8 Rel ((𝐷 ×c 𝐸) Func 𝐷)
451, 9, 14, 161stfcl 17038 . . . . . . . 8 (𝜑 → (𝐷 1stF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐷))
46 1st2ndbr 7384 . . . . . . . 8 ((Rel ((𝐷 ×c 𝐸) Func 𝐷) ∧ (𝐷 1stF 𝐸) ∈ ((𝐷 ×c 𝐸) Func 𝐷)) → (1st ‘(𝐷 1stF 𝐸))((𝐷 ×c 𝐸) Func 𝐷)(2nd ‘(𝐷 1stF 𝐸)))
4744, 45, 46sylancr 698 . . . . . . 7 (𝜑 → (1st ‘(𝐷 1stF 𝐸))((𝐷 ×c 𝐸) Func 𝐷)(2nd ‘(𝐷 1stF 𝐸)))
484, 2, 47funcf1 16727 . . . . . 6 (𝜑 → (1st ‘(𝐷 1stF 𝐸)):((Base‘𝐷) × (Base‘𝐸))⟶(Base‘𝐷))
4948feqmptd 6411 . . . . 5 (𝜑 → (1st ‘(𝐷 1stF 𝐸)) = (𝑢 ∈ ((Base‘𝐷) × (Base‘𝐸)) ↦ ((1st ‘(𝐷 1stF 𝐸))‘𝑢)))
50 fveq2 6352 . . . . 5 (𝑢 = ⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩ → ((1st ‘(𝐷 1stF 𝐸))‘𝑢) = ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩))
5129, 43, 49, 50fmptco 6559 . . . 4 (𝜑 → ((1st ‘(𝐷 1stF 𝐸)) ∘ (1st𝑃)) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st ‘(𝐷 1stF 𝐸))‘⟨((1st𝐹)‘𝑥), ((1st𝐺)‘𝑥)⟩)))
5221feqmptd 6411 . . . 4 (𝜑 → (1st𝐹) = (𝑥 ∈ (Base‘𝐶) ↦ ((1st𝐹)‘𝑥)))
5335, 51, 523eqtr4d 2804 . . 3 (𝜑 → ((1st ‘(𝐷 1stF 𝐸)) ∘ (1st𝑃)) = (1st𝐹))
549ad2antrr 764 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐷 ∈ Cat)
5514ad2antrr 764 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐸 ∈ Cat)
56 relfunc 16723 . . . . . . . . . . . . . . . 16 Rel (𝐶 Func (𝐷 ×c 𝐸))
5736, 1, 6, 11prfcl 17044 . . . . . . . . . . . . . . . 16 (𝜑𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸)))
58 1st2ndbr 7384 . . . . . . . . . . . . . . . 16 ((Rel (𝐶 Func (𝐷 ×c 𝐸)) ∧ 𝑃 ∈ (𝐶 Func (𝐷 ×c 𝐸))) → (1st𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd𝑃))
5956, 57, 58sylancr 698 . . . . . . . . . . . . . . 15 (𝜑 → (1st𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd𝑃))
6017, 4, 59funcf1 16727 . . . . . . . . . . . . . 14 (𝜑 → (1st𝑃):(Base‘𝐶)⟶((Base‘𝐷) × (Base‘𝐸)))
6160ffvelrnda 6522 . . . . . . . . . . . . 13 ((𝜑𝑥 ∈ (Base‘𝐶)) → ((1st𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6261adantrr 755 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6362adantr 472 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st𝑃)‘𝑥) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6460ffvelrnda 6522 . . . . . . . . . . . . 13 ((𝜑𝑦 ∈ (Base‘𝐶)) → ((1st𝑃)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6564adantrl 754 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((1st𝑃)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
6665adantr 472 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st𝑃)‘𝑦) ∈ ((Base‘𝐷) × (Base‘𝐸)))
671, 4, 5, 54, 55, 16, 63, 661stf2 17034 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦)) = (1st ↾ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦))))
6867fveq1d 6354 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦))‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = ((1st ↾ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)))‘((𝑥(2nd𝑃)𝑦)‘𝑓)))
6959adantr 472 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st𝑃)(𝐶 Func (𝐷 ×c 𝐸))(2nd𝑃))
70 simprl 811 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑥 ∈ (Base‘𝐶))
71 simprr 813 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → 𝑦 ∈ (Base‘𝐶))
7217, 37, 5, 69, 70, 71funcf2 16729 . . . . . . . . . . 11 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝑃)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)))
7372ffvelrnda 6522 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd𝑃)𝑦)‘𝑓) ∈ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)))
74 fvres 6368 . . . . . . . . . 10 (((𝑥(2nd𝑃)𝑦)‘𝑓) ∈ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)) → ((1st ↾ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)))‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = (1st ‘((𝑥(2nd𝑃)𝑦)‘𝑓)))
7573, 74syl 17 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((1st ↾ (((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦)))‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = (1st ‘((𝑥(2nd𝑃)𝑦)‘𝑓)))
766ad2antrr 764 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐹 ∈ (𝐶 Func 𝐷))
7711ad2antrr 764 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝐺 ∈ (𝐶 Func 𝐸))
7870adantr 472 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑥 ∈ (Base‘𝐶))
7971adantr 472 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑦 ∈ (Base‘𝐶))
80 simpr 479 . . . . . . . . . . . 12 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦))
8136, 17, 37, 76, 77, 78, 79, 80prf2 17043 . . . . . . . . . . 11 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((𝑥(2nd𝑃)𝑦)‘𝑓) = ⟨((𝑥(2nd𝐹)𝑦)‘𝑓), ((𝑥(2nd𝐺)𝑦)‘𝑓)⟩)
8281fveq2d 6356 . . . . . . . . . 10 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (1st ‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = (1st ‘⟨((𝑥(2nd𝐹)𝑦)‘𝑓), ((𝑥(2nd𝐺)𝑦)‘𝑓)⟩))
83 fvex 6362 . . . . . . . . . . 11 ((𝑥(2nd𝐹)𝑦)‘𝑓) ∈ V
84 fvex 6362 . . . . . . . . . . 11 ((𝑥(2nd𝐺)𝑦)‘𝑓) ∈ V
8583, 84op1st 7341 . . . . . . . . . 10 (1st ‘⟨((𝑥(2nd𝐹)𝑦)‘𝑓), ((𝑥(2nd𝐺)𝑦)‘𝑓)⟩) = ((𝑥(2nd𝐹)𝑦)‘𝑓)
8682, 85syl6eq 2810 . . . . . . . . 9 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → (1st ‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = ((𝑥(2nd𝐹)𝑦)‘𝑓))
8768, 75, 863eqtrd 2798 . . . . . . . 8 (((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) ∧ 𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦)) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦))‘((𝑥(2nd𝑃)𝑦)‘𝑓)) = ((𝑥(2nd𝐹)𝑦)‘𝑓))
8887mpteq2dva 4896 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦))‘((𝑥(2nd𝑃)𝑦)‘𝑓))) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd𝐹)𝑦)‘𝑓)))
89 eqid 2760 . . . . . . . . 9 (Hom ‘𝐷) = (Hom ‘𝐷)
9047adantr 472 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st ‘(𝐷 1stF 𝐸))((𝐷 ×c 𝐸) Func 𝐷)(2nd ‘(𝐷 1stF 𝐸)))
914, 5, 89, 90, 62, 65funcf2 16729 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦)):(((1st𝑃)‘𝑥)(Hom ‘(𝐷 ×c 𝐸))((1st𝑃)‘𝑦))⟶(((1st ‘(𝐷 1stF 𝐸))‘((1st𝑃)‘𝑥))(Hom ‘𝐷)((1st ‘(𝐷 1stF 𝐸))‘((1st𝑃)‘𝑦))))
92 fcompt 6563 . . . . . . . 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𝑃)𝑦)‘𝑓))))
9391, 72, 92syl2anc 696 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦))‘((𝑥(2nd𝑃)𝑦)‘𝑓))))
9420adantr 472 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (1st𝐹)(𝐶 Func 𝐷)(2nd𝐹))
9517, 37, 89, 94, 70, 71funcf2 16729 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐹)𝑦):(𝑥(Hom ‘𝐶)𝑦)⟶(((1st𝐹)‘𝑥)(Hom ‘𝐷)((1st𝐹)‘𝑦)))
9695feqmptd 6411 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → (𝑥(2nd𝐹)𝑦) = (𝑓 ∈ (𝑥(Hom ‘𝐶)𝑦) ↦ ((𝑥(2nd𝐹)𝑦)‘𝑓)))
9788, 93, 963eqtr4d 2804 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶))) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)) = (𝑥(2nd𝐹)𝑦))
98973impb 1108 . . . . 5 ((𝜑𝑥 ∈ (Base‘𝐶) ∧ 𝑦 ∈ (Base‘𝐶)) → ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)) = (𝑥(2nd𝐹)𝑦))
9998mpt2eq3dva 6884 . . . 4 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦))) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd𝐹)𝑦)))
10017, 20funcfn2 16730 . . . . 5 (𝜑 → (2nd𝐹) Fn ((Base‘𝐶) × (Base‘𝐶)))
101 fnov 6933 . . . . 5 ((2nd𝐹) Fn ((Base‘𝐶) × (Base‘𝐶)) ↔ (2nd𝐹) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd𝐹)𝑦)))
102100, 101sylib 208 . . . 4 (𝜑 → (2nd𝐹) = (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ (𝑥(2nd𝐹)𝑦)))
10399, 102eqtr4d 2797 . . 3 (𝜑 → (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦))) = (2nd𝐹))
10453, 103opeq12d 4561 . 2 (𝜑 → ⟨((1st ‘(𝐷 1stF 𝐸)) ∘ (1st𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)))⟩ = ⟨(1st𝐹), (2nd𝐹)⟩)
10517, 57, 45cofuval 16743 . 2 (𝜑 → ((𝐷 1stF 𝐸) ∘func 𝑃) = ⟨((1st ‘(𝐷 1stF 𝐸)) ∘ (1st𝑃)), (𝑥 ∈ (Base‘𝐶), 𝑦 ∈ (Base‘𝐶) ↦ ((((1st𝑃)‘𝑥)(2nd ‘(𝐷 1stF 𝐸))((1st𝑃)‘𝑦)) ∘ (𝑥(2nd𝑃)𝑦)))⟩)
106 1st2nd 7381 . . 3 ((Rel (𝐶 Func 𝐷) ∧ 𝐹 ∈ (𝐶 Func 𝐷)) → 𝐹 = ⟨(1st𝐹), (2nd𝐹)⟩)
10718, 6, 106sylancr 698 . 2 (𝜑𝐹 = ⟨(1st𝐹), (2nd𝐹)⟩)
108104, 105, 1073eqtr4d 2804 1 (𝜑 → ((𝐷 1stF 𝐸) ∘func 𝑃) = 𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1632  wcel 2139  cop 4327   class class class wbr 4804  cmpt 4881   × cxp 5264  cres 5268  ccom 5270  Rel wrel 5271   Fn wfn 6044  wf 6045  cfv 6049  (class class class)co 6813  cmpt2 6815  1st c1st 7331  2nd c2nd 7332  Basecbs 16059  Hom chom 16154  Catccat 16526   Func cfunc 16715  func ccofu 16717   ×c cxpc 17009   1stF c1stf 17010   ⟨,⟩F cprf 17012
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7114  ax-cnex 10184  ax-resscn 10185  ax-1cn 10186  ax-icn 10187  ax-addcl 10188  ax-addrcl 10189  ax-mulcl 10190  ax-mulrcl 10191  ax-mulcom 10192  ax-addass 10193  ax-mulass 10194  ax-distr 10195  ax-i2m1 10196  ax-1ne0 10197  ax-1rid 10198  ax-rnegex 10199  ax-rrecex 10200  ax-cnre 10201  ax-pre-lttri 10202  ax-pre-lttrn 10203  ax-pre-ltadd 10204  ax-pre-mulgt0 10205
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3or 1073  df-3an 1074  df-tru 1635  df-fal 1638  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-nel 3036  df-ral 3055  df-rex 3056  df-reu 3057  df-rmo 3058  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-pss 3731  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-tp 4326  df-op 4328  df-uni 4589  df-int 4628  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-tr 4905  df-id 5174  df-eprel 5179  df-po 5187  df-so 5188  df-fr 5225  df-we 5227  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-pred 5841  df-ord 5887  df-on 5888  df-lim 5889  df-suc 5890  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-riota 6774  df-ov 6816  df-oprab 6817  df-mpt2 6818  df-om 7231  df-1st 7333  df-2nd 7334  df-wrecs 7576  df-recs 7637  df-rdg 7675  df-1o 7729  df-oadd 7733  df-er 7911  df-map 8025  df-ixp 8075  df-en 8122  df-dom 8123  df-sdom 8124  df-fin 8125  df-pnf 10268  df-mnf 10269  df-xr 10270  df-ltxr 10271  df-le 10272  df-sub 10460  df-neg 10461  df-nn 11213  df-2 11271  df-3 11272  df-4 11273  df-5 11274  df-6 11275  df-7 11276  df-8 11277  df-9 11278  df-n0 11485  df-z 11570  df-dec 11686  df-uz 11880  df-fz 12520  df-struct 16061  df-ndx 16062  df-slot 16063  df-base 16065  df-hom 16168  df-cco 16169  df-cat 16530  df-cid 16531  df-func 16719  df-cofu 16721  df-xpc 17013  df-1stf 17014  df-prf 17016
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator