Optimization results (both proof and code)

@vitaut@mastodon.social

Optimization results (both proof and code)