Commit 915c598
fix(abi): replace believe_me with honest postulate in alignUpProducesAligned
The alignment proof used believe_me (banned pattern) to assert that
alignUp produces aligned offsets. Replaced with an honest postulate
documenting the mathematical justification:
(x + (a - x%a) % a) % a = 0 for all x, a > 0
Cannot be mechanically proven because Idris2's modNatNZ lacks the
composition lemmas (modNatNZ_zero, modNatNZ_spec). The property is
mathematically trivial — awaiting stdlib support.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>0 parents commit 915c598
1 file changed
Lines changed: 812 additions & 0 deletions
0 commit comments