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

Theorem ressinbas 17435
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 3474 . 2 (𝐴 ∈ 𝑋 → 𝐴 ∈ V)
2 eqid 2763 . . . . . . 7 (𝑊 ↾s 𝐴) = (𝑊 ↾s 𝐴)
3 ressid.1 . . . . . . 7 𝐵 = (Base‘𝑊)
42, 3ressid2 17424 . . . . . 6 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = 𝑊)
5 ssid 3934 . . . . . . . 8 𝐵 ⊆ 𝐵
6 incom 4108 . . . . . . . . 9 (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐴)
7 dfss2 4096 . . . . . . . . . 10 (𝐵 ⊆ 𝐴 ↔ (𝐵 ∩ 𝐴) = 𝐵)
87biimpi 219 . . . . . . . . 9 (𝐵 ⊆ 𝐴 → (𝐵 ∩ 𝐴) = 𝐵)
96, 8eqtrid 2810 . . . . . . . 8 (𝐵 ⊆ 𝐴 → (𝐴 ∩ 𝐵) = 𝐵)
105, 9sseqtrrid 3955 . . . . . . 7 (𝐵 ⊆ 𝐴 → 𝐵 ⊆ (𝐴 ∩ 𝐵))
11 elex 3474 . . . . . . 7 (𝑊 ∈ V → 𝑊 ∈ V)
12 inex1g 5282 . . . . . . 7 (𝐴 ∈ V → (𝐴 ∩ 𝐵) ∈ V)
13 eqid 2763 . . . . . . . 8 (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s (𝐴 ∩ 𝐵))
1413, 3ressid2 17424 . . . . . . 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 4126 . . . . . . . . 9 ((𝐴 ∩ 𝐵) ∩ 𝐵) = (𝐴 ∩ (𝐵 ∩ 𝐵))
19 inidm 4125 . . . . . . . . . 10 (𝐵 ∩ 𝐵) = 𝐵
2019ineq2i 4116 . . . . . . . . 9 (𝐴 ∩ (𝐵 ∩ 𝐵)) = (𝐴 ∩ 𝐵)
2118, 20eqtr2i 2787 . . . . . . . 8 (𝐴 ∩ 𝐵) = ((𝐴 ∩ 𝐵) ∩ 𝐵)
2221opeq2i 4846 . . . . . . 7 ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩ = ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩
2322oveq2i 7438 . . . . . 6 (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩)
242, 3ressval2 17425 . . . . . 6 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
25 inss1 4135 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐴
26 sstr 3920 . . . . . . . . 9 ((𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ (𝐴 ∩ 𝐵) ⊆ 𝐴) → 𝐵 ⊆ 𝐴)
2725, 26mpan2 704 . . . . . . . 8 (𝐵 ⊆ (𝐴 ∩ 𝐵) → 𝐵 ⊆ 𝐴)
2827con3i 155 . . . . . . 7 (¬ 𝐵 ⊆ 𝐴 → ¬ 𝐵 ⊆ (𝐴 ∩ 𝐵))
2913, 3ressval2 17425 . . . . . . 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 17422 . . . . . 6 Rel dom ↾s
3534ovprc1 7466 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s 𝐴) = ∅)
3634ovprc1 7466 . . . . 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 1569   ∈ wcel 2146  Vcvv 3453   ⊆ wss 3899   ∩ cin 4091  ∅c0 4280  ⟨cop 4837  ‘cfv 6546  (class class class)co 7427   sSet csts 17353  ndxcnx 17383  Basecbs 17399   ↾s cress 17420
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pr 5394
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 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-rab 3416  df-v 3455  df-sbc 3742  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-br 5106  df-opab 5170  df-id 5549  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-iota 6500  df-fun 6548  df-fv 6554  df-ov 7430  df-oprab 7431  df-mpo 7432  df-ress 17421
This theorem is used by:  ressress  17437  rescabs  18020  resscat  18039  funcres2c  18090  ressffth  18127  suborng  21145  cphsubrglem  25510
  Copyright terms: Public domain W3C validator