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

2021 Fiscal Year Research-status Report

動的型付けと静的型付けを融合した漸進的型付けのメタ理論

Research Project

Project/Area Number 19K20247
Research InstitutionNational Institute of Informatics

Principal Investigator

関山 太朗  国立情報学研究所, アーキテクチャ科学研究系, 助教 (80828476)

Project Period (FY) 2019-04-01 – 2023-03-31
Keywordsプログラミング言語 / 漸進的型付け / 多相性 / 継続渡し形式
Outline of Annual Research Achievements

当該年度は次の二つの課題について研究を進めた.
(1)多相コアーション計算体系:昨年に引き続き,多相性を含む漸進的型付き言語の実装モデルである多相コアーション計算体系について研究を行った.その結果,漸進的型付けでパラメリック多相を保証するための仕組みである動的名前生成を使用する場合,漸進的型付けの空間効率性(プログラムの実行にかかる空間消費量が元のプログラムから推測することができるという性質)が成り立たないことがわかった.この成果は国際ワークショップ Scheme and Functional Programming 2021 で発表済みである.また逆に,動的名前生成が多相コアーション計算体系のプログラムが空間効率的でなくなることの唯一の原因であることも示した.以上の成果をまとめた論文を国際会議に投稿中である.
(2)多相性の下での継続渡し形式への変換:多相的エフェクトハンドラの漸進的型システムを与えることを念頭に,その基礎付けとなり得る継続渡し形式(Continuation-Passing Style; CPS)への変換について研究を行った.その結果値呼び出しで型情報が暗黙的である多相型計算体系 Implicit System F に対し継続渡し形式への変換を与え,さらにそれがプログラムの型付けと意味を保存することを示した.以上の成果をまとめた論文が国際会議 ICFP 2021 に受理され,発表済みである.

Current Status of Research Progress
Current Status of Research Progress

2: Research has progressed on the whole more than it was originally planned.

Reason

多相コアーション計算体系(より一般的には動的名前生成をサポートする漸進的型付き言語)について当初は空間効率性が成り立つと予想していたが,その予想に反し空間効率性が成り立たないこと,動的名前生成がその唯一の原因であることなど,当初の想定していた以上の成果が得られた.また Implicit System F に対し型付けと意味を保存するような継続渡し形式への変換を与えることができるかは長年の未解決問題であったが,それを解決したことで一定の成果を得たと考えている.一方当初予定した列多相をサポートする漸進的型システムの研究については十分簡素なモデルが得られず新たに論文としてまとめる段階には至っていない.以上を総合的に評価し,進捗状況についてはおおむね順調に進展していると考える.

Strategy for Future Research Activity

列多相性を導入した漸進的型付き言語の研究を進める.プログラミング言語モデルへの要請として,多くのプログラムを表現することができる一方,簡素であることが求められる.今後の研究でもこの要求を満たす簡素なモデルを得ることを目指すが,難しい場合は応用として想定していた多相エフェクトハンドラをサポートする漸進的型付き言語を直接与えることを目指す.

Causes of Carryover

新型コロナウイルスの流行の継続により国内外の学会がオンラインでの開催となり,また研究出張や滞在も控えざるを得ない状況が続いたため.
翌年度の使用計画として,研究環境の整備や研究に必要な物品の購入および情勢が許せば旅費や滞在費として使用することを予定している.

  • Research Products

    (9 results)

All 2022 2021 Other

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

  • [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 Pages: 1~30

    • DOI

      10.1145/3473600

    • 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

    • Peer Reviewed
  • [Presentation] 分岐付き確率的プログラミング言語の実現に向けて2022

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

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

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

    • Author(s)
      Shota Ozaki
    • Organizer
      Scheme and Functional Programming Workshop
    • 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
    • Int'l Joint Research / Invited
  • [Presentation] 機械学習によるループ不変条件の発見2021

    • Author(s)
      関山 太朗
    • Organizer
      第24回情報論的学習理論ワークショップ(企画セッション1: ソフトウェア検証と機械学習)
    • Invited
  • [Remarks] 関山 太朗の researchmap ポータルページ

    • URL

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

URL: 

Published: 2022-12-28  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi