Skip to content
Snippets Groups Projects

Add `gmultiset_map` and associated lemmas

Merged Marijn van Wezel requested to merge marijnvanwezel/stdpp:marijn/gmultiset_map into master

This merge request adds a definition for mapping over a gmultiset, gmultiset_map, similar to set_map for (regular) finite sets.

I struggled with finding a correct location for the definition and associated lemmas in gmultiset.v. I am open to any suggestions to improve the placement.

Edited by Marijn van Wezel

Merge request reports

Merge request pipeline #109286 passed

Merge request pipeline passed for 862e4bc5

Approval is optional

Merged by Ralf JungRalf Jung 7 months ago (Oct 21, 2024 9:28am UTC)

Merge details

  • Changes merged into with 4d307c87.
  • Deleted the source branch.

Pipeline #109392 passed

Pipeline passed for 4d307c87 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • added 1 commit

    Compare with previous version

  • added 3 commits

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 2 commits

    • bfc40224 - Version of `gmultiset_map` that avoids converting to lists.
    • 862e4bc5 - CHANGELOG.

    Compare with previous version

  • Thanks for the MR and implementing the suggested changes.

    I tweaked gmultiset_map a bit so as to avoid converting to lists and back. I proved a lemma gmultiset_map_alt with the original (and more easy to use) definition.

  • @jung As far as I am concerned this one is ready.

  • Ralf Jung enabled an automatic merge when all merge checks for 862e4bc5 pass

    enabled an automatic merge when all merge checks for 862e4bc5 pass

  • Ralf Jung resolved all threads

    resolved all threads

  • Ralf Jung mentioned in commit 4d307c87

    mentioned in commit 4d307c87

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading