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

Theorem ismfs 36435
Description: A formal system is a tuple ⟨mCN, mVR, mType, mVT, mTC, mAx⟩ such that: mCN and mVR are disjoint; mType is a function from mVR to mVT; mVT is a subset of mTC; mAx is a set of statements; and for each variable typecode, there are infinitely many variables of that type. (Contributed by Mario Carneiro, 18-Jul-2016.)
Hypotheses
Ref Expression
ismfs.c 𝐶 = (mCN‘𝑇)
ismfs.v 𝑉 = (mVR‘𝑇)
ismfs.y 𝑌 = (mType‘𝑇)
ismfs.f 𝐹 = (mVT‘𝑇)
ismfs.k 𝐾 = (mTC‘𝑇)
ismfs.a 𝐴 = (mAx‘𝑇)
ismfs.s 𝑆 = (mStat‘𝑇)
Assertion
Ref Expression
ismfs (𝑇 ∈ 𝑊 → (𝑇 ∈ mFS ↔ (((𝐶 ∩ 𝑉) = ∅ ∧ 𝑌:𝑉⟶𝐾) ∧ (𝐴 ⊆ 𝑆 ∧ ∀𝑣 ∈ 𝐹 ¬ (◡𝑌 “ {𝑣}) ∈ Fin))))
Distinct variable groups:   𝑣,𝐹   𝑣,𝑇
Allowed substitution hints:   𝐴(𝑣)   𝐶(𝑣)   𝑆(𝑣)   𝐾(𝑣)   𝑉(𝑣)   𝑊(𝑣)   𝑌(𝑣)

Proof of Theorem ismfs
Dummy variable 𝑡 is distinct from all other variables.
StepHypRef Expression
1 fveq2 6893 . . . . . . 7 (𝑡 = 𝑇 → (mCN‘𝑡) = (mCN‘𝑇))
2 ismfs.c . . . . . . 7 𝐶 = (mCN‘𝑇)
31, 2eqtr4di 2816 . . . . . 6 (𝑡 = 𝑇 → (mCN‘𝑡) = 𝐶)
4 fveq2 6893 . . . . . . 7 (𝑡 = 𝑇 → (mVR‘𝑡) = (mVR‘𝑇))
5 ismfs.v . . . . . . 7 𝑉 = (mVR‘𝑇)
64, 5eqtr4di 2816 . . . . . 6 (𝑡 = 𝑇 → (mVR‘𝑡) = 𝑉)
73, 6ineq12d 4120 . . . . 5 (𝑡 = 𝑇 → ((mCN‘𝑡) ∩ (mVR‘𝑡)) = (𝐶 ∩ 𝑉))
87eqeq1d 2765 . . . 4 (𝑡 = 𝑇 → (((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ↔ (𝐶 ∩ 𝑉) = ∅))
9 fveq2 6893 . . . . . 6 (𝑡 = 𝑇 → (mType‘𝑡) = (mType‘𝑇))
10 ismfs.y . . . . . 6 𝑌 = (mType‘𝑇)
119, 10eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mType‘𝑡) = 𝑌)
12 fveq2 6893 . . . . . 6 (𝑡 = 𝑇 → (mTC‘𝑡) = (mTC‘𝑇))
13 ismfs.k . . . . . 6 𝐾 = (mTC‘𝑇)
1412, 13eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mTC‘𝑡) = 𝐾)
1511, 6, 14feq123d 6706 . . . 4 (𝑡 = 𝑇 → ((mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡) ↔ 𝑌:𝑉⟶𝐾))
168, 15anbi12d 644 . . 3 (𝑡 = 𝑇 → ((((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ∧ (mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡)) ↔ ((𝐶 ∩ 𝑉) = ∅ ∧ 𝑌:𝑉⟶𝐾)))
17 fveq2 6893 . . . . . 6 (𝑡 = 𝑇 → (mAx‘𝑡) = (mAx‘𝑇))
18 ismfs.a . . . . . 6 𝐴 = (mAx‘𝑇)
1917, 18eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mAx‘𝑡) = 𝐴)
20 fveq2 6893 . . . . . 6 (𝑡 = 𝑇 → (mStat‘𝑡) = (mStat‘𝑇))
21 ismfs.s . . . . . 6 𝑆 = (mStat‘𝑇)
2220, 21eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mStat‘𝑡) = 𝑆)
2319, 22sseq12d 3945 . . . 4 (𝑡 = 𝑇 → ((mAx‘𝑡) ⊆ (mStat‘𝑡) ↔ 𝐴 ⊆ 𝑆))
24 fveq2 6893 . . . . . 6 (𝑡 = 𝑇 → (mVT‘𝑡) = (mVT‘𝑇))
25 ismfs.f . . . . . 6 𝐹 = (mVT‘𝑇)
2624, 25eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mVT‘𝑡) = 𝐹)
2711cnveqd 5857 . . . . . . . 8 (𝑡 = 𝑇 → ◡(mType‘𝑡) = ◡𝑌)
2827imaeq1d 6056 . . . . . . 7 (𝑡 = 𝑇 → (◡(mType‘𝑡) “ {𝑣}) = (◡𝑌 “ {𝑣}))
2928eleq1d 2848 . . . . . 6 (𝑡 = 𝑇 → ((◡(mType‘𝑡) “ {𝑣}) ∈ Fin ↔ (◡𝑌 “ {𝑣}) ∈ Fin))
3029notbid 321 . . . . 5 (𝑡 = 𝑇 → (¬ (◡(mType‘𝑡) “ {𝑣}) ∈ Fin ↔ ¬ (◡𝑌 “ {𝑣}) ∈ Fin))
3126, 30raleqbidv 3337 . . . 4 (𝑡 = 𝑇 → (∀𝑣 ∈ (mVT‘𝑡) ¬ (◡(mType‘𝑡) “ {𝑣}) ∈ Fin ↔ ∀𝑣 ∈ 𝐹 ¬ (◡𝑌 “ {𝑣}) ∈ Fin))
3223, 31anbi12d 644 . . 3 (𝑡 = 𝑇 → (((mAx‘𝑡) ⊆ (mStat‘𝑡) ∧ ∀𝑣 ∈ (mVT‘𝑡) ¬ (◡(mType‘𝑡) “ {𝑣}) ∈ Fin) ↔ (𝐴 ⊆ 𝑆 ∧ ∀𝑣 ∈ 𝐹 ¬ (◡𝑌 “ {𝑣}) ∈ Fin)))
3316, 32anbi12d 644 . 2 (𝑡 = 𝑇 → (((((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ∧ (mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡)) ∧ ((mAx‘𝑡) ⊆ (mStat‘𝑡) ∧ ∀𝑣 ∈ (mVT‘𝑡) ¬ (◡(mType‘𝑡) “ {𝑣}) ∈ Fin)) ↔ (((𝐶 ∩ 𝑉) = ∅ ∧ 𝑌:𝑉⟶𝐾) ∧ (𝐴 ⊆ 𝑆 ∧ ∀𝑣 ∈ 𝐹 ¬ (◡𝑌 “ {𝑣}) ∈ Fin))))
34 df-mfs 36382 . 2 mFS = {𝑡 ∣ ((((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ∧ (mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡)) ∧ ((mAx‘𝑡) ⊆ (mStat‘𝑡) ∧ ∀𝑣 ∈ (mVT‘𝑡) ¬ (◡(mType‘𝑡) “ {𝑣}) ∈ Fin))}
3533, 34elab2g 3636 1 (𝑇 ∈ 𝑊 → (𝑇 ∈ mFS ↔ (((𝐶 ∩ 𝑉) = ∅ ∧ 𝑌:𝑉⟶𝐾) ∧ (𝐴 ⊆ 𝑆 ∧ ∀𝑣 ∈ 𝐹 ¬ (◡𝑌 “ {𝑣}) ∈ Fin))))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569   ∈ wcel 2146  ∀wral 3079   ⊆ wss 3899   ∩ cin 4091  ∅c0 4280  {csn 4587  ◡ccnv 5653   “ cima 5657  ⟶wf 6542  ‘cfv 6546  Fincfn 8984  mCNcmcn 36346  mVRcmvar 36347  mTypecmty 36348  mVTcmvt 36349  mTCcmtc 36350  mAxcmax 36351  mStatcmsta 36361  mFScmfs 36362
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 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-ext 2735
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-sb 2101  df-clab 2742  df-cleq 2755  df-clel 2838  df-ral 3080  df-rab 3416  df-v 3455  df-ss 3900  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-br 5106  df-opab 5170  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-fv 6554  df-mfs 36382
This theorem is used by:  mfsdisj  36436  mtyf2  36437  maxsta  36440  mvtinf  36441
  Copyright terms: Public domain W3C validator