Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ofun Structured version   Visualization version   GIF version

Theorem ofun 40211
Description: A function operation of unions of disjoint functions is a union of function operations. (Contributed by SN, 16-Jun-2024.)
Hypotheses
Ref Expression
ofun.a (𝜑𝐴 Fn 𝑀)
ofun.b (𝜑𝐵 Fn 𝑀)
ofun.c (𝜑𝐶 Fn 𝑁)
ofun.d (𝜑𝐷 Fn 𝑁)
ofun.m (𝜑𝑀𝑉)
ofun.n (𝜑𝑁𝑊)
ofun.1 (𝜑 → (𝑀𝑁) = ∅)
Assertion
Ref Expression
ofun (𝜑 → ((𝐴𝐶) ∘f 𝑅(𝐵𝐷)) = ((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷)))

Proof of Theorem ofun
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 ofun.a . . . 4 (𝜑𝐴 Fn 𝑀)
2 ofun.c . . . 4 (𝜑𝐶 Fn 𝑁)
3 ofun.1 . . . 4 (𝜑 → (𝑀𝑁) = ∅)
41, 2, 3fnund 6546 . . 3 (𝜑 → (𝐴𝐶) Fn (𝑀𝑁))
5 ofun.b . . . 4 (𝜑𝐵 Fn 𝑀)
6 ofun.d . . . 4 (𝜑𝐷 Fn 𝑁)
75, 6, 3fnund 6546 . . 3 (𝜑 → (𝐵𝐷) Fn (𝑀𝑁))
8 ofun.m . . . 4 (𝜑𝑀𝑉)
9 ofun.n . . . 4 (𝜑𝑁𝑊)
108, 9unexd 7604 . . 3 (𝜑 → (𝑀𝑁) ∈ V)
11 inidm 4152 . . 3 ((𝑀𝑁) ∩ (𝑀𝑁)) = (𝑀𝑁)
124, 7, 10, 10, 11offn 7546 . 2 (𝜑 → ((𝐴𝐶) ∘f 𝑅(𝐵𝐷)) Fn (𝑀𝑁))
13 inidm 4152 . . . 4 (𝑀𝑀) = 𝑀
141, 5, 8, 8, 13offn 7546 . . 3 (𝜑 → (𝐴f 𝑅𝐵) Fn 𝑀)
15 inidm 4152 . . . 4 (𝑁𝑁) = 𝑁
162, 6, 9, 9, 15offn 7546 . . 3 (𝜑 → (𝐶f 𝑅𝐷) Fn 𝑁)
1714, 16, 3fnund 6546 . 2 (𝜑 → ((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷)) Fn (𝑀𝑁))
18 eqidd 2739 . . . 4 ((𝜑𝑥 ∈ (𝑀𝑁)) → ((𝐴𝐶)‘𝑥) = ((𝐴𝐶)‘𝑥))
19 eqidd 2739 . . . 4 ((𝜑𝑥 ∈ (𝑀𝑁)) → ((𝐵𝐷)‘𝑥) = ((𝐵𝐷)‘𝑥))
204, 7, 10, 10, 11, 18, 19ofval 7544 . . 3 ((𝜑𝑥 ∈ (𝑀𝑁)) → (((𝐴𝐶) ∘f 𝑅(𝐵𝐷))‘𝑥) = (((𝐴𝐶)‘𝑥)𝑅((𝐵𝐷)‘𝑥)))
21 elun 4083 . . . 4 (𝑥 ∈ (𝑀𝑁) ↔ (𝑥𝑀𝑥𝑁))
22 eqidd 2739 . . . . . . 7 ((𝜑𝑥𝑀) → (𝐴𝑥) = (𝐴𝑥))
23 eqidd 2739 . . . . . . 7 ((𝜑𝑥𝑀) → (𝐵𝑥) = (𝐵𝑥))
241, 5, 8, 8, 13, 22, 23ofval 7544 . . . . . 6 ((𝜑𝑥𝑀) → ((𝐴f 𝑅𝐵)‘𝑥) = ((𝐴𝑥)𝑅(𝐵𝑥)))
2514adantr 481 . . . . . . 7 ((𝜑𝑥𝑀) → (𝐴f 𝑅𝐵) Fn 𝑀)
2616adantr 481 . . . . . . 7 ((𝜑𝑥𝑀) → (𝐶f 𝑅𝐷) Fn 𝑁)
273adantr 481 . . . . . . 7 ((𝜑𝑥𝑀) → (𝑀𝑁) = ∅)
28 simpr 485 . . . . . . 7 ((𝜑𝑥𝑀) → 𝑥𝑀)
2925, 26, 27, 28fvun1d 6861 . . . . . 6 ((𝜑𝑥𝑀) → (((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷))‘𝑥) = ((𝐴f 𝑅𝐵)‘𝑥))
301adantr 481 . . . . . . . 8 ((𝜑𝑥𝑀) → 𝐴 Fn 𝑀)
312adantr 481 . . . . . . . 8 ((𝜑𝑥𝑀) → 𝐶 Fn 𝑁)
3230, 31, 27, 28fvun1d 6861 . . . . . . 7 ((𝜑𝑥𝑀) → ((𝐴𝐶)‘𝑥) = (𝐴𝑥))
335adantr 481 . . . . . . . 8 ((𝜑𝑥𝑀) → 𝐵 Fn 𝑀)
346adantr 481 . . . . . . . 8 ((𝜑𝑥𝑀) → 𝐷 Fn 𝑁)
3533, 34, 27, 28fvun1d 6861 . . . . . . 7 ((𝜑𝑥𝑀) → ((𝐵𝐷)‘𝑥) = (𝐵𝑥))
3632, 35oveq12d 7293 . . . . . 6 ((𝜑𝑥𝑀) → (((𝐴𝐶)‘𝑥)𝑅((𝐵𝐷)‘𝑥)) = ((𝐴𝑥)𝑅(𝐵𝑥)))
3724, 29, 363eqtr4rd 2789 . . . . 5 ((𝜑𝑥𝑀) → (((𝐴𝐶)‘𝑥)𝑅((𝐵𝐷)‘𝑥)) = (((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷))‘𝑥))
38 eqidd 2739 . . . . . . 7 ((𝜑𝑥𝑁) → (𝐶𝑥) = (𝐶𝑥))
39 eqidd 2739 . . . . . . 7 ((𝜑𝑥𝑁) → (𝐷𝑥) = (𝐷𝑥))
402, 6, 9, 9, 15, 38, 39ofval 7544 . . . . . 6 ((𝜑𝑥𝑁) → ((𝐶f 𝑅𝐷)‘𝑥) = ((𝐶𝑥)𝑅(𝐷𝑥)))
4114adantr 481 . . . . . . 7 ((𝜑𝑥𝑁) → (𝐴f 𝑅𝐵) Fn 𝑀)
4216adantr 481 . . . . . . 7 ((𝜑𝑥𝑁) → (𝐶f 𝑅𝐷) Fn 𝑁)
433adantr 481 . . . . . . 7 ((𝜑𝑥𝑁) → (𝑀𝑁) = ∅)
44 simpr 485 . . . . . . 7 ((𝜑𝑥𝑁) → 𝑥𝑁)
4541, 42, 43, 44fvun2d 6862 . . . . . 6 ((𝜑𝑥𝑁) → (((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷))‘𝑥) = ((𝐶f 𝑅𝐷)‘𝑥))
461adantr 481 . . . . . . . 8 ((𝜑𝑥𝑁) → 𝐴 Fn 𝑀)
472adantr 481 . . . . . . . 8 ((𝜑𝑥𝑁) → 𝐶 Fn 𝑁)
4846, 47, 43, 44fvun2d 6862 . . . . . . 7 ((𝜑𝑥𝑁) → ((𝐴𝐶)‘𝑥) = (𝐶𝑥))
495adantr 481 . . . . . . . 8 ((𝜑𝑥𝑁) → 𝐵 Fn 𝑀)
506adantr 481 . . . . . . . 8 ((𝜑𝑥𝑁) → 𝐷 Fn 𝑁)
5149, 50, 43, 44fvun2d 6862 . . . . . . 7 ((𝜑𝑥𝑁) → ((𝐵𝐷)‘𝑥) = (𝐷𝑥))
5248, 51oveq12d 7293 . . . . . 6 ((𝜑𝑥𝑁) → (((𝐴𝐶)‘𝑥)𝑅((𝐵𝐷)‘𝑥)) = ((𝐶𝑥)𝑅(𝐷𝑥)))
5340, 45, 523eqtr4rd 2789 . . . . 5 ((𝜑𝑥𝑁) → (((𝐴𝐶)‘𝑥)𝑅((𝐵𝐷)‘𝑥)) = (((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷))‘𝑥))
5437, 53jaodan 955 . . . 4 ((𝜑 ∧ (𝑥𝑀𝑥𝑁)) → (((𝐴𝐶)‘𝑥)𝑅((𝐵𝐷)‘𝑥)) = (((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷))‘𝑥))
5521, 54sylan2b 594 . . 3 ((𝜑𝑥 ∈ (𝑀𝑁)) → (((𝐴𝐶)‘𝑥)𝑅((𝐵𝐷)‘𝑥)) = (((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷))‘𝑥))
5620, 55eqtrd 2778 . 2 ((𝜑𝑥 ∈ (𝑀𝑁)) → (((𝐴𝐶) ∘f 𝑅(𝐵𝐷))‘𝑥) = (((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷))‘𝑥))
5712, 17, 56eqfnfvd 6912 1 (𝜑 → ((𝐴𝐶) ∘f 𝑅(𝐵𝐷)) = ((𝐴f 𝑅𝐵) ∪ (𝐶f 𝑅𝐷)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wo 844   = wceq 1539  wcel 2106  Vcvv 3432  cun 3885  cin 3886  c0 4256   Fn wfn 6428  cfv 6433  (class class class)co 7275  f cof 7531
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-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-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-of 7533
This theorem is referenced by:  fsuppssind  40282
  Copyright terms: Public domain W3C validator