Skip to content

LogicFormula or other component turn a valid boolean expression to invalid one. #214

Closed

Description

@xwaeaewcrhomesysplug

Describe the bug
inner antlr converted logicformula instead failed?

To Reproduce
start the java evaluator,engine.
TautologyQ(a&b)

Example input Symja input expression:
TautologyQ(a&b)

Error result:

TautologyQ: illegal arguments: "b*(a&)" in LogicFormula
TautologyQ(b*(a&))

Expected behavior
just works and does not turn into,b*(a&)

Expected (correct) result expression:

TautologyQ(a&b)
false

Java

  • openjdk version "15" 2020-09-15
    OpenJDK Runtime Environment (build 15+36-1562)
    OpenJDK 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)

-linux,fedora,64bit

Activity

  1. Repository owner locked and limited conversation to collaborators on Feb 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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