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

Metatheory for gradual typing integrating dynamic and static typing

Research Project

Project/Area Number 19K20247
Research Category

Grant-in-Aid for Early-Career Scientists

Allocation TypeMulti-year Fund
Review Section Basic Section 60050:Software-related
Research InstitutionNational Institute of Informatics

Principal Investigator

Sekiyama Taro  国立情報学研究所, アーキテクチャ科学研究系, 准教授 (80828476)

Project Period (FY) 2019-04-01 – 2024-03-31
Project Status Completed (Fiscal Year 2023)
Budget Amount *help
¥4,160,000 (Direct Cost: ¥3,200,000、Indirect Cost: ¥960,000)
Fiscal Year 2021: ¥1,430,000 (Direct Cost: ¥1,100,000、Indirect Cost: ¥330,000)
Fiscal Year 2020: ¥1,300,000 (Direct Cost: ¥1,000,000、Indirect Cost: ¥300,000)
Fiscal Year 2019: ¥1,430,000 (Direct Cost: ¥1,100,000、Indirect Cost: ¥330,000)
Keywords漸進的型付け / プログラミング言語 / 型システム / 多相性 / 計算効果 / レコード / 継続渡し形式 / 漸進的型システム
Outline of Research at the Start

ソフトウェアを検証するために広く使用されている方法として型システムがある。型システムは実行前に検証を行う静的型付けと実行時に検証を行う動的型付けに大別することができ、それぞれ相補的な長所と短所をもつ。
本研究ではこれら二つの異なる型付けを組み合わせ、両者の長所を活かすことのできる、漸進的型付けと呼ばれるソフトウェア検証手法に関する研究を行う。本研究では特に漸進的型付き言語の正しい設計方針と漸進的型付けの理論的限界を与える漸進的型付けのメタ理論について研究を行い、漸進的型付け理論の研究を正しく加速させ、高生産・高信頼なソフトウェア開発を実現することを目指す。

Outline of Final Research Achievements

This research aims to "advance the theory of gradual typing" and "explore the limitation of gradual typing." To this end, we focused on parametric polymorphism, a type-based mechanism to enhance the reuse of program components. In particular, we studied (1) a relationship between parametric polymorphism and space-efficiency, (2) a relationship between parametric polymorphism and data structures, and (3) a relationship between parametric polymorphism and computational effects. The results we obtained can be summarized as follows: (1) We proved that there is a trade-off between parametric polymorphism and space-efficiency in gradual typing. (2) We successfully introduced extensible data structures and row polymorphism into gradual typing. (3) We successfully provided novel polymorphic type systems for algebraic effect handlers, a programming mechanism to implement various computational effects in a programmable manner.

Academic Significance and Societal Importance of the Research Achievements

漸進的型付けは動的・静的型付けの長所を臨機応変に使い分けることのできる新たな型付け方式で、TypeScriptをはじめ、様々なプログラミング言語で実用化されている。一方漸進的型付けによって保証される性質を理論的に解析することは、漸進的型付けの有用性を明らかにする上で重要である。本研究の目的は「漸進的型付けの更なる発展」と「漸進的型付けの限界を探る」ための理論研究を推進することである。またこれらの研究を通じ、将来的に「漸進的型付けの核はどこにあるのか」という根源的かつメタ的な問いを明らかにし、漸進的型付けの研究を正しい方向に加速させ、その抜本的な改革につながることを目指す。

Report

(6 results)
  • 2023 Annual Research Report   Final Research Report ( PDF )
  • 2022 Research-status Report
  • 2021 Research-status Report
  • 2020 Research-status Report
  • 2019 Research-status Report
  • Research Products

    (24 results)

All 2024 2023 2022 2021 2020 2019 Other

All Int'l Joint Research (1 results) Journal Article (7 results) (of which Int'l Joint Research: 1 results,  Peer Reviewed: 6 results,  Open Access: 6 results) Presentation (14 results) (of which Int'l Joint Research: 8 results,  Invited: 4 results) Remarks (2 results)

  • [Int'l Joint Research] University of Freiburg(ドイツ)

    • Related Report
      2023 Annual Research Report
  • [Journal Article] Answer Refinement Modification: Refinement Type System for Algebraic Effects and Handlers2024

    • Author(s)
      Kawamata Fuga, Unno Hiroshi, Sekiyama Taro, Terauchi Tachio
    • Journal Title

      Proceedings of the ACM on Programming Languages (POPL)

      Volume: 8 Issue: POPL Pages: 115-147

    • DOI

      10.1145/3633280

    • Related Report
      2023 Annual Research Report
    • Peer Reviewed / Open Access
  • [Journal Article] Space-Efficient Polymorphic Gradual Typing, Mostly Parametric2024

    • Author(s)
      Atsushi Igarashi, Shota Ozaki, Taro Sekiyama, Yudai Tanabe
    • Journal Title

      Proceedings of the ACM on Programming Languages (PLDI)

      Volume: - Issue: PLDI Pages: 1585-1608

    • DOI

      10.1145/3656441

    • Related Report
      2023 Annual Research Report
    • Peer Reviewed / Open Access
  • [Journal Article] 暗黙に相互運用可能なレコードとハッシュテーブルのための型推論とコンパイル手法2022

    • Author(s)
      梅木 孝輔、関山 太朗、五十嵐 淳
    • Journal Title

      日本ソフトウェア科学会第39回大会論文集

      Volume: -

    • Related Report
      2022 Research-status Report
    • Open Access
  • [Journal Article] CPS transformation with affine types for call-by-value implicit polymorphism2021

    • Author(s)
      Sekiyama Taro、Tsukada Takeshi
    • Journal Title

      Proceedings of the ACM on Programming Languages (ICFP)

      Volume: 5 Issue: ICFP Pages: 1-30

    • DOI

      10.1145/3473600

    • Related Report
      2021 Research-status Report
    • Peer Reviewed / Open Access
  • [Journal Article] Toward Neural-Network-Guided Program Synthesis and Verification2021

    • Author(s)
      Kobayashi Naoki、Sekiyama Taro、Sato Issei、Unno Hiroshi
    • Journal Title

      Lecture Notes in Computer Science (SAS)

      Volume: 12913 Pages: 236-260

    • DOI

      10.1007/978-3-030-88806-0_12

    • ISBN
      9783030888053, 9783030888060
    • Related Report
      2021 Research-status Report
    • Peer Reviewed
  • [Journal Article] Signature restriction for polymorphic algebraic effects2020

    • Author(s)
      Sekiyama Taro、Tsukada Takeshi、Igarashi Atsushi
    • Journal Title

      Proceedings of the ACM on Programming Languages (ICFP)

      Volume: 4 Issue: ICFP Pages: 1-30

    • DOI

      10.1145/3408999

    • Related Report
      2020 Research-status Report
    • Peer Reviewed / Open Access
  • [Journal Article] Weighted Automata Extraction from Recurrent Neural Networks via Regression on State Spaces2020

    • Author(s)
      Takamasa Okudono, Masaki Waga, Taro Sekiyama, Ichiro Hasuo
    • Journal Title

      Proceedings of AAAI Conference on Artificial Intelligence (AAAI)

      Volume: 34 Issue: 04 Pages: 5306-5314

    • DOI

      10.1609/aaai.v34i04.5977

    • Related Report
      2019 Research-status Report
    • Peer Reviewed / Open Access / Int'l Joint Research
  • [Presentation] Answer-Refinement Modification: A refinement type system for algebraic effect handlers2023

    • Author(s)
      Taro Sekiyama
    • Organizer
      Shonan Meeting No. 203 (Effect Handlers and General-Purpose Languages)
    • Related Report
      2023 Annual Research Report
    • Int'l Joint Research / Invited
  • [Presentation] 暗黙に相互運用可能なレコードとハッシュテーブルのための型推論とコンパイル手法2022

    • Author(s)
      梅木 孝輔、関山 太朗、五十嵐 淳
    • Organizer
      日本ソフトウェア科学会第39回大会
    • Related Report
      2022 Research-status Report
  • [Presentation] 分岐付き確率的プログラミング言語の実現に向けて2022

    • Author(s)
      兼光 琢真
    • Organizer
      第24回プログラミングおよびプログラミング言語ワークショップ(PPL 2022)
    • Related Report
      2021 Research-status Report
  • [Presentation] CPS transformation with affine types for call-by-value implicit polymorphism2021

    • Author(s)
      Sekiyama Taro
    • Organizer
      International Conference on Functional Programming (ICFP)
    • Related Report
      2021 Research-status Report
    • Int'l Joint Research
  • [Presentation] Toward Neural-Network-Guided Program Synthesis and Verification2021

    • Author(s)
      Naoki Kobayashi
    • Organizer
      Static Analysis Symposium (SAS)
    • Related Report
      2021 Research-status Report
    • Int'l Joint Research
  • [Presentation] Is Space-Efficient Polymorphic Gradual Typing Possible?2021

    • Author(s)
      Shota Ozaki
    • Organizer
      Scheme and Functional Programming Workshop
    • Related Report
      2021 Research-status Report
    • Int'l Joint Research
  • [Presentation] CPS Transformation with Affine Types for Implicit Polymorphism2021

    • Author(s)
      Sekiyama Taro
    • Organizer
      Dagstuhl Seminar 20312, Scalable Handling of Effects
    • Related Report
      2021 Research-status Report
    • Int'l Joint Research / Invited
  • [Presentation] 機械学習によるループ不変条件の発見2021

    • Author(s)
      関山 太朗
    • Organizer
      第24回情報論的学習理論ワークショップ(企画セッション1: ソフトウェア検証と機械学習)
    • Related Report
      2021 Research-status Report
    • Invited
  • [Presentation] Signature Restriction for Polymorphic Algebraic Effects ICFP 20202021

    • Author(s)
      Taro Sekiyama, Takeshi Tsukada, Atsushi Igarashi
    • Organizer
      第23回プログラミングおよびプログラミング言語ワークショップ (PPL2021)
    • Related Report
      2020 Research-status Report
  • [Presentation] レコードとハッシュテーブルの暗黙な相互運用を可能にする型推論とコンパイル手法2021

    • Author(s)
      梅木 孝輔, 関山 太朗, 五十嵐 淳
    • Organizer
      第23回プログラミングおよびプログラミング言語ワークショップ (PPL2021)
    • Related Report
      2020 Research-status Report
  • [Presentation] Signature restriction for polymorphic algebraic effects2020

    • Author(s)
      Taro Sekiyama, Takeshi Tsukada, Atsushi Igarashi
    • Organizer
      The 25th ACM SIGPLAN International Conference on Functional Programming (ICFP)
    • Related Report
      2020 Research-status Report
    • Int'l Joint Research
  • [Presentation] Weighted Automata Extraction from Recurrent Neural Networks via Regression on State Spaces2020

    • Author(s)
      Takamasa Okudono, Masaki Waga, Taro Sekiyama, Ichiro Hasuo
    • Organizer
      AAAI Conference on Artificial Intelligence (AAAI)
    • Related Report
      2019 Research-status Report
    • Int'l Joint Research
  • [Presentation] Gradual Typing for Extensibility by Rows2020

    • Author(s)
      Taro Sekiyama, Atsushi Igarashi
    • Organizer
      ACM SIGPLAN Workshop on Gradual Typing (WGT)
    • Related Report
      2019 Research-status Report
    • Int'l Joint Research
  • [Presentation] Weighted Automata Extraction from Recurrent Neural Networks via Regression2019

    • Author(s)
      関山 太朗
    • Organizer
      第22回情報論的学習理論ワークショップ
    • Related Report
      2019 Research-status Report
    • Invited
  • [Remarks] 関山 太朗の researchmap ポータルページ

    • URL

      https://researchmap.jp/t-sekiym/

    • Related Report
      2021 Research-status Report 2020 Research-status Report
  • [Remarks] https://researchmap.jp/t-sekiym/

    • Related Report
      2019 Research-status Report

URL: 

Published: 2019-04-18   Modified: 2025-01-30  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi