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 33872
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 3472 . . 3 (𝑊 ∈ 𝑋 → 𝑊 ∈ V)
3 elex 3472 . . 3 (𝐴 ∈ 𝑌 → 𝐴 ∈ V)
4 ovex 7445 . . . . . 6 (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩) ∈ V
5 ifcl 4528 . . . . . 6 ((𝑊 ∈ V ∧ (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩) ∈ V) → if(𝐵 ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)) ∈ V)
64, 5mpan2 704 . . . . 5 (𝑊 ∈ V → if(𝐵 ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)) ∈ V)
76adantr 486 . . . 4 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → if(𝐵 ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)) ∈ V)
8 simpl 488 . . . . . . . . . . 11 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → 𝑤 = 𝑊)
98fveq2d 6881 . . . . . . . . . 10 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → (Scalar‘𝑤) = (Scalar‘𝑊))
10 resvsca.f . . . . . . . . . 10 𝐹 = (Scalar‘𝑊)
119, 10eqtr4di 2814 . . . . . . . . 9 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → (Scalar‘𝑤) = 𝐹)
1211fveq2d 6881 . . . . . . . 8 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → (Base‘(Scalar‘𝑤)) = (Base‘𝐹))
13 resvsca.b . . . . . . . 8 𝐵 = (Base‘𝐹)
1412, 13eqtr4di 2814 . . . . . . 7 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → (Base‘(Scalar‘𝑤)) = 𝐵)
15 simpr 490 . . . . . . 7 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → 𝑥 = 𝐴)
1614, 15sseq12d 3964 . . . . . 6 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → ((Base‘(Scalar‘𝑤)) ⊆ 𝑥 ↔ 𝐵 ⊆ 𝐴))
1711, 15oveq12d 7430 . . . . . . . 8 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → ((Scalar‘𝑤) ↾s 𝑥) = (𝐹 ↾s 𝐴))
1817opeq2d 4840 . . . . . . 7 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → ⟨(Scalar‘ndx), ((Scalar‘𝑤) ↾s 𝑥)⟩ = ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)
198, 18oveq12d 7430 . . . . . 6 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → (𝑤 sSet ⟨(Scalar‘ndx), ((Scalar‘𝑤) ↾s 𝑥)⟩) = (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩))
2016, 8, 19ifbieq12d 4511 . . . . 5 ((𝑤 = 𝑊 ∧ 𝑥 = 𝐴) → if((Base‘(Scalar‘𝑤)) ⊆ 𝑥, 𝑤, (𝑤 sSet ⟨(Scalar‘ndx), ((Scalar‘𝑤) ↾s 𝑥)⟩)) = if(𝐵 ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)))
21 df-resv 33870 . . . . 5 ↾v = (𝑤 ∈ V, 𝑥 ∈ V ↦ if((Base‘(Scalar‘𝑤)) ⊆ 𝑥, 𝑤, (𝑤 sSet ⟨(Scalar‘ndx), ((Scalar‘𝑤) ↾s 𝑥)⟩)))
2220, 21ovmpoga 7566 . . . 4 ((𝑊 ∈ V ∧ 𝐴 ∈ V ∧ if(𝐵 ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)) ∈ V) → (𝑊 ↾v 𝐴) = if(𝐵 ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)))
237, 22mpd3an3 1491 . . 3 ((𝑊 ∈ V ∧ 𝐴 ∈ V) → (𝑊 ↾v 𝐴) = if(𝐵 ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)))
242, 3, 23syl2an 608 . 2 ((𝑊 ∈ 𝑋 ∧ 𝐴 ∈ 𝑌) → (𝑊 ↾v 𝐴) = if(𝐵 ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)))
251, 24eqtrid 2808 1 ((𝑊 ∈ 𝑋 ∧ 𝐴 ∈ 𝑌) → 𝑅 = if(𝐵 ⊆ 𝐴, 𝑊, (𝑊 sSet ⟨(Scalar‘ndx), (𝐹 ↾s 𝐴)⟩)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451   ⊆ wss 3899  ifcif 4482  ⟨cop 4590  ‘cfv 6531  (class class class)co 7412   sSet csts 17321  ndxcnx 17351  Basecbs 17367   ↾s cress 17388  Scalarcsca 17411   ↾v cresv 33869
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-iota 6487  df-fun 6533  df-fv 6539  df-ov 7415  df-oprab 7416  df-mpo 7417  df-resv 33870
This theorem is used by:  resvid2  33873  resvval2  33874
  Copyright terms: Public domain W3C validator