Berildocs GitHub

Memory cards

Type checking proves a property before runtime

confidence: mediumupdated: 2026-11-25status: activecompilertypessoundness

Claim#

The checker rejects programs that violate the type rules. Soundness means no well-typed program gets stuck.

Test#

Write a bad program. Check the error location. Compare with a gradual type escape.

Proof#

A rejection with a rule and a location.

Failure modes#

An any escape moves the proof to runtime. An unsound cast hides it.