python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How does one build the list of only true elements in Coq using dependent types?
I was going through the Coq book from the maths perspective. I was trying to define a dependently typed function that returned a length list with n trues depending on the number trues we want.
Coq com...

Charlie Parker
Votes: 0
Answers: 1
How does one define dependent type with named arguments in Coq without issues in unification in the constructors?
I want to defined a lenghted list but I like arguments with names at the top of the inductive definition. Whenever I try that I get unification errors with things I hoped worked and was forced to do a...

Charlie Parker
Votes: 0
Answers: 1