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

Theorem fnsuppres 7524
Description: Two ways to express restriction of a support set. (Contributed by Stefan O'Rear, 5-Feb-2015.) (Revised by AV, 28-May-2019.)
Assertion
Ref Expression
fnsuppres ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → ((𝐹 supp 𝑍) ⊆ 𝐴 ↔ (𝐹𝐵) = (𝐵 × {𝑍})))

Proof of Theorem fnsuppres
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 fndm 6167 . . . . . 6 (𝐹 Fn (𝐴𝐵) → dom 𝐹 = (𝐴𝐵))
2 rabeq 3340 . . . . . 6 (dom 𝐹 = (𝐴𝐵) → {𝑎 ∈ dom 𝐹 ∣ (𝐹𝑎) ≠ 𝑍} = {𝑎 ∈ (𝐴𝐵) ∣ (𝐹𝑎) ≠ 𝑍})
31, 2syl 17 . . . . 5 (𝐹 Fn (𝐴𝐵) → {𝑎 ∈ dom 𝐹 ∣ (𝐹𝑎) ≠ 𝑍} = {𝑎 ∈ (𝐴𝐵) ∣ (𝐹𝑎) ≠ 𝑍})
433ad2ant1 1163 . . . 4 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → {𝑎 ∈ dom 𝐹 ∣ (𝐹𝑎) ≠ 𝑍} = {𝑎 ∈ (𝐴𝐵) ∣ (𝐹𝑎) ≠ 𝑍})
54sseq1d 3791 . . 3 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → ({𝑎 ∈ dom 𝐹 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ↔ {𝑎 ∈ (𝐴𝐵) ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴))
6 unss 3948 . . . . 5 (({𝑎𝐴 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ∧ {𝑎𝐵 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴) ↔ ({𝑎𝐴 ∣ (𝐹𝑎) ≠ 𝑍} ∪ {𝑎𝐵 ∣ (𝐹𝑎) ≠ 𝑍}) ⊆ 𝐴)
7 ssrab2 3846 . . . . . 6 {𝑎𝐴 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴
87biantrur 526 . . . . 5 ({𝑎𝐵 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ↔ ({𝑎𝐴 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ∧ {𝑎𝐵 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴))
9 rabun2 4069 . . . . . 6 {𝑎 ∈ (𝐴𝐵) ∣ (𝐹𝑎) ≠ 𝑍} = ({𝑎𝐴 ∣ (𝐹𝑎) ≠ 𝑍} ∪ {𝑎𝐵 ∣ (𝐹𝑎) ≠ 𝑍})
109sseq1i 3788 . . . . 5 ({𝑎 ∈ (𝐴𝐵) ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ↔ ({𝑎𝐴 ∣ (𝐹𝑎) ≠ 𝑍} ∪ {𝑎𝐵 ∣ (𝐹𝑎) ≠ 𝑍}) ⊆ 𝐴)
116, 8, 103bitr4ri 295 . . . 4 ({𝑎 ∈ (𝐴𝐵) ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ↔ {𝑎𝐵 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴)
12 rabss 3838 . . . . 5 ({𝑎𝐵 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ↔ ∀𝑎𝐵 ((𝐹𝑎) ≠ 𝑍𝑎𝐴))
13 fvres 6393 . . . . . . . . 9 (𝑎𝐵 → ((𝐹𝐵)‘𝑎) = (𝐹𝑎))
1413adantl 473 . . . . . . . 8 (((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) ∧ 𝑎𝐵) → ((𝐹𝐵)‘𝑎) = (𝐹𝑎))
15 simp2r 1257 . . . . . . . . 9 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → 𝑍𝑉)
16 fvconst2g 6659 . . . . . . . . 9 ((𝑍𝑉𝑎𝐵) → ((𝐵 × {𝑍})‘𝑎) = 𝑍)
1715, 16sylan 575 . . . . . . . 8 (((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) ∧ 𝑎𝐵) → ((𝐵 × {𝑍})‘𝑎) = 𝑍)
1814, 17eqeq12d 2779 . . . . . . 7 (((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) ∧ 𝑎𝐵) → (((𝐹𝐵)‘𝑎) = ((𝐵 × {𝑍})‘𝑎) ↔ (𝐹𝑎) = 𝑍))
19 nne 2940 . . . . . . . 8 (¬ (𝐹𝑎) ≠ 𝑍 ↔ (𝐹𝑎) = 𝑍)
2019a1i 11 . . . . . . 7 (((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) ∧ 𝑎𝐵) → (¬ (𝐹𝑎) ≠ 𝑍 ↔ (𝐹𝑎) = 𝑍))
21 id 22 . . . . . . . . 9 (𝑎𝐵𝑎𝐵)
22 simp3 1168 . . . . . . . . 9 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → (𝐴𝐵) = ∅)
23 minel 4193 . . . . . . . . 9 ((𝑎𝐵 ∧ (𝐴𝐵) = ∅) → ¬ 𝑎𝐴)
2421, 22, 23syl2anr 590 . . . . . . . 8 (((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) ∧ 𝑎𝐵) → ¬ 𝑎𝐴)
25 mtt 355 . . . . . . . 8 𝑎𝐴 → (¬ (𝐹𝑎) ≠ 𝑍 ↔ ((𝐹𝑎) ≠ 𝑍𝑎𝐴)))
2624, 25syl 17 . . . . . . 7 (((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) ∧ 𝑎𝐵) → (¬ (𝐹𝑎) ≠ 𝑍 ↔ ((𝐹𝑎) ≠ 𝑍𝑎𝐴)))
2718, 20, 263bitr2rd 299 . . . . . 6 (((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) ∧ 𝑎𝐵) → (((𝐹𝑎) ≠ 𝑍𝑎𝐴) ↔ ((𝐹𝐵)‘𝑎) = ((𝐵 × {𝑍})‘𝑎)))
2827ralbidva 3131 . . . . 5 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → (∀𝑎𝐵 ((𝐹𝑎) ≠ 𝑍𝑎𝐴) ↔ ∀𝑎𝐵 ((𝐹𝐵)‘𝑎) = ((𝐵 × {𝑍})‘𝑎)))
2912, 28syl5bb 274 . . . 4 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → ({𝑎𝐵 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ↔ ∀𝑎𝐵 ((𝐹𝐵)‘𝑎) = ((𝐵 × {𝑍})‘𝑎)))
3011, 29syl5bb 274 . . 3 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → ({𝑎 ∈ (𝐴𝐵) ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ↔ ∀𝑎𝐵 ((𝐹𝐵)‘𝑎) = ((𝐵 × {𝑍})‘𝑎)))
315, 30bitrd 270 . 2 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → ({𝑎 ∈ dom 𝐹 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴 ↔ ∀𝑎𝐵 ((𝐹𝐵)‘𝑎) = ((𝐵 × {𝑍})‘𝑎)))
32 fnfun 6165 . . . . . . 7 (𝐹 Fn (𝐴𝐵) → Fun 𝐹)
33323anim1i 1191 . . . . . 6 ((𝐹 Fn (𝐴𝐵) ∧ 𝐹𝑊𝑍𝑉) → (Fun 𝐹𝐹𝑊𝑍𝑉))
34333expb 1149 . . . . 5 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉)) → (Fun 𝐹𝐹𝑊𝑍𝑉))
35 suppval1 7502 . . . . 5 ((Fun 𝐹𝐹𝑊𝑍𝑉) → (𝐹 supp 𝑍) = {𝑎 ∈ dom 𝐹 ∣ (𝐹𝑎) ≠ 𝑍})
3634, 35syl 17 . . . 4 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉)) → (𝐹 supp 𝑍) = {𝑎 ∈ dom 𝐹 ∣ (𝐹𝑎) ≠ 𝑍})
37363adant3 1162 . . 3 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → (𝐹 supp 𝑍) = {𝑎 ∈ dom 𝐹 ∣ (𝐹𝑎) ≠ 𝑍})
3837sseq1d 3791 . 2 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → ((𝐹 supp 𝑍) ⊆ 𝐴 ↔ {𝑎 ∈ dom 𝐹 ∣ (𝐹𝑎) ≠ 𝑍} ⊆ 𝐴))
39 simp1 1166 . . . 4 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → 𝐹 Fn (𝐴𝐵))
40 ssun2 3938 . . . . 5 𝐵 ⊆ (𝐴𝐵)
4140a1i 11 . . . 4 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → 𝐵 ⊆ (𝐴𝐵))
42 fnssres 6181 . . . 4 ((𝐹 Fn (𝐴𝐵) ∧ 𝐵 ⊆ (𝐴𝐵)) → (𝐹𝐵) Fn 𝐵)
4339, 41, 42syl2anc 579 . . 3 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → (𝐹𝐵) Fn 𝐵)
44 fnconstg 6274 . . . . 5 (𝑍𝑉 → (𝐵 × {𝑍}) Fn 𝐵)
4544adantl 473 . . . 4 ((𝐹𝑊𝑍𝑉) → (𝐵 × {𝑍}) Fn 𝐵)
46453ad2ant2 1164 . . 3 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → (𝐵 × {𝑍}) Fn 𝐵)
47 eqfnfv 6500 . . 3 (((𝐹𝐵) Fn 𝐵 ∧ (𝐵 × {𝑍}) Fn 𝐵) → ((𝐹𝐵) = (𝐵 × {𝑍}) ↔ ∀𝑎𝐵 ((𝐹𝐵)‘𝑎) = ((𝐵 × {𝑍})‘𝑎)))
4843, 46, 47syl2anc 579 . 2 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → ((𝐹𝐵) = (𝐵 × {𝑍}) ↔ ∀𝑎𝐵 ((𝐹𝐵)‘𝑎) = ((𝐵 × {𝑍})‘𝑎)))
4931, 38, 483bitr4d 302 1 ((𝐹 Fn (𝐴𝐵) ∧ (𝐹𝑊𝑍𝑉) ∧ (𝐴𝐵) = ∅) → ((𝐹 supp 𝑍) ⊆ 𝐴 ↔ (𝐹𝐵) = (𝐵 × {𝑍})))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 197  wa 384  w3a 1107   = wceq 1652  wcel 2155  wne 2936  wral 3054  {crab 3058  cun 3729  cin 3730  wss 3731  c0 4078  {csn 4333   × cxp 5274  dom cdm 5276  cres 5278  Fun wfun 6061   Fn wfn 6062  cfv 6067  (class class class)co 6841   supp csupp 7496
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1890  ax-4 1904  ax-5 2005  ax-6 2069  ax-7 2105  ax-8 2157  ax-9 2164  ax-10 2183  ax-11 2198  ax-12 2211  ax-13 2349  ax-ext 2742  ax-sep 4940  ax-nul 4948  ax-pow 5000  ax-pr 5061  ax-un 7146
This theorem depends on definitions:  df-bi 198  df-an 385  df-or 874  df-3an 1109  df-tru 1656  df-ex 1875  df-nf 1879  df-sb 2062  df-mo 2564  df-eu 2581  df-clab 2751  df-cleq 2757  df-clel 2760  df-nfc 2895  df-ne 2937  df-ral 3059  df-rex 3060  df-rab 3063  df-v 3351  df-sbc 3596  df-csb 3691  df-dif 3734  df-un 3736  df-in 3738  df-ss 3745  df-nul 4079  df-if 4243  df-sn 4334  df-pr 4336  df-op 4340  df-uni 4594  df-br 4809  df-opab 4871  df-mpt 4888  df-id 5184  df-xp 5282  df-rel 5283  df-cnv 5284  df-co 5285  df-dm 5286  df-rn 5287  df-res 5288  df-ima 5289  df-iota 6030  df-fun 6069  df-fn 6070  df-f 6071  df-fv 6075  df-ov 6844  df-oprab 6845  df-mpt2 6846  df-supp 7497
This theorem is referenced by:  fnsuppeq0  7525  frlmsslss2  20389  resf1o  29888
  Copyright terms: Public domain W3C validator