Questions tagged [ssreflect]

The SSReflect proof language is a set of Coq tactics which allows for small scale reflection. It is the core language used in the Mathematical Components project and has been integrated into vanilla Coq starting from version 8.7.

78 questions
0
votes
1 answer

Nix: installing ssreflect

I am using Coq (versions 8.5-6), installed w/ Nix. I want to install ssreflect, preferably also w/ Nix. The only information I found about this is here. However, this is not about installing ssreflect, merely trying it out. Nevertheless, I tried to…
jaam
  • 900
  • 4
  • 23
0
votes
1 answer

Coq - proof over empty range in Ssreflect

I have to prove a goal in the form: forall x: ordinal_finType m, P x I am currently in a case where I have Hm: m = 0 in my stack, so this is essentially a forall over an empty set. How can I proceed in this case? Using case => x. leaves me…
VHarisop
  • 2,816
  • 1
  • 14
  • 28
0
votes
1 answer

what does the curly braces {} do in ssreflect rewrite

I am reading and playing with a ssreflect tutorial, and encountered a use of {} to quote things, which I don't quite understand: Variables P Q : bool -> Prop. Hypothesis P2Q : forall a b, P (a || b) -> Q a. Goal forall a, P (a || a) -> True. …
thor
  • 21,418
  • 31
  • 87
  • 173
1 2 3 4 5
6