Skip to content

fix: expose Array.ofFn for kernel reduction - #14989

Open
kim-em wants to merge 1 commit into
leanprover:masterfrom
kim-em:expose-array-offn
Open

fix: expose Array.ofFn for kernel reduction#14989
kim-em wants to merge 1 commit into
leanprover:masterfrom
kim-em:expose-array-offn

Conversation

@kim-em

@kim-em kim-em commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

This PR lets Array.ofFn and the delegating Vector.ofFn reduce in the kernel across module boundaries.

Expose Array.ofFn; exposure covers the where helper that performs the construction. Direct rfl regressions verify reduction of the array size, array value, and vector value without depending on either DecidableEq fix.

Split from the original #14270 alongside the independent Vector DecidableEq fix in #14988.

Expose Array.ofFn and its where helper so Array.ofFn and Vector.ofFn reduce across module boundaries.
@kim-em kim-em added the changelog-language Language features and metaprograms label Sep 1, 2026
@github-actions github-actions Bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Sep 1, 2026
@mathlib-lean-pr-testing

Copy link
Copy Markdown

Mathlib CI status (docs):

  • ❗ Mathlib CI can not be attempted yet, as the nightly-testing-2026-09-01 tag does not exist there yet. We will retry when you push more commits. If you rebase your branch onto nightly-with-mathlib, Mathlib CI should run now. You can force Mathlib CI using the force-mathlib-ci label. (2026-09-01 14:11:36)

@leanprover-bot leanprover-bot added the builds-manual CI has verified that the Lean Language Reference builds against this PR label Sep 1, 2026
@leanprover-bot

leanprover-bot commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Reference manual CI status:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

builds-manual CI has verified that the Lean Language Reference builds against this PR changelog-language Language features and metaprograms toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants