summaryrefslogtreecommitdiff
path: root/Nominal/Instances.lean
diff options
context:
space:
mode:
Diffstat (limited to 'Nominal/Instances.lean')
-rw-r--r--Nominal/Instances.lean8
1 files changed, 4 insertions, 4 deletions
diff --git a/Nominal/Instances.lean b/Nominal/Instances.lean
index 057a0de..dcf079f 100644
--- a/Nominal/Instances.lean
+++ b/Nominal/Instances.lean
@@ -8,7 +8,7 @@ import Nominal.Support
This file contains common instances of (FPerm ๐”ธ)-sets and nominal sets.
-/
-variable (๐”ธ : Type)
+variable (๐”ธ : Type) [Infinite ๐”ธ] [Countable ๐”ธ] [DecidableEq ๐”ธ]
/-!
## Atoms
@@ -25,7 +25,7 @@ instance : NominalSet ๐”ธ ๐”ธ where
intro a; use {a}
exact โŸจNominalSet.supp_atom' ๐”ธ, Set.finite_singleton aโŸฉ
-lemma NominalSet.supp_atom [Infinite ๐”ธ] [DecidableEq ๐”ธ] {a : ๐”ธ} : supp ๐”ธ a = {a} := by
+lemma NominalSet.supp_atom {a : ๐”ธ} : supp ๐”ธ a = {a} := by
ext b; constructor
ยท apply support_subset_supp ๐”ธ
ยท exact NominalSet.supp_atom' ๐”ธ
@@ -90,7 +90,7 @@ section Products
instance {X Y : Type} [PermSet ๐”ธ X] [PermSet ๐”ธ Y] : PermSet ๐”ธ (X ร— Y) where
-variable {X Y : Type} [NominalSet ๐”ธ X] [NominalSet ๐”ธ Y] [Infinite ๐”ธ]
+variable {X Y : Type} [NominalSet ๐”ธ X] [NominalSet ๐”ธ Y]
private lemma NominalSet.supp_product' {x : X} {y : Y} : PermSet.HasSupport ๐”ธ (x, y) (supp ๐”ธ x โˆช supp ๐”ธ y) := by
intro ฯ€ hฯ€
@@ -135,7 +135,7 @@ section Coproducts
instance {X Y : Type} [PermSet ๐”ธ X] [PermSet ๐”ธ Y] : PermSet ๐”ธ (X โŠ• Y) where
-variable {X Y : Type} [NominalSet ๐”ธ X] [NominalSet ๐”ธ Y] [Infinite ๐”ธ]
+variable {X Y : Type} [NominalSet ๐”ธ X] [NominalSet ๐”ธ Y]
private lemma NominalSet.supp_coproductโ‚' {x : X} : PermSet.HasSupport ๐”ธ (.inl x : X โŠ• Y) (supp ๐”ธ x) := by
intro ฯ€ hฯ€