Skip to content

lean: split out Multiset/Matrix changes from #172#176

Merged
alok merged 1 commit into
mainfrom
split/multiset-matrix
Sep 10, 2025
Merged

lean: split out Multiset/Matrix changes from #172#176
alok merged 1 commit into
mainfrom
split/multiset-matrix

Conversation

@alok
Copy link
Copy Markdown
Contributor

@alok alok commented Sep 10, 2025

This PR extracts the .lean-only changes related to Multiset and Matrix from #172 so they can be reviewed/merged independently.

Included files:

  • benchmarks/lean/Benchmarks/MatrixDef.lean (new minimal Matrix/Array3 definitions)
  • benchmarks/lean/dafnybench/Multiset.lean (Multiset stub + conversions)
  • Import fixes switching to dafnybench.Multiset in:
    • benchmarks/lean/dafnybench/DutchFlag.lean
    • benchmarks/lean/dafnybench/InsertionSortMultiset.lean
    • benchmarks/lean/dafnybench/InsertionSortSeq.lean
    • benchmarks/lean/dafnybench/QuickSelect.lean
    • benchmarks/lean/dafnybench/SelectionSortMultiset.lean

Scope:

  • Only .lean files; no Python or lakefile changes.
  • Keeps changes self‑contained to unblock specs depending on a basic Multiset and MatrixDef.

Follow‑ups (if needed):

  • If CI complains about unreferenced Benchmarks.MatrixDef, we can minimally adjust lakefile.lean to include the Benchmarks module glob.

- Add Benchmarks/MatrixDef.lean
- Update dafnybench Multiset stub and fix imports across users

This isolates only the .lean changes related to Multiset/Matrix.
@alok alok merged commit 3bd10ad into main Sep 10, 2025
11 of 13 checks passed
@alok alok deleted the split/multiset-matrix branch September 10, 2025 06:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant