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 3472 . 2 (𝐴 ∈ 𝑋 → 𝐴 ∈ V)
2 eqid 2761 . . . . . . 7 (𝑊 ↾s 𝐴) = (𝑊 ↾s 𝐴)
3 ressid.1 . . . . . . 7 𝐵 = (Base‘𝑊)
42, 3ressid2 17412 . . . . . 6 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = 𝑊)
5 ssid 3953 . . . . . . . 8 𝐵 ⊆ 𝐵
6 incom 4155 . . . . . . . . 9 (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐴)
7 dfss2 3917 . . . . . . . . . 10 (𝐵 ⊆ 𝐴 ↔ (𝐵 ∩ 𝐴) = 𝐵)
87biimpi 219 . . . . . . . . 9 (𝐵 ⊆ 𝐴 → (𝐵 ∩ 𝐴) = 𝐵)
96, 8eqtrid 2808 . . . . . . . 8 (𝐵 ⊆ 𝐴 → (𝐴 ∩ 𝐵) = 𝐵)
105, 9sseqtrrid 3974 . . . . . . 7 (𝐵 ⊆ 𝐴 → 𝐵 ⊆ (𝐴 ∩ 𝐵))
11 elex 3472 . . . . . . 7 (𝑊 ∈ V → 𝑊 ∈ V)
12 inex1g 5279 . . . . . . 7 (𝐴 ∈ V → (𝐴 ∩ 𝐵) ∈ V)
13 eqid 2761 . . . . . . . 8 (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s (𝐴 ∩ 𝐵))
1413, 3ressid2 17412 . . . . . . 7 ((𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ 𝑊 ∈ V ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = 𝑊)
1510, 11, 12, 14syl3an 1178 . . . . . 6 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = 𝑊)
164, 15eqtr4d 2799 . . . . 5 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
17163expb 1138 . . . 4 ((𝐵 ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
18 inass 4173 . . . . . . . . 9 ((𝐴 ∩ 𝐵) ∩ 𝐵) = (𝐴 ∩ (𝐵 ∩ 𝐵))
19 inidm 4172 . . . . . . . . . 10 (𝐵 ∩ 𝐵) = 𝐵
2019ineq2i 4163 . . . . . . . . 9 (𝐴 ∩ (𝐵 ∩ 𝐵)) = (𝐴 ∩ 𝐵)
2118, 20eqtr2i 2785 . . . . . . . 8 (𝐴 ∩ 𝐵) = ((𝐴 ∩ 𝐵) ∩ 𝐵)
2221opeq2i 4837 . . . . . . 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 4182 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐴
26 sstr 3939 . . . . . . . . 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 2822 . . . . 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 2799 . . . 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 1570   ∈ wcel 2145  Vcvv 3451   ∩ cin 3898   ⊆ wss 3899  ∅c0 4279  ⟨cop 4590  ‘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 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  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