Record Class VerificationResult<I>

java.lang.Object
java.lang.Record
net.maswag.falcaun.verification.VerificationResult<I>
Type Parameters:
I - the type of the input at each step of the target specifications
Record Components:
counterexamples - the counterexample candidates found on the learned Mealy machine, including the ones not confirmed by the SUL. At most one candidate is reported for each target specification.
unresolved - the target specifications without a confirmed counterexample
targetCount - the number of the target specifications, including the ones given only as LTL formulas
reason - the reason why black-box checking terminated
statistics - the statistics of black-box checking
failure - the cause of the termination if reason is VerificationResult.TerminationReason.EXECUTION_FAILURE. The counterexamples confirmed before the failure are still reported.

public record VerificationResult<I>(List<VerificationResult.Counterexample<I>> counterexamples, List<TemporalLogic<I>> unresolved, int targetCount, VerificationResult.TerminationReason reason, VerificationResult.Statistics statistics, Optional<Throwable> failure) extends Record
The result of black-box checking by BlackBoxVerifier or NumericSULVerifier.

A target specification is falsified only if a counterexample is confirmed by the observation of the SUL (see VerificationResult.Counterexample.confirmed()). The other target specifications are unresolved.

The counterexamples and the unresolved specifications are reported only for the target specifications represented as TemporalLogic formulas. A target specification given only as an LTL formula (e.g., by StopDisprovedEQOracle.StaticLTLList) is counted in targetCount but appears in neither list, so allTargetsFalsified() is conservatively false for it. Notice that an unresolved specification is not proved to be satisfied by the SUL: black-box checking is a testing method and cannot prove the absence of counterexamples.