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

Theorem ressinbas 16881
Description: Restriction only cares about the part of the second set which intersects the base of the first. (Contributed by Stefan O'Rear, 29-Nov-2014.)
Hypothesis
Ref Expression
ressid.1 𝐵 = (Base‘𝑊)
Assertion
Ref Expression
ressinbas (𝐴𝑋 → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))

Proof of Theorem ressinbas
StepHypRef Expression
1 elex 3440 . 2 (𝐴𝑋𝐴 ∈ V)
2 eqid 2738 . . . . . . 7 (𝑊s 𝐴) = (𝑊s 𝐴)
3 ressid.1 . . . . . . 7 𝐵 = (Base‘𝑊)
42, 3ressid2 16871 . . . . . 6 ((𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = 𝑊)
5 ssid 3939 . . . . . . . 8 𝐵𝐵
6 incom 4131 . . . . . . . . 9 (𝐴𝐵) = (𝐵𝐴)
7 df-ss 3900 . . . . . . . . . 10 (𝐵𝐴 ↔ (𝐵𝐴) = 𝐵)
87biimpi 215 . . . . . . . . 9 (𝐵𝐴 → (𝐵𝐴) = 𝐵)
96, 8eqtrid 2790 . . . . . . . 8 (𝐵𝐴 → (𝐴𝐵) = 𝐵)
105, 9sseqtrrid 3970 . . . . . . 7 (𝐵𝐴𝐵 ⊆ (𝐴𝐵))
11 elex 3440 . . . . . . 7 (𝑊 ∈ V → 𝑊 ∈ V)
12 inex1g 5238 . . . . . . 7 (𝐴 ∈ V → (𝐴𝐵) ∈ V)
13 eqid 2738 . . . . . . . 8 (𝑊s (𝐴𝐵)) = (𝑊s (𝐴𝐵))
1413, 3ressid2 16871 . . . . . . 7 ((𝐵 ⊆ (𝐴𝐵) ∧ 𝑊 ∈ V ∧ (𝐴𝐵) ∈ V) → (𝑊s (𝐴𝐵)) = 𝑊)
1510, 11, 12, 14syl3an 1158 . . . . . 6 ((𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s (𝐴𝐵)) = 𝑊)
164, 15eqtr4d 2781 . . . . 5 ((𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
17163expb 1118 . . . 4 ((𝐵𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
18 inass 4150 . . . . . . . . 9 ((𝐴𝐵) ∩ 𝐵) = (𝐴 ∩ (𝐵𝐵))
19 inidm 4149 . . . . . . . . . 10 (𝐵𝐵) = 𝐵
2019ineq2i 4140 . . . . . . . . 9 (𝐴 ∩ (𝐵𝐵)) = (𝐴𝐵)
2118, 20eqtr2i 2767 . . . . . . . 8 (𝐴𝐵) = ((𝐴𝐵) ∩ 𝐵)
2221opeq2i 4805 . . . . . . 7 ⟨(Base‘ndx), (𝐴𝐵)⟩ = ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩
2322oveq2i 7266 . . . . . 6 (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩)
242, 3ressval2 16872 . . . . . 6 ((¬ 𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩))
25 inss1 4159 . . . . . . . . 9 (𝐴𝐵) ⊆ 𝐴
26 sstr 3925 . . . . . . . . 9 ((𝐵 ⊆ (𝐴𝐵) ∧ (𝐴𝐵) ⊆ 𝐴) → 𝐵𝐴)
2725, 26mpan2 687 . . . . . . . 8 (𝐵 ⊆ (𝐴𝐵) → 𝐵𝐴)
2827con3i 154 . . . . . . 7 𝐵𝐴 → ¬ 𝐵 ⊆ (𝐴𝐵))
2913, 3ressval2 16872 . . . . . . 7 ((¬ 𝐵 ⊆ (𝐴𝐵) ∧ 𝑊 ∈ V ∧ (𝐴𝐵) ∈ V) → (𝑊s (𝐴𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩))
3028, 11, 12, 29syl3an 1158 . . . . . 6 ((¬ 𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s (𝐴𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩))
3123, 24, 303eqtr4a 2805 . . . . 5 ((¬ 𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
32313expb 1118 . . . 4 ((¬ 𝐵𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
3317, 32pm2.61ian 808 . . 3 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
34 reldmress 16869 . . . . . 6 Rel dom ↾s
3534ovprc1 7294 . . . . 5 𝑊 ∈ V → (𝑊s 𝐴) = ∅)
3634ovprc1 7294 . . . . 5 𝑊 ∈ V → (𝑊s (𝐴𝐵)) = ∅)
3735, 36eqtr4d 2781 . . . 4 𝑊 ∈ V → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
3837adantr 480 . . 3 ((¬ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
3933, 38pm2.61ian 808 . 2 (𝐴 ∈ V → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
401, 39syl 17 1 (𝐴𝑋 → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1085   = wceq 1539  wcel 2108  Vcvv 3422  cin 3882  wss 3883  c0 4253  cop 4564  cfv 6418  (class class class)co 7255   sSet csts 16792  ndxcnx 16822  Basecbs 16840  s cress 16867
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-iota 6376  df-fun 6420  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-ress 16868
This theorem is referenced by:  ressress  16884  rescabs  17464  resscat  17483  funcres2c  17533  ressffth  17570  cphsubrglem  24246  suborng  31416
  Copyright terms: Public domain W3C validator