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

Theorem ressress 17440
Description: Restriction composition law. (Contributed by Stefan O'Rear, 29-Nov-2014.) (Proof shortened by Mario Carneiro, 2-Dec-2014.)
Assertion
Ref Expression
ressress ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))

Proof of Theorem ressress
StepHypRef Expression
1 simplr 781 . . . . . . . . 9 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ¬ (Base‘𝑊) ⊆ 𝐴)
2 simpr1 1213 . . . . . . . . 9 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝑊 ∈ V)
3 simpr2 1214 . . . . . . . . 9 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝐴 ∈ 𝑋)
4 eqid 2763 . . . . . . . . . 10 (𝑊 ↾s 𝐴) = (𝑊 ↾s 𝐴)
5 eqid 2763 . . . . . . . . . 10 (Base‘𝑊) = (Base‘𝑊)
64, 5ressval2 17428 . . . . . . . . 9 ((¬ (Base‘𝑊) ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ 𝑋) → (𝑊 ↾s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩))
71, 2, 3, 6syl3anc 1398 . . . . . . . 8 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩))
8 inass 4127 . . . . . . . . . . 11 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) = (𝐴 ∩ (𝐵 ∩ (Base‘𝑊)))
9 in12 4128 . . . . . . . . . . 11 (𝐴 ∩ (𝐵 ∩ (Base‘𝑊))) = (𝐵 ∩ (𝐴 ∩ (Base‘𝑊)))
108, 9eqtri 2786 . . . . . . . . . 10 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) = (𝐵 ∩ (𝐴 ∩ (Base‘𝑊)))
114, 5ressbas 17429 . . . . . . . . . . . 12 (𝐴 ∈ 𝑋 → (𝐴 ∩ (Base‘𝑊)) = (Base‘(𝑊 ↾s 𝐴)))
123, 11syl 18 . . . . . . . . . . 11 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) = (Base‘(𝑊 ↾s 𝐴)))
1312ineq2d 4120 . . . . . . . . . 10 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (𝐴 ∩ (Base‘𝑊))) = (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴))))
1410, 13eqtr2id 2811 . . . . . . . . 9 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴))) = ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)))
1514opeq2d 4850 . . . . . . . 8 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩ = ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩)
167, 15oveq12d 7448 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) sSet ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩) = ((𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩) sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
17 fvex 6909 . . . . . . . . 9 (Base‘𝑊) ∈ V
1817inex2 5282 . . . . . . . 8 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) ∈ V
19 setsabs 17372 . . . . . . . 8 ((𝑊 ∈ V ∧ ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) ∈ V) → ((𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩) sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
202, 18, 19sylancl 598 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩) sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
2116, 20eqtrd 2798 . . . . . 6 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) sSet ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
22 simpll 779 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵)
23 ovexd 7465 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) ∈ V)
24 simpr3 1215 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝐵 ∈ 𝑌)
25 eqid 2763 . . . . . . . 8 ((𝑊 ↾s 𝐴) ↾s 𝐵) = ((𝑊 ↾s 𝐴) ↾s 𝐵)
26 eqid 2763 . . . . . . . 8 (Base‘(𝑊 ↾s 𝐴)) = (Base‘(𝑊 ↾s 𝐴))
2725, 26ressval2 17428 . . . . . . 7 ((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ↾s 𝐴) ∈ V ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = ((𝑊 ↾s 𝐴) sSet ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩))
2822, 23, 24, 27syl3anc 1398 . . . . . 6 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = ((𝑊 ↾s 𝐴) sSet ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩))
29 inss1 4136 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐴
30 sstr 3921 . . . . . . . . 9 (((Base‘𝑊) ⊆ (𝐴 ∩ 𝐵) ∧ (𝐴 ∩ 𝐵) ⊆ 𝐴) → (Base‘𝑊) ⊆ 𝐴)
3129, 30mpan2 704 . . . . . . . 8 ((Base‘𝑊) ⊆ (𝐴 ∩ 𝐵) → (Base‘𝑊) ⊆ 𝐴)
321, 31nsyl 141 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ¬ (Base‘𝑊) ⊆ (𝐴 ∩ 𝐵))
33 inex1g 5283 . . . . . . . 8 (𝐴 ∈ 𝑋 → (𝐴 ∩ 𝐵) ∈ V)
343, 33syl 18 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ 𝐵) ∈ V)
35 eqid 2763 . . . . . . . 8 (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s (𝐴 ∩ 𝐵))
3635, 5ressval2 17428 . . . . . . 7 ((¬ (Base‘𝑊) ⊆ (𝐴 ∩ 𝐵) ∧ 𝑊 ∈ V ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
3732, 2, 34, 36syl3anc 1398 . . . . . 6 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
3821, 28, 373eqtr4d 2808 . . . . 5 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
3938exp31 425 . . . 4 (¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 → (¬ (Base‘𝑊) ⊆ 𝐴 → ((𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))))
40 ovex 7463 . . . . . . . 8 (𝑊 ↾s 𝐴) ∈ V
4125, 26ressid2 17427 . . . . . . . 8 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ↾s 𝐴) ∈ V ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s 𝐴))
4240, 41mp3an2 1478 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s 𝐴))
43423ad2antr3 1209 . . . . . 6 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s 𝐴))
44 in32 4129 . . . . . . . . 9 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) = ((𝐴 ∩ (Base‘𝑊)) ∩ 𝐵)
45 simpr2 1214 . . . . . . . . . . . 12 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝐴 ∈ 𝑋)
4645, 11syl 18 . . . . . . . . . . 11 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) = (Base‘(𝑊 ↾s 𝐴)))
47 simpl 488 . . . . . . . . . . 11 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵)
4846, 47eqsstrd 3947 . . . . . . . . . 10 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) ⊆ 𝐵)
49 dfss2 4097 . . . . . . . . . 10 ((𝐴 ∩ (Base‘𝑊)) ⊆ 𝐵 ↔ ((𝐴 ∩ (Base‘𝑊)) ∩ 𝐵) = (𝐴 ∩ (Base‘𝑊)))
5048, 49sylib 221 . . . . . . . . 9 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝐴 ∩ (Base‘𝑊)) ∩ 𝐵) = (𝐴 ∩ (Base‘𝑊)))
5144, 50eqtr2id 2811 . . . . . . . 8 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) = ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)))
5251oveq2d 7446 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐴 ∩ (Base‘𝑊))) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
535ressinbas 17438 . . . . . . . 8 (𝐴 ∈ 𝑋 → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ (Base‘𝑊))))
5445, 53syl 18 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ (Base‘𝑊))))
555ressinbas 17438 . . . . . . . 8 ((𝐴 ∩ 𝐵) ∈ V → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
5645, 33, 553syl 19 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
5752, 54, 563eqtr4d 2808 . . . . . 6 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
5843, 57eqtrd 2798 . . . . 5 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
5958ex 418 . . . 4 ((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 → ((𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵))))
604, 5ressid2 17427 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ 𝑋) → (𝑊 ↾s 𝐴) = 𝑊)
61603adant3r3 1203 . . . . . . 7 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = 𝑊)
6261oveq1d 7445 . . . . . 6 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s 𝐵))
63 inss2 4137 . . . . . . . . . . 11 (𝐵 ∩ (Base‘𝑊)) ⊆ (Base‘𝑊)
64 simpl 488 . . . . . . . . . . 11 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (Base‘𝑊) ⊆ 𝐴)
6563, 64sstrid 3924 . . . . . . . . . 10 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (Base‘𝑊)) ⊆ 𝐴)
66 sseqin2 4123 . . . . . . . . . 10 ((𝐵 ∩ (Base‘𝑊)) ⊆ 𝐴 ↔ (𝐴 ∩ (𝐵 ∩ (Base‘𝑊))) = (𝐵 ∩ (Base‘𝑊)))
6765, 66sylib 221 . . . . . . . . 9 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (𝐵 ∩ (Base‘𝑊))) = (𝐵 ∩ (Base‘𝑊)))
688, 67eqtr2id 2811 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (Base‘𝑊)) = ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)))
6968oveq2d 7446 . . . . . . 7 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐵 ∩ (Base‘𝑊))) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
70 simpr3 1215 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝐵 ∈ 𝑌)
715ressinbas 17438 . . . . . . . 8 (𝐵 ∈ 𝑌 → (𝑊 ↾s 𝐵) = (𝑊 ↾s (𝐵 ∩ (Base‘𝑊))))
7270, 71syl 18 . . . . . . 7 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐵) = (𝑊 ↾s (𝐵 ∩ (Base‘𝑊))))
73 simpr2 1214 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝐴 ∈ 𝑋)
7473, 33, 553syl 19 . . . . . . 7 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
7569, 72, 743eqtr4d 2808 . . . . . 6 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
7662, 75eqtrd 2798 . . . . 5 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
7776ex 418 . . . 4 ((Base‘𝑊) ⊆ 𝐴 → ((𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵))))
7839, 59, 77pm2.61ii 185 . . 3 ((𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
79783expib 1140 . 2 (𝑊 ∈ V → ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵))))
80 ress0 17436 . . . 4 (∅ ↾s 𝐵) = ∅
81 reldmress 17425 . . . . . 6 Rel dom ↾s
8281ovprc1 7469 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s 𝐴) = ∅)
8382oveq1d 7445 . . . 4 (¬ 𝑊 ∈ V → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (∅ ↾s 𝐵))
8481ovprc1 7469 . . . 4 (¬ 𝑊 ∈ V → (𝑊 ↾s (𝐴 ∩ 𝐵)) = ∅)
8580, 83, 843eqtr4a 2824 . . 3 (¬ 𝑊 ∈ V → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
8685a1d 26 . 2 (¬ 𝑊 ∈ V → ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵))))
8779, 86pm2.61i 184 1 ((𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2146  Vcvv 3454   ⊆ wss 3900   ∩ cin 4092  ∅c0 4281  ⟨cop 4838  ‘cfv 6547  (class class class)co 7430   sSet csts 17356  ndxcnx 17386  Basecbs 17402   ↾s cress 17423
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7761  ax-cnex 11269  ax-1cn 11271  ax-addcl 11273
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  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-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6311  df-ord 6372  df-on 6373  df-lim 6374  df-suc 6375  df-iota 6501  df-fun 6549  df-fn 6550  df-f 6551  df-f1 6552  df-fo 6553  df-f1o 6554  df-fv 6555  df-ov 7433  df-oprab 7434  df-mpo 7435  df-om 7888  df-2nd 8012  df-frecs 8313  df-wrecs 8344  df-recs 8393  df-rdg 8432  df-nn 12349  df-sets 17357  df-slot 17375  df-ndx 17387  df-base 17403  df-ress 17424
This theorem is used by:  ressabs  17441  xrge00  33631  xrge0slmod  33965  fldexttr  34346  fldgenfldext  34356  esumpfinvallem  34762  lmhmlnmsplit  44235
  Copyright terms: Public domain W3C validator