From a5ff8efe5b5e314e0aa759318e5fb194e066f612 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Tue, 14 Apr 2026 16:04:44 +0200 Subject: update lean --- Nominal/Instances/Basic.lean | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Nominal/Instances/Basic.lean') diff --git a/Nominal/Instances/Basic.lean b/Nominal/Instances/Basic.lean index b627c1b..7a88eeb 100644 --- a/Nominal/Instances/Basic.lean +++ b/Nominal/Instances/Basic.lean @@ -59,6 +59,7 @@ Every set can be made into a discrete nominal set, where supp x = โˆ…. -/ section Discrete +@[reducible] def NominalSet.mkDiscrete (X : Type) : NominalSet.Discrete ๐”ธ X where smul ฯ€ x := x one_smul := by intro; rfl @@ -330,6 +331,7 @@ instance : PermSet ๐”ธ (Quotient setoid) where instance instMkEquivariant : Function.Equivariant ๐”ธ (Quotient.mk setoid) := by constructor; simp +@[reducible] def lift_equivariant {Y : Type} [PermSet ๐”ธ Y] (f : X โ†’ Y) [Function.Equivariant ๐”ธ f] (h : โˆ€ (a b : X), a โ‰ˆ b โ†’ f a = f b) : @@ -392,11 +394,11 @@ instance : PermSet ๐”ธ S where rw [โ† Set.equivariant ๐”ธ S] exact x.propโŸฉ one_smul x := by - apply Subtype.eq + apply Subtype.ext exact MulAction.one_smul x.val mul_smul ฯ€ ฯ„ x := by - apply Subtype.eq - exact MulAction.mul_smul ฯ€ ฯ„ x.val + apply Subtype.ext + exact SemigroupAction.mul_smul ฯ€ ฯ„ x.val @[simp] lemma smul_val (ฯ€ : FPerm ๐”ธ) (x : S) : (ฯ€ โ€ข x).val = ฯ€ โ€ข x.val := rfl @@ -410,7 +412,7 @@ instance : NominalSet ๐”ธ S where use NominalSet.supp ๐”ธ x.val constructor ยท intro ฯ€ hฯ€ - apply Subtype.eq + apply Subtype.ext exact NominalSet.supp_is_support ๐”ธ hฯ€ ยท exact NominalSet.supp_finite ๐”ธ -- cgit v1.3.1