Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S stdpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Iris
  • stdpp
  • Merge requests
  • !298

Mark gset methods as simpl never to stop `cbn` from unfolding them

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Paolo G. Giarrusso requested to merge Blaisorblade/stdpp:gset-simpl-never into master Jul 17, 2021
  • Overview 16
  • Commits 3
  • Pipelines 0
  • Changes 4

This clarifies what's meant to happen anyway, and is apparently needed for cbn. (I haven't yet tried doing this at the mapset level).

Example of the problem: without this change, cbn mangles the goal in the following:

  Goal {[1; 2; 3]} =@{gset nat} ∅.
  Fail progress simpl.
  progress cbn. Show.

I'd want progress cbn to fail, instead the above gives:

The command has indeed failed with message:
Failed to progress.
1 subgoal
  
  ============================
  {| mapset_car := {[1 := ()]} ∪ {[2 := ()]} ∪ {[3 := ()]} |} = ∅
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: gset-simpl-never