2
我正在研究软件基础并遇到错误。(https://softwarefoundations.cis.upenn.edu/lf-current/Maps.html)
From Coq Require Import Arith.Arith.
From Coq Require Import Bool.Bool.
Require Export Coq.Strings.String.
From Coq Require Import Logic.FunctionalExtensionality.
From Coq Require Import Lists.List.
Import ListNotations.
证明示例:
Lemma eqb_stringP : forall x y : string,
reflect (x = y) (eqb_string x y).
错误:在环境 x : string y : string 术语“eqb_string x y”的类型为“bool”,而预期的类型为“Datatypes.bool”。
关于如何进行的任何提示?