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 36282
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 36281 . . 3 𝑅 = (𝑠 ∈ 𝑃 ↦ ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩)
54a1i 11 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝑅 = (𝑠 ∈ 𝑃 ↦ ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩))
6 fvexd 6898 . . 3 ((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) → (2nd ‘(1st ‘𝑠)) ∈ V)
7 fvexd 6898 . . . 4 (((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) → (2nd ‘𝑠) ∈ V)
8 simpllr 788 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩)
98fveq2d 6887 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘𝑠) = (1st ‘⟨𝐷, 𝐻, 𝐴⟩))
109fveq2d 6887 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘𝑠)) = (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)))
11 eqid 2761 . . . . . . . . . . . . 13 (mDV‘𝑇) = (mDV‘𝑇)
12 eqid 2761 . . . . . . . . . . . . 13 (mEx‘𝑇) = (mEx‘𝑇)
1311, 12, 2elmpst 36280 . . . . . . . . . . . 12 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ↔ ((𝐷 ⊆ (mDV‘𝑇) ∧ ◡𝐷 = 𝐷) ∧ (𝐻 ⊆ (mEx‘𝑇) ∧ 𝐻 ∈ Fin) ∧ 𝐴 ∈ (mEx‘𝑇)))
1413simp1bi 1163 . . . . . . . . . . 11 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝐷 ⊆ (mDV‘𝑇) ∧ ◡𝐷 = 𝐷))
1514simpld 500 . . . . . . . . . 10 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝐷 ⊆ (mDV‘𝑇))
1615ad3antrrr 743 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐷 ⊆ (mDV‘𝑇))
17 fvex 6896 . . . . . . . . . 10 (mDV‘𝑇) ∈ V
1817ssex 5282 . . . . . . . . 9 (𝐷 ⊆ (mDV‘𝑇) → 𝐷 ∈ V)
1916, 18syl 18 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐷 ∈ V)
2013simp2bi 1164 . . . . . . . . . 10 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝐻 ⊆ (mEx‘𝑇) ∧ 𝐻 ∈ Fin))
2120simprd 501 . . . . . . . . 9 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝐻 ∈ Fin)
2221ad3antrrr 743 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐻 ∈ Fin)
2313simp3bi 1165 . . . . . . . . 9 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝐴 ∈ (mEx‘𝑇))
2423ad3antrrr 743 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐴 ∈ (mEx‘𝑇))
25 ot1stg 8013 . . . . . . . 8 ((𝐷 ∈ V ∧ 𝐻 ∈ Fin ∧ 𝐴 ∈ (mEx‘𝑇)) → (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐷)
2619, 22, 24, 25syl3anc 1398 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐷)
2710, 26eqtrd 2796 . . . . . 6 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘𝑠)) = 𝐷)
281fvexi 6897 . . . . . . . . . 10 𝑉 ∈ V
29 imaexg 7923 . . . . . . . . . 10 (𝑉 ∈ V → (𝑉 “ (ℎ ∪ {𝑎})) ∈ V)
3028, 29ax-mp 5 . . . . . . . . 9 (𝑉 “ (ℎ ∪ {𝑎})) ∈ V
3130uniex 7756 . . . . . . . 8 ∪ (𝑉 “ (ℎ ∪ {𝑎})) ∈ V
3231a1i 11 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) ∈ V)
33 id 23 . . . . . . . . 9 (𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎})) → 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎})))
34 simplr 781 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ℎ = (2nd ‘(1st ‘𝑠)))
359fveq2d 6887 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘(1st ‘𝑠)) = (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)))
36 ot2ndg 8014 . . . . . . . . . . . . . . 15 ((𝐷 ∈ V ∧ 𝐻 ∈ Fin ∧ 𝐴 ∈ (mEx‘𝑇)) → (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐻)
3719, 22, 24, 36syl3anc 1398 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐻)
3834, 35, 373eqtrd 2800 . . . . . . . . . . . . 13 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ℎ = 𝐻)
39 simpr 490 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑎 = (2nd ‘𝑠))
408fveq2d 6887 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘𝑠) = (2nd ‘⟨𝐷, 𝐻, 𝐴⟩))
41 ot3rdg 8015 . . . . . . . . . . . . . . . 16 (𝐴 ∈ (mEx‘𝑇) → (2nd ‘⟨𝐷, 𝐻, 𝐴⟩) = 𝐴)
4224, 41syl 18 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘⟨𝐷, 𝐻, 𝐴⟩) = 𝐴)
4339, 40, 423eqtrd 2800 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑎 = 𝐴)
4443sneqd 4596 . . . . . . . . . . . . 13 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → {𝑎} = {𝐴})
4538, 44uneq12d 4116 . . . . . . . . . . . 12 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (ℎ ∪ {𝑎}) = (𝐻 ∪ {𝐴}))
4645imaeq2d 6052 . . . . . . . . . . 11 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (𝑉 “ (ℎ ∪ {𝑎})) = (𝑉 “ (𝐻 ∪ {𝐴})))
4746unieqd 4880 . . . . . . . . . 10 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) = ∪ (𝑉 “ (𝐻 ∪ {𝐴})))
48 msrval.z . . . . . . . . . 10 𝑍 = ∪ (𝑉 “ (𝐻 ∪ {𝐴}))
4947, 48eqtr4di 2814 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) = 𝑍)
5033, 49sylan9eqr 2818 . . . . . . . 8 (((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) ∧ 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎}))) → 𝑧 = 𝑍)
5150sqxpeqd 5683 . . . . . . 7 (((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) ∧ 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎}))) → (𝑧 × 𝑧) = (𝑍 × 𝑍))
5232, 51csbied 3883 . . . . . 6 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧) = (𝑍 × 𝑍))
5327, 52ineq12d 4167 . . . . 5 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)) = (𝐷 ∩ (𝑍 × 𝑍)))
5453, 38, 43oteq123d 4848 . . . 4 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩ = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
557, 54csbied 3883 . . 3 (((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) → ⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩ = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
566, 55csbied 3883 . 2 ((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) → ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩ = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
57 id 23 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → ⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃)
58 otex 5434 . . 3 ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩ ∈ V
5958a1i 11 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩ ∈ V)
605, 56, 57, 59fvmptd 6999 1 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝑅‘⟨𝐷, 𝐻, 𝐴⟩) = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  Vcvv 3451  ⦋csb 3847   ∪ cun 3897   ∩ cin 3898   ⊆ wss 3899  {csn 4584  ⟨cotp 4592  ∪ cuni 4867   ↦ cmpt 5186   × cxp 5649  ◡ccnv 5650   “ cima 5654  ‘cfv 6537  1st c1st 7997  2nd c2nd 7998  Fincfn 8966  mExcmex 36211  mDVcmdv 36212  mVarscmvrs 36213  mPreStcmpst 36217  mStRedcmsr 36218
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-rep 5232  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7749
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 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-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-ot 4593  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  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-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-1st 7999  df-2nd 8000  df-mpst 36237  df-msr 36238
This theorem is used by:  msrf  36286  msrid  36289  elmsta  36292  mthmpps  36326
  Copyright terms: Public domain W3C validator