Skip to content

Is adding auto expansion possible? #965

@Shark-with-Blue-Shoes

Description

@Shark-with-Blue-Shoes

I'm curious to the possibility of having a feature where the Lsp can fetch the tactics invoked by the auto/eauto tactic and replace the auto tactic with the tactics. Here is an example.

Theorem simpl : forall n : nat,  n + 0 = n.
Proof. info_auto. Qed.

info_auto outputs this to the messages

(* info auto: *)

intro.
simple apply eq_sym ; trivial (in core).

The Lsp is able to replace info_auto with

Theorem simpl : forall n : nat,  n + 0 = n.
Proof. intro. simpl. apply eq_sym. apply plus_n_O. Qed.

Is this possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions