Existential

class Existential(val variable: BoundVariable, val operand: Formula) : Quantifier(source)

Represents an existential FOL quantifier.

Author

Jan Müller

Parameters

variable

The BoundVariable of this existential quantifier.

operand

The operand of this existential quantifier.

Constructors

Link copied to clipboard
constructor(variable: BoundVariable, operand: Formula)

Creates an Existential quantifier with the given variable and operand.

Properties

Link copied to clipboard

The name of the entity.

Link copied to clipboard

The operand of this quantifier.

Link copied to clipboard

The BoundVariable of this quantifier.

Functions

Link copied to clipboard
open override fun fullCheck(graph: Graph, symbolTable: SymbolTable, variableAssignments: Map<String, Node>, shouldBeModel: Boolean): ModelCheckerTrace

Checks all possible variable assignments.

Link copied to clipboard
open override fun getRawString(variableAssignments: Map<String, Node>): String

Returns raw String representation of this quantifier.

Link copied to clipboard
open override fun partialCheck(graph: Graph, symbolTable: SymbolTable, variableAssignments: Map<String, Node>, shouldBeModel: Boolean): ModelCheckerTrace

Checks all possible variable assignments, until one is positive.

Link copied to clipboard
override fun toString(): String

Returns a String representation with no variable assignments and no brackets or dot at root level.

fun toString(variableAssignments: Map<String, Node>, wrap: Boolean): String

Returns a String representation with no variable assignments and optional brackets or dot at root level.