Skip to content

Commit b121b22

Browse files
RaggedRclaude
andcommitted
fix: add module declaration to SabidussiWitness.lean
Lean 4.30 requires all Mathlib/ files to declare `module` and use `public import`. Also fixes `show` → `change` for linter.style.show. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 15b8ba0 commit b121b22

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Mathlib/Combinatorics/SimpleGraph/SabidussiWitness.lean

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ Copyright (c) 2026 Robin Langer. All rights reserved.
33
Released under Apache 2.0 license as described in the file LICENSE.
44
Authors: Robin Langer
55
-/
6-
import Mathlib.Combinatorics.SimpleGraph.Representation
6+
module
7+
8+
public import Mathlib.Combinatorics.SimpleGraph.Representation
79

810
/-!
911
# Sabidussi witness helpers
@@ -22,6 +24,8 @@ prove closure membership, and prove the closure preserves adjacency.
2224

2325
set_option linter.style.nativeDecide false
2426

27+
@[expose] public section
28+
2529
variable {n k : ℕ}
2630

2731
/-- Given `k` generators, map index `i : Fin (2k)` to a generator or inverse.
@@ -58,7 +62,7 @@ theorem applyWord'_mem (gens : Fin k → Equiv.Perm (Fin n))
5862
induction w with
5963
| nil => exact Subgroup.one_mem _
6064
| cons i rest ih =>
61-
show (genOrInv' gens i).trans (applyWord' gens rest) ∈ _
65+
change (genOrInv' gens i).trans (applyWord' gens rest) ∈ _
6266
exact Subgroup.mul_mem _ ih (genOrInv'_mem_closure gens i)
6367

6468
/-- If every generator preserves adjacency in `Γ`, then every element of the

0 commit comments

Comments
 (0)