Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • why3 why3
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
  • Issues 166
    • Issues 166
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 27
    • Merge requests 27
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Attention une mise à jour du service Gitlab va être effectuée le mardi 07 février entre 13h30 et 14h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes (habituellement de l'ordre de trois minutes).

  • Why3Why3
  • why3why3
  • Issues
  • #226
Closed
Open
Issue created Oct 29, 2018 by DAILLER Sylvain@sdaillerDeveloper

Restricting behavior of rewrite_list

Hello,

Currently rewrite_list uses the argument with_terms but I think it is difficult for the user to understand what these with_terms corresponds to with this transformation. This list of terms is supposed to be used by apply/rewrite after matching. For example,

module Rewrite
  use int.Int
  function f int : int
  predicate p int
  axiom A: forall a. f (a+1) = f 42
  axiom B: forall a. f a = f (43 + 1)
  goal g : 5 = f 42

end

rewrite <- A with 43 (* To instantiate a *)

rewrite <- B with 43 (* To instantiate a *)

To me, it makes less sense to try to do the same when rewriting several hypothesis at once: rewrite_list <- A,B with 43

Also, I am not sure that it works when trying to instantiate with a different value for A and B. Should we remove this feature ?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking