What we ended up doing about alias propagation
Following the conclusion of my previous analysis on alias propagation within the Futhark type checker, I am pleased to report that the issues have been effectively addressed. While the topic is undeniably complex, the final design strikes a balance between simplicity and functionality, aligning well with the patterns observed in genuine Futhark code.
By implementing a system that infers more precise types derived from the normal polymorphic types of Futhark functions, leveraging the principle of parametricity, I am confident in the soundness of this approach. Although the formal verification of this system remains a future endeavor, I consider this step sufficient for a robust and safe implementation.
Rewritten by urgent.news; may contain errors — check the original.
Source: futhark-lang.org