Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  resvval Structured version   Visualization version   GIF version

Theorem resvval 31428
Description: Value of structure restriction. (Contributed by Thierry Arnoux, 6-Sep-2018.)
Hypotheses
Ref Expression
resvsca.r 𝑅 = (𝑊v 𝐴)
resvsca.f 𝐹 = (Scalar‘𝑊)
resvsca.b 𝐵 = (Base‘𝐹)
Assertion
Ref Expression
resvval ((𝑊𝑋𝐴𝑌) → 𝑅 = if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)))

Proof of Theorem resvval
Dummy variables 𝑥 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 resvsca.r . 2 𝑅 = (𝑊v 𝐴)
2 elex 3440 . . 3 (𝑊𝑋𝑊 ∈ V)
3 elex 3440 . . 3 (𝐴𝑌𝐴 ∈ V)
4 ovex 7288 . . . . . 6 (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩) ∈ V
5 ifcl 4501 . . . . . 6 ((𝑊 ∈ V ∧ (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩) ∈ V) → if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)) ∈ V)
64, 5mpan2 687 . . . . 5 (𝑊 ∈ V → if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)) ∈ V)
76adantr 480 . . . 4 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)) ∈ V)
8 simpl 482 . . . . . . . . . . 11 ((𝑤 = 𝑊𝑥 = 𝐴) → 𝑤 = 𝑊)
98fveq2d 6760 . . . . . . . . . 10 ((𝑤 = 𝑊𝑥 = 𝐴) → (Scalar‘𝑤) = (Scalar‘𝑊))
10 resvsca.f . . . . . . . . . 10 𝐹 = (Scalar‘𝑊)
119, 10eqtr4di 2797 . . . . . . . . 9 ((𝑤 = 𝑊𝑥 = 𝐴) → (Scalar‘𝑤) = 𝐹)
1211fveq2d 6760 . . . . . . . 8 ((𝑤 = 𝑊𝑥 = 𝐴) → (Base‘(Scalar‘𝑤)) = (Base‘𝐹))
13 resvsca.b . . . . . . . 8 𝐵 = (Base‘𝐹)
1412, 13eqtr4di 2797 . . . . . . 7 ((𝑤 = 𝑊𝑥 = 𝐴) → (Base‘(Scalar‘𝑤)) = 𝐵)
15 simpr 484 . . . . . . 7 ((𝑤 = 𝑊𝑥 = 𝐴) → 𝑥 = 𝐴)
1614, 15sseq12d 3950 . . . . . 6 ((𝑤 = 𝑊𝑥 = 𝐴) → ((Base‘(Scalar‘𝑤)) ⊆ 𝑥𝐵𝐴))
1711, 15oveq12d 7273 . . . . . . . 8 ((𝑤 = 𝑊𝑥 = 𝐴) → ((Scalar‘𝑤) ↾s 𝑥) = (𝐹s 𝐴))
1817opeq2d 4808 . . . . . . 7 ((𝑤 = 𝑊𝑥 = 𝐴) → ⟨(Scalar‘ndx), ((Scalar‘𝑤) ↾s 𝑥)⟩ = ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)
198, 18oveq12d 7273 . . . . . 6 ((𝑤 = 𝑊𝑥 = 𝐴) → (𝑤 sSet ⟨(Scalar‘ndx), ((Scalar‘𝑤) ↾s 𝑥)⟩) = (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩))
2016, 8, 19ifbieq12d 4484 . . . . 5 ((𝑤 = 𝑊𝑥 = 𝐴) → if((Base‘(Scalar‘𝑤)) ⊆ 𝑥, 𝑤, (𝑤 sSet ⟨(Scalar‘ndx), ((Scalar‘𝑤) ↾s 𝑥)⟩)) = if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)))
21 df-resv 31426 . . . . 5 v = (𝑤 ∈ V, 𝑥 ∈ V ↦ if((Base‘(Scalar‘𝑤)) ⊆ 𝑥, 𝑤, (𝑤 sSet ⟨(Scalar‘ndx), ((Scalar‘𝑤) ↾s 𝑥)⟩)))
2220, 21ovmpoga 7405 . . . 4 ((𝑊 ∈ V ∧ 𝐴 ∈ V ∧ if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)) ∈ V) → (𝑊v 𝐴) = if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)))
237, 22mpd3an3 1460 . . 3 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊v 𝐴) = if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)))
242, 3, 23syl2an 595 . 2 ((𝑊𝑋𝐴𝑌) → (𝑊v 𝐴) = if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)))
251, 24syl5eq 2791 1 ((𝑊𝑋𝐴𝑌) → 𝑅 = if(𝐵𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹s 𝐴)⟩)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  wss 3883  ifcif 4456  cop 4564  cfv 6418  (class class class)co 7255   sSet csts 16792  ndxcnx 16822  Basecbs 16840  s cress 16867  Scalarcsca 16891  v cresv 31425
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-iota 6376  df-fun 6420  df-fv 6426  df-ov 7258  df-oprab 7259  df-mpo 7260  df-resv 31426
This theorem is referenced by:  resvid2  31429  resvval2  31430
  Copyright terms: Public domain W3C validator