Skip to content

fix: remove duplicate CMRA.Discrete instances for DFrac#163

Merged
markusdemedeiros merged 1 commit intoleanprover-community:masterfrom
Verified-zkEVM:fix/duplicate-cmra-discrete-dfrac
Feb 24, 2026
Merged

fix: remove duplicate CMRA.Discrete instances for DFrac#163
markusdemedeiros merged 1 commit intoleanprover-community:masterfrom
Verified-zkEVM:fix/duplicate-cmra-discrete-dfrac

Conversation

@quangvdao
Copy link
Contributor

Summary

  • Removes two duplicate CMRA.Discrete (DFrac F) instances in src/Iris/Algebra/DFrac.lean
  • The instance was declared three times with identical implementations; this keeps only the first one

Redundant global typeclass candidates can degrade or destabilize instance search.

Test plan

  • lake build Iris.Algebra.DFrac passes

Made with Cursor

CMRA.Discrete (DFrac F) was declared three times with identical
implementations, adding redundant typeclass candidates. Keep only the
first instance.

Co-authored-by: Cursor <cursoragent@cursor.com>
@markusdemedeiros
Copy link
Collaborator

Good catch!

@markusdemedeiros markusdemedeiros merged commit 8234092 into leanprover-community:master Feb 24, 2026
1 check passed
lzy0505 pushed a commit to lzy0505/iris-lean that referenced this pull request Mar 2, 2026
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.

2 participants