Re:The Case Against Formal Verification, 50 Years Later
by inigyou on Monday August 17, 2026 @08:11AM
(#49329597)
you have the common problems with non-uniqueness and with extra elements. Your spec is met by:
and a bounds checking bug unique to your formal spec because you only check inputs up to the length of the output
[ Parent
| on HN ]
Re:The Case Against Formal Verification, 50 Years Later
by samus on Tuesday August 25, 2026 @12:41PM
(#49436884)
My second condition would reject the additional element, as it would not be found in the input. have to be duplicated to However, I was lazy about the `|input| = |output|` constraints. With those constraints it would not be possible to omit elements from the input in the output.