python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to get a better proof style in Coq?
I'm learning how to use Coq. And for now, I can prove almost all the small theorems I encounter. I'm pretty happy with my level, even though I still have a lot of progress to make. However, my proofs ...
Lepticed
Votes: 0
Answers: 1
Pose proof in Coq
I’m trying to prove a theorem in Coq. My current context is:
1 subgoal
s, x : Entity
Pssx : Ps s x
Fxs : F x s
IPssx : F x s /\ Ps s x
t : Entity
Ctss : C t s s
Pstx : Ps t x
Fxt : F x t
_____________...
Lepticed
Votes: 0
Answers: 1
Using tuples when constructing inductive types
I'm trying to use a pair to pass as an argument into an inductive type in Coq
Definition pair := (nat,nat).
Inductive use_pair :=
| mktriplet : pair -> nat -> use_pair.
However, this gives t...
sdpoll
Votes: 0
Answers: 1
Define a function based on a relation in Coq
I'm working on a theory in which there is a relation C defined as
Parameter Entity: Set.
Parameter C : Entity -> Entity -> Entity -> Prop.
The relation C is a relation of composition of ...
Lepticed
Votes: 0
Answers: 2