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 16
    • Merge requests 16
  • 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
  • !57

Rename multiset "union" into "disjoint union"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Robbert Krebbers requested to merge robbert/disj_union into master Feb 21, 2019
  • Overview 4
  • Commits 4
  • Pipelines 0
  • Changes 2

This fixes #13 (closed). Now ∪ and ∩ are the usual multiset union and intersection (i.e. taking max and min, respectively), whereas ⊎ is the "sum" (i.e. adding the multiplicities).

Some questions/remarks:

  • ⊎ and ∪ have different heights in my font (see ⊎∪). Is there maybe a better disjoint union symbol in unicode?
  • There are probably all kinds of laws about the interaction between ∪, ∩, and ⊎, like distributivity. I did not attempt to prove a comprehensive set of such laws.
  • ∖ is still the operation that subtracts multiplicity. I think that's fine, since there is no sensible difference operator for multisets that matches up with the union operator.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: robbert/disj_union