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 36511
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 36510 . . 3 𝑅 = (𝑠 ∈ 𝑃 ↦ ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩)
54a1i 11 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝑅 = (𝑠 ∈ 𝑃 ↦ ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩))
6 fvexd 6931 . . 3 ((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) → (2nd ‘(1st ‘𝑠)) ∈ V)
7 fvexd 6931 . . . 4 (((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) → (2nd ‘𝑠) ∈ V)
8 simpllr 788 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩)
98fveq2d 6920 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘𝑠) = (1st ‘⟨𝐷, 𝐻, 𝐴⟩))
109fveq2d 6920 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘𝑠)) = (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)))
11 eqid 2763 . . . . . . . . . . . . 13 (mDV‘𝑇) = (mDV‘𝑇)
12 eqid 2763 . . . . . . . . . . . . 13 (mEx‘𝑇) = (mEx‘𝑇)
1311, 12, 2elmpst 36509 . . . . . . . . . . . 12 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ↔ ((𝐷 ⊆ (mDV‘𝑇) ∧ ◡𝐷 = 𝐷) ∧ (𝐻 ⊆ (mEx‘𝑇) ∧ 𝐻 ∈ Fin) ∧ 𝐴 ∈ (mEx‘𝑇)))
1413simp1bi 1163 . . . . . . . . . . 11 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝐷 ⊆ (mDV‘𝑇) ∧ ◡𝐷 = 𝐷))
1514simpld 500 . . . . . . . . . 10 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝐷 ⊆ (mDV‘𝑇))
1615ad3antrrr 743 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐷 ⊆ (mDV‘𝑇))
17 fvex 6929 . . . . . . . . . 10 (mDV‘𝑇) ∈ V
1817ssex 5289 . . . . . . . . 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 8049 . . . . . . . 8 ((𝐷 ∈ V ∧ 𝐻 ∈ Fin ∧ 𝐴 ∈ (mEx‘𝑇)) → (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐷)
2619, 22, 24, 25syl3anc 1399 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐷)
2710, 26eqtrd 2798 . . . . . 6 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘𝑠)) = 𝐷)
281fvexi 6930 . . . . . . . . . 10 𝑉 ∈ V
29 imaexg 7959 . . . . . . . . . 10 (𝑉 ∈ V → (𝑉 “ (ℎ ∪ {𝑎})) ∈ V)
3028, 29ax-mp 5 . . . . . . . . 9 (𝑉 “ (ℎ ∪ {𝑎})) ∈ V
3130uniex 7790 . . . . . . . 8 ∪ (𝑉 “ (ℎ ∪ {𝑎})) ∈ V
3231a1i 11 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) ∈ V)
33 id 23 . . . . . . . . 9 (𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎})) → 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎})))
34 simplr 781 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ℎ = (2nd ‘(1st ‘𝑠)))
359fveq2d 6920 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘(1st ‘𝑠)) = (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)))
36 ot2ndg 8050 . . . . . . . . . . . . . . 15 ((𝐷 ∈ V ∧ 𝐻 ∈ Fin ∧ 𝐴 ∈ (mEx‘𝑇)) → (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐻)
3719, 22, 24, 36syl3anc 1399 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐻)
3834, 35, 373eqtrd 2802 . . . . . . . . . . . . 13 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ℎ = 𝐻)
39 simpr 490 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑎 = (2nd ‘𝑠))
408fveq2d 6920 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘𝑠) = (2nd ‘⟨𝐷, 𝐻, 𝐴⟩))
41 ot3rdg 8051 . . . . . . . . . . . . . . . 16 (𝐴 ∈ (mEx‘𝑇) → (2nd ‘⟨𝐷, 𝐻, 𝐴⟩) = 𝐴)
4224, 41syl 18 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘⟨𝐷, 𝐻, 𝐴⟩) = 𝐴)
4339, 40, 423eqtrd 2802 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑎 = 𝐴)
4443sneqd 4596 . . . . . . . . . . . . 13 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → {𝑎} = {𝐴})
4538, 44uneq12d 4171 . . . . . . . . . . . 12 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (ℎ ∪ {𝑎}) = (𝐻 ∪ {𝐴}))
4645imaeq2d 6070 . . . . . . . . . . 11 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (𝑉 “ (ℎ ∪ {𝑎})) = (𝑉 “ (𝐻 ∪ {𝐴})))
4746unieqd 4885 . . . . . . . . . 10 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) = ∪ (𝑉 “ (𝐻 ∪ {𝐴})))
48 msrval.z . . . . . . . . . 10 𝑍 = ∪ (𝑉 “ (𝐻 ∪ {𝐴}))
4947, 48eqtr4di 2816 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) = 𝑍)
5033, 49sylan9eqr 2820 . . . . . . . 8 (((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) ∧ 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎}))) → 𝑧 = 𝑍)
5150sqxpeqd 5690 . . . . . . 7 (((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) ∧ 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎}))) → (𝑧 × 𝑧) = (𝑍 × 𝑍))
5232, 51csbied 3887 . . . . . 6 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧) = (𝑍 × 𝑍))
5327, 52ineq12d 4121 . . . . 5 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)) = (𝐷 ∩ (𝑍 × 𝑍)))
5453, 38, 43oteq123d 4871 . . . 4 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩ = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
557, 54csbied 3887 . . 3 (((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) → ⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩ = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
566, 55csbied 3887 . 2 ((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) → ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩ = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
57 id 23 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → ⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃)
58 otex 5441 . . 3 ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩ ∈ V
5958a1i 11 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩ ∈ V)
605, 56, 57, 59fvmptd 7032 1 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝑅‘⟨𝐷, 𝐻, 𝐴⟩) = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147  Vcvv 3454  ⦋csb 3851   ⊆ wss 3900   ∩ cin 4092   ∪ cun 4152  {csn 4588  ⟨cotp 4863  ∪ cuni 4872   ↦ cmpt 5192   × cxp 5656  ◡ccnv 5657   “ cima 5661  ‘cfv 6566  1st c1st 8033  2nd c2nd 8034  Fincfn 9011  mExcmex 36440  mDVcmdv 36441  mVarscmvrs 36442  mPreStcmpst 36446  mStRedcmsr 36447
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 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-rep 5238  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783
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 2102  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-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 4841  df-ot 4864  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-1st 8035  df-2nd 8036  df-mpst 36466  df-msr 36467
This theorem is used by:  msrf  36515  msrid  36518  elmsta  36521  mthmpps  36555
  Copyright terms: Public domain W3C validator