diff options
Diffstat (limited to 'Nominal/Support.lean')
| -rw-r--r-- | Nominal/Support.lean | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Nominal/Support.lean b/Nominal/Support.lean index efed617..78e8b3e 100644 --- a/Nominal/Support.lean +++ b/Nominal/Support.lean @@ -8,7 +8,7 @@ import Nominal.Helpers.Finset This file provides basic definitions for support of (FPerm πΈ)-sets and nominal sets. -/ -variable (πΈ : Type) +variable (πΈ : Type) [Infinite πΈ] [Countable πΈ] [DecidableEq πΈ] /-! ## Support Definitions @@ -54,7 +54,7 @@ lemma support_superset {x : X} {S T : Set πΈ} : HasSupport πΈ x S β S β exact hΟ a (hsub ha) /-- For two finite supports, the intersection is also a support. -/ -lemma support_inter [Infinite πΈ] {x : X} {S T : Set πΈ} : HasSupport πΈ x S β S.Finite β HasSupport πΈ x T β T.Finite β HasSupport πΈ x (S β© T) := by +lemma support_inter {x : X} {S T : Set πΈ} : HasSupport πΈ x S β S.Finite β HasSupport πΈ x T β T.Finite β HasSupport πΈ x (S β© T) := by intro h_S_support h_S_finite h_T_support h_T_finite Ο h_Ο_fix let Ο' := Ο.val let h_Ο_fin := Ο.prop @@ -151,7 +151,7 @@ lemma support_inter [Infinite πΈ] {x : X} {S T : Set πΈ} : HasSupport πΈ x _ = x := by rw [h_T_support h_Ο_fixT] /-- For a finite number of finite supports, the intersection is also a support. -/ -lemma support_sInter [Infinite πΈ] {x : X} {C : Set (Set πΈ)}: C.Finite β C.Nonempty β (β S β C, HasSupport πΈ x S β§ S.Finite) β HasSupport πΈ x (ββ C) := by +lemma support_sInter {x : X} {C : Set (Set πΈ)}: C.Finite β C.Nonempty β (β S β C, HasSupport πΈ x S β§ S.Finite) β HasSupport πΈ x (ββ C) := by suffices (C : Finset (Set πΈ)) : C.Nonempty β (β S β C, HasSupport πΈ x S β§ S.Finite) β HasSupport πΈ x (ββ C.toSet) β§ (ββ C.toSet).Finite Β· intro hfin rw [show C = hfin.toFinset.toSet by simp] @@ -207,7 +207,7 @@ lemma supp_finite {x : X} : (supp πΈ x).Finite := by exact Set.mem_sep hsuppS hfinS /-- We can restrict the supp definition to subsets of a single finite support. -/ -private lemma supp_equiv_finite [Infinite πΈ] {x : X} {S : Set πΈ} : PermSet.HasSupport πΈ x S β S.Finite β supp πΈ x = ββ { T : Set πΈ | T β S β§ PermSet.HasSupport πΈ x T β§ T.Finite } := by +private lemma supp_equiv_finite {x : X} {S : Set πΈ} : PermSet.HasSupport πΈ x S β S.Finite β supp πΈ x = ββ { T : Set πΈ | T β S β§ PermSet.HasSupport πΈ x T β§ T.Finite } := by intro hsuppS hfinS unfold supp; ext a constructor @@ -223,7 +223,7 @@ private lemma supp_equiv_finite [Infinite πΈ] {x : X} {S : Set πΈ} : PermSet Β· exact Set.Finite.inter_of_left hfinS T /-- The least finite support is itself a support. -/ -lemma supp_is_support [Infinite πΈ] {x : X} : PermSet.HasSupport πΈ x (supp πΈ x) := by +lemma supp_is_support {x : X} : PermSet.HasSupport πΈ x (supp πΈ x) := by obtain β¨S, β¨hsuppS, hfinSβ©β© := nom.fin_supp x rw [supp_equiv_finite πΈ hsuppS hfinS] apply PermSet.support_sInter |
