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

Theorem ressinbas 17423
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 3471 . 2 (𝐴 ∈ 𝑋 → 𝐴 ∈ V)
2 eqid 2760 . . . . . . 7 (𝑊 ↾s 𝐴) = (𝑊 ↾s 𝐴)
3 ressid.1 . . . . . . 7 𝐵 = (Base‘𝑊)
42, 3ressid2 17412 . . . . . 6 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = 𝑊)
5 ssid 3950 . . . . . . . 8 𝐵 ⊆ 𝐵
6 incom 4154 . . . . . . . . 9 (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐴)
7 dfss2 3915 . . . . . . . . . 10 (𝐵 ⊆ 𝐴 ↔ (𝐵 ∩ 𝐴) = 𝐵)
87biimpi 219 . . . . . . . . 9 (𝐵 ⊆ 𝐴 → (𝐵 ∩ 𝐴) = 𝐵)
96, 8eqtrid 2807 . . . . . . . 8 (𝐵 ⊆ 𝐴 → (𝐴 ∩ 𝐵) = 𝐵)
105, 9sseqtrrid 3971 . . . . . . 7 (𝐵 ⊆ 𝐴 → 𝐵 ⊆ (𝐴 ∩ 𝐵))
11 elex 3471 . . . . . . 7 (𝑊 ∈ V → 𝑊 ∈ V)
12 inex1g 5278 . . . . . . 7 (𝐴 ∈ V → (𝐴 ∩ 𝐵) ∈ V)
13 eqid 2760 . . . . . . . 8 (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s (𝐴 ∩ 𝐵))
1413, 3ressid2 17412 . . . . . . 7 ((𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ 𝑊 ∈ V ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = 𝑊)
1510, 11, 12, 14syl3an 1178 . . . . . 6 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = 𝑊)
164, 15eqtr4d 2798 . . . . 5 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
17163expb 1138 . . . 4 ((𝐵 ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
18 inass 4172 . . . . . . . . 9 ((𝐴 ∩ 𝐵) ∩ 𝐵) = (𝐴 ∩ (𝐵 ∩ 𝐵))
19 inidm 4171 . . . . . . . . . 10 (𝐵 ∩ 𝐵) = 𝐵
2019ineq2i 4162 . . . . . . . . 9 (𝐴 ∩ (𝐵 ∩ 𝐵)) = (𝐴 ∩ 𝐵)
2118, 20eqtr2i 2784 . . . . . . . 8 (𝐴 ∩ 𝐵) = ((𝐴 ∩ 𝐵) ∩ 𝐵)
2221opeq2i 4836 . . . . . . 7 ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩ = ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩
2322oveq2i 7431 . . . . . 6 (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩)
242, 3ressval2 17413 . . . . . 6 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
25 inss1 4181 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐴
26 sstr 3936 . . . . . . . . 9 ((𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ (𝐴 ∩ 𝐵) ⊆ 𝐴) → 𝐵 ⊆ 𝐴)
2725, 26mpan2 704 . . . . . . . 8 (𝐵 ⊆ (𝐴 ∩ 𝐵) → 𝐵 ⊆ 𝐴)
2827con3i 155 . . . . . . 7 (¬ 𝐵 ⊆ 𝐴 → ¬ 𝐵 ⊆ (𝐴 ∩ 𝐵))
2913, 3ressval2 17413 . . . . . . 7 ((¬ 𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ 𝑊 ∈ V ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩))
3028, 11, 12, 29syl3an 1178 . . . . . 6 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩))
3123, 24, 303eqtr4a 2821 . . . . 5 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
32313expb 1138 . . . 4 ((¬ 𝐵 ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
3317, 32pm2.61ian 824 . . 3 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
34 reldmress 17410 . . . . . 6 Rel dom ↾s
3534ovprc1 7459 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s 𝐴) = ∅)
3634ovprc1 7459 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s (𝐴 ∩ 𝐵)) = ∅)
3735, 36eqtr4d 2798 . . . 4 (¬ 𝑊 ∈ V → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
3837adantr 486 . . 3 ((¬ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
3933, 38pm2.61ian 824 . 2 (𝐴 ∈ V → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
401, 39syl 18 1 (𝐴 ∈ 𝑋 → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  Vcvv 3450   ∩ cin 3897   ⊆ wss 3913  ∅c0 4278  ⟨cop 4589  ‘cfv 6538  (class class class)co 7420   sSet csts 17341  ndxcnx 17371  Basecbs 17387   ↾s cress 17408
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-rab 3413  df-v 3452  df-sbc 3739  df-dif 3899  df-un 3901  df-in 3903  df-ss 3914  df-nul 4279  df-if 4482  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-br 5103  df-opab 5167  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-iota 6494  df-fun 6540  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-ress 17409
This theorem is used by:  ressress  17425  rescabs  18008  resscat  18027  funcres2c  18078  ressffth  18115  suborng  21133  cphsubrglem  25498
  Copyright terms: Public domain W3C validator