Futhark.Analysis.PrimExp.Generalize
leastGeneralGeneralization :: Eq v => [(PrimExp v, PrimExp v)] -> PrimExp v -> PrimExp v -> Maybe (PrimExp (Ext v), [(PrimExp v, PrimExp v)]) Source #
Generalization (anti-unification) We assume that the two expressions have the same type.