我有两种数据类型和一个转换函数,可以从一种数据类型转换为另一种数据类型
<pre><code>data TTerm : Set
我有以下形式的 agda 代码片段:
<pre><code>
Terminates : ? → S → Set
Terminates c s = Σ[ n ∈ ℕ ] ( Is-just (proj
我正在分析 <a href="https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm" rel="nofollow noreferrer">Douglas
我试图重新创建自然数的简化版本,以用于学习目的(因为它涉及归纳定义、递归函数等......)。然而
Idris 具有非常简单的 <code>cong</code> 函数。
<pre><code>cong : {f : t -> u} -> a = b -> f a = f b
cong Refl = Ref
<strong>嗨,
我在试图解决这个 excersie 不知所措。我真的很感激一些帮助!
谢谢。</strong>
定义:一
免责声明:这<strong>不是</strong>家庭作业问题。
我正在尝试在 Coq 中实现我自己的 <code>rev_append</code
经历了 <a href="https://softwarefoundations.cis.upenn.edu/slf-current/toc.html" rel="nofollow noreferrer">Separation Logic Foundations
对具有 n 个元素且 <strong>EVERY</strong> 元素在排序后与它的位置原先相距 10 个位置的数组进行排序的最有
所以,我很确定这应该是没有选择的。也许我错了。
这是我正在尝试做的一个最小的可重复示例:
我想证明引理 1 和引理 2 以及引理 21 是引理 2 的子目标之一。然而,在证明引理 2 时它挂在应用(metis
我正在尝试为简单类型构建一个返回 <code>sumbool</code> 而不是 <code>bool</code> 的相等谓词:
<pre><code>Induc
我试图在 Coq 中做一些类似于 <a href="https://sdleffler.github.io/LiquidHaskellLimitations/" rel="nofollow noreferrer">this liq
有没有一种方法可以将类型变量作为参数传递给 Coq 中的模块,这样我就不必不断重申类型变量?
对 coq 完全陌生。
我知道证明存在目标的 <code>exists</code> 策略,但在这种情况下,它需要来自两个
设 <code>A</code> 和 <code>B</code> 为 <code>Type</code>,<code>f : A -> B</code> 和 <code>g : B -> A</code> 为互逆函数
实现了一个后端(使用 Golang),它允许用户登录/注册。数据保存在 postgreSQL 数据库中。身份验证是基于
<pre><code>
inductive S :: "alpha list ⇒ bool" where
empty : "S []" |
step1 : "S w ⟹ S (a # w @ [b])" |
step