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

Theorem ressval2 17146
Description: Value of nontrivial structure restriction. (Contributed by Stefan O'Rear, 29-Nov-2014.)
Hypotheses
Ref Expression
ressbas.r 𝑅 = (𝑊s 𝐴)
ressbas.b 𝐵 = (Base‘𝑊)
Assertion
Ref Expression
ressval2 ((¬ 𝐵𝐴𝑊𝑋𝐴𝑌) → 𝑅 = (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩))

Proof of Theorem ressval2
StepHypRef Expression
1 ressbas.r . . . 4 𝑅 = (𝑊s 𝐴)
2 ressbas.b . . . 4 𝐵 = (Base‘𝑊)
31, 2ressval 17144 . . 3 ((𝑊𝑋𝐴𝑌) → 𝑅 = if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩)))
4 iffalse 4485 . . 3 𝐵𝐴 → if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩)) = (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩))
53, 4sylan9eqr 2786 . 2 ((¬ 𝐵𝐴 ∧ (𝑊𝑋𝐴𝑌)) → 𝑅 = (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩))
653impb 1114 1 ((¬ 𝐵𝐴𝑊𝑋𝐴𝑌) → 𝑅 = (𝑊 sSet ⟨(Base‘ndx), (𝐴𝐵)⟩))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 395  w3a 1086   = wceq 1540  wcel 2109  cin 3902  wss 3903  ifcif 4476  cop 4583  cfv 6482  (class class class)co 7349   sSet csts 17074  ndxcnx 17104  Basecbs 17120  s cress 17141
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2008  ax-8 2111  ax-9 2119  ax-10 2142  ax-11 2158  ax-12 2178  ax-ext 2701  ax-sep 5235  ax-nul 5245  ax-pr 5371
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2533  df-eu 2562  df-clab 2708  df-cleq 2721  df-clel 2803  df-nfc 2878  df-ne 2926  df-ral 3045  df-rex 3054  df-rab 3395  df-v 3438  df-sbc 3743  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4285  df-if 4477  df-sn 4578  df-pr 4580  df-op 4584  df-uni 4859  df-br 5093  df-opab 5155  df-id 5514  df-xp 5625  df-rel 5626  df-cnv 5627  df-co 5628  df-dm 5629  df-iota 6438  df-fun 6484  df-fv 6490  df-ov 7352  df-oprab 7353  df-mpo 7354  df-ress 17142
This theorem is referenced by:  ressbas  17147  resseqnbas  17153  ressinbas  17156  ressval3d  17157  ressress  17158  rescabs  17740  symgvalstruct  19276  mgpress  20035  resssra  33553
  Copyright terms: Public domain W3C validator