8000 Sealed goal for mode should be resumed if progress · Issue #17 · FissoreD/coq-elpi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Sealed goal for mode should be resumed if progress #17
Open
@FissoreD

Description

@FissoreD
From elpi Require Import elpi.
From elpi Require Import tc.

  TC.Pending_mode !.
  Class A (i: Type).
  Global Hint Mode A ! : typeclass_instances.
  
  Class B (i :Type).

  Instance a: A nat := {}.
  Instance b: B nat := {}.

  Goal exists X, A X /\ B X.
    eexists; split.
    all: elpi TC.Solver.
    (* Here there should be no goal left *)
  Qed.

What happens: we receive the list of goals: A X and B X.
Expected : Solving A X fails due to modes. B X succeeds with b setting X to nat. A nat is resumed for resolution
Actual behaviour: A X fails due to modes. B X succeeds with b setting X to nat. A nat is not resumed but returned as new goal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0