Nominal Sets #
This file defines the typeclass for nominal sets - sets equipped with a permutation action and finite support.
Main definitions #
NomSet- A typeclass for nominal sets (with finite support)
The permutation action uses Mathlib's MulAction FinPerm α, giving access to
π • x notation, one_smul, mul_smul, inv_smul_smul, smul_inv_smul,
orbit/stabilizer theory, etc.
References #
- Pitts, Nominal Sets: Names and Symmetry in Computer Science, Cambridge University Press, 2013, Chapters 2-3.
- Larsen and Schürmann, Nominal State-Separating Proofs, IACR ePrint 2025/598 — the SSProve
Nominal/layer this development ports. - SSProve
theories/Crypt/nominal/Nominal.v
Backward-Compatible Aliases #
These aliases provide backward compatibility for code that used the old
NominalAction API. They are definitionally equal to the Mathlib equivalents.
Backward-compatible alias for π • x.
Equations
- CatCrypt.Nominal.NominalAction.act π x = π • x
Instances For
A set S supports an element x if every permutation fixing S pointwise also fixes x.
Equations
- CatCrypt.Nominal.Supports s x = ∀ (π : CatCrypt.Nominal.FinPerm), (∀ a ∈ s, π.apply a = a) → π • x = x
Instances For
An element is finitely supported if some finite set supports it.
Equations
Instances For
Typeclass for nominal sets - types where every element has finite support and support transforms equivariantly under permutations.
The equivariance property supp_equivariant is essential for reasoning about
how supports transform under permutation actions, particularly for the move
operation in nominal CatCrypt.
- smul : CatCrypt.Nominal.FinPerm → α → α
The support of an element
The support supports the element
- supp_equivariant (x : α) (π : FinPerm) : supp (π • x) = Finset.image (fun (x : Atom) => π.apply x) (supp x)
Support transforms equivariantly: supp(π • x) = π '' (supp x)
Instances
Instances #
Atoms form a nominal set with the natural action
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.