Users' Mathboxes Mathbox for Mario Carneiro < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  msrval Structured version   Visualization version   GIF version

Theorem msrval 36591
Description: Value of the reduct of a pre-statement. (Contributed by Mario Carneiro, 18-Jul-2016.)
Hypotheses
Ref Expression
msrfval.v 𝑉 = (mVars‘𝑇)
msrfval.p 𝑃 = (mPreSt‘𝑇)
msrfval.r 𝑅 = (mStRed‘𝑇)
msrval.z 𝑍 = ∪ (𝑉 “ (𝐻 ∪ {𝐴}))
Assertion
Ref Expression
msrval (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝑅‘⟨𝐷, 𝐻, 𝐴⟩) = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)

Proof of Theorem msrval
Dummy variables ℎ 𝑎 𝑠 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 msrfval.v . . . 4 𝑉 = (mVars‘𝑇)
2 msrfval.p . . . 4 𝑃 = (mPreSt‘𝑇)
3 msrfval.r . . . 4 𝑅 = (mStRed‘𝑇)
41, 2, 3msrfval 36590 . . 3 𝑅 = (𝑠 ∈ 𝑃 ↦ ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩)
54a1i 11 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝑅 = (𝑠 ∈ 𝑃 ↦ ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩))
6 fvexd 6946 . . 3 ((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) → (2nd ‘(1st ‘𝑠)) ∈ V)
7 fvexd 6946 . . . 4 (((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) → (2nd ‘𝑠) ∈ V)
8 simpllr 788 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩)
98fveq2d 6935 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘𝑠) = (1st ‘⟨𝐷, 𝐻, 𝐴⟩))
109fveq2d 6935 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘𝑠)) = (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)))
11 eqid 2774 . . . . . . . . . . . . 13 (mDV‘𝑇) = (mDV‘𝑇)
12 eqid 2774 . . . . . . . . . . . . 13 (mEx‘𝑇) = (mEx‘𝑇)
1311, 12, 2elmpst 36589 . . . . . . . . . . . 12 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ↔ ((𝐷 ⊆ (mDV‘𝑇) ∧ ◡𝐷 = 𝐷) ∧ (𝐻 ⊆ (mEx‘𝑇) ∧ 𝐻 ∈ Fin) ∧ 𝐴 ∈ (mEx‘𝑇)))
1413simp1bi 1164 . . . . . . . . . . 11 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝐷 ⊆ (mDV‘𝑇) ∧ ◡𝐷 = 𝐷))
1514simpld 500 . . . . . . . . . 10 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝐷 ⊆ (mDV‘𝑇))
1615ad3antrrr 743 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐷 ⊆ (mDV‘𝑇))
17 fvex 6944 . . . . . . . . . 10 (mDV‘𝑇) ∈ V
1817ssex 5297 . . . . . . . . 9 (𝐷 ⊆ (mDV‘𝑇) → 𝐷 ∈ V)
1916, 18syl 18 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐷 ∈ V)
2013simp2bi 1165 . . . . . . . . . 10 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝐻 ⊆ (mEx‘𝑇) ∧ 𝐻 ∈ Fin))
2120simprd 501 . . . . . . . . 9 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝐻 ∈ Fin)
2221ad3antrrr 743 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐻 ∈ Fin)
2313simp3bi 1166 . . . . . . . . 9 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝐴 ∈ (mEx‘𝑇))
2423ad3antrrr 743 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐴 ∈ (mEx‘𝑇))
25 ot1stg 8065 . . . . . . . 8 ((𝐷 ∈ V ∧ 𝐻 ∈ Fin ∧ 𝐴 ∈ (mEx‘𝑇)) → (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐷)
2619, 22, 24, 25syl3anc 1401 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐷)
2710, 26eqtrd 2809 . . . . . 6 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘𝑠)) = 𝐷)
281fvexi 6945 . . . . . . . . . 10 𝑉 ∈ V
29 imaexg 7975 . . . . . . . . . 10 (𝑉 ∈ V → (𝑉 “ (ℎ ∪ {𝑎})) ∈ V)
3028, 29ax-mp 5 . . . . . . . . 9 (𝑉 “ (ℎ ∪ {𝑎})) ∈ V
3130uniex 7806 . . . . . . . 8 ∪ (𝑉 “ (ℎ ∪ {𝑎})) ∈ V
3231a1i 11 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) ∈ V)
33 id 23 . . . . . . . . 9 (𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎})) → 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎})))
34 simplr 781 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ℎ = (2nd ‘(1st ‘𝑠)))
359fveq2d 6935 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘(1st ‘𝑠)) = (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)))
36 ot2ndg 8066 . . . . . . . . . . . . . . 15 ((𝐷 ∈ V ∧ 𝐻 ∈ Fin ∧ 𝐴 ∈ (mEx‘𝑇)) → (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐻)
3719, 22, 24, 36syl3anc 1401 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐻)
3834, 35, 373eqtrd 2813 . . . . . . . . . . . . 13 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ℎ = 𝐻)
39 simpr 490 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑎 = (2nd ‘𝑠))
408fveq2d 6935 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘𝑠) = (2nd ‘⟨𝐷, 𝐻, 𝐴⟩))
41 ot3rdg 8067 . . . . . . . . . . . . . . . 16 (𝐴 ∈ (mEx‘𝑇) → (2nd ‘⟨𝐷, 𝐻, 𝐴⟩) = 𝐴)
4224, 41syl 18 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘⟨𝐷, 𝐻, 𝐴⟩) = 𝐴)
4339, 40, 423eqtrd 2813 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑎 = 𝐴)
4443sneqd 4603 . . . . . . . . . . . . 13 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → {𝑎} = {𝐴})
4538, 44uneq12d 4178 . . . . . . . . . . . 12 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (ℎ ∪ {𝑎}) = (𝐻 ∪ {𝐴}))
4645imaeq2d 6079 . . . . . . . . . . 11 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (𝑉 “ (ℎ ∪ {𝑎})) = (𝑉 “ (𝐻 ∪ {𝐴})))
4746unieqd 4893 . . . . . . . . . 10 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) = ∪ (𝑉 “ (𝐻 ∪ {𝐴})))
48 msrval.z . . . . . . . . . 10 𝑍 = ∪ (𝑉 “ (𝐻 ∪ {𝐴}))
4947, 48eqtr4di 2827 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) = 𝑍)
5033, 49sylan9eqr 2831 . . . . . . . 8 (((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) ∧ 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎}))) → 𝑧 = 𝑍)
5150sqxpeqd 5698 . . . . . . 7 (((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) ∧ 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎}))) → (𝑧 × 𝑧) = (𝑍 × 𝑍))
5232, 51csbied 3894 . . . . . 6 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧) = (𝑍 × 𝑍))
5327, 52ineq12d 4128 . . . . 5 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)) = (𝐷 ∩ (𝑍 × 𝑍)))
5453, 38, 43oteq123d 4879 . . . 4 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩ = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
557, 54csbied 3894 . . 3 (((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) → ⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩ = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
566, 55csbied 3894 . 2 ((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) → ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩ = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
57 id 23 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → ⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃)
58 otex 5449 . . 3 ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩ ∈ V
5958a1i 11 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩ ∈ V)
605, 56, 57, 59fvmptd 7047 1 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝑅‘⟨𝐷, 𝐻, 𝐴⟩) = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156  Vcvv 3461  ⦋csb 3858   ⊆ wss 3907   ∩ cin 4099   ∪ cun 4159  {csn 4595  ⟨cotp 4871  ∪ cuni 4880   ↦ cmpt 5200   × cxp 5664  ◡ccnv 5665   “ cima 5669  ‘cfv 6578  1st c1st 8049  2nd c2nd 8050  Fincfn 9027  mExcmex 36520  mDVcmdv 36521  mVarscmvrs 36522  mPreStcmpst 36526  mStRedcmsr 36527
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-ot 4872  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-1st 8051  df-2nd 8052  df-mpst 36546  df-msr 36547
This theorem is used by:  msrf  36595  msrid  36598  elmsta  36601  mthmpps  36635
  Copyright terms: Public domain W3C validator