Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Question on morphisms and "conditional" setoid rewriting

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Question on morphisms and "conditional" setoid rewriting


Chronological Thread 
  • From: Robbert Krebbers <mailinglists AT robbertkrebbers.nl>
  • To: Ben Lerner <blerner AT cs.brown.edu>
  • Cc: Coq club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Question on morphisms and "conditional" setoid rewriting
  • Date: Fri, 15 Mar 2013 11:12:33 +0100

On 03/14/2013 08:47 PM, Ben Lerner wrote:
Or might there be a Hint form that typeclass resolution could take, to
tell it that it's ok to leave some goals unproven after normevars?
What do you expect to happen in case of overlapping instances?

Instance proper1: forall x, A x -> Proper bla (f x)
Instance proper2: forall x, B x -> Proper bla (f x)

What would you expect to happen here? A goal "A x \/ B x", to non-deterministically get the goal "A x" or "B x"? To get the goal belonging to the first declared instance?

Besides, the premisses of a hint (or instance) can also have arrows in them, making the situation even more peculiar.

Robbert



Archive powered by MHonArc 2.6.18.

Top of Page