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

Theorem restco 23537
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 3458 . . . . 5 𝑦 ∈ V
21inex1 5284 . . . 4 (𝑦 ∩ 𝐴) ∈ V
3 ineq1 4113 . . . . 5 (𝑥 = (𝑦 ∩ 𝐴) → (𝑥 ∩ 𝐵) = ((𝑦 ∩ 𝐴) ∩ 𝐵))
4 inass 4127 . . . . 5 ((𝑦 ∩ 𝐴) ∩ 𝐵) = (𝑦 ∩ (𝐴 ∩ 𝐵))
53, 4eqtrdi 2814 . . . 4 (𝑥 = (𝑦 ∩ 𝐴) → (𝑥 ∩ 𝐵) = (𝑦 ∩ (𝐴 ∩ 𝐵)))
62, 5abrexco 7279 . . 3 {𝑧 ∣ ∃𝑥 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐽 𝑤 = (𝑦 ∩ 𝐴)}𝑧 = (𝑥 ∩ 𝐵)} = {𝑧 ∣ ∃𝑦 ∈ 𝐽 𝑧 = (𝑦 ∩ (𝐴 ∩ 𝐵))}
7 eqid 2763 . . . . . 6 (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) = (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴))
87rnmpt 5951 . . . . 5 ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) = {𝑤 ∣ ∃𝑦 ∈ 𝐽 𝑤 = (𝑦 ∩ 𝐴)}
98mpteq1i 5202 . . . 4 (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)) = (𝑥 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐽 𝑤 = (𝑦 ∩ 𝐴)} ↦ (𝑥 ∩ 𝐵))
109rnmpt 5951 . . 3 ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)) = {𝑧 ∣ ∃𝑥 ∈ {𝑤 ∣ ∃𝑦 ∈ 𝐽 𝑤 = (𝑦 ∩ 𝐴)}𝑧 = (𝑥 ∩ 𝐵)}
11 eqid 2763 . . . 4 (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵))) = (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵)))
1211rnmpt 5951 . . 3 ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵))) = {𝑧 ∣ ∃𝑦 ∈ 𝐽 𝑧 = (𝑦 ∩ (𝐴 ∩ 𝐵))}
136, 10, 123eqtr4i 2796 . 2 ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵)))
14 restval 17647 . . . . 5 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊) → (𝐽 ↾t 𝐴) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)))
15143adant3 1150 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → (𝐽 ↾t 𝐴) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)))
1615oveq1d 7466 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → ((𝐽 ↾t 𝐴) ↾t 𝐵) = (ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↾t 𝐵))
17 ovex 7484 . . . . 5 (𝐽 ↾t 𝐴) ∈ V
1815, 17eqeltrrdi 2873 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ∈ V)
19 simp3 1156 . . . 4 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → 𝐵 ∈ 𝑋)
20 restval 17647 . . . 4 ((ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ∈ V ∧ 𝐵 ∈ 𝑋) → (ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↾t 𝐵) = ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)))
2118, 19, 20syl2anc 596 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → (ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↾t 𝐵) = ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)))
2216, 21eqtrd 2798 . 2 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → ((𝐽 ↾t 𝐴) ↾t 𝐵) = ran (𝑥 ∈ ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ 𝐴)) ↦ (𝑥 ∩ 𝐵)))
23 simp1 1154 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → 𝐽 ∈ 𝑉)
24 inex1g 5286 . . . 4 (𝐴 ∈ 𝑊 → (𝐴 ∩ 𝐵) ∈ V)
25243ad2ant2 1152 . . 3 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → (𝐴 ∩ 𝐵) ∈ V)
26 restval 17647 . . 3 ((𝐽 ∈ 𝑉 ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝐽 ↾t (𝐴 ∩ 𝐵)) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵))))
2723, 25, 26syl2anc 596 . 2 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → (𝐽 ↾t (𝐴 ∩ 𝐵)) = ran (𝑦 ∈ 𝐽 ↦ (𝑦 ∩ (𝐴 ∩ 𝐵))))
2813, 22, 273eqtr4a 2824 1 ((𝐽 ∈ 𝑉 ∧ 𝐴 ∈ 𝑊 ∧ 𝐵 ∈ 𝑋) → ((𝐽 ↾t 𝐴) ↾t 𝐵) = (𝐽 ↾t (𝐴 ∩ 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ w3a 1103   = wceq 1570   ∈ wcel 2147  {cab 2741  ∃wrex 3090  Vcvv 3454   ∩ cin 4092   ↦ cmpt 5192  ran crn 5659  (class class class)co 7451   ↾t crest 17641
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pr 5398  ax-un 7783
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-ov 7454  df-oprab 7455  df-mpo 7456  df-rest 17643
This theorem is used by:  restabs  23538  restin  23539  resstopn  23559  ressuss  24636  smfres  48073
  Copyright terms: Public domain W3C validator