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 35765
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 6842 . . . . . . 7 (𝑡 = 𝑇 → (mCN‘𝑡) = (mCN‘𝑇))
2 ismfs.c . . . . . . 7 𝐶 = (mCN‘𝑇)
31, 2eqtr4di 2790 . . . . . 6 (𝑡 = 𝑇 → (mCN‘𝑡) = 𝐶)
4 fveq2 6842 . . . . . . 7 (𝑡 = 𝑇 → (mVR‘𝑡) = (mVR‘𝑇))
5 ismfs.v . . . . . . 7 𝑉 = (mVR‘𝑇)
64, 5eqtr4di 2790 . . . . . 6 (𝑡 = 𝑇 → (mVR‘𝑡) = 𝑉)
73, 6ineq12d 4175 . . . . 5 (𝑡 = 𝑇 → ((mCN‘𝑡) ∩ (mVR‘𝑡)) = (𝐶𝑉))
87eqeq1d 2739 . . . 4 (𝑡 = 𝑇 → (((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ↔ (𝐶𝑉) = ∅))
9 fveq2 6842 . . . . . 6 (𝑡 = 𝑇 → (mType‘𝑡) = (mType‘𝑇))
10 ismfs.y . . . . . 6 𝑌 = (mType‘𝑇)
119, 10eqtr4di 2790 . . . . 5 (𝑡 = 𝑇 → (mType‘𝑡) = 𝑌)
12 fveq2 6842 . . . . . 6 (𝑡 = 𝑇 → (mTC‘𝑡) = (mTC‘𝑇))
13 ismfs.k . . . . . 6 𝐾 = (mTC‘𝑇)
1412, 13eqtr4di 2790 . . . . 5 (𝑡 = 𝑇 → (mTC‘𝑡) = 𝐾)
1511, 6, 14feq123d 6659 . . . 4 (𝑡 = 𝑇 → ((mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡) ↔ 𝑌:𝑉𝐾))
168, 15anbi12d 633 . . 3 (𝑡 = 𝑇 → ((((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ∧ (mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡)) ↔ ((𝐶𝑉) = ∅ ∧ 𝑌:𝑉𝐾)))
17 fveq2 6842 . . . . . 6 (𝑡 = 𝑇 → (mAx‘𝑡) = (mAx‘𝑇))
18 ismfs.a . . . . . 6 𝐴 = (mAx‘𝑇)
1917, 18eqtr4di 2790 . . . . 5 (𝑡 = 𝑇 → (mAx‘𝑡) = 𝐴)
20 fveq2 6842 . . . . . 6 (𝑡 = 𝑇 → (mStat‘𝑡) = (mStat‘𝑇))
21 ismfs.s . . . . . 6 𝑆 = (mStat‘𝑇)
2220, 21eqtr4di 2790 . . . . 5 (𝑡 = 𝑇 → (mStat‘𝑡) = 𝑆)
2319, 22sseq12d 3969 . . . 4 (𝑡 = 𝑇 → ((mAx‘𝑡) ⊆ (mStat‘𝑡) ↔ 𝐴𝑆))
24 fveq2 6842 . . . . . 6 (𝑡 = 𝑇 → (mVT‘𝑡) = (mVT‘𝑇))
25 ismfs.f . . . . . 6 𝐹 = (mVT‘𝑇)
2624, 25eqtr4di 2790 . . . . 5 (𝑡 = 𝑇 → (mVT‘𝑡) = 𝐹)
2711cnveqd 5832 . . . . . . . 8 (𝑡 = 𝑇(mType‘𝑡) = 𝑌)
2827imaeq1d 6026 . . . . . . 7 (𝑡 = 𝑇 → ((mType‘𝑡) “ {𝑣}) = (𝑌 “ {𝑣}))
2928eleq1d 2822 . . . . . 6 (𝑡 = 𝑇 → (((mType‘𝑡) “ {𝑣}) ∈ Fin ↔ (𝑌 “ {𝑣}) ∈ Fin))
3029notbid 318 . . . . 5 (𝑡 = 𝑇 → (¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin ↔ ¬ (𝑌 “ {𝑣}) ∈ Fin))
3126, 30raleqbidv 3318 . . . 4 (𝑡 = 𝑇 → (∀𝑣 ∈ (mVT‘𝑡) ¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin ↔ ∀𝑣𝐹 ¬ (𝑌 “ {𝑣}) ∈ Fin))
3223, 31anbi12d 633 . . 3 (𝑡 = 𝑇 → (((mAx‘𝑡) ⊆ (mStat‘𝑡) ∧ ∀𝑣 ∈ (mVT‘𝑡) ¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin) ↔ (𝐴𝑆 ∧ ∀𝑣𝐹 ¬ (𝑌 “ {𝑣}) ∈ Fin)))
3316, 32anbi12d 633 . 2 (𝑡 = 𝑇 → (((((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ∧ (mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡)) ∧ ((mAx‘𝑡) ⊆ (mStat‘𝑡) ∧ ∀𝑣 ∈ (mVT‘𝑡) ¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin)) ↔ (((𝐶𝑉) = ∅ ∧ 𝑌:𝑉𝐾) ∧ (𝐴𝑆 ∧ ∀𝑣𝐹 ¬ (𝑌 “ {𝑣}) ∈ Fin))))
34 df-mfs 35712 . 2 mFS = {𝑡 ∣ ((((mCN‘𝑡) ∩ (mVR‘𝑡)) = ∅ ∧ (mType‘𝑡):(mVR‘𝑡)⟶(mTC‘𝑡)) ∧ ((mAx‘𝑡) ⊆ (mStat‘𝑡) ∧ ∀𝑣 ∈ (mVT‘𝑡) ¬ ((mType‘𝑡) “ {𝑣}) ∈ Fin))}
3533, 34elab2g 3637 1 (𝑇𝑊 → (𝑇 ∈ mFS ↔ (((𝐶𝑉) = ∅ ∧ 𝑌:𝑉𝐾) ∧ (𝐴𝑆 ∧ ∀𝑣𝐹 ¬ (𝑌 “ {𝑣}) ∈ Fin))))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 206  wa 395   = wceq 1542  wcel 2114  wral 3052  cin 3902  wss 3903  c0 4287  {csn 4582  ccnv 5631  cima 5635  wf 6496  cfv 6500  Fincfn 8895  mCNcmcn 35676  mVRcmvar 35677  mTypecmty 35678  mVTcmvt 35679  mTCcmtc 35680  mAxcmax 35681  mStatcmsta 35691  mFScmfs 35692
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1912  ax-6 1969  ax-7 2010  ax-8 2116  ax-9 2124  ax-ext 2709
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 849  df-3an 1089  df-tru 1545  df-fal 1555  df-ex 1782  df-sb 2069  df-clab 2716  df-cleq 2729  df-clel 2812  df-ral 3053  df-rab 3402  df-v 3444  df-dif 3906  df-un 3908  df-in 3910  df-ss 3920  df-nul 4288  df-if 4482  df-sn 4583  df-pr 4585  df-op 4589  df-uni 4866  df-br 5101  df-opab 5163  df-rel 5639  df-cnv 5640  df-co 5641  df-dm 5642  df-rn 5643  df-res 5644  df-ima 5645  df-iota 6456  df-fun 6502  df-fn 6503  df-f 6504  df-fv 6508  df-mfs 35712
This theorem is referenced by:  mfsdisj  35766  mtyf2  35767  maxsta  35770  mvtinf  35771
  Copyright terms: Public domain W3C validator