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

Theorem restco 23488
Description: Composition of subspaces. (Contributed by Mario Carneiro, 15-Dec-2013.) (Revised by Mario Carneiro, 1-May-2015.)
Assertion
Ref Expression
restco ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → ((𝐽 ↾t 𝐴) ↾t 𝐵) = (𝐽 ↾t (𝐴 ∩ 𝐵)))

Proof of Theorem restco
Dummy variables 𝑥 𝑤 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3454 . . . . 5 𝑦 ∈ V
21inex1 5276 . . . 4 (𝑦 ∩ 𝐴) ∈ V
3 ineq1 4110 . . . . 5 (𝑥 = (𝑦 ∩ 𝐴) → (𝑥 ∩ 𝐵) = ((𝑦 ∩ 𝐴) ∩ 𝐵))
4 inass 4124 . . . . 5 ((𝑦 ∩ 𝐴) ∩ 𝐵) = (𝑦 ∩ (𝐴 ∩ 𝐵))
53, 4eqtrdi 2811 . . . 4 (𝑥 = (𝑦 ∩ 𝐴) → (𝑥 ∩ 𝐵) = (𝑦 ∩ (𝐴 ∩ 𝐵)))
62, 5abrexco 7249 . . 3 {𝑧 ∣ ∃𝑥 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐽 𝑤 = (𝑦 ∩ 𝐴)}𝑧 = (𝑥 ∩ 𝐵)} = {𝑧 ∣ ∃𝑦 ∈ 𝐽 𝑧 = (𝑦 ∩ (𝐴 ∩ 𝐵))}
7 eqid 2760 . . . . . 6 (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) = (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴))
87rnmpt 5938 . . . . 5 ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) = {𝑤 ∣ ∃𝑦 ∈ 𝐽 𝑤 = (𝑦 ∩ 𝐴)}
98mpteq1i 5195 . . . 4 (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)) = (𝑥 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐽 𝑤 = (𝑦 ∩ 𝐴)} ↦ (𝑥 ∩ 𝐵))
109rnmpt 5938 . . 3 ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)) = {𝑧 ∣ ∃𝑥 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐽 𝑤 = (𝑦 ∩ 𝐴)}𝑧 = (𝑥 ∩ 𝐵)}
11 eqid 2760 . . . 4 (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵))) = (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵)))
1211rnmpt 5938 . . 3 ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵))) = {𝑧 ∣ ∃𝑦 ∈ 𝐽 𝑧 = (𝑦 ∩ (𝐴 ∩ 𝐵))}
136, 10, 123eqtr4i 2793 . 2 ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵)))
14 restval 17603 . . . . 5 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊) → (𝐽 ↾t 𝐴) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)))
15143adant3 1150 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → (𝐽 ↾t 𝐴) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)))
1615oveq1d 7436 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → ((𝐽 ↾t 𝐴) ↾t 𝐵) = (ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↾t 𝐵))
17 ovex 7454 . . . . 5 (𝐽 ↾t 𝐴) ∈ V
1815, 17eqeltrrdi 2869 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ∈ V)
19 simp3 1156 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → 𝐵 ∈ 𝑋)
20 restval 17603 . . . 4 ((ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ∈ V ∧ 𝐵 ∈ 𝑋) → (ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↾t 𝐵) = ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)))
2118, 19, 20syl2anc 596 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → (ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↾t 𝐵) = ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)))
2216, 21eqtrd 2795 . 2 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → ((𝐽 ↾t 𝐴) ↾t 𝐵) = ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)))
23 simp1 1154 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → 𝐽 ∈ 𝑉)
24 inex1g 5278 . . . 4 (𝐴 ∈ 𝑊 → (𝐴 ∩ 𝐵) ∈ V)
25243ad2ant2 1152 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → (𝐴 ∩ 𝐵) ∈ V)
26 restval 17603 . . 3 ((𝐽 ∈ 𝑉 ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝐽 ↾t (𝐴 ∩ 𝐵)) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵))))
2723, 25, 26syl2anc 596 . 2 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → (𝐽 ↾t (𝐴 ∩ 𝐵)) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵))))
2813, 22, 273eqtr4a 2821 1 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → ((𝐽 ↾t 𝐴) ↾t 𝐵) = (𝐽 ↾t (𝐴 ∩ 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144  {cab 2738  ∃wrex 3086  Vcvv 3450   ∩ cin 4089   ↦ cmpt 5185  ran crn 5651  (class class class)co 7421   ↾t crest 17597
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7752
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-rest 17599
This theorem is used by:  restabs  23489  restin  23490  resstopn  23510  ressuss  24587  smfres  47894
  Copyright terms: Public domain W3C validator