Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] [Coq Club]a strange question when using function

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] [Coq Club]a strange question when using function


chronological Thread 
  • From: Adam Chlipala <adamc AT csail.mit.edu>
  • To: ldou AT cs.ecnu.edu.cn
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] [Coq Club]a strange question when using function
  • Date: Wed, 24 Aug 2011 10:47:53 -0400

ldou AT cs.ecnu.edu.cn
 wrote:
>
> the result turns out to be:
> exists o' : o, (if o_dec o' ((e0 :: nil) :: nil) then true else false)
> = true
> but it should be :
> exists o' : o, (if o_dec o' ((("e0" :: nil) :: nil) ::nil) then true
> else false) = true
> Why is that?
>

Can you explain why you expected a different result? This looks correct
to me. Why would you expect an arbitrary [Diag] to be known to contain a
particular constant string?



Archive powered by MhonArc 2.6.16.

Top of Page