Skip to content

change with #917

@patrick-nicodemus

Description

@patrick-nicodemus

This is something I have posted about on Zulip but I thought I should create a formal issue for it.

I think the Coq API should expose a change with tactic that, from a goal G with type T, creates a new (sealed?) goal G' with type T' such that T, T' are convertible.

I personally am interested in writing tactics to help write definitions, not just proofs, and I want the definitions to be as simple as possible to facilitate reasoning about them. I think inserting a lot of casts into a definition would decrease its readability, and so I don't view
refine {{ _ : lp:T' }} G GL as a good solution.

We can already do this by doing

Ltac change_with_ltac T T' := change T with T'.

so just exposing something like this directly would be a good start.

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