view paper/info.toml @ 146:f7f3a57a90c2

update
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sun, 14 Feb 2021 16:03:23 +0900
parents 6fa202c1db5f
children
line wrap: on
line source

author = "清水 隆博"
user_id = "198584B"

title = "GearsOSのメタ計算"
title_en = "GearsOS meta computation"

abstract = """
アプリケーションの信頼性を保証するには、土台となるOSの信頼性は高く保証されていなければならない。
信頼性を保証する方法としてテストコードを使う手法が広く使われている。
OSのソースコードは巨大であり、並列処理など実際に動かさないと発見できないバグが存在する。
OSの機能をテストですべて検証するのは不可能である。

テストに頼らず定理証明やモデル検査などの形式手法を使用して、OSの信頼性を保証したい。
証明を利用して信頼性を保証する定理証明は、 AgdaやCoqなどの定理証明支援系を利用することになる。
支援系を利用する場合、各支援系でOSを実装しなければならない。
証明そのものは可能であるが、 支援系で証明されたソースコードがそのままOSとして動作する訳ではない。
このためには定理証明されたコードを等価なC言語などに変換する処理系が必要となる。

信頼性を保証するほかの方法として、プログラムの可能な実行をすべて数え上げて仕様を満たしているかを確認するモデル検査がある。
モデル検査は実際に動作しているプログラムに対して実行することが可能である。
すでに実装したプログラムのコードに変化を加えずモデル検査を行いたい。

プログラムは本来やりたい計算であるノーマルレベルの計算と、その計算をするのに必要なメタレベルの計算に別けられる。
メタレベルの計算では資源管理などを行うが、 モデル検査などの証明をメタレベルの計算で行いたい。

この実現にはノーマルレベル、メタレベルの計算の処理の切り分けと、メタレベルの計算をより柔軟に扱うOS、言語処理系が必要となる。
両レベルを記述できる言語にContinuation Based (CbC)がある。
CbCはスタック、あるいは環境を持たず継続によって次の処理を行う特徴がある。
CbCを用いて、拡張性と信頼性を両立するOSであるGearsOSを開発している。

GearsOSの開発ではノーマルレベルのコードとメタレベルのコードの両方が必要であり、メタレベルの計算の数は多岐にわたる。
GearsOSの開発を進めていくには、メタレベルの計算を柔軟に扱うAPIや、 自動でメタレベルの計算を作製するGearsOSのビルドシステムが必須となる。
本研究ではGearsOSの信頼性と拡張性の保証につながる、メタ計算に関するAPIについて考察し、言語機能などの拡張を行った。
また、メタ計算を自動生成しているトランスパイラを改良し、従来のGearsOSのシステムよりさらに柔軟性が高いものを考案した。
"""


abstract_en = """
In order to guarantee the reliability of an application, the reliability of the underlying OS must be highly guaranteed.
The source code of an OS is huge, and there are bugs such as parallel processing that can only be discovered by actually running the OS.
It is impossible to verify all the functions of an OS by testing.

Instead of relying on tests, we want to use formal methods such as theorem proving and model checking to guarantee the reliability of the OS.
For theorem proving to guarantee reliability using proofs, we can use theorem proving support systems such as Agda and Coq.
Another method of guaranteeing reliability is model checking, in which all possible executions of a program are counted to verify that it meets the specifications.

A program can be divided into normal-level computation, which is the computation we want to do, and meta-level computation, which is the computation necessary to do the computation.
In meta-level computation, we want to perform resource management, etc., but we also want to perform proofs such as model checking in meta-level computation.

In order to achieve this, it is necessary to separate the processing of normal-level and meta-level computation, and to have an OS and language processing system that can handle meta-level computation more flexibly.
A language that can describe both levels is Continuation Based C (CbC).
CbC is characterized by the fact that it does not have a stack or an environment, and the next process is performed by continuation.
Using CbC, we are developing GearsOS, an OS that is both scalable and reliable.

The development of GearsOS requires both normal-level code and meta-level code, and the number of meta-level computations varies widely.
In order to proceed with the development of GearsOS, an API that can flexibly handle meta-level computations and a build system for GearsOS that can automatically create meta-level computations are essential.
In this study, we discussed the API for meta-calculus, which will guarantee the reliability and scalability of GearsOS, and extended the language functions.
We also improved the trans-compiler that automatically generates meta-calculus, and devised a system that is more flexible than the conventional GearsOS system.
"""

#自分の研究室の行の先頭の「#」を消してください

supervisor = "河野研"

thesis_pdf = "master_paper.pdf"

slide_path = "http://www.cr.ie.u-ryukyu.ac.jp/hg/Papers/2021/anatofuz-master/raw-file/tip/slide/index.html"