Skip to content

Benchmarks

seal in (graphical LD twin)

suite id g_seal_in
domain motor_control
language LD-graphical
difficulty easy
validation status validated
origin authored
license CC-BY-4.0
syntax pair of ld_seal_in

Graphical PLCopen XML twin of the K-LD textual benchmark (syntax-coverage pair)

What is proved

From benchmarks/motor_control/g_seal_in/props.yaml. What each kind claims, and what it becomes on either route, is on The properties we prove.

id kind claim requirement
P1 invariant !Run || !Stop Stop always drops the seal-in coil: Run and Stop never hold together.

Variants

file expected verdict violates method
program.xml SAFE none expert

Files

file what it is size sha256
benchmark.yml benchmark metadata 0.6 KB 9ba5cb4b28bb
program.xml ladder program, PLCopen XML 2.1 KB ef99cd998a07
props.yaml property file 0.2 KB ebfe6cdbb2fc

Structured text, derived

Read off the ladder graph by runner/ld_to_st.py: every rung's contacts and coils rewritten as IEC 61131-3 assignments, in the same series/parallel logic the PLCopen XML encodes. This is a reading aid, not a second source of expected verdicts; ESBMC verifies the ladder program shown above, never this rendering.

PROGRAM g_seal_in
VAR_INPUT
    Start : BOOL;
    Stop : BOOL;
END_VAR

VAR_OUTPUT
    Run : BOOL;
END_VAR


Run := ((Start OR Run) AND NOT Stop);

END_PROGRAM

Recorded runs

A task can carry two routes. ld is ESBMC's ladder front end reading the program directly. via C is the same solver reached through Beremiz and MatIEC, which is the only route that reaches ST, IL, FBD and SFC; see How ESBMC-PLC works.

  • g_seal_in__program__viac via C (props.yaml, expected SAFE): master SAFE
  • seal_in_graphical (props.yaml, expected SAFE): master SAFE