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 36391
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 36390 . . 3 𝑅 = (𝑠 ∈ 𝑃 ↦ ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩)
54a1i 11 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝑅 = (𝑠 ∈ 𝑃 ↦ ⦋(2nd ‘(1st ‘𝑠)) / ℎ⦌⦋(2nd ‘𝑠) / 𝑎⦌⟨((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)), ℎ, 𝑎⟩))
6 fvexd 6903 . . 3 ((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) → (2nd ‘(1st ‘𝑠)) ∈ V)
7 fvexd 6903 . . . 4 (((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) → (2nd ‘𝑠) ∈ V)
8 simpllr 788 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩)
98fveq2d 6892 . . . . . . . 8 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘𝑠) = (1st ‘⟨𝐷, 𝐻, 𝐴⟩))
109fveq2d 6892 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘𝑠)) = (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)))
11 eqid 2760 . . . . . . . . . . . . 13 (mDV‘𝑇) = (mDV‘𝑇)
12 eqid 2760 . . . . . . . . . . . . 13 (mEx‘𝑇) = (mEx‘𝑇)
1311, 12, 2elmpst 36389 . . . . . . . . . . . 12 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ↔ ((𝐷 ⊆ (mDV‘𝑇) ∧ ◡𝐷 = 𝐷) ∧ (𝐻 ⊆ (mEx‘𝑇) ∧ 𝐻 ∈ Fin) ∧ 𝐴 ∈ (mEx‘𝑇)))
1413simp1bi 1163 . . . . . . . . . . 11 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝐷 ⊆ (mDV‘𝑇) ∧ ◡𝐷 = 𝐷))
1514simpld 500 . . . . . . . . . 10 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → 𝐷 ⊆ (mDV‘𝑇))
1615ad3antrrr 743 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝐷 ⊆ (mDV‘𝑇))
17 fvex 6901 . . . . . . . . . 10 (mDV‘𝑇) ∈ V
1817ssex 5281 . . . . . . . . 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 8017 . . . . . . . 8 ((𝐷 ∈ V ∧ 𝐻 ∈ Fin ∧ 𝐴 ∈ (mEx‘𝑇)) → (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐷)
2619, 22, 24, 25syl3anc 1398 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐷)
2710, 26eqtrd 2795 . . . . . 6 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (1st ‘(1st ‘𝑠)) = 𝐷)
281fvexi 6902 . . . . . . . . . 10 𝑉 ∈ V
29 imaexg 7927 . . . . . . . . . 10 (𝑉 ∈ V → (𝑉 “ (ℎ ∪ {𝑎})) ∈ V)
3028, 29ax-mp 5 . . . . . . . . 9 (𝑉 “ (ℎ ∪ {𝑎})) ∈ V
3130uniex 7760 . . . . . . . 8 ∪ (𝑉 “ (ℎ ∪ {𝑎})) ∈ V
3231a1i 11 . . . . . . 7 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) ∈ V)
33 id 23 . . . . . . . . 9 (𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎})) → 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎})))
34 simplr 781 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ℎ = (2nd ‘(1st ‘𝑠)))
359fveq2d 6892 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘(1st ‘𝑠)) = (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)))
36 ot2ndg 8018 . . . . . . . . . . . . . . 15 ((𝐷 ∈ V ∧ 𝐻 ∈ Fin ∧ 𝐴 ∈ (mEx‘𝑇)) → (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐻)
3719, 22, 24, 36syl3anc 1398 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘(1st ‘⟨𝐷, 𝐻, 𝐴⟩)) = 𝐻)
3834, 35, 373eqtrd 2799 . . . . . . . . . . . . 13 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ℎ = 𝐻)
39 simpr 490 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑎 = (2nd ‘𝑠))
408fveq2d 6892 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘𝑠) = (2nd ‘⟨𝐷, 𝐻, 𝐴⟩))
41 ot3rdg 8019 . . . . . . . . . . . . . . . 16 (𝐴 ∈ (mEx‘𝑇) → (2nd ‘⟨𝐷, 𝐻, 𝐴⟩) = 𝐴)
4224, 41syl 18 . . . . . . . . . . . . . . 15 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (2nd ‘⟨𝐷, 𝐻, 𝐴⟩) = 𝐴)
4339, 40, 423eqtrd 2799 . . . . . . . . . . . . . 14 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → 𝑎 = 𝐴)
4443sneqd 4592 . . . . . . . . . . . . 13 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → {𝑎} = {𝐴})
4538, 44uneq12d 4167 . . . . . . . . . . . 12 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (ℎ ∪ {𝑎}) = (𝐻 ∪ {𝐴}))
4645imaeq2d 6053 . . . . . . . . . . 11 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → (𝑉 “ (ℎ ∪ {𝑎})) = (𝑉 “ (𝐻 ∪ {𝐴})))
4746unieqd 4879 . . . . . . . . . 10 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) = ∪ (𝑉 “ (𝐻 ∪ {𝐴})))
48 msrval.z . . . . . . . . . 10 𝑍 = ∪ (𝑉 “ (𝐻 ∪ {𝐴}))
4947, 48eqtr4di 2813 . . . . . . . . 9 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ∪ (𝑉 “ (ℎ ∪ {𝑎})) = 𝑍)
5033, 49sylan9eqr 2817 . . . . . . . 8 (((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) ∧ 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎}))) → 𝑧 = 𝑍)
5150sqxpeqd 5682 . . . . . . 7 (((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) ∧ 𝑧 = ∪ (𝑉 “ (ℎ ∪ {𝑎}))) → (𝑧 × 𝑧) = (𝑍 × 𝑍))
5232, 51csbied 3883 . . . . . 6 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧) = (𝑍 × 𝑍))
5327, 52ineq12d 4117 . . . . 5 ((((⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 ∧ 𝑠 = ⟨𝐷, 𝐻, 𝐴⟩) ∧ ℎ = (2nd ‘(1st ‘𝑠))) ∧ 𝑎 = (2nd ‘𝑠)) → ((1st ‘(1st ‘𝑠)) ∩ ⦋∪ (𝑉 “ (ℎ ∪ {𝑎})) / 𝑧⦌(𝑧 × 𝑧)) = (𝐷 ∩ (𝑍 × 𝑍)))
5453, 38, 43oteq123d 4865 . . . 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 5433 . . 3 ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩ ∈ V
5958a1i 11 . 2 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩ ∈ V)
605, 56, 57, 59fvmptd 7004 1 (⟨𝐷, 𝐻, 𝐴⟩ ∈ 𝑃 → (𝑅‘⟨𝐷, 𝐻, 𝐴⟩) = ⟨(𝐷 ∩ (𝑍 × 𝑍)), 𝐻, 𝐴⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401   = wceq 1569   ∈ wcel 2144  Vcvv 3450  ⦋csb 3847   ⊆ wss 3896   ∩ cin 4088   ∪ cun 4148  {csn 4584  ⟨cotp 4857  ∪ cuni 4866   ↦ cmpt 5185   × cxp 5648  ◡ccnv 5649   “ cima 5653  ‘cfv 6541  1st c1st 8001  2nd c2nd 8002  Fincfn 8978  mExcmex 36320  mDVcmdv 36321  mVarscmvrs 36322  mPreStcmpst 36326  mStRedcmsr 36327
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-rep 5231  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7753
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-ot 4858  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-id 5545  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-iota 6496  df-fun 6543  df-fn 6544  df-f 6545  df-f1 6546  df-fo 6547  df-f1o 6548  df-fv 6549  df-1st 8003  df-2nd 8004  df-mpst 36346  df-msr 36347
This theorem is used by:  msrf  36395  msrid  36398  elmsta  36401  mthmpps  36435
  Copyright terms: Public domain W3C validator