• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to previous page

Type Theory for Software Safety

Research Project

Project/Area Number 17300003
Research Category

Grant-in-Aid for Scientific Research (B)

Allocation TypeSingle-year Grants
Section一般
Research Field Software
Research InstitutionTohoku University

Principal Investigator

KOBAYSHI Naoki  Tohoku University, Graduate School of Information Sciences, Professor (00262155)

Co-Investigator(Kenkyū-buntansha) SUMII Eijiro  Tohoku University, Graduate School of Information Sciences, Associate Professor (00333550)
IGARASHI Atsushi  Kyoto University, Graduate School of Informatics, Associate Professor (40323456)
TERAUCHI Tachio  Tohoku University, Graduate School of Information Sciences, Assistant Professor (70447150)
Project Period (FY) 2005 – 2007
Project Status Completed (Fiscal Year 2008)
Budget Amount *help
¥12,160,000 (Direct Cost: ¥10,900,000、Indirect Cost: ¥1,260,000)
Fiscal Year 2007: ¥5,460,000 (Direct Cost: ¥4,200,000、Indirect Cost: ¥1,260,000)
Fiscal Year 2006: ¥3,100,000 (Direct Cost: ¥3,100,000)
Fiscal Year 2005: ¥3,600,000 (Direct Cost: ¥3,600,000)
Keywordsprogram verification / program analysis / type theory / functional programs / concurrent programs / information flow analysis / 型システム / デッドロック / 資源使用法解析 / プログラム等価性 / 線形最適化問題 / 割り込み / 双模倣 / プログラム変換 / XML
Research Abstract

The purpose of this project was to enhance software verification techniques based on formal methods such as type theories. The primary goal was to refine and extend our previous type-based verification techniques so that they can be used for verification of realistic programs.
The main results are summarized as follows. For each topic, we have implemented a prototype verification system and confirmed the effectiveness of the verification technique.
1. Verification methods for functional programs
A main shortcoming of our previous type-based technique for resource usage verification was that it did not properly handle advanced language mechanisms such as exceptions. We have extended the previous resource usage verification technique to deal with exceptions. We have also devised an (incomplete) algorithm to infer dependent types, to enable automatic but more precise program analysis than previous methods.
2. Verification methods for concurrent programs
The main shortcomings of our previous verification method were that it was too imprecise and that it did not handle some common primitives such as reference cells and interrupts. To address the former issue, we have integrated our previous type-based method with model-checking techniques. For the latter issue, we have developed verification methods for a C-like language with interrupts and reference cells.
3. Information Flow Analysis
We have integrated a type-based technique for information flow analysis with a mode-checking technique. The resulting analysis is more precise than previous type-based techniques, and more efficient than previous model-checking techniques for information flow analysis.

Report

(4 results)
  • 2008 Final Research Report Summary
  • 2007 Annual Research Report
  • 2006 Annual Research Report
  • 2005 Annual Research Report
  • Research Products

    (44 results)

All 2008 2007 2006 2005 Other

All Journal Article (40 results) (of which Peer Reviewed: 23 results) Presentation (4 results)

  • [Journal Article] A Hybrid Type System for Lock-Freedom of Mobile Processes2008

    • Author(s)
      Naoki Kobayashi, Davide Sangiorgi
    • Journal Title

      Proceedings of the 20th International Conference on Computer Aided Verification(CAV'08) 5123

      Pages: 80-93

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] On-Demand Refinement of Dependent Types2008

    • Author(s)
      Hiroshi Unno, Naoki Kobayashi
    • Journal Title

      Proceedings of the 9th International Symposium on Functional and Logic Programming(FLOPS'08) 4989

      Pages: 81-96

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Linear Declassification2008

    • Author(s)
      Yuta Kaneko, Naoki Kobayashi
    • Journal Title

      Proceedings of the 17th European Symposium on Programming(ESOP'08) 4960

      Pages: 224-238

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Inferring Channel Buffer Bounds via Linear Programming2008

    • Author(s)
      Tachio Terauchi, Adam Megacz
    • Journal Title

      Proceedings of the 17th European Symposium on Programming(ESOP'08) 4960

      Pages: 284-298

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] A New Type System for JVM Lock Primitives2008

    • Author(s)
      Futoshi Iwama, Naoki Kobayashi
    • Journal Title

      New Generation Computing 26(2)

      Pages: 125-170

    • NAID

      130004548967

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] On the Complexity of Termination Inference for Processes2008

    • Author(s)
      Romain Demangeon, Daniel Hirschkoff, Naoki Kobayashi and Davide Sagiorgi
    • Journal Title

      Proceedings of Trustworthy Global Computing 2007(TGC'07), Springer Lecture Notes in Computer Science 4912

      Pages: 140-155

    • Related Report
      2007 Annual Research Report
    • Peer Reviewed
  • [Journal Article] Inferring Channel Buffer Bounds via Linear Programming2008

    • Author(s)
      Tachio Terauchi and Adam Megacz
    • Journal Title

      Proceedings of the 17th European Symposium on Programming(ESOP'08), Springer Lecture Notes in Computer Science 4960

      Pages: 284-298

    • Related Report
      2007 Annual Research Report
    • Peer Reviewed
  • [Journal Article] On the Complexity of Termination Inference for Processes2007

    • Author(s)
      Romain Demangeon, Daniel Hirschkoff, Naoki Kobayashi, Davide Sangiorgi
    • Journal Title

      Proceedings of Trustworthy Global Computing(TGC'07) 4912

      Pages: 140-155

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Type-Based Verification of Correspondence Assertions for Communication Protocols2007

    • Author(s)
      Daisuke Kikuchi, Naoki Kobayashi
    • Journal Title

      Proceedings of the 5th ASIAN Symposium on Programming Languages and Systems(APLAS'07) 4807

      Pages: 191-205

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Environmental Bisimulations for Higher-Order Languages2007

    • Author(s)
      Davide Sangiorgi, Naoki Kobayashi, Eijiro Sumii
    • Journal Title

      Proceedings of the 22nd Annual IEEE Symposium on Logic in Computer Science(LICS'07)

      Pages: 293-302

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Undecidability of 2-Label BPP Equivalences and Behavioral Type Systems for the Pi-Calculus2007

    • Author(s)
      Naoki Kobayashi, Takashi Suto
    • Journal Title

      Proceedings of the 34th International Colloquium on Automata, Languages and Programming(ICALP'07) 4596

      Pages: 740-751

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] 並行プログラミング言語へのチャネル使用法宣言の導入2007

    • Author(s)
      須藤崇, 小林直樹
    • Journal Title

      情報処理学会論文誌:プログラミング 48(SIG10(PRO33))

      Pages: 101-113

    • NAID

      110006291060

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Type-Based Analysis of Deadlock for a Concurrent Calculus with Interrupts2007

    • Author(s)
      Kohei Suenaga, Naoki Kobayashi
    • Journal Title

      Proceedings of the 16th European Symposium on Programming(ESOP'07) 4421

      Pages: 490-504

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] 計算資源使用法検証における計算資源の仕様と実際の使用法の間の適合性検証アルゴリズム2007

    • Author(s)
      岩間太, 五十嵐淳, 小林直樹
    • Journal Title

      情報処理学会論文誌:プログラミング 48(SIG4(PRO32))

      Pages: 48-61

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Introduction of Channel Usage Declaration for Concurrent Programming Languages2007

    • Author(s)
      Takashi Suto, Naoki Kobayashi
    • Journal Title

      IPSJ Transactions on Programming 48(SIG 10(PRO 33))

      Pages: 101-113

    • NAID

      110006291060

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2008 Final Research Report Summary
  • [Journal Article] An Algorithm to Decide Conformance of Resource Usage to Specification for Resource Usage Verification2007

    • Author(s)
      Futoshi Iwama, Atsushi Igarashi, Naoki Kobayashi
    • Journal Title

      IPSJ Transactions on Programming 48(SIG 4(PRO 32))

      Pages: 48-61

    • NAID

      110006242945

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2008 Final Research Report Summary
  • [Journal Article] Undecidability of 2-Label BPP Equivalences and Behavioral Type Systems for the Pi-Calculus2007

    • Author(s)
      Naoki Kobayashi and Takashi Suto
    • Journal Title

      Proceedings of the 34th International Colloquium on Automata, Languages and Programming(ICALP'07) 4596

      Pages: 740-751

    • Related Report
      2007 Annual Research Report
    • Peer Reviewed
  • [Journal Article] Type-Based Verification of Correspondence Assertions for Communication Protocols2007

    • Author(s)
      Daisuke Kikuchi and Naoki Kobayashi
    • Journal Title

      Proceedings of the 5th Asian Symposium on Programming Languages and Systems(APLAS'07), Springer Lecture Notes in Computer Science 4807

      Pages: 191-205

    • Related Report
      2007 Annual Research Report
    • Peer Reviewed
  • [Journal Article] 計算資源使用法検証における計算資源の仕様と実際の使用法の間の適合性検証アルゴリズム2007

    • Author(s)
      岩間 太, 五十嵐 淳, 小林 直樹
    • Journal Title

      情報処理学会プログラミング研究会論文誌 48・SIG4

      Pages: 48-61

    • Related Report
      2006 Annual Research Report
  • [Journal Article] Environmental Bisimulations for Higher-Order Languages2007

    • Author(s)
      Davide Sangiorgi, Naoki kobayashi, Eijiro Sumii
    • Journal Title

      Proceedings of IEEE Symposium on Logic in Computer Science (LICS 2007) (出版決定)

    • Related Report
      2006 Annual Research Report
  • [Journal Article] Type-Based Analysis of Deadlock for a Concurrent Calculus with Interrupts2007

    • Author(s)
      Kohei Suenaga, Naoki Kobayashi
    • Journal Title

      Proceedings of 16th European Symposium on Programming (ESOP'07), Springer Lecture Notes in Computer Science 4421

      Pages: 490-504

    • Related Report
      2006 Annual Research Report
  • [Journal Article] Proving Noninterference by a Fully Complete Translation to the Simply Typed λ-Calculus2006

    • Author(s)
      Naokata Shikuma, Atsushi Igarashi
    • Journal Title

      Proceedings of the 11th Annual Asian Computing Science Conference(ASIAN'06) 4435

      Pages: 302-316

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Resource Usage Analysis for the Pi-Calculus2006

    • Author(s)
      Naoki Kobayashi, Kohei Suenaga, Lucian Wischik
    • Journal Title

      Logical Methods in Computer Science 2(3:4)

      Pages: 1-42

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] A New Type System for Deadlock-Free Processes2006

    • Author(s)
      小林直樹
    • Journal Title

      Proceedings of the 17th International Conference on Concurrency Theory(CONCUR'06) 4137

      Pages: 233-247

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Combining Type-Based Analysis and Model Checking for Finding Counterexamples against Non-Interference2006

    • Author(s)
      Hiroshi Unno, Naoki Kobayashi, Akinori Yonezawa
    • Journal Title

      Proceedings of ACM SIGPLAN Workshop on Programming Languages and Analysis for Security(PLAS'06)

      Pages: 17-26

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Resource Usage Analysis for a Functional Language with Exceptions2006

    • Author(s)
      Futoshi Iwama, Atsushi Igarashi, Naoki Kobayashi
    • Journal Title

      Proceedings of ACM SIGPLAN 2006 Workshop on Partial Evaluation and Program Manipulation(PEPM'06)

      Pages: 38-47

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Resource Usage Analysis for the Pi-Calculus2006

    • Author(s)
      Naoki Kobayashi, Kohei Suenaga, Lucian Wischik
    • Journal Title

      Proceedings of the 7th International Conference on Verification, Model Checking, and Abstract Interpretation(VMCAI'06) 3855

      Pages: 298-312

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] A New Type System for Deadlock-Free Processes2006

    • Author(s)
      Naoki Kobayashi
    • Journal Title

      Proceedings of the 17th International Conference on Concurrency Theory(CONCUR'06) 4137

      Pages: 233-247

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2008 Final Research Report Summary
  • [Journal Article] Resource Usage Analysis for the Pi-Calculus2006

    • Author(s)
      Naoki Kobayashi, Kohei Suenaga, Lucian Wischik
    • Journal Title

      Logical Methods in Computer Science 22・2:3

      Pages: 1-42

    • Related Report
      2006 Annual Research Report
  • [Journal Article] A New Type System for Deadlock-Free Processes2006

    • Author(s)
      Naoki Kobayashi
    • Journal Title

      Proceedings of CONCUR 2006, Springer Lecture Notes in Computer Science 4137

      Pages: 233-247

    • Related Report
      2006 Annual Research Report
  • [Journal Article] Combining Type-Based Analysis and Model Checking for Finding Counterexamples against Non-Interference2006

    • Author(s)
      Hiroshi Unno, Naoki Kobayashi, Akinori Yonezawa
    • Journal Title

      Proceedings of ACM SIGPLAN Workshop on Programming Languages and Analysis for Security (PLAS 2006)

      Pages: 17-26

    • Related Report
      2006 Annual Research Report
  • [Journal Article] Resource usage analysis for a functional language with exceptions2006

    • Author(s)
      Futoshi Iwama, Atsushi Igarashi, Naoki Kobayashi
    • Journal Title

      Proceedings of ACM SIGPLAN 2006 Workshop on Partial Evaluation and Program Manipulation (PEPM 2006)

      Pages: 38-47

    • Related Report
      2005 Annual Research Report
  • [Journal Article] Resource usage analysis for the pi-calculus2006

    • Author(s)
      Naoki Kobayashi, Kohei Suenaga, Lucian Wischik
    • Journal Title

      Verification, Model Checking, and Abstract Interpretation (Proceedings of UMCAI' 06) 3855

      Pages: 298-312

    • Related Report
      2005 Annual Research Report
  • [Journal Article] Extension of type-based approach to generation of stream-processing programs by automatic insertion of buffering primitives2006

    • Author(s)
      Kohei Suenaga, Naoki Kobayashi, Akinori Yonezawa
    • Journal Title

      Proceedings of LOPSTER 2005 3901

      Pages: 98-114

    • Related Report
      2005 Annual Research Report
  • [Journal Article] 様相型に基づく情報流解析における非干渉性の論理関係による一般化とその証明2006

    • Author(s)
      四熊尚方, 五十嵐淳
    • Journal Title

      第8回プログラミングおよびプログラミング言語ワークショップ(PPL2006)オンライン論文集

      Pages: 134-149

    • Related Report
      2005 Annual Research Report
  • [Journal Article] Type-Based Information Flow Analysis for the Pi-Calculus2005

    • Author(s)
      小林直樹
    • Journal Title

      Acta Informatica 42(4-5)

      Pages: 291-347

    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
    • Peer Reviewed
  • [Journal Article] Type-Based Information Flow Analysis for the Pi-Calculus2005

    • Author(s)
      Naoki Kobayashi
    • Journal Title

      Acta Informatica 42(4-5)

      Pages: 291-347

    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2008 Final Research Report Summary
  • [Journal Article] Type-based information flow analysis for the pi-calculus2005

    • Author(s)
      Naoki Kobayashi
    • Journal Title

      Acta Informatica 41・4-5

      Pages: 291-347

    • Related Report
      2005 Annual Research Report
  • [Journal Article] MinCaml : A Simple and Efficient Compiler for a Minimal Functional Language2005

    • Author(s)
      Eijiro Sumii
    • Journal Title

      Functional and Declarative Programming in Education (FDPE05)

      Pages: 27-38

    • Related Report
      2005 Annual Research Report
  • [Journal Article] A Bisimulation for Dynamic Sealing

    • Author(s)
      Eijiro Sumii, Benjamin C.Pierce
    • Journal Title

      Theoretical Computer Science (出版予定)

    • Related Report
      2005 Annual Research Report
  • [Presentation] Substructural Type Systems for Program Analysis2008

    • Author(s)
      Naoki Kobayashi
    • Organizer
      Proceedings of the 9th International Symposium on Functional and Logic Programming(FLOPS'08)
    • Place of Presentation
      三重県伊勢市
    • Year and Date
      2008-04-16
    • Description
      「研究成果報告書概要(和文)」より
    • Related Report
      2008 Final Research Report Summary
  • [Presentation] Substructural Type Systems for Program Analysis2008

    • Author(s)
      Naoki Kobayashi
    • Organizer
      Proceedings of the 9th International Symposium on Functional and Logic Programming(FLOPS'08)
    • Place of Presentation
      Ise, Mie
    • Year and Date
      2008-04-16
    • Description
      「研究成果報告書概要(欧文)」より
    • Related Report
      2008 Final Research Report Summary
  • [Presentation] 型エラースライシングによるデッドロックの原因個所の特定2008

    • Author(s)
      飯村 枝里、末永 幸平、小林 直樹
    • Organizer
      情報処理学会 第68回プログラミング研究会
    • Place of Presentation
      日本IBM(株)東京基礎研究所
    • Year and Date
      2008-03-17
    • Related Report
      2007 Annual Research Report
  • [Presentation] 文脈依存資源使用解析のための型システム2008

    • Author(s)
      仲井間 達也、五十嵐 淳、小林 直樹
    • Organizer
      第10回プログラミングおよびプログラミング言語ワークショップ(PPL'08)
    • Place of Presentation
      仙台市
    • Year and Date
      2008-03-06
    • Related Report
      2007 Annual Research Report

URL: 

Published: 2005-04-01   Modified: 2016-04-21  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi