Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilize field tactic #110

Open
CohenCyril opened this issue Feb 14, 2025 · 0 comments
Open

Stabilize field tactic #110

CohenCyril opened this issue Feb 14, 2025 · 0 comments

Comments

@CohenCyril
Copy link
Member

Right now, the field tactic output nonzero side conditions in the form of a boolean conjunction [&& _ != 0, ... & _ != 0].
Ideally in order to produce a stable script, one should not rely on this exact shape, and prepare with have : _ != 0 statements before the call to the field tactic.

The ideal output of field would be individual subgoals of the shape _ != 0 instead.

E.g.

Lemma test x y : x != 0 -> y != 0 -> 1 / (x * y) = 1/x * 1/y.
Proof.
Fail by move=> xNZ yNZ; field.
by move=> xNZ yNZ; field; do ?[apply/andP; split].
Qed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant