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

Theorem ressress 17465
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 2764 . . . . . . . . . 10 (𝑊 ↾s 𝐴) = (𝑊 ↾s 𝐴)
5 eqid 2764 . . . . . . . . . 10 (Base‘𝑊) = (Base‘𝑊)
64, 5ressval2 17453 . . . . . . . . 9 ((¬ (Base‘𝑊) ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ 𝑋) → (𝑊 ↾s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩))
71, 2, 3, 6syl3anc 1399 . . . . . . . 8 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = (𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩))
8 inass 4124 . . . . . . . . . . 11 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) = (𝐴 ∩ (𝐵 ∩ (Base‘𝑊)))
9 in12 4125 . . . . . . . . . . 11 (𝐴 ∩ (𝐵 ∩ (Base‘𝑊))) = (𝐵 ∩ (𝐴 ∩ (Base‘𝑊)))
108, 9eqtri 2787 . . . . . . . . . 10 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) = (𝐵 ∩ (𝐴 ∩ (Base‘𝑊)))
114, 5ressbas 17454 . . . . . . . . . . . 12 (𝐴 ∈ 𝑋 → (𝐴 ∩ (Base‘𝑊)) = (Base‘(𝑊 ↾s 𝐴)))
123, 11syl 18 . . . . . . . . . . 11 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) = (Base‘(𝑊 ↾s 𝐴)))
1312ineq2d 4117 . . . . . . . . . 10 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (𝐴 ∩ (Base‘𝑊))) = (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴))))
1410, 13eqtr2id 2812 . . . . . . . . 9 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴))) = ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)))
1514opeq2d 4849 . . . . . . . 8 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩ = ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩)
167, 15oveq12d 7466 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) sSet ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩) = ((𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩) sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
17 fvex 6926 . . . . . . . . 9 (Base‘𝑊) ∈ V
1817inex2 5282 . . . . . . . 8 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) ∈ V
19 setsabs 17397 . . . . . . . 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 2799 . . . . . 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 7483 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) ∈ V)
24 simpr3 1215 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝐵 ∈ 𝑌)
25 eqid 2764 . . . . . . . 8 ((𝑊 ↾s 𝐴) ↾s 𝐵) = ((𝑊 ↾s 𝐴) ↾s 𝐵)
26 eqid 2764 . . . . . . . 8 (Base‘(𝑊 ↾s 𝐴)) = (Base‘(𝑊 ↾s 𝐴))
2725, 26ressval2 17453 . . . . . . 7 ((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ↾s 𝐴) ∈ V ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = ((𝑊 ↾s 𝐴) sSet ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩))
2822, 23, 24, 27syl3anc 1399 . . . . . 6 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = ((𝑊 ↾s 𝐴) sSet ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩))
29 inss1 4133 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐴
30 sstr 3918 . . . . . . . . 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 2764 . . . . . . . 8 (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s (𝐴 ∩ 𝐵))
3635, 5ressval2 17453 . . . . . . 7 ((¬ (Base‘𝑊) ⊆ (𝐴 ∩ 𝐵) ∧ 𝑊 ∈ V ∧ (𝐴 ∩ 𝐵) ∈ V) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
3732, 2, 34, 36syl3anc 1399 . . . . . 6 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
3821, 28, 373eqtr4d 2809 . . . . 5 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
3938exp31 425 . . . 4 (¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 → (¬ (Base‘𝑊) ⊆ 𝐴 → ((𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))))
40 ovex 7481 . . . . . . . 8 (𝑊 ↾s 𝐴) ∈ V
4125, 26ressid2 17452 . . . . . . . 8 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ↾s 𝐴) ∈ V ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s 𝐴))
4240, 41mp3an2 1479 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s 𝐴))
43423ad2antr3 1209 . . . . . 6 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s 𝐴))
44 in32 4126 . . . . . . . . 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 3944 . . . . . . . . . 10 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) ⊆ 𝐵)
49 dfss2 4094 . . . . . . . . . 10 ((𝐴 ∩ (Base‘𝑊)) ⊆ 𝐵 ↔ ((𝐴 ∩ (Base‘𝑊)) ∩ 𝐵) = (𝐴 ∩ (Base‘𝑊)))
5048, 49sylib 221 . . . . . . . . 9 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝐴 ∩ (Base‘𝑊)) ∩ 𝐵) = (𝐴 ∩ (Base‘𝑊)))
5144, 50eqtr2id 2812 . . . . . . . 8 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) = ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)))
5251oveq2d 7464 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐴 ∩ (Base‘𝑊))) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
535ressinbas 17463 . . . . . . . 8 (𝐴 ∈ 𝑋 → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ (Base‘𝑊))))
5445, 53syl 18 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ (Base‘𝑊))))
555ressinbas 17463 . . . . . . . 8 ((𝐴 ∩ 𝐵) ∈ V → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
5645, 33, 553syl 19 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
5752, 54, 563eqtr4d 2809 . . . . . 6 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
5843, 57eqtrd 2799 . . . . 5 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
5958ex 418 . . . 4 ((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 → ((𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵))))
604, 5ressid2 17452 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ 𝑋) → (𝑊 ↾s 𝐴) = 𝑊)
61603adant3r3 1203 . . . . . . 7 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = 𝑊)
6261oveq1d 7463 . . . . . 6 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s 𝐵))
63 inss2 4134 . . . . . . . . . . 11 (𝐵 ∩ (Base‘𝑊)) ⊆ (Base‘𝑊)
64 simpl 488 . . . . . . . . . . 11 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (Base‘𝑊) ⊆ 𝐴)
6563, 64sstrid 3921 . . . . . . . . . 10 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (Base‘𝑊)) ⊆ 𝐴)
66 sseqin2 4120 . . . . . . . . . 10 ((𝐵 ∩ (Base‘𝑊)) ⊆ 𝐴 ↔ (𝐴 ∩ (𝐵 ∩ (Base‘𝑊))) = (𝐵 ∩ (Base‘𝑊)))
6765, 66sylib 221 . . . . . . . . 9 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (𝐵 ∩ (Base‘𝑊))) = (𝐵 ∩ (Base‘𝑊)))
688, 67eqtr2id 2812 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (Base‘𝑊)) = ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)))
6968oveq2d 7464 . . . . . . 7 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐵 ∩ (Base‘𝑊))) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
70 simpr3 1215 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝐵 ∈ 𝑌)
715ressinbas 17463 . . . . . . . 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 2809 . . . . . 6 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
7662, 75eqtrd 2799 . . . . 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 17461 . . . 4 (∅ ↾s 𝐵) = ∅
81 reldmress 17450 . . . . . 6 Rel dom ↾s
8281ovprc1 7487 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s 𝐴) = ∅)
8382oveq1d 7463 . . . 4 (¬ 𝑊 ∈ V → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (∅ ↾s 𝐵))
8481ovprc1 7487 . . . 4 (¬ 𝑊 ∈ V → (𝑊 ↾s (𝐴 ∩ 𝐵)) = ∅)
8580, 83, 843eqtr4a 2825 . . 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 1570   ∈ wcel 2148  Vcvv 3451   ⊆ wss 3897   ∩ cin 4089  ∅c0 4278  ⟨cop 4837  ‘cfv 6563  (class class class)co 7448   sSet csts 17381  ndxcnx 17411  Basecbs 17427   ↾s cress 17448
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 2150  ax-9 2158  ax-10 2181  ax-11 2198  ax-12 2217  ax-ext 2736  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7780  ax-cnex 11292  ax-1cn 11294  ax-addcl 11296
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2568  df-eu 2598  df-clab 2743  df-cleq 2756  df-clel 2840  df-nfc 2914  df-ne 2961  df-ral 3082  df-rex 3092  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3849  df-ss 3898  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4483  df-pw 4559  df-sn 4586  df-pr 4588  df-op 4838  df-uni 4870  df-iun 4955  df-br 5106  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 6327  df-ord 6388  df-on 6389  df-lim 6390  df-suc 6391  df-iota 6517  df-fun 6565  df-fn 6566  df-f 6567  df-f1 6568  df-fo 6569  df-f1o 6570  df-fv 6571  df-ov 7451  df-oprab 7452  df-mpo 7453  df-om 7909  df-2nd 8033  df-frecs 8334  df-wrecs 8365  df-recs 8414  df-rdg 8453  df-nn 12373  df-sets 17382  df-slot 17400  df-ndx 17412  df-base 17428  df-ress 17449
This theorem is used by:  ressabs  17466  xrge00  33670  xrge0slmod  34009  fldexttr  34397  fldgenfldext  34407  esumpfinvallem  34813  lmhmlnmsplit  44352
  Copyright terms: Public domain W3C validator