Re:Show HN: A small reasoning engine that learns rewrite rul...
by heavymemory on Friday December 05, 2025 @10:38PM
(#46170436)
Right, associativity is the simplest case because the structure is visible
directly in one example.
The system needs multiple examples when there is more than one varying part
and a single example is ambiguous. A simple example is wrapping a function
call. With:
The system needs multiple examples when there is more than one varying part and a single example is ambiguous. A simple example is wrapping a function call. With:
the system learns that: the function name varies the argument varies he outer log(…) is constantFrom that it infers the general rule and applies it to new inputs. A single example would not be enough to disambiguate that pattern.