[KongchangAI]
Conceptspecification / 形式化规约

Specification

A precise mathematical description of system behavior, typically written in formal languages such as temporal logic, assertions, or state machines. Unlike natural-language requirements, it must be unambiguous and cover all legal inputs and boundary conditions.

Core Facts

Timeline (last 90 days)

Dec 3

Writing specifications is often harder than writing code: developers need to precisely describe "what the system should do," and this step is highly prone to omitting boundary conditions or implicit assumptions.

Unverified50%
Oct 16

A specification describes obligations, an implementation provides the mechanism, and the same specification can be satisfied by different implementations.

Unverified50%
Oct 14

Formal verification only guarantees that the code satisfies the specification, not that the specification is faithful to the natural language requirement, so a machine proof of a property narrower than the requirement may be worthless yet pass all checks.

Verified75%
Oct 14

The reliability of formal verification depends entirely on the correctness of the specification; verification tools only answer whether the code satisfies the specification, not whether the specification matches the intent.

Unverified50%

All Facts (4)

Source Articles