Skip to content

Commit 11627ff

Browse files
RaggedRclaude
andcommitted
fix: add @[expose] to make definitions visible across modules
Lean 4.30's module system makes definitions unexposed by default. `@[expose] public section` is needed for definitions like IsShiftEquivariant to be unfoldable by tactics and term-mode unification across module boundaries. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e39d0e5 commit 11627ff

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

Mathlib/RingTheory/HopfAlgebra/AscPochhammer.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ of the backward difference operator `∇f(x) = f(x) - f(x-1)`.
3434
* Langer, R., *Determinantal bases and the symmetric group*, arXiv:0907.3950, §1.2.2
3535
-/
3636

37+
@[expose] public section
38+
3739
noncomputable section
3840

3941
open Polynomial Finset

Mathlib/RingTheory/HopfAlgebra/DeltaOperator.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ that these are exactly the sequences of binomial type.
5555
JMAA 42 (1973)
5656
-/
5757

58-
public section
58+
@[expose] public section
5959

6060
noncomputable section
6161

@@ -141,7 +141,7 @@ end -- end CommSemiring noncomputable section
141141

142142
/-! ### Forward difference operator (requires subtraction) -/
143143

144-
public section
144+
@[expose] public section
145145

146146
noncomputable section
147147

Mathlib/RingTheory/HopfAlgebra/Lah.lean

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ coefficients of `(mk 1)ᵏ = (1-X)⁻ᵏ`.
3333
* Langer, R., *Determinantal bases and the symmetric group*, arXiv:0907.3950, §1.2.2
3434
-/
3535

36+
@[expose] public section
37+
3638
noncomputable section
3739

3840
open PowerSeries

0 commit comments

Comments
 (0)