Skip to content
Snippets Groups Projects

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

Merged Paolo G. Giarrusso requested to merge Blaisorblade/stdpp:gset-simpl-never into master
All threads resolved!

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 := ()]} |} = ∅

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • LGTM. I agree with what Ralf said about attribution.

  • added 1 commit

    Compare with previous version

  • Paolo G. Giarrusso resolved all threads

    resolved all threads

  • mentioned in commit ac04787b

  • Merging, and thanks!

  • It looks like this MR was merged without having CI run on it? It introduced a regression on Coq 8.10.

    @robbertkrebbers before merging, please make sure there is an explicit green CI status. When there is no CI status, it means CI didn't run for some reason that we should investigate.

  • In this case, @Blaisorblade's fork had CI disabled.

  • Because the MR was because the time it was enabled by default?

  • No, because Paolo's fork is ancient and back then CI on forks was acting up.

  • Old MRs would also be a problem, but I don't think we'll get more of those since people generally base their MR on something close to current master.

    So, iris!616 (closed) is the only MR without pipeline status.

    But old forks can keep haunting us for a bit, since those don't automatically fix themselves -- I need to use my admin powers to fix the fork configuration (or the user needs to do it themselves).

    Edited by Ralf Jung
  • I'm sorry for the trouble and thanks for the fix in 653c819a!

  • Please register or sign in to reply
    Loading