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

Theorem isnat 17663
Description: Property of being a natural transformation. (Contributed by Mario Carneiro, 6-Jan-2017.)
Hypotheses
Ref Expression
natfval.1 𝑁 = (𝐶 Nat 𝐷)
natfval.b 𝐵 = (Base‘𝐶)
natfval.h 𝐻 = (Hom ‘𝐶)
natfval.j 𝐽 = (Hom ‘𝐷)
natfval.o · = (comp‘𝐷)
isnat.f (𝜑𝐹(𝐶 Func 𝐷)𝐺)
isnat.g (𝜑𝐾(𝐶 Func 𝐷)𝐿)
Assertion
Ref Expression
isnat (𝜑 → (𝐴 ∈ (⟨𝐹, 𝐺𝑁𝐾, 𝐿⟩) ↔ (𝐴X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∧ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥)))))
Distinct variable groups:   𝑥,,𝑦,𝐴   𝑥,𝐵,𝑦   𝐶,,𝑥,𝑦   ,𝐹,𝑥,𝑦   ,𝐺,𝑥,𝑦   ,𝐻   𝜑,,𝑥,𝑦   ,𝐾,𝑥,𝑦   ,𝐿,𝑥,𝑦   𝐷,,𝑥,𝑦
Allowed substitution hints:   𝐵()   · (𝑥,𝑦,)   𝐻(𝑥,𝑦)   𝐽(𝑥,𝑦,)   𝑁(𝑥,𝑦,)

Proof of Theorem isnat
Dummy variables 𝑎 𝑓 𝑔 𝑟 𝑠 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 natfval.1 . . . . . 6 𝑁 = (𝐶 Nat 𝐷)
2 natfval.b . . . . . 6 𝐵 = (Base‘𝐶)
3 natfval.h . . . . . 6 𝐻 = (Hom ‘𝐶)
4 natfval.j . . . . . 6 𝐽 = (Hom ‘𝐷)
5 natfval.o . . . . . 6 · = (comp‘𝐷)
61, 2, 3, 4, 5natfval 17662 . . . . 5 𝑁 = (𝑓 ∈ (𝐶 Func 𝐷), 𝑔 ∈ (𝐶 Func 𝐷) ↦ (1st𝑓) / 𝑟(1st𝑔) / 𝑠{𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))})
76a1i 11 . . . 4 (𝜑𝑁 = (𝑓 ∈ (𝐶 Func 𝐷), 𝑔 ∈ (𝐶 Func 𝐷) ↦ (1st𝑓) / 𝑟(1st𝑔) / 𝑠{𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))}))
8 fvexd 6789 . . . . 5 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st𝑓) ∈ V)
9 simprl 768 . . . . . . 7 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → 𝑓 = ⟨𝐹, 𝐺⟩)
109fveq2d 6778 . . . . . 6 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st𝑓) = (1st ‘⟨𝐹, 𝐺⟩))
11 relfunc 17577 . . . . . . . . 9 Rel (𝐶 Func 𝐷)
12 isnat.f . . . . . . . . 9 (𝜑𝐹(𝐶 Func 𝐷)𝐺)
13 brrelex12 5639 . . . . . . . . 9 ((Rel (𝐶 Func 𝐷) ∧ 𝐹(𝐶 Func 𝐷)𝐺) → (𝐹 ∈ V ∧ 𝐺 ∈ V))
1411, 12, 13sylancr 587 . . . . . . . 8 (𝜑 → (𝐹 ∈ V ∧ 𝐺 ∈ V))
15 op1stg 7843 . . . . . . . 8 ((𝐹 ∈ V ∧ 𝐺 ∈ V) → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
1614, 15syl 17 . . . . . . 7 (𝜑 → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
1716adantr 481 . . . . . 6 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
1810, 17eqtrd 2778 . . . . 5 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st𝑓) = 𝐹)
19 fvexd 6789 . . . . . 6 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st𝑔) ∈ V)
20 simplrr 775 . . . . . . . 8 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → 𝑔 = ⟨𝐾, 𝐿⟩)
2120fveq2d 6778 . . . . . . 7 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st𝑔) = (1st ‘⟨𝐾, 𝐿⟩))
22 isnat.g . . . . . . . . . 10 (𝜑𝐾(𝐶 Func 𝐷)𝐿)
23 brrelex12 5639 . . . . . . . . . 10 ((Rel (𝐶 Func 𝐷) ∧ 𝐾(𝐶 Func 𝐷)𝐿) → (𝐾 ∈ V ∧ 𝐿 ∈ V))
2411, 22, 23sylancr 587 . . . . . . . . 9 (𝜑 → (𝐾 ∈ V ∧ 𝐿 ∈ V))
25 op1stg 7843 . . . . . . . . 9 ((𝐾 ∈ V ∧ 𝐿 ∈ V) → (1st ‘⟨𝐾, 𝐿⟩) = 𝐾)
2624, 25syl 17 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐾, 𝐿⟩) = 𝐾)
2726ad2antrr 723 . . . . . . 7 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st ‘⟨𝐾, 𝐿⟩) = 𝐾)
2821, 27eqtrd 2778 . . . . . 6 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st𝑔) = 𝐾)
29 simplr 766 . . . . . . . . . 10 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → 𝑟 = 𝐹)
3029fveq1d 6776 . . . . . . . . 9 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑟𝑥) = (𝐹𝑥))
31 simpr 485 . . . . . . . . . 10 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → 𝑠 = 𝐾)
3231fveq1d 6776 . . . . . . . . 9 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑠𝑥) = (𝐾𝑥))
3330, 32oveq12d 7293 . . . . . . . 8 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ((𝑟𝑥)𝐽(𝑠𝑥)) = ((𝐹𝑥)𝐽(𝐾𝑥)))
3433ixpeq2dv 8701 . . . . . . 7 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) = X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)))
3529fveq1d 6776 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑟𝑦) = (𝐹𝑦))
3630, 35opeq12d 4812 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ⟨(𝑟𝑥), (𝑟𝑦)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩)
3731fveq1d 6776 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑠𝑦) = (𝐾𝑦))
3836, 37oveq12d 7293 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦)) = (⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦)))
39 eqidd 2739 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑎𝑦) = (𝑎𝑦))
409ad2antrr 723 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → 𝑓 = ⟨𝐹, 𝐺⟩)
4140fveq2d 6778 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd𝑓) = (2nd ‘⟨𝐹, 𝐺⟩))
42 op2ndg 7844 . . . . . . . . . . . . . . . 16 ((𝐹 ∈ V ∧ 𝐺 ∈ V) → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
4314, 42syl 17 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
4443ad3antrrr 727 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
4541, 44eqtrd 2778 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd𝑓) = 𝐺)
4645oveqd 7292 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑥(2nd𝑓)𝑦) = (𝑥𝐺𝑦))
4746fveq1d 6776 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ((𝑥(2nd𝑓)𝑦)‘) = ((𝑥𝐺𝑦)‘))
4838, 39, 47oveq123d 7296 . . . . . . . . . 10 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = ((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)))
4930, 32opeq12d 4812 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ⟨(𝑟𝑥), (𝑠𝑥)⟩ = ⟨(𝐹𝑥), (𝐾𝑥)⟩)
5049, 37oveq12d 7293 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦)) = (⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦)))
5120adantr 481 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → 𝑔 = ⟨𝐾, 𝐿⟩)
5251fveq2d 6778 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd𝑔) = (2nd ‘⟨𝐾, 𝐿⟩))
53 op2ndg 7844 . . . . . . . . . . . . . . . 16 ((𝐾 ∈ V ∧ 𝐿 ∈ V) → (2nd ‘⟨𝐾, 𝐿⟩) = 𝐿)
5424, 53syl 17 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ‘⟨𝐾, 𝐿⟩) = 𝐿)
5554ad3antrrr 727 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd ‘⟨𝐾, 𝐿⟩) = 𝐿)
5652, 55eqtrd 2778 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd𝑔) = 𝐿)
5756oveqd 7292 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑥(2nd𝑔)𝑦) = (𝑥𝐿𝑦))
5857fveq1d 6776 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ((𝑥(2nd𝑔)𝑦)‘) = ((𝑥𝐿𝑦)‘))
59 eqidd 2739 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑎𝑥) = (𝑎𝑥))
6050, 58, 59oveq123d 7296 . . . . . . . . . 10 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)))
6148, 60eqeq12d 2754 . . . . . . . . 9 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥)) ↔ ((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))))
6261ralbidv 3112 . . . . . . . 8 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (∀ ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥)) ↔ ∀ ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))))
63622ralbidv 3129 . . . . . . 7 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥)) ↔ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))))
6434, 63rabeqbidv 3420 . . . . . 6 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → {𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))} = {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))})
6519, 28, 64csbied2 3872 . . . . 5 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st𝑔) / 𝑠{𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))} = {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))})
668, 18, 65csbied2 3872 . . . 4 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st𝑓) / 𝑟(1st𝑔) / 𝑠{𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))} = {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))})
67 df-br 5075 . . . . 5 (𝐹(𝐶 Func 𝐷)𝐺 ↔ ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
6812, 67sylib 217 . . . 4 (𝜑 → ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
69 df-br 5075 . . . . 5 (𝐾(𝐶 Func 𝐷)𝐿 ↔ ⟨𝐾, 𝐿⟩ ∈ (𝐶 Func 𝐷))
7022, 69sylib 217 . . . 4 (𝜑 → ⟨𝐾, 𝐿⟩ ∈ (𝐶 Func 𝐷))
71 ovex 7308 . . . . . . . 8 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V
7271rgenw 3076 . . . . . . 7 𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V
73 ixpexg 8710 . . . . . . 7 (∀𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V → X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V)
7472, 73ax-mp 5 . . . . . 6 X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V
7574rabex 5256 . . . . 5 {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))} ∈ V
7675a1i 11 . . . 4 (𝜑 → {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))} ∈ V)
777, 66, 68, 70, 76ovmpod 7425 . . 3 (𝜑 → (⟨𝐹, 𝐺𝑁𝐾, 𝐿⟩) = {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))})
7877eleq2d 2824 . 2 (𝜑 → (𝐴 ∈ (⟨𝐹, 𝐺𝑁𝐾, 𝐿⟩) ↔ 𝐴 ∈ {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))}))
79 fveq1 6773 . . . . . . 7 (𝑎 = 𝐴 → (𝑎𝑦) = (𝐴𝑦))
8079oveq1d 7290 . . . . . 6 (𝑎 = 𝐴 → ((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = ((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)))
81 fveq1 6773 . . . . . . 7 (𝑎 = 𝐴 → (𝑎𝑥) = (𝐴𝑥))
8281oveq2d 7291 . . . . . 6 (𝑎 = 𝐴 → (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥)))
8380, 82eqeq12d 2754 . . . . 5 (𝑎 = 𝐴 → (((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)) ↔ ((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥))))
8483ralbidv 3112 . . . 4 (𝑎 = 𝐴 → (∀ ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)) ↔ ∀ ∈ (𝑥𝐻𝑦)((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥))))
85842ralbidv 3129 . . 3 (𝑎 = 𝐴 → (∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)) ↔ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥))))
8685elrab 3624 . 2 (𝐴 ∈ {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))} ↔ (𝐴X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∧ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥))))
8778, 86bitrdi 287 1 (𝜑 → (𝐴 ∈ (⟨𝐹, 𝐺𝑁𝐾, 𝐿⟩) ↔ (𝐴X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∧ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wcel 2106  wral 3064  {crab 3068  Vcvv 3432  csb 3832  cop 4567   class class class wbr 5074  Rel wrel 5594  cfv 6433  (class class class)co 7275  cmpo 7277  1st c1st 7829  2nd c2nd 7830  Xcixp 8685  Basecbs 16912  Hom chom 16973  compcco 16974   Func cfunc 17569   Nat cnat 17657
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-1st 7831  df-2nd 7832  df-ixp 8686  df-func 17573  df-nat 17659
This theorem is referenced by:  isnat2  17664  natixp  17668  nati  17671
  Copyright terms: Public domain W3C validator