Prove uniqueness of getBit binary representation#181
Prove uniqueness of getBit binary representation#181MavenRain wants to merge 2 commits intoVerified-zkEVM:masterfrom
Conversation
Add getBit_injective (pointwise bit equality implies number equality) and getBit_repr_unique (any binary coefficient sequence summing to j must agree with getBit at each position). Remove resolved TODO.
🤖 Gemini PR SummaryMathematical Formalization
Structural Refinement and Documentation
Statistics
Lean Declarations ✏️ **Added:** 2 declaration(s)
🎨 **Style Guide Adherence**There are more than 20 violations in the provided diff. They are grouped by rule below:
📄 **Per-File Summaries**
Last updated: 2026-04-04 00:15 UTC. |
dhsorens
left a comment
There was a problem hiding this comment.
thank you for this PR! looks good to me. if you can just fix the linting issue and update the branch we can merge this. I'm not too worried about the length of Bitwise.lean so feel free to add it to style-exceptions.txt
Add getBit_injective (pointwise bit equality implies number equality) and getBit_repr_unique (any binary coefficient sequence summing to j must agree with getBit at each position). Remove resolved TODO.