Skip to content

upstream to Mathlib — general BitVec XOR cancellation lemma. #493

@github-actions

Description

@github-actions

XOR by a fixed mask is self-inverse on BitVec: c = k ^^^ m ↔ c ^^^ m = k. -/

-- TODO: upstream to Mathlib — general BitVec XOR cancellation lemma.
/-- XOR by a fixed mask is self-inverse on `BitVec`: `c = k ^^^ m ↔ c ^^^ m = k`. -/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions