Skip to content

Scheme Rewriting does not fuly support polymorphic equality #21878

@tabareau

Description

@tabareau

Description of the problem

When used on a polymorphic equality, Scheme Rewriting does not generate rew_r_dep and sym_involutive.

Small Rocq / Coq file to reproduce the bug

#[universes(polymorphic)]
Inductive peq@{i} (A:Type@{i}) (x:A) : A -> Prop :=
    peq_refl : peq A x x.

Scheme Rewriting for peq.

Check peq_rew_dep.
Check peq_rew_dep.
Fail Check peq_rew_r_dep.
Fail Check peq_sym_involutive.

Version of Rocq / Coq where this bug occurs

9.2

Interface of Rocq / Coq where this bug occurs

No response

Last version of Rocq / Coq where the bug did not occur

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugAn error, flaw, fault or unintended behaviour.needs: triageThe validity of this issue needs to be checked, or the issue itself updated.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions