Skip to content

sauto causes "Unable to handle arbitrary u+k <= v constraints." #134

@QinshiWang

Description

@QinshiWang

I encounter a strange problem. After a seemingly unrelated change, CoqHammer's sauto tactic does not work anymore in some goals, where it used to work. And it reports

Anomaly "Unable to handle arbitrary u+k <= v constraints."
Please report at http://coq.inria.fr/bugs/.

It seems that a certain proof searching step in sauto produces a universe constraint that Coq does not support. Coq only allows universe constraint in the form of u+k <= v where k is a constant. If this is the case, a possible fix is to locate what proof searching causes this constrain, and then either prevent this from happening or catch the exception and assume the proof searching step has failed.

I have a relatively small example of the issue, but it's based on our project. I can try to make an independent example if it is helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions