Skip to content

prove_roundoff_bound2 handles bare variable incorrectly #34

@andrew-appel

Description

@andrew-appel

Ltac Automate.prove_roundoff_bound2 works incorrectly when the entire expression is just a variable.
The fix is: replace the line

   let a := constr:(rval env x) in let b := eval hnf in a in change a with b

with this line:

   let a := constr:(rval env x) in let b := eval red in a in change a with b

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions