Thank you for your post.
In fuzzylite, you have a
Function membership function, which takes any string and converts it into a binary expression tree and evaluates the expression at runtime. You can have any relationship between variables you want. You can check it out in QtFuzzyLite 5.