~/bend-docscommunity

machine_limits.bend checks

raw source on the hub · import stelliferous@0.0.4.0/machine_limits.bend as Machine_limits

Machine limits carry binary safety evidence. Nat proofs quantify over Limits rather than specializing their types to a large unary bound.

1 import
import Base

Types

type Facts source · line 8 · raw

@-d:U32 -> @-c:U32 -> @-k:U32 -> @-h:U32 -> Data

type Limits source · line 27 · raw

Data

Definitions

def word_max source · line 5 · raw

U32

def dimension source · line 30 · raw

@limits:Limits -> U32

def capacity source · line 33 · raw

@limits:Limits -> U32

def coordinate source · line 36 · raw

@limits:Limits -> U32

def half_word source · line 39 · raw

@limits:Limits -> U32