python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to prove an absurd rule in Coq
I have to prove the following statement, however I am getting the error The type of H is not inductive. when trying to use inversion statement:
How can I do that correctly?
Variables phi: Prop.
Secti...
Breno
Votes: 0
Answers: 1
How to prove the correction of derive on reg_exp
It's a question in software foundation, logic foundation, IndProp.v
Here is some definitions.
Inductive reg_exp (T : Type) : Type :=
| EmptySet
| EmptyStr
| Char (t : T)
| App (r1 r2 : reg_exp...
Jian
Votes: 0
Answers: 1
Coq - Coercion of list nat
I would like to do a coercion from the type list nat to the type list bool. I would think that this could be done in the following way:
From Coq Require Import Lists.List.
Definition nat_to_bool (n :...
Sambo
Votes: 0
Answers: 1
Why Coq does not infer the type parameter
I've defined the following type which has the exact same structure as option.
Inductive optionX A := NoneX | SomeX (a : A).
While Check Some 1 correctly infers the type parameter A, Check SomeX 1 pro...
Ramtin
Votes: 0
Answers: 1