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

Theorem suppofssd 8050
Description: Condition for the support of a function operation to be a subset of the union of the supports of the left and right function terms. (Contributed by Steven Nguyen, 28-Aug-2023.)
Hypotheses
Ref Expression
suppofssd.1 (𝜑𝐴𝑉)
suppofssd.2 (𝜑𝑍𝐵)
suppofssd.3 (𝜑𝐹:𝐴𝐵)
suppofssd.4 (𝜑𝐺:𝐴𝐵)
suppofssd.5 (𝜑 → (𝑍𝑋𝑍) = 𝑍)
Assertion
Ref Expression
suppofssd (𝜑 → ((𝐹f 𝑋𝐺) supp 𝑍) ⊆ ((𝐹 supp 𝑍) ∪ (𝐺 supp 𝑍)))

Proof of Theorem suppofssd
Dummy variables 𝑥 𝑦 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ovexd 7342 . . 3 ((𝜑 ∧ (𝑥𝐵𝑦𝐵)) → (𝑥𝑋𝑦) ∈ V)
2 suppofssd.3 . . 3 (𝜑𝐹:𝐴𝐵)
3 suppofssd.4 . . 3 (𝜑𝐺:𝐴𝐵)
4 suppofssd.1 . . 3 (𝜑𝐴𝑉)
5 inidm 4158 . . 3 (𝐴𝐴) = 𝐴
61, 2, 3, 4, 4, 5off 7583 . 2 (𝜑 → (𝐹f 𝑋𝐺):𝐴⟶V)
7 eldif 3902 . . . 4 (𝑘 ∈ (𝐴 ∖ ((𝐹 supp 𝑍) ∪ (𝐺 supp 𝑍))) ↔ (𝑘𝐴 ∧ ¬ 𝑘 ∈ ((𝐹 supp 𝑍) ∪ (𝐺 supp 𝑍))))
8 ioran 982 . . . . . 6 (¬ (𝑘 ∈ (𝐹 supp 𝑍) ∨ 𝑘 ∈ (𝐺 supp 𝑍)) ↔ (¬ 𝑘 ∈ (𝐹 supp 𝑍) ∧ ¬ 𝑘 ∈ (𝐺 supp 𝑍)))
9 elun 4089 . . . . . 6 (𝑘 ∈ ((𝐹 supp 𝑍) ∪ (𝐺 supp 𝑍)) ↔ (𝑘 ∈ (𝐹 supp 𝑍) ∨ 𝑘 ∈ (𝐺 supp 𝑍)))
108, 9xchnxbir 333 . . . . 5 𝑘 ∈ ((𝐹 supp 𝑍) ∪ (𝐺 supp 𝑍)) ↔ (¬ 𝑘 ∈ (𝐹 supp 𝑍) ∧ ¬ 𝑘 ∈ (𝐺 supp 𝑍)))
1110anbi2i 624 . . . 4 ((𝑘𝐴 ∧ ¬ 𝑘 ∈ ((𝐹 supp 𝑍) ∪ (𝐺 supp 𝑍))) ↔ (𝑘𝐴 ∧ (¬ 𝑘 ∈ (𝐹 supp 𝑍) ∧ ¬ 𝑘 ∈ (𝐺 supp 𝑍))))
127, 11bitri 275 . . 3 (𝑘 ∈ (𝐴 ∖ ((𝐹 supp 𝑍) ∪ (𝐺 supp 𝑍))) ↔ (𝑘𝐴 ∧ (¬ 𝑘 ∈ (𝐹 supp 𝑍) ∧ ¬ 𝑘 ∈ (𝐺 supp 𝑍))))
132ffnd 6631 . . . . . . . . . 10 (𝜑𝐹 Fn 𝐴)
14 suppofssd.2 . . . . . . . . . 10 (𝜑𝑍𝐵)
15 elsuppfn 8018 . . . . . . . . . 10 ((𝐹 Fn 𝐴𝐴𝑉𝑍𝐵) → (𝑘 ∈ (𝐹 supp 𝑍) ↔ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍)))
1613, 4, 14, 15syl3anc 1371 . . . . . . . . 9 (𝜑 → (𝑘 ∈ (𝐹 supp 𝑍) ↔ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍)))
1716notbid 318 . . . . . . . 8 (𝜑 → (¬ 𝑘 ∈ (𝐹 supp 𝑍) ↔ ¬ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍)))
1817biimpd 228 . . . . . . 7 (𝜑 → (¬ 𝑘 ∈ (𝐹 supp 𝑍) → ¬ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍)))
193ffnd 6631 . . . . . . . . . 10 (𝜑𝐺 Fn 𝐴)
20 elsuppfn 8018 . . . . . . . . . 10 ((𝐺 Fn 𝐴𝐴𝑉𝑍𝐵) → (𝑘 ∈ (𝐺 supp 𝑍) ↔ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍)))
2119, 4, 14, 20syl3anc 1371 . . . . . . . . 9 (𝜑 → (𝑘 ∈ (𝐺 supp 𝑍) ↔ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍)))
2221notbid 318 . . . . . . . 8 (𝜑 → (¬ 𝑘 ∈ (𝐺 supp 𝑍) ↔ ¬ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍)))
2322biimpd 228 . . . . . . 7 (𝜑 → (¬ 𝑘 ∈ (𝐺 supp 𝑍) → ¬ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍)))
2418, 23anim12d 610 . . . . . 6 (𝜑 → ((¬ 𝑘 ∈ (𝐹 supp 𝑍) ∧ ¬ 𝑘 ∈ (𝐺 supp 𝑍)) → (¬ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍) ∧ ¬ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍))))
2524anim2d 613 . . . . 5 (𝜑 → ((𝑘𝐴 ∧ (¬ 𝑘 ∈ (𝐹 supp 𝑍) ∧ ¬ 𝑘 ∈ (𝐺 supp 𝑍))) → (𝑘𝐴 ∧ (¬ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍) ∧ ¬ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍)))))
2625imp 408 . . . 4 ((𝜑 ∧ (𝑘𝐴 ∧ (¬ 𝑘 ∈ (𝐹 supp 𝑍) ∧ ¬ 𝑘 ∈ (𝐺 supp 𝑍)))) → (𝑘𝐴 ∧ (¬ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍) ∧ ¬ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍))))
27 pm3.2 471 . . . . . . . 8 (𝑘𝐴 → ((𝐹𝑘) ≠ 𝑍 → (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍)))
2827necon1bd 2959 . . . . . . 7 (𝑘𝐴 → (¬ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍) → (𝐹𝑘) = 𝑍))
29 pm3.2 471 . . . . . . . 8 (𝑘𝐴 → ((𝐺𝑘) ≠ 𝑍 → (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍)))
3029necon1bd 2959 . . . . . . 7 (𝑘𝐴 → (¬ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍) → (𝐺𝑘) = 𝑍))
3128, 30anim12d 610 . . . . . 6 (𝑘𝐴 → ((¬ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍) ∧ ¬ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍)) → ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍)))
3231imdistani 570 . . . . 5 ((𝑘𝐴 ∧ (¬ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍) ∧ ¬ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍))) → (𝑘𝐴 ∧ ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍)))
3313adantr 482 . . . . . . 7 ((𝜑 ∧ (𝑘𝐴 ∧ ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍))) → 𝐹 Fn 𝐴)
3419adantr 482 . . . . . . 7 ((𝜑 ∧ (𝑘𝐴 ∧ ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍))) → 𝐺 Fn 𝐴)
354adantr 482 . . . . . . 7 ((𝜑 ∧ (𝑘𝐴 ∧ ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍))) → 𝐴𝑉)
36 simprl 769 . . . . . . 7 ((𝜑 ∧ (𝑘𝐴 ∧ ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍))) → 𝑘𝐴)
37 fnfvof 7582 . . . . . . 7 (((𝐹 Fn 𝐴𝐺 Fn 𝐴) ∧ (𝐴𝑉𝑘𝐴)) → ((𝐹f 𝑋𝐺)‘𝑘) = ((𝐹𝑘)𝑋(𝐺𝑘)))
3833, 34, 35, 36, 37syl22anc 837 . . . . . 6 ((𝜑 ∧ (𝑘𝐴 ∧ ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍))) → ((𝐹f 𝑋𝐺)‘𝑘) = ((𝐹𝑘)𝑋(𝐺𝑘)))
39 oveq12 7316 . . . . . . 7 (((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍) → ((𝐹𝑘)𝑋(𝐺𝑘)) = (𝑍𝑋𝑍))
4039ad2antll 727 . . . . . 6 ((𝜑 ∧ (𝑘𝐴 ∧ ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍))) → ((𝐹𝑘)𝑋(𝐺𝑘)) = (𝑍𝑋𝑍))
41 suppofssd.5 . . . . . . 7 (𝜑 → (𝑍𝑋𝑍) = 𝑍)
4241adantr 482 . . . . . 6 ((𝜑 ∧ (𝑘𝐴 ∧ ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍))) → (𝑍𝑋𝑍) = 𝑍)
4338, 40, 423eqtrd 2780 . . . . 5 ((𝜑 ∧ (𝑘𝐴 ∧ ((𝐹𝑘) = 𝑍 ∧ (𝐺𝑘) = 𝑍))) → ((𝐹f 𝑋𝐺)‘𝑘) = 𝑍)
4432, 43sylan2 594 . . . 4 ((𝜑 ∧ (𝑘𝐴 ∧ (¬ (𝑘𝐴 ∧ (𝐹𝑘) ≠ 𝑍) ∧ ¬ (𝑘𝐴 ∧ (𝐺𝑘) ≠ 𝑍)))) → ((𝐹f 𝑋𝐺)‘𝑘) = 𝑍)
4526, 44syldan 592 . . 3 ((𝜑 ∧ (𝑘𝐴 ∧ (¬ 𝑘 ∈ (𝐹 supp 𝑍) ∧ ¬ 𝑘 ∈ (𝐺 supp 𝑍)))) → ((𝐹f 𝑋𝐺)‘𝑘) = 𝑍)
4612, 45sylan2b 595 . 2 ((𝜑𝑘 ∈ (𝐴 ∖ ((𝐹 supp 𝑍) ∪ (𝐺 supp 𝑍)))) → ((𝐹f 𝑋𝐺)‘𝑘) = 𝑍)
476, 46suppss 8041 1 (𝜑 → ((𝐹f 𝑋𝐺) supp 𝑍) ⊆ ((𝐹 supp 𝑍) ∪ (𝐺 supp 𝑍)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 397  wo 845   = wceq 1539  wcel 2104  wne 2941  Vcvv 3437  cdif 3889  cun 3890  wss 3892   Fn wfn 6453  wf 6454  cfv 6458  (class class class)co 7307  f cof 7563   supp csupp 8008
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-rep 5218  ax-sep 5232  ax-nul 5239  ax-pr 5361  ax-un 7620
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ne 2942  df-ral 3063  df-rex 3072  df-reu 3286  df-rab 3287  df-v 3439  df-sbc 3722  df-csb 3838  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-iun 4933  df-br 5082  df-opab 5144  df-mpt 5165  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-dm 5610  df-rn 5611  df-res 5612  df-ima 5613  df-iota 6410  df-fun 6460  df-fn 6461  df-f 6462  df-f1 6463  df-fo 6464  df-f1o 6465  df-fv 6466  df-ov 7310  df-oprab 7311  df-mpo 7312  df-of 7565  df-supp 8009
This theorem is referenced by:  psrbagaddcl  21176  mhpmulcl  21384  mhpaddcl  21386
  Copyright terms: Public domain W3C validator