coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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?
- [Coq-Club] [Coq Club]a strange question when using function, ldou
- Re: [Coq-Club] [Coq Club]a strange question when using function, Adam Chlipala
- <Possible follow-ups>
- Re: [Coq-Club] [Coq Club]a strange question when using function,
ldou
- Re: [Coq-Club] [Coq Club]a strange question when using function, Pierre Casteran
- Re: [Coq-Club] [Coq Club]a strange question when using function, Adam Chlipala
- Re: [Coq-Club] [Coq Club]a strange question when using function,
ldou
- Re: [Coq-Club] [Coq Club]a strange question when using function, Pierre Casteran
- Re: [Coq-Club] [Coq Club]a strange question when using function, ldou
Archive powered by MhonArc 2.6.16.