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 36041
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 6881 . . . . . . 7 (𝑡 = 𝑇 → (mCN‘𝑡) = (mCN‘𝑇))
2 ismfs.c . . . . . . 7 𝐶 = (mCN‘𝑇)
31, 2eqtr4di 2816 . . . . . 6 (𝑡 = 𝑇 → (mCN‘𝑡) = 𝐶)
4 fveq2 6881 . . . . . . 7 (𝑡 = 𝑇 → (mVR‘𝑡) = (mVR‘𝑇))
5 ismfs.v . . . . . . 7 𝑉 = (mVR‘𝑇)
64, 5eqtr4di 2816 . . . . . 6 (𝑡 = 𝑇 → (mVR‘𝑡) = 𝑉)
73, 6ineq12d 4174 . . . . 5 (𝑡 = 𝑇 → ((mCN‘𝑡) ∩ (mVR‘𝑡)) = (𝐶𝑉))
87eqeq1d 2765 . . . 4 (𝑡 = 𝑇 → (((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ↔ (𝐶𝑉) = ∅))
9 fveq2 6881 . . . . . 6 (𝑡 = 𝑇 → (mType‘𝑡) = (mType‘𝑇))
10 ismfs.y . . . . . 6 𝑌 = (mType‘𝑇)
119, 10eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mType‘𝑡) = 𝑌)
12 fveq2 6881 . . . . . 6 (𝑡 = 𝑇 → (mTC‘𝑡) = (mTC‘𝑇))
13 ismfs.k . . . . . 6 𝐾 = (mTC‘𝑇)
1412, 13eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mTC‘𝑡) = 𝐾)
1511, 6, 14feq123d 6694 . . . 4 (𝑡 = 𝑇 → ((mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡) ↔ 𝑌:𝑉𝐾))
168, 15anbi12d 643 . . 3 (𝑡 = 𝑇 → ((((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ∧ (mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡)) ↔ ((𝐶𝑉) = ∅ ∧ 𝑌:𝑉𝐾)))
17 fveq2 6881 . . . . . 6 (𝑡 = 𝑇 → (mAx‘𝑡) = (mAx‘𝑇))
18 ismfs.a . . . . . 6 𝐴 = (mAx‘𝑇)
1917, 18eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mAx‘𝑡) = 𝐴)
20 fveq2 6881 . . . . . 6 (𝑡 = 𝑇 → (mStat‘𝑡) = (mStat‘𝑇))
21 ismfs.s . . . . . 6 𝑆 = (mStat‘𝑇)
2220, 21eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mStat‘𝑡) = 𝑆)
2319, 22sseq12d 3970 . . . 4 (𝑡 = 𝑇 → ((mAx‘𝑡) ⊆ (mStat‘𝑡) ↔ 𝐴𝑆))
24 fveq2 6881 . . . . . 6 (𝑡 = 𝑇 → (mVT‘𝑡) = (mVT‘𝑇))
25 ismfs.f . . . . . 6 𝐹 = (mVT‘𝑇)
2624, 25eqtr4di 2816 . . . . 5 (𝑡 = 𝑇 → (mVT‘𝑡) = 𝐹)
2711cnveqd 5861 . . . . . . . 8 (𝑡 = 𝑇(mType‘𝑡) = 𝑌)
2827imaeq1d 6061 . . . . . . 7 (𝑡 = 𝑇 → ((mType‘𝑡) “ {𝑣}) = (𝑌 “ {𝑣}))
2928eleq1d 2848 . . . . . 6 (𝑡 = 𝑇 → (((mType‘𝑡) “ {𝑣}) ∈ Fin ↔ (𝑌 “ {𝑣}) ∈ Fin))
3029notbid 321 . . . . 5 (𝑡 = 𝑇 → (¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin ↔ ¬ (𝑌 “ {𝑣}) ∈ Fin))
3126, 30raleqbidv 3338 . . . 4 (𝑡 = 𝑇 → (∀𝑣 ∈ (mVT‘𝑡) ¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin ↔ ∀𝑣𝐹 ¬ (𝑌 “ {𝑣}) ∈ Fin))
3223, 31anbi12d 643 . . 3 (𝑡 = 𝑇 → (((mAx‘𝑡) ⊆ (mStat‘𝑡) ∧ ∀𝑣 ∈ (mVT‘𝑡) ¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin) ↔ (𝐴𝑆 ∧ ∀𝑣𝐹 ¬ (𝑌 “ {𝑣}) ∈ Fin)))
3316, 32anbi12d 643 . 2 (𝑡 = 𝑇 → (((((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ∧ (mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡)) ∧ ((mAx‘𝑡) ⊆ (mStat‘𝑡) ∧ ∀𝑣 ∈ (mVT‘𝑡) ¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin)) ↔ (((𝐶𝑉) = ∅ ∧ 𝑌:𝑉𝐾) ∧ (𝐴𝑆 ∧ ∀𝑣𝐹 ¬ (𝑌 “ {𝑣}) ∈ Fin))))
34 df-mfs 35988 . 2 mFS = {𝑡 ∣ ((((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ∧ (mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡)) ∧ ((mAx‘𝑡) ⊆ (mStat‘𝑡) ∧ ∀𝑣 ∈ (mVT‘𝑡) ¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin))}
3533, 34elab2g 3639 1 (𝑇𝑊 → (𝑇 ∈ mFS ↔ (((𝐶𝑉) = ∅ ∧ 𝑌:𝑉𝐾) ∧ (𝐴𝑆 ∧ ∀𝑣𝐹 ¬ (𝑌 “ {𝑣}) ∈ Fin))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 400   = wceq 1570  wcel 2143  wral 3079  cin 3904  wss 3905  c0 4286  {csn 4589  ccnv 5660  cima 5664  wf 6532  cfv 6536  Fincfn 8939  mCNcmcn 35952  mVRcmvar 35953  mTypecmty 35954  mVTcmvt 35955  mTCcmtc 35956  mAxcmax 35957  mStatcmsta 35967  mFScmfs 35968
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1825  ax-4 1839  ax-5 1940  ax-6 1997  ax-7 2038  ax-8 2145  ax-9 2153  ax-ext 2735
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1810  df-sb 2097  df-clab 2742  df-cleq 2755  df-clel 2838  df-ral 3080  df-rab 3417  df-v 3457  df-dif 3908  df-un 3910  df-in 3912  df-ss 3922  df-nul 4287  df-if 4488  df-sn 4590  df-pr 4592  df-op 4596  df-uni 4873  df-br 5110  df-opab 5174  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-iota 6492  df-fun 6538  df-fn 6539  df-f 6540  df-fv 6544  df-mfs 35988
This theorem is referenced by:  mfsdisj  36042  mtyf2  36043  maxsta  36046  mvtinf  36047
  Copyright terms: Public domain W3C validator