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

Theorem ressress 17425
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 2761 . . . . . . . . . 10 (𝑊 ↾s 𝐴) = (𝑊 ↾s 𝐴)
5 eqid 2761 . . . . . . . . . 10 (Base‘𝑊) = (Base‘𝑊)
64, 5ressval2 17413 . . . . . . . . 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 4173 . . . . . . . . . . 11 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) = (𝐴 ∩ (𝐵 ∩ (Base‘𝑊)))
9 in12 4174 . . . . . . . . . . 11 (𝐴 ∩ (𝐵 ∩ (Base‘𝑊))) = (𝐵 ∩ (𝐴 ∩ (Base‘𝑊)))
108, 9eqtri 2784 . . . . . . . . . 10 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) = (𝐵 ∩ (𝐴 ∩ (Base‘𝑊)))
114, 5ressbas 17414 . . . . . . . . . . . 12 (𝐴 ∈ 𝑋 → (𝐴 ∩ (Base‘𝑊)) = (Base‘(𝑊 ↾s 𝐴)))
123, 11syl 18 . . . . . . . . . . 11 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) = (Base‘(𝑊 ↾s 𝐴)))
1312ineq2d 4166 . . . . . . . . . 10 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (𝐴 ∩ (Base‘𝑊))) = (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴))))
1410, 13eqtr2id 2809 . . . . . . . . 9 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴))) = ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)))
1514opeq2d 4840 . . . . . . . 8 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩ = ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩)
167, 15oveq12d 7438 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) sSet ⟨(Base‘ndx), (𝐵 ∩ (Base‘(𝑊 ↾s 𝐴)))⟩) = ((𝑊 sSet ⟨(Base‘ndx), (𝐴 ∩ (Base‘𝑊))⟩) sSet ⟨(Base‘ndx), ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))⟩))
17 fvex 6898 . . . . . . . . 9 (Base‘𝑊) ∈ V
1817inex2 5278 . . . . . . . 8 ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)) ∈ V
19 setsabs 17357 . . . . . . . 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 2796 . . . . . 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 7455 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) ∈ V)
24 simpr3 1215 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝐵 ∈ 𝑌)
25 eqid 2761 . . . . . . . 8 ((𝑊 ↾s 𝐴) ↾s 𝐵) = ((𝑊 ↾s 𝐴) ↾s 𝐵)
26 eqid 2761 . . . . . . . 8 (Base‘(𝑊 ↾s 𝐴)) = (Base‘(𝑊 ↾s 𝐴))
2725, 26ressval2 17413 . . . . . . 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 4182 . . . . . . . . 9 (𝐴 ∩ 𝐵) ⊆ 𝐴
30 sstr 3939 . . . . . . . . 9 (((Base‘𝑊) ⊆ (𝐴 ∩ 𝐵) ∧ (𝐴 ∩ 𝐵) ⊆ 𝐴) → (Base‘𝑊) ⊆ 𝐴)
3129, 30mpan2 704 . . . . . . . 8 ((Base‘𝑊) ⊆ (𝐴 ∩ 𝐵) → (Base‘𝑊) ⊆ 𝐴)
321, 31nsyl 141 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ¬ (Base‘𝑊) ⊆ (𝐴 ∩ 𝐵))
33 inex1g 5279 . . . . . . . 8 (𝐴 ∈ 𝑋 → (𝐴 ∩ 𝐵) ∈ V)
343, 33syl 18 . . . . . . 7 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ 𝐵) ∈ V)
35 eqid 2761 . . . . . . . 8 (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s (𝐴 ∩ 𝐵))
3635, 5ressval2 17413 . . . . . . 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 2806 . . . . 5 (((¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ ¬ (Base‘𝑊) ⊆ 𝐴) ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
3938exp31 425 . . . 4 (¬ (Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 → (¬ (Base‘𝑊) ⊆ 𝐴 → ((𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))))
40 ovex 7453 . . . . . . . 8 (𝑊 ↾s 𝐴) ∈ V
4125, 26ressid2 17412 . . . . . . . 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 4175 . . . . . . . . 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 3965 . . . . . . . . . 10 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) ⊆ 𝐵)
49 dfss2 3917 . . . . . . . . . 10 ((𝐴 ∩ (Base‘𝑊)) ⊆ 𝐵 ↔ ((𝐴 ∩ (Base‘𝑊)) ∩ 𝐵) = (𝐴 ∩ (Base‘𝑊)))
5048, 49sylib 221 . . . . . . . . 9 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝐴 ∩ (Base‘𝑊)) ∩ 𝐵) = (𝐴 ∩ (Base‘𝑊)))
5144, 50eqtr2id 2809 . . . . . . . 8 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (Base‘𝑊)) = ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)))
5251oveq2d 7436 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐴 ∩ (Base‘𝑊))) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
535ressinbas 17423 . . . . . . . 8 (𝐴 ∈ 𝑋 → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ (Base‘𝑊))))
5445, 53syl 18 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ (Base‘𝑊))))
555ressinbas 17423 . . . . . . . 8 ((𝐴 ∩ 𝐵) ∈ V → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
5645, 33, 553syl 19 . . . . . . 7 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐴 ∩ 𝐵)) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
5752, 54, 563eqtr4d 2806 . . . . . 6 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
5843, 57eqtrd 2796 . . . . 5 (((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
5958ex 418 . . . 4 ((Base‘(𝑊 ↾s 𝐴)) ⊆ 𝐵 → ((𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵))))
604, 5ressid2 17412 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ 𝑊 ∈ V ∧ 𝐴 ∈ 𝑋) → (𝑊 ↾s 𝐴) = 𝑊)
61603adant3r3 1203 . . . . . . 7 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐴) = 𝑊)
6261oveq1d 7435 . . . . . 6 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (𝑊 ↾s 𝐵))
63 inss2 4183 . . . . . . . . . . 11 (𝐵 ∩ (Base‘𝑊)) ⊆ (Base‘𝑊)
64 simpl 488 . . . . . . . . . . 11 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (Base‘𝑊) ⊆ 𝐴)
6563, 64sstrid 3942 . . . . . . . . . 10 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (Base‘𝑊)) ⊆ 𝐴)
66 sseqin2 4169 . . . . . . . . . 10 ((𝐵 ∩ (Base‘𝑊)) ⊆ 𝐴 ↔ (𝐴 ∩ (𝐵 ∩ (Base‘𝑊))) = (𝐵 ∩ (Base‘𝑊)))
6765, 66sylib 221 . . . . . . . . 9 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐴 ∩ (𝐵 ∩ (Base‘𝑊))) = (𝐵 ∩ (Base‘𝑊)))
688, 67eqtr2id 2809 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝐵 ∩ (Base‘𝑊)) = ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊)))
6968oveq2d 7436 . . . . . . 7 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s (𝐵 ∩ (Base‘𝑊))) = (𝑊 ↾s ((𝐴 ∩ 𝐵) ∩ (Base‘𝑊))))
70 simpr3 1215 . . . . . . . 8 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → 𝐵 ∈ 𝑌)
715ressinbas 17423 . . . . . . . 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 2806 . . . . . 6 (((Base‘𝑊) ⊆ 𝐴 ∧ (𝑊 ∈ V ∧ 𝐴 ∈ 𝑋 ∧ 𝐵 ∈ 𝑌)) → (𝑊 ↾s 𝐵) = (𝑊 ↾s (𝐴 ∩ 𝐵)))
7662, 75eqtrd 2796 . . . . 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 17421 . . . 4 (∅ ↾s 𝐵) = ∅
81 reldmress 17410 . . . . . 6 Rel dom ↾s
8281ovprc1 7459 . . . . 5 (¬ 𝑊 ∈ V → (𝑊 ↾s 𝐴) = ∅)
8382oveq1d 7435 . . . 4 (¬ 𝑊 ∈ V → ((𝑊 ↾s 𝐴) ↾s 𝐵) = (∅ ↾s 𝐵))
8481ovprc1 7459 . . . 4 (¬ 𝑊 ∈ V → (𝑊 ↾s (𝐴 ∩ 𝐵)) = ∅)
8580, 83, 843eqtr4a 2822 . . 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 2145  Vcvv 3451   ∩ cin 3898   ⊆ wss 3899  ∅c0 4279  ⟨cop 4590  ‘cfv 6538  (class class class)co 7420   sSet csts 17341  ndxcnx 17371  Basecbs 17387   ↾s cress 17408
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-pow 5327  ax-pr 5391  ax-un 7751  ax-cnex 11256  ax-1cn 11258  ax-addcl 11260
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 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-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-nn 12336  df-sets 17342  df-slot 17360  df-ndx 17372  df-base 17388  df-ress 17409
This theorem is used by:  ressabs  17426  xrge00  33575  xrge0slmod  33909  fldexttr  34290  fldgenfldext  34300  esumpfinvallem  34706  lmhmlnmsplit  44088
  Copyright terms: Public domain W3C validator