Users' Mathboxes Mathbox for Zhi Wang < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  reldmprcof2 Structured version   Visualization version   GIF version

Theorem reldmprcof2 49857
Description: The domain of the morphism part of the pre-composition functor is a relation. (Contributed by Zhi Wang, 2-Nov-2025.)
Assertion
Ref Expression
reldmprcof2 Rel dom (2nd ‘(𝑃 −∘F 𝐹))

Proof of Theorem reldmprcof2
Dummy variables 𝑎 𝑘 𝑙 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqid 2736 . . . 4 (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹)))) = (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹))))
21reldmmpo 7501 . . 3 Rel dom (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹))))
3 eqid 2736 . . . . . . 7 ((1st𝑃) Func (2nd𝑃)) = ((1st𝑃) Func (2nd𝑃))
4 eqid 2736 . . . . . . 7 ((1st𝑃) Nat (2nd𝑃)) = ((1st𝑃) Nat (2nd𝑃))
5 simpr 484 . . . . . . 7 ((𝑃 ∈ V ∧ 𝐹 ∈ V) → 𝐹 ∈ V)
6 simpl 482 . . . . . . 7 ((𝑃 ∈ V ∧ 𝐹 ∈ V) → 𝑃 ∈ V)
7 eqidd 2737 . . . . . . 7 ((𝑃 ∈ V ∧ 𝐹 ∈ V) → (1st𝑃) = (1st𝑃))
8 eqidd 2737 . . . . . . 7 ((𝑃 ∈ V ∧ 𝐹 ∈ V) → (2nd𝑃) = (2nd𝑃))
93, 4, 5, 6, 7, 8prcofvalg 49851 . . . . . 6 ((𝑃 ∈ V ∧ 𝐹 ∈ V) → (𝑃 −∘F 𝐹) = ⟨(𝑘 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑘func 𝐹)), (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹))))⟩)
10 ovex 7400 . . . . . . . 8 ((1st𝑃) Func (2nd𝑃)) ∈ V
1110mptex 7178 . . . . . . 7 (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑘func 𝐹)) ∈ V
1210, 10mpoex 8032 . . . . . . 7 (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹)))) ∈ V
1311, 12op2ndd 7953 . . . . . 6 ((𝑃 −∘F 𝐹) = ⟨(𝑘 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑘func 𝐹)), (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹))))⟩ → (2nd ‘(𝑃 −∘F 𝐹)) = (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹)))))
149, 13syl 17 . . . . 5 ((𝑃 ∈ V ∧ 𝐹 ∈ V) → (2nd ‘(𝑃 −∘F 𝐹)) = (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹)))))
1514dmeqd 5860 . . . 4 ((𝑃 ∈ V ∧ 𝐹 ∈ V) → dom (2nd ‘(𝑃 −∘F 𝐹)) = dom (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹)))))
1615releqd 5735 . . 3 ((𝑃 ∈ V ∧ 𝐹 ∈ V) → (Rel dom (2nd ‘(𝑃 −∘F 𝐹)) ↔ Rel dom (𝑘 ∈ ((1st𝑃) Func (2nd𝑃)), 𝑙 ∈ ((1st𝑃) Func (2nd𝑃)) ↦ (𝑎 ∈ (𝑘((1st𝑃) Nat (2nd𝑃))𝑙) ↦ (𝑎 ∘ (1st𝐹))))))
172, 16mpbiri 258 . 2 ((𝑃 ∈ V ∧ 𝐹 ∈ V) → Rel dom (2nd ‘(𝑃 −∘F 𝐹)))
18 rel0 5755 . . 3 Rel ∅
19 reldmprcof 49850 . . . . . . . . 9 Rel dom −∘F
2019ovprc 7405 . . . . . . . 8 (¬ (𝑃 ∈ V ∧ 𝐹 ∈ V) → (𝑃 −∘F 𝐹) = ∅)
2120fveq2d 6844 . . . . . . 7 (¬ (𝑃 ∈ V ∧ 𝐹 ∈ V) → (2nd ‘(𝑃 −∘F 𝐹)) = (2nd ‘∅))
22 2nd0 7949 . . . . . . 7 (2nd ‘∅) = ∅
2321, 22eqtrdi 2787 . . . . . 6 (¬ (𝑃 ∈ V ∧ 𝐹 ∈ V) → (2nd ‘(𝑃 −∘F 𝐹)) = ∅)
2423dmeqd 5860 . . . . 5 (¬ (𝑃 ∈ V ∧ 𝐹 ∈ V) → dom (2nd ‘(𝑃 −∘F 𝐹)) = dom ∅)
25 dm0 5875 . . . . 5 dom ∅ = ∅
2624, 25eqtrdi 2787 . . . 4 (¬ (𝑃 ∈ V ∧ 𝐹 ∈ V) → dom (2nd ‘(𝑃 −∘F 𝐹)) = ∅)
2726releqd 5735 . . 3 (¬ (𝑃 ∈ V ∧ 𝐹 ∈ V) → (Rel dom (2nd ‘(𝑃 −∘F 𝐹)) ↔ Rel ∅))
2818, 27mpbiri 258 . 2 (¬ (𝑃 ∈ V ∧ 𝐹 ∈ V) → Rel dom (2nd ‘(𝑃 −∘F 𝐹)))
2917, 28pm2.61i 182 1 Rel dom (2nd ‘(𝑃 −∘F 𝐹))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wa 395   = wceq 1542  wcel 2114  Vcvv 3429  c0 4273  cop 4573  cmpt 5166  dom cdm 5631  ccom 5635  Rel wrel 5636  cfv 6498  (class class class)co 7367  cmpo 7369  1st c1st 7940  2nd c2nd 7941   Func cfunc 17821  func ccofu 17823   Nat cnat 17911   −∘F cprcof 49848
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-10 2147  ax-11 2163  ax-12 2185  ax-ext 2708  ax-rep 5212  ax-sep 5231  ax-nul 5241  ax-pow 5307  ax-pr 5375  ax-un 7689
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-nf 1786  df-sb 2069  df-mo 2539  df-eu 2569  df-clab 2715  df-cleq 2728  df-clel 2811  df-nfc 2885  df-ne 2933  df-ral 3052  df-rex 3062  df-reu 3343  df-rab 3390  df-v 3431  df-sbc 3729  df-csb 3838  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-nul 4274  df-if 4467  df-pw 4543  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4851  df-iun 4935  df-br 5086  df-opab 5148  df-mpt 5167  df-id 5526  df-xp 5637  df-rel 5638  df-cnv 5639  df-co 5640  df-dm 5641  df-rn 5642  df-res 5643  df-ima 5644  df-iota 6454  df-fun 6500  df-fn 6501  df-f 6502  df-f1 6503  df-fo 6504  df-f1o 6505  df-fv 6506  df-ov 7370  df-oprab 7371  df-mpo 7372  df-1st 7942  df-2nd 7943  df-prcof 49849
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator