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

Theorem ressinbas 16554
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 3513 . 2 (𝐴𝑋𝐴 ∈ V)
2 eqid 2821 . . . . . . 7 (𝑊s 𝐴) = (𝑊s 𝐴)
3 ressid.1 . . . . . . 7 𝐵 = (Base‘𝑊)
42, 3ressid2 16546 . . . . . 6 ((𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = 𝑊)
5 ssid 3989 . . . . . . . 8 𝐵𝐵
6 incom 4178 . . . . . . . . 9 (𝐴𝐵) = (𝐵𝐴)
7 df-ss 3952 . . . . . . . . . 10 (𝐵𝐴 ↔ (𝐵𝐴) = 𝐵)
87biimpi 218 . . . . . . . . 9 (𝐵𝐴 → (𝐵𝐴) = 𝐵)
96, 8syl5eq 2868 . . . . . . . 8 (𝐵𝐴 → (𝐴𝐵) = 𝐵)
105, 9sseqtrrid 4020 . . . . . . 7 (𝐵𝐴𝐵 ⊆ (𝐴𝐵))
11 elex 3513 . . . . . . 7 (𝑊 ∈ V → 𝑊 ∈ V)
12 inex1g 5216 . . . . . . 7 (𝐴 ∈ V → (𝐴𝐵) ∈ V)
13 eqid 2821 . . . . . . . 8 (𝑊s (𝐴𝐵)) = (𝑊s (𝐴𝐵))
1413, 3ressid2 16546 . . . . . . 7 ((𝐵 ⊆ (𝐴𝐵) ∧ 𝑊 ∈ V ∧ (𝐴𝐵) ∈ V) → (𝑊s (𝐴𝐵)) = 𝑊)
1510, 11, 12, 14syl3an 1156 . . . . . 6 ((𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s (𝐴𝐵)) = 𝑊)
164, 15eqtr4d 2859 . . . . 5 ((𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
17163expb 1116 . . . 4 ((𝐵𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
18 inass 4196 . . . . . . . . 9 ((𝐴𝐵) ∩ 𝐵) = (𝐴 ∩ (𝐵𝐵))
19 inidm 4195 . . . . . . . . . 10 (𝐵𝐵) = 𝐵
2019ineq2i 4186 . . . . . . . . 9 (𝐴 ∩ (𝐵𝐵)) = (𝐴𝐵)
2118, 20eqtr2i 2845 . . . . . . . 8 (𝐴𝐵) = ((𝐴𝐵) ∩ 𝐵)
2221opeq2i 4801 . . . . . . 7 ⟨(Base‘ndx), (𝐴𝐵)⟩ = ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩
2322oveq2i 7161 . . . . . 6 (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩)
242, 3ressval2 16547 . . . . . 6 ((¬ 𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩))
25 inss1 4205 . . . . . . . . 9 (𝐴𝐵) ⊆ 𝐴
26 sstr 3975 . . . . . . . . 9 ((𝐵 ⊆ (𝐴𝐵) ∧ (𝐴𝐵) ⊆ 𝐴) → 𝐵𝐴)
2725, 26mpan2 689 . . . . . . . 8 (𝐵 ⊆ (𝐴𝐵) → 𝐵𝐴)
2827con3i 157 . . . . . . 7 𝐵𝐴 → ¬ 𝐵 ⊆ (𝐴𝐵))
2913, 3ressval2 16547 . . . . . . 7 ((¬ 𝐵 ⊆ (𝐴𝐵) ∧ 𝑊 ∈ V ∧ (𝐴𝐵) ∈ V) → (𝑊s (𝐴𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩))
3028, 11, 12, 29syl3an 1156 . . . . . 6 ((¬ 𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s (𝐴𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴𝐵) ∩ 𝐵)⟩))
3123, 24, 303eqtr4a 2882 . . . . 5 ((¬ 𝐵𝐴𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
32313expb 1116 . . . 4 ((¬ 𝐵𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ V)) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
3317, 32pm2.61ian 810 . . 3 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
34 reldmress 16544 . . . . . 6 Rel dom ↾s
3534ovprc1 7189 . . . . 5 𝑊 ∈ V → (𝑊s 𝐴) = ∅)
3634ovprc1 7189 . . . . 5 𝑊 ∈ V → (𝑊s (𝐴𝐵)) = ∅)
3735, 36eqtr4d 2859 . . . 4 𝑊 ∈ V → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
3837adantr 483 . . 3 ((¬ 𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
3933, 38pm2.61ian 810 . 2 (𝐴 ∈ V → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
401, 39syl 17 1 (𝐴𝑋 → (𝑊s 𝐴) = (𝑊s (𝐴𝐵)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398  w3a 1083   = wceq 1533  wcel 2110  Vcvv 3495  cin 3935  wss 3936  c0 4291  cop 4567  cfv 6350  (class class class)co 7150  ndxcnx 16474   sSet csts 16475  Basecbs 16477  s cress 16478
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2156  ax-12 2172  ax-ext 2793  ax-sep 5196  ax-nul 5203  ax-pow 5259  ax-pr 5322
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1536  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3497  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4833  df-br 5060  df-opab 5122  df-id 5455  df-xp 5556  df-rel 5557  df-cnv 5558  df-co 5559  df-dm 5560  df-iota 6309  df-fun 6352  df-fv 6358  df-ov 7153  df-oprab 7154  df-mpo 7155  df-ress 16485
This theorem is referenced by:  ressress  16556  rescabs  17097  resscat  17116  funcres2c  17165  ressffth  17202  cphsubrglem  23775  suborng  30883
  Copyright terms: Public domain W3C validator