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

Theorem isnat 16373
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 16372 . . . . 5 𝑁 = (𝑓 ∈ (𝐶 Func 𝐷), 𝑔 ∈ (𝐶 Func 𝐷) ↦ (1st𝑓) / 𝑟(1st𝑔) / 𝑠{𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))})
76a1i 11 . . . 4 (𝜑𝑁 = (𝑓 ∈ (𝐶 Func 𝐷), 𝑔 ∈ (𝐶 Func 𝐷) ↦ (1st𝑓) / 𝑟(1st𝑔) / 𝑠{𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))}))
8 fvex 6095 . . . . . 6 (1st𝑓) ∈ V
98a1i 11 . . . . 5 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st𝑓) ∈ V)
10 simprl 789 . . . . . . 7 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → 𝑓 = ⟨𝐹, 𝐺⟩)
1110fveq2d 6089 . . . . . 6 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st𝑓) = (1st ‘⟨𝐹, 𝐺⟩))
12 relfunc 16288 . . . . . . . . 9 Rel (𝐶 Func 𝐷)
13 isnat.f . . . . . . . . 9 (𝜑𝐹(𝐶 Func 𝐷)𝐺)
14 brrelex12 5066 . . . . . . . . 9 ((Rel (𝐶 Func 𝐷) ∧ 𝐹(𝐶 Func 𝐷)𝐺) → (𝐹 ∈ V ∧ 𝐺 ∈ V))
1512, 13, 14sylancr 693 . . . . . . . 8 (𝜑 → (𝐹 ∈ V ∧ 𝐺 ∈ V))
16 op1stg 7045 . . . . . . . 8 ((𝐹 ∈ V ∧ 𝐺 ∈ V) → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
1715, 16syl 17 . . . . . . 7 (𝜑 → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
1817adantr 479 . . . . . 6 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st ‘⟨𝐹, 𝐺⟩) = 𝐹)
1911, 18eqtrd 2640 . . . . 5 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st𝑓) = 𝐹)
20 fvex 6095 . . . . . . 7 (1st𝑔) ∈ V
2120a1i 11 . . . . . 6 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st𝑔) ∈ V)
22 simplrr 796 . . . . . . . 8 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → 𝑔 = ⟨𝐾, 𝐿⟩)
2322fveq2d 6089 . . . . . . 7 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st𝑔) = (1st ‘⟨𝐾, 𝐿⟩))
24 isnat.g . . . . . . . . . 10 (𝜑𝐾(𝐶 Func 𝐷)𝐿)
25 brrelex12 5066 . . . . . . . . . 10 ((Rel (𝐶 Func 𝐷) ∧ 𝐾(𝐶 Func 𝐷)𝐿) → (𝐾 ∈ V ∧ 𝐿 ∈ V))
2612, 24, 25sylancr 693 . . . . . . . . 9 (𝜑 → (𝐾 ∈ V ∧ 𝐿 ∈ V))
27 op1stg 7045 . . . . . . . . 9 ((𝐾 ∈ V ∧ 𝐿 ∈ V) → (1st ‘⟨𝐾, 𝐿⟩) = 𝐾)
2826, 27syl 17 . . . . . . . 8 (𝜑 → (1st ‘⟨𝐾, 𝐿⟩) = 𝐾)
2928ad2antrr 757 . . . . . . 7 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st ‘⟨𝐾, 𝐿⟩) = 𝐾)
3023, 29eqtrd 2640 . . . . . 6 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st𝑔) = 𝐾)
31 simplr 787 . . . . . . . . . 10 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → 𝑟 = 𝐹)
3231fveq1d 6087 . . . . . . . . 9 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑟𝑥) = (𝐹𝑥))
33 simpr 475 . . . . . . . . . 10 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → 𝑠 = 𝐾)
3433fveq1d 6087 . . . . . . . . 9 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑠𝑥) = (𝐾𝑥))
3532, 34oveq12d 6542 . . . . . . . 8 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ((𝑟𝑥)𝐽(𝑠𝑥)) = ((𝐹𝑥)𝐽(𝐾𝑥)))
3635ixpeq2dv 7784 . . . . . . 7 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) = X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)))
3731fveq1d 6087 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑟𝑦) = (𝐹𝑦))
3832, 37opeq12d 4339 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ⟨(𝑟𝑥), (𝑟𝑦)⟩ = ⟨(𝐹𝑥), (𝐹𝑦)⟩)
3933fveq1d 6087 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑠𝑦) = (𝐾𝑦))
4038, 39oveq12d 6542 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦)) = (⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦)))
41 eqidd 2607 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑎𝑦) = (𝑎𝑦))
4210ad2antrr 757 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → 𝑓 = ⟨𝐹, 𝐺⟩)
4342fveq2d 6089 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd𝑓) = (2nd ‘⟨𝐹, 𝐺⟩))
44 op2ndg 7046 . . . . . . . . . . . . . . . 16 ((𝐹 ∈ V ∧ 𝐺 ∈ V) → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
4515, 44syl 17 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
4645ad3antrrr 761 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd ‘⟨𝐹, 𝐺⟩) = 𝐺)
4743, 46eqtrd 2640 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd𝑓) = 𝐺)
4847oveqd 6541 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑥(2nd𝑓)𝑦) = (𝑥𝐺𝑦))
4948fveq1d 6087 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ((𝑥(2nd𝑓)𝑦)‘) = ((𝑥𝐺𝑦)‘))
5040, 41, 49oveq123d 6545 . . . . . . . . . 10 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = ((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)))
5132, 34opeq12d 4339 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ⟨(𝑟𝑥), (𝑠𝑥)⟩ = ⟨(𝐹𝑥), (𝐾𝑥)⟩)
5251, 39oveq12d 6542 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦)) = (⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦)))
5322adantr 479 . . . . . . . . . . . . . . 15 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → 𝑔 = ⟨𝐾, 𝐿⟩)
5453fveq2d 6089 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd𝑔) = (2nd ‘⟨𝐾, 𝐿⟩))
55 op2ndg 7046 . . . . . . . . . . . . . . . 16 ((𝐾 ∈ V ∧ 𝐿 ∈ V) → (2nd ‘⟨𝐾, 𝐿⟩) = 𝐿)
5626, 55syl 17 . . . . . . . . . . . . . . 15 (𝜑 → (2nd ‘⟨𝐾, 𝐿⟩) = 𝐿)
5756ad3antrrr 761 . . . . . . . . . . . . . 14 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd ‘⟨𝐾, 𝐿⟩) = 𝐿)
5854, 57eqtrd 2640 . . . . . . . . . . . . 13 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (2nd𝑔) = 𝐿)
5958oveqd 6541 . . . . . . . . . . . 12 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑥(2nd𝑔)𝑦) = (𝑥𝐿𝑦))
6059fveq1d 6087 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → ((𝑥(2nd𝑔)𝑦)‘) = ((𝑥𝐿𝑦)‘))
61 eqidd 2607 . . . . . . . . . . 11 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (𝑎𝑥) = (𝑎𝑥))
6252, 60, 61oveq123d 6545 . . . . . . . . . 10 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)))
6350, 62eqeq12d 2621 . . . . . . . . 9 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥)) ↔ ((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))))
6463ralbidv 2965 . . . . . . . 8 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (∀ ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥)) ↔ ∀ ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))))
65642ralbidv 2968 . . . . . . 7 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → (∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥)) ↔ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))))
6636, 65rabeqbidv 3164 . . . . . 6 ((((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) ∧ 𝑠 = 𝐾) → {𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))} = {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))})
6721, 30, 66csbied2 3523 . . . . 5 (((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) ∧ 𝑟 = 𝐹) → (1st𝑔) / 𝑠{𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))} = {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))})
689, 19, 67csbied2 3523 . . . 4 ((𝜑 ∧ (𝑓 = ⟨𝐹, 𝐺⟩ ∧ 𝑔 = ⟨𝐾, 𝐿⟩)) → (1st𝑓) / 𝑟(1st𝑔) / 𝑠{𝑎X𝑥𝐵 ((𝑟𝑥)𝐽(𝑠𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝑟𝑥), (𝑟𝑦)⟩ · (𝑠𝑦))((𝑥(2nd𝑓)𝑦)‘)) = (((𝑥(2nd𝑔)𝑦)‘)(⟨(𝑟𝑥), (𝑠𝑥)⟩ · (𝑠𝑦))(𝑎𝑥))} = {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))})
69 df-br 4575 . . . . 5 (𝐹(𝐶 Func 𝐷)𝐺 ↔ ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
7013, 69sylib 206 . . . 4 (𝜑 → ⟨𝐹, 𝐺⟩ ∈ (𝐶 Func 𝐷))
71 df-br 4575 . . . . 5 (𝐾(𝐶 Func 𝐷)𝐿 ↔ ⟨𝐾, 𝐿⟩ ∈ (𝐶 Func 𝐷))
7224, 71sylib 206 . . . 4 (𝜑 → ⟨𝐾, 𝐿⟩ ∈ (𝐶 Func 𝐷))
73 ovex 6552 . . . . . . . 8 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V
7473rgenw 2904 . . . . . . 7 𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V
75 ixpexg 7792 . . . . . . 7 (∀𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V → X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V)
7674, 75ax-mp 5 . . . . . 6 X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∈ V
7776rabex 4732 . . . . 5 {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))} ∈ V
7877a1i 11 . . . 4 (𝜑 → {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))} ∈ V)
797, 68, 70, 72, 78ovmpt2d 6661 . . 3 (𝜑 → (⟨𝐹, 𝐺𝑁𝐾, 𝐿⟩) = {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))})
8079eleq2d 2669 . 2 (𝜑 → (𝐴 ∈ (⟨𝐹, 𝐺𝑁𝐾, 𝐿⟩) ↔ 𝐴 ∈ {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))}))
81 fveq1 6084 . . . . . . 7 (𝑎 = 𝐴 → (𝑎𝑦) = (𝐴𝑦))
8281oveq1d 6539 . . . . . 6 (𝑎 = 𝐴 → ((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = ((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)))
83 fveq1 6084 . . . . . . 7 (𝑎 = 𝐴 → (𝑎𝑥) = (𝐴𝑥))
8483oveq2d 6540 . . . . . 6 (𝑎 = 𝐴 → (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥)))
8582, 84eqeq12d 2621 . . . . 5 (𝑎 = 𝐴 → (((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)) ↔ ((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥))))
8685ralbidv 2965 . . . 4 (𝑎 = 𝐴 → (∀ ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)) ↔ ∀ ∈ (𝑥𝐻𝑦)((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥))))
87862ralbidv 2968 . . 3 (𝑎 = 𝐴 → (∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥)) ↔ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥))))
8887elrab 3327 . 2 (𝐴 ∈ {𝑎X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∣ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝑎𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝑎𝑥))} ↔ (𝐴X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∧ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥))))
8980, 88syl6bb 274 1 (𝜑 → (𝐴 ∈ (⟨𝐹, 𝐺𝑁𝐾, 𝐿⟩) ↔ (𝐴X𝑥𝐵 ((𝐹𝑥)𝐽(𝐾𝑥)) ∧ ∀𝑥𝐵𝑦𝐵 ∈ (𝑥𝐻𝑦)((𝐴𝑦)(⟨(𝐹𝑥), (𝐹𝑦)⟩ · (𝐾𝑦))((𝑥𝐺𝑦)‘)) = (((𝑥𝐿𝑦)‘)(⟨(𝐹𝑥), (𝐾𝑥)⟩ · (𝐾𝑦))(𝐴𝑥)))))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 194  wa 382   = wceq 1474  wcel 1976  wral 2892  {crab 2896  Vcvv 3169  csb 3495  cop 4127   class class class wbr 4574  Rel wrel 5030  cfv 5787  (class class class)co 6524  cmpt2 6526  1st c1st 7031  2nd c2nd 7032  Xcixp 7768  Basecbs 15638  Hom chom 15722  compcco 15723   Func cfunc 16280   Nat cnat 16367
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1712  ax-4 1727  ax-5 1826  ax-6 1874  ax-7 1921  ax-8 1978  ax-9 1985  ax-10 2005  ax-11 2020  ax-12 2032  ax-13 2229  ax-ext 2586  ax-rep 4690  ax-sep 4700  ax-nul 4709  ax-pow 4761  ax-pr 4825  ax-un 6821
This theorem depends on definitions:  df-bi 195  df-or 383  df-an 384  df-3an 1032  df-tru 1477  df-ex 1695  df-nf 1700  df-sb 1867  df-eu 2458  df-mo 2459  df-clab 2593  df-cleq 2599  df-clel 2602  df-nfc 2736  df-ne 2778  df-ral 2897  df-rex 2898  df-reu 2899  df-rab 2901  df-v 3171  df-sbc 3399  df-csb 3496  df-dif 3539  df-un 3541  df-in 3543  df-ss 3550  df-nul 3871  df-if 4033  df-pw 4106  df-sn 4122  df-pr 4124  df-op 4128  df-uni 4364  df-iun 4448  df-br 4575  df-opab 4635  df-mpt 4636  df-id 4940  df-xp 5031  df-rel 5032  df-cnv 5033  df-co 5034  df-dm 5035  df-rn 5036  df-res 5037  df-ima 5038  df-iota 5751  df-fun 5789  df-fn 5790  df-f 5791  df-f1 5792  df-fo 5793  df-f1o 5794  df-fv 5795  df-ov 6527  df-oprab 6528  df-mpt2 6529  df-1st 7033  df-2nd 7034  df-ixp 7769  df-func 16284  df-nat 16369
This theorem is referenced by:  isnat2  16374  natixp  16378  nati  16381
  Copyright terms: Public domain W3C validator