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

Theorem ressinbas 17491
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 3482 . 2 (𝐴 ∈ 𝑋 → 𝐴 ∈ V)
2 eqid 2774 . . . . . . 7 (𝑊 ↾s 𝐴) = (𝑊 ↾s 𝐴)
3 ressid.1 . . . . . . 7 𝐵 = (Base‘𝑊)
42, 3ressid2 17480 . . . . . 6 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = 𝑊)
5 ssid 3942 . . . . . . . 8 𝐵 ⊆ 𝐵
6 incom 4116 . . . . . . . . 9 (𝐴 ∩ 𝐵) = (𝐵 ∩ 𝐴)
7 dfss2 4104 . . . . . . . . . 10 (𝐵 ⊆ 𝐴 ↔ (𝐵 ∩ 𝐴) = 𝐵)
87biimpi 219 . . . . . . . . 9 (𝐵 ⊆ 𝐴 → (𝐵 ∩ 𝐴) = 𝐵)
96, 8eqtrid 2821 . . . . . . . 8 (𝐵 ⊆ 𝐴 → (𝐴 ∩ 𝐵) = 𝐵)
105, 9sseqtrrid 3963 . . . . . . 7 (𝐵 ⊆ 𝐴 → 𝐵 ⊆ (𝐴 ∩ 𝐵))
11 elex 3482 . . . . . . 7 (𝑊 ∈ V → 𝑊 ∈ V)
12 inex1g 5294 . . . . . . 7 (𝐴 ∈ V → (𝐴 ∩ 𝐵) ∈ V)
13 eqid 2774 . . . . . . . 8 (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s (𝐴 ∩ 𝐵))
1413, 3ressid2 17480 . . . . . . 7 ((𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ 𝑊 ∈ V ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = 𝑊)
1510, 11, 12, 14syl3an 1179 . . . . . 6 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = 𝑊)
164, 15eqtr4d 2812 . . . . 5 ((𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
17163expb 1139 . . . 4 ((𝐵 ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
18 inass 4134 . . . . . . . . 9 ((𝐴 ∩ 𝐵) ∩ 𝐵) = (𝐴 ∩ (𝐵 ∩ 𝐵))
19 inidm 4133 . . . . . . . . . 10 (𝐵 ∩ 𝐵) = 𝐵
2019ineq2i 4124 . . . . . . . . 9 (𝐴 ∩ (𝐵 ∩ 𝐵)) = (𝐴 ∩ 𝐵)
2118, 20eqtr2i 2798 . . . . . . . 8 (𝐴 ∩ 𝐵) = ((𝐴 ∩ 𝐵) ∩ 𝐵)
2221opeq2i 4857 . . . . . . 7 ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩ = ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩
2322oveq2i 7481 . . . . . 6 (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩)
242, 3ressval2 17481 . . . . . 6 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ 𝐵)⟩))
25 inss1 4143 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐴
26 sstr 3928 . . . . . . . . 9 ((𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ (𝐴 ∩ 𝐵) ⊆ 𝐴) → 𝐵 ⊆ 𝐴)
2725, 26mpan2 704 . . . . . . . 8 (𝐵 ⊆ (𝐴 ∩ 𝐵) → 𝐵 ⊆ 𝐴)
2827con3i 155 . . . . . . 7 (¬ 𝐵 ⊆ 𝐴 → ¬ 𝐵 ⊆ (𝐴 ∩ 𝐵))
2913, 3ressval2 17481 . . . . . . 7 ((¬ 𝐵 ⊆ (𝐴 ∩ 𝐵) ∧ 𝑊 ∈ V ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩))
3028, 11, 12, 29syl3an 1179 . . . . . 6 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ 𝐵)⟩))
3123, 24, 303eqtr4a 2835 . . . . 5 ((¬ 𝐵 ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
32313expb 1139 . . . 4 ((¬ 𝐵 ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
3317, 32pm2.61ian 824 . . 3 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
34 reldmress 17478 . . . . . 6 Rel dom ↾s
3534ovprc1 7509 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s 𝐴) = ∅)
3634ovprc1 7509 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s (𝐴 ∩ 𝐵)) = ∅)
3735, 36eqtr4d 2812 . . . 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 1104   = wceq 1572   ∈ wcel 2156  Vcvv 3461   ⊆ wss 3907   ∩ cin 4099  ∅c0 4288  ⟨cop 4848  ‘cfv 6579  (class class class)co 7470   sSet csts 17409  ndxcnx 17439  Basecbs 17455   ↾s cress 17476
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-sbc 3750  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-br 5117  df-opab 5182  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-iota 6533  df-fun 6581  df-fv 6587  df-ov 7473  df-oprab 7474  df-mpo 7475  df-ress 17477
This theorem is used by:  ressress  17493  rescabs  18086  resscat  18105  funcres2c  18156  ressffth  18193  suborng  21216  cphsubrglem  25606
  Copyright terms: Public domain W3C validator