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

Theorem ressinbas 17467
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 3475 . 2 (𝐴 ∈ 𝑋 → 𝐴 ∈ V)
2 eqid 2763 . . . . . . 7 (𝑊 ↾s 𝐴) = (𝑊 ↾s 𝐴)
3 ressid.1 . . . . . . 7 𝐵 = (Base‘𝑊)
42, 3ressid2 17456 . . . . . 6 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = 𝑊)
5 ssid 3935 . . . . . . . 8 𝐵 ⊆ 𝐵
6 incom 4109 . . . . . . . . 9 (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐴)
7 dfss2 4097 . . . . . . . . . 10 (𝐵 ⊆ 𝐴 ↔ (𝐵 ∩ 𝐴) = 𝐵)
87biimpi 219 . . . . . . . . 9 (𝐵 ⊆ 𝐴 → (𝐵 ∩ 𝐴) = 𝐵)
96, 8eqtrid 2810 . . . . . . . 8 (𝐵 ⊆ 𝐴 → (𝐴 ∩ 𝐵) = 𝐵)
105, 9sseqtrrid 3956 . . . . . . 7 (𝐵 ⊆ 𝐴 → 𝐵 ⊆ (𝐴 ∩ 𝐵))
11 elex 3475 . . . . . . 7 (𝑊 ∈ V → 𝑊 ∈ V)
12 inex1g 5286 . . . . . . 7 (𝐴 ∈ V → (𝐴 ∩ 𝐵) ∈ V)
13 eqid 2763 . . . . . . . 8 (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s (𝐴 ∩ 𝐵))
1413, 3ressid2 17456 . . . . . . 7 ((𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ 𝑊 ∈ V ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = 𝑊)
1510, 11, 12, 14syl3an 1178 . . . . . 6 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = 𝑊)
164, 15eqtr4d 2801 . . . . 5 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
17163expb 1138 . . . 4 ((𝐵 ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
18 inass 4127 . . . . . . . . 9 ((𝐴 ∩ 𝐵) ∩ 𝐵) = (𝐴 ∩ (𝐵 ∩ 𝐵))
19 inidm 4126 . . . . . . . . . 10 (𝐵 ∩ 𝐵) = 𝐵
2019ineq2i 4117 . . . . . . . . 9 (𝐴 ∩ (𝐵 ∩ 𝐵)) = (𝐴 ∩ 𝐵)
2118, 20eqtr2i 2787 . . . . . . . 8 (𝐴 ∩ 𝐵) = ((𝐴 ∩ 𝐵) ∩ 𝐵)
2221opeq2i 4849 . . . . . . 7 ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩ = ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩
2322oveq2i 7462 . . . . . 6 (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩)
242, 3ressval2 17457 . . . . . 6 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
25 inss1 4136 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐴
26 sstr 3921 . . . . . . . . 9 ((𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ (𝐴 ∩ 𝐵) ⊆ 𝐴) → 𝐵 ⊆ 𝐴)
2725, 26mpan2 704 . . . . . . . 8 (𝐵 ⊆ (𝐴 ∩ 𝐵) → 𝐵 ⊆ 𝐴)
2827con3i 155 . . . . . . 7 (¬ 𝐵 ⊆ 𝐴 → ¬ 𝐵 ⊆ (𝐴 ∩ 𝐵))
2913, 3ressval2 17457 . . . . . . 7 ((¬ 𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ 𝑊 ∈ V ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩))
3028, 11, 12, 29syl3an 1178 . . . . . 6 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩))
3123, 24, 303eqtr4a 2824 . . . . 5 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
32313expb 1138 . . . 4 ((¬ 𝐵 ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
3317, 32pm2.61ian 824 . . 3 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
34 reldmress 17454 . . . . . 6 Rel dom ↾s
3534ovprc1 7490 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s 𝐴) = ∅)
3634ovprc1 7490 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s (𝐴 ∩ 𝐵)) = ∅)
3735, 36eqtr4d 2801 . . . 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 2147  Vcvv 3454   ⊆ wss 3900   ∩ cin 4092  ∅c0 4281  ⟨cop 4840  ‘cfv 6566  (class class class)co 7451   sSet csts 17385  ndxcnx 17415  Basecbs 17431   ↾s cress 17452
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pr 5398
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-br 5109  df-opab 5174  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-iota 6520  df-fun 6568  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-ress 17453
This theorem is used by:  ressress  17469  rescabs  18058  resscat  18077  funcres2c  18128  ressffth  18165  suborng  21184  cphsubrglem  25553
  Copyright terms: Public domain W3C validator