proposit-core
    Preparing search index...

    Interface TPremiseEvaluation

    Premise-level evaluation: single-assignment evaluation and evaluability validation.

    interface TPremiseEvaluation {
        evaluate(
            assignment: TCoreExpressionAssignment,
            options?: { requireExactCoverage?: boolean; strictUnknownKeys?: boolean },
        ): TCorePremiseEvaluationResult;
        validateEvaluability(): TCoreValidationResult;
    }

    Implemented by

    Index

    Methods

    • Evaluates the premise under a three-valued expression assignment.

      Variable values are looked up using Kleene three-valued logic (null = unknown). Missing variables default to null. For inference premises (implies/iff), an inferenceDiagnostic is computed with three-valued fields unless the root is rejected.

      Parameters

      • assignment: TCoreExpressionAssignment

        The variable assignment and optional rejected expression IDs.

      • Optionaloptions: { requireExactCoverage?: boolean; strictUnknownKeys?: boolean }

        Optional evaluation options.

        • OptionalrequireExactCoverage?: boolean

          If true, the assignment must cover exactly the referenced variables.

        • OptionalstrictUnknownKeys?: boolean

          If true, unknown variable keys in the assignment cause an error.

      Returns TCorePremiseEvaluationResult

      The premise evaluation result.