Skip to content

Un-reduced type constructor variables #5

@alexfmpe

Description

@alexfmpe

While a -> a and (a -> b) -> [a] -> [b] have their relation variables reduced into functions, that's not the case for (forall x. a x -> a x) and (a -> b) -> f a -> f b, so we don't end up without a equal/inequal theorem.

free-map

The problem is that unfoldFormula simply returns return . Predicate . IsMember x y $ rel for RelConsFunVar (with #3) and RelTypeConsApp. I'm not sufficiently familiar with free theorem derivation to know what they should return instead though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions