在Coq中是否有一个布尔版本的`<`?

时间:2017-12-22 10:05:34

标签: coq

beq_nat一样,bool返回<进行eq比较,<=@ECHO OFF setlocal enableDelayedExpansion call :CheckFileExists .\Database.db3 echo CheckFileExists returned %ERRORLEVEL% IF %ERRORLEVEL% == 0 ( echo First check succeeded call :CheckFileExists .\dummy.txt echo CheckFileExists returned !ERRORLEVEL! IF !ERRORLEVEL! == 0 ( echo Second check succeeded ) ELSE ( echo Second check failed ) ) ELSE ( echo First check failed ) GOTO :eof :CheckFileExists IF exist %1 ( echo INFO: Necessary file exists: %1 ) ELSE ( echo ERROR: Necessary file missing: %1 EXIT /B 1 ) EXIT /B 是否有相应的内容?

1 个答案:

答案 0 :(得分:3)

是的,有固定点leb和定义ltb here。它们可以缩写为<?<=?

编辑:阅读ejgallego注释,它们在Coq.Init.Nat中定义(因此自动加载),但PeanoNat重新导出符号。