summaryrefslogtreecommitdiff
path: root/Nominal/Support.lean
diff options
context:
space:
mode:
authorHannes Schulze <haschu0103@outlook.de>2025-11-30 22:20:35 +0100
committerHannes Schulze <haschu0103@outlook.de>2025-11-30 22:33:32 +0100
commite02ad2dcc0f93107c18f8316b386b92b45548e97 (patch)
treee1c341a5fe9be21a2d2ed9086dd19f3d29fee8f0 /Nominal/Support.lean
parentea38ef0cb2c57e10696c7fb6108732a6f454818c (diff)
update lean
Diffstat (limited to 'Nominal/Support.lean')
-rw-r--r--Nominal/Support.lean4
1 files changed, 2 insertions, 2 deletions
diff --git a/Nominal/Support.lean b/Nominal/Support.lean
index b8e6809..93e7aaa 100644
--- a/Nominal/Support.lean
+++ b/Nominal/Support.lean
@@ -153,9 +153,9 @@ lemma support_inter {x : X} {S T : Set ๐”ธ} : HasSupport ๐”ธ x S โ†’ S.Finite
/-- For a finite number of finite supports, the intersection is also a support. -/
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
+ suffices (C : Finset (Set ๐”ธ)) : C.Nonempty โ†’ (โˆ€ S โˆˆ C, HasSupport ๐”ธ x S โˆง S.Finite) โ†’ HasSupport ๐”ธ x (โ‹‚โ‚€ C) โˆง (โ‹‚โ‚€ (โ†‘C : Set (Set ๐”ธ))).Finite
ยท intro hfin
- rw [show C = hfin.toFinset.toSet by simp]
+ rw [show C = hfin.toFinset by simp]
intro hne h
exact (this hfin.toFinset hne h).left
ยท have : DecidableEq (Set ๐”ธ) := Classical.typeDecidableEq (Set ๐”ธ)