From 281326b9b7eb6561526f02ff37eab9c39aa83b58 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Wed, 22 Oct 2025 23:34:14 +0200 Subject: always require infinite, countable, equality-decidable atoms --- Nominal/Instances.lean | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Nominal/Instances.lean') 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ฯ€ -- cgit v1.3.1