1. 首页
  2. 数据库
  3. 其它
  4. coq of ocaml:将OCaml程序导入Coq 源码

coq of ocaml:将OCaml程序导入Coq 源码

上传者: 2021-02-02 00:04:27上传 ZIP文件 1.2MB 热度 52次
食用辅酶 将OCaml程序导入Coq。 从文件main.ml开始: type 'a tree = | Leaf of 'a | Node of 'a tree * 'a tree let rec sum tree = match tree with | Leaf n -> n | Node ( tree1 , tree2 ) -> sum tree1 + sum tree2 跑: coq-of-ocaml main.ml 获取文件Main.v : Require Import CoqOfOCaml.CoqOfOCaml. Require Import CoqOfO
下载地址
用户评论