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

Theorem ressinbas 16955
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 3450 . 2 (𝐴𝑋𝐴 ∈ V)
2 eqid 2738 . . . . . . 7 (𝑊s 𝐴) = (𝑊s 𝐴)
3 ressid.1 . . . . . . 7 𝐵 = (Base‘𝑊)
42, 3ressid2 16945 . . . . . 6 ((𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = 𝑊)
5 ssid 3943 . . . . . . . 8 𝐵𝐵
6 incom 4135 . . . . . . . . 9 (𝐴𝐵) = (𝐵𝐴)
7 df-ss 3904 . . . . . . . . . 10 (𝐵𝐴 ↔ (𝐵𝐴) = 𝐵)
87biimpi 215 . . . . . . . . 9 (𝐵𝐴 → (𝐵𝐴) = 𝐵)
96, 8eqtrid 2790 . . . . . . . 8 (𝐵𝐴 → (𝐴𝐵) = 𝐵)
105, 9sseqtrrid 3974 . . . . . . 7 (𝐵𝐴𝐵 ⊆ (𝐴𝐵))
11 elex 3450 . . . . . . 7 (𝑊 ∈ V → 𝑊 ∈ V)
12 inex1g 5243 . . . . . . 7 (𝐴 ∈ V → (𝐴𝐵) ∈ V)
13 eqid 2738 . . . . . . . 8 (𝑊s (𝐴𝐵)) = (𝑊s (𝐴𝐵))
1413, 3ressid2 16945 . . . . . . 7 ((𝐵 ⊆ (𝐴𝐵) ∧ 𝑊 ∈ V ∧ (𝐴𝐵) ∈ V) → (𝑊s (𝐴𝐵)) = 𝑊)
1510, 11, 12, 14syl3an 1159 . . . . . 6 ((𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s (𝐴𝐵)) = 𝑊)
164, 15eqtr4d 2781 . . . . 5 ((𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
17163expb 1119 . . . 4 ((𝐵𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
18 inass 4153 . . . . . . . . 9 ((𝐴𝐵) ∩ 𝐵) = (𝐴 ∩ (𝐵𝐵))
19 inidm 4152 . . . . . . . . . 10 (𝐵𝐵) = 𝐵
2019ineq2i 4143 . . . . . . . . 9 (𝐴 ∩ (𝐵𝐵)) = (𝐴𝐵)
2118, 20eqtr2i 2767 . . . . . . . 8 (𝐴𝐵) = ((𝐴𝐵) ∩ 𝐵)
2221opeq2i 4808 . . . . . . 7 ⟨(Base‘ndx), (𝐴𝐵)⟩ = ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩
2322oveq2i 7286 . . . . . 6 (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩)
242, 3ressval2 16946 . . . . . 6 ((¬ 𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩))
25 inss1 4162 . . . . . . . . 9 (𝐴𝐵) ⊆ 𝐴
26 sstr 3929 . . . . . . . . 9 ((𝐵 ⊆ (𝐴𝐵) ∧ (𝐴𝐵) ⊆ 𝐴) → 𝐵𝐴)
2725, 26mpan2 688 . . . . . . . 8 (𝐵 ⊆ (𝐴𝐵) → 𝐵𝐴)
2827con3i 154 . . . . . . 7 𝐵𝐴 → ¬ 𝐵 ⊆ (𝐴𝐵))
2913, 3ressval2 16946 . . . . . . 7 ((¬ 𝐵 ⊆ (𝐴𝐵) ∧ 𝑊 ∈ V ∧ (𝐴𝐵) ∈ V) → (𝑊s (𝐴𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩))
3028, 11, 12, 29syl3an 1159 . . . . . 6 ((¬ 𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s (𝐴𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩))
3123, 24, 303eqtr4a 2804 . . . . 5 ((¬ 𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
32313expb 1119 . . . 4 ((¬ 𝐵𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
3317, 32pm2.61ian 809 . . 3 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
34 reldmress 16943 . . . . . 6 Rel dom ↾s
3534ovprc1 7314 . . . . 5 𝑊 ∈ V → (𝑊s 𝐴) = ∅)
3634ovprc1 7314 . . . . 5 𝑊 ∈ V → (𝑊s (𝐴𝐵)) = ∅)
3735, 36eqtr4d 2781 . . . 4 𝑊 ∈ V → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
3837adantr 481 . . 3 ((¬ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
3933, 38pm2.61ian 809 . 2 (𝐴 ∈ V → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
401, 39syl 17 1 (𝐴𝑋 → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396  w3a 1086   = wceq 1539  wcel 2106  Vcvv 3432  cin 3886  wss 3887  c0 4256  cop 4567  cfv 6433  (class class class)co 7275   sSet csts 16864  ndxcnx 16894  Basecbs 16912  s cress 16941
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-sep 5223  ax-nul 5230  ax-pr 5352
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-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  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-br 5075  df-opab 5137  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-iota 6391  df-fun 6435  df-fv 6441  df-ov 7278  df-oprab 7279  df-mpo 7280  df-ress 16942
This theorem is referenced by:  ressress  16958  rescabs  17547  rescabsOLD  17548  resscat  17567  funcres2c  17617  ressffth  17654  cphsubrglem  24341  suborng  31514
  Copyright terms: Public domain W3C validator