Skip to content

Can't use prefix symbols of arity > 1 #1249

@amelieled

Description

@amelieled

Take this Lambdapi formalization:

constant symbol wff : TYPE;

constant symbol taquet : wff → TYPE;
notation taquet prefix 40;

constant symbol implies : wff → wff → wff;
notation implies prefix 39;

constant symbol ax-1 : Π phi:wff, Π psi:wff, taquet implies phi implies psi phi;

Someone can obtain the following error:

[wff → wff] and [wff] are not unifiable.
Unification goals are unsatisfiable.

This appears probably because only unary symbol can be defined as prefix thanks to the command notation (even if it is not mention in the Lambdapi documentation).

Note: Documentation does not mention neither a definition for priority, nor an example to be sure about the definition considered in Lambdapi. Here, swaping 40 and 39 has no effect on the error, i.e. same error appears.

Note 2: Same error appears by writing constant symbol ax-1 : Π phi:wff, Π psi:wff, taquet (implies phi (implies psi phi));.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions