Skip to content

fix: eliminate all build warnings#9

Open
Oppen wants to merge 1 commit intofix/lake-test-driverfrom
fix/clean-warnings
Open

fix: eliminate all build warnings#9
Oppen wants to merge 1 commit intofix/lake-test-driverfrom
fix/clean-warnings

Conversation

@Oppen
Copy link
Copy Markdown

@Oppen Oppen commented Apr 27, 2026

Summary

  • LambdaSat/CompletenessSpec.lean: adds omit [...] in modifiers before 10 theorems that don't need all section variables (NodeOps, BEq, Hashable, LawfulBEq, LawfulHashable), eliminating 7 → 0 unusedSectionVars warnings
  • Tests/IntegrationTests.lean: removes stale simp arguments (NodeOps.children, NodeOps.replaceChildren, NodeOps.mapChildren, hlen) from replaceChildren_children and replaceChildren_sameShape instance proofs, eliminating ~20 unusedSimpArgs warnings

After this PR: lake build produces zero warnings and zero errors.

Test plan

  • lake build — zero warnings, zero errors
  • lake exe integration-tests — 33/33 tests passed

CompletenessSpec.lean: add `omit [...] in` modifiers before the 10
private/public theorems that don't use all section variables
(NodeOps, BEq, Hashable, LawfulBEq, LawfulHashable).

Tests/IntegrationTests.lean: remove stale simp arguments
(NodeOps.children, NodeOps.replaceChildren, NodeOps.mapChildren, hlen)
from replaceChildren_children and replaceChildren_sameShape instance proofs.
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