タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

Coqとプログラミングに関するhitotakuchanのブックマーク (1)

  • Coqでラムダ計算を証明してみた - みずぴー日記

    前からずっと取り組んでいた「Coqで単純型付きラムダ計算を証明してみよう」が一段落しました。 動機 let多相の実装はしたから、次は証明だろ 最近、流行っているCoqを覚えたい 扱えるラムダ式 型は、Bool型と関数型のみ。 Inductive type : Set := | BoolT : type | FunT : type -> type -> type. 式は、変数参照、真偽値、ラムダ(関数抽象)、関数適用、if式。 Inductive term : Set := Var : string -> term | Bool : bool -> term | Lambda : string -> type -> term -> term | Apply : term -> term -> term | If : term -> term -> term -> term. 証明した定理 型

    Coqでラムダ計算を証明してみた - みずぴー日記
  • 1