Git Product home page Git Product logo

Comments (7)

gares avatar gares commented on June 19, 2024 1

We should move the issue

from math-comp.

amahboubi avatar amahboubi commented on June 19, 2024

Hi Robbert,

This should work using the 'in' tactical, documented in section 6.5 of the manual [https://hal.inria.fr/inria-00258384/en]. Hence changing your

rewrite H1 in H2.
into
rewrite H1 in H2 *.

should work. But there seems to be a bug since H2 is not re-introduced. Hence only
rewrite H1 in H2 * => H2.
works...

from math-comp.

amahboubi avatar amahboubi commented on June 19, 2024

The fact that a 'in H2 *' is needed instead of just 'in H2' is probably due to the internals of setoid rewrite but I cannot yet provide a more informative answer.

from math-comp.

gares avatar gares commented on June 19, 2024

Reporting a comment Georges left on the mailing list:

Here's  what "do [<tactic>] in <hyps>" does:
1) unless there is a *, it replaces the goal with a new manifest constant _the_hidden_goal_
2) it discharges (reverts) Hi in <hyps> using forall/let _discharged_Hi_.
3) it runs <tactic>
4) it introduces the discharged context for each main subgoal derived from the initial goal,
    and undoes 1); nothing is done for side subgoals.

The "tampering" diagnostic indicates step 4) has encountered a goal that has remnants of steps
1) or 2), but no longer has the same shape, which is usually a sign that step 3) has interfered.

from math-comp.

CohenCyril avatar CohenCyril commented on June 19, 2024

@gares this issue is still current... should we move it to Coq?

from math-comp.

RalfJung avatar RalfJung commented on June 19, 2024

We should move the issue

Looks like that did not happen, but I now reported it on the Coq side: coq/coq#12011

from math-comp.

robbertkrebbers avatar robbertkrebbers commented on June 19, 2024

Closed in favor of coq/coq#12011

from math-comp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.