Skip to content

Print a sentence with the notation interpretation, scope resolution, and explicit arguments #331

@darbyhaller

Description

@darbyhaller

Hi,

I would like to be able to print a given input sentence with the notation interpreted, all arguments explicit, and the scopes resolved by Coq's internalization process.

For example, after inputting (Add () "Lemma test: forall n:nat, n = n. Proof. assert (H: forall n, n + 0 = n).") and executing it, applying some query command to the sentence assert (H: forall n, n + 0 = n). would return assert (H : forall (n:nat), @eq nat (Nat.add n O) n).
(and nat would instead be Coq.Init.Datatypes.nat, Nat.add would be Coq.Init.Nat.add, etc.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions