Current status: changing a correct algorithm to simplify the proof =)
Падабаецца 0
Рэпосты 0
Current status: changing a correct algorithm to simplify the proof =)
The tradeoff was: a few hundred lines of Lean to formalize floor-sum machinery or make a one line change in the C++ code.
@vitaut
Tired: code better for humans to understand
Wired: code better for humans to understand proof of
If this was about binary64 I would formalize floor-sum but since it's just binary128 I don't really care.
It's also interesting that binary64 and binary128 have exactly one problematic case each. binary64 gets lucky and it happens to round correctly while in binary128 it does not.