Skip to content

prove and sat fails on proof scripts of types other than ProofScript SatResult #10

Closed
@brianhuffman

Description

@brianhuffman

The types of prove and sat indicate that they should work with any argument of type ProofScript b, but they fail in many other cases:

sawscript> prove (return ()) {{ True }}
saw: fromValue SatResult: ()

sawscript> prove assume_valid {{ True }}
WARNING: assuming goal prove is valid
saw: fromValue SatResult: Valid

sawscript> sat (return ()) {{ True }}
saw: fromValue SatResult: ()

sawscript> sat assume_valid {{ True }}
WARNING: assuming goal sat is valid
saw: fromValue SatResult: Valid

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