Home

main

  • Arbitrary
    • new
    • remaining
    • len
    • is_empty
    • bytes
    • u64_in_inclusive_range
    • ratio
    • arbitrary_byte_size
    • next_power_of_two
    • arbitrary_list_u8
    • arbitrary_str
  • Fuzz
    • keep
    • alloc_count!
    • live_alloc_count!
    • realloc_count!
    • dealloc_count!
    • requested_bytes!
    • scope_start!
    • scope_finish!
    • prepare_return_box!
    • scope_finish_return!
    • start_measure!
    • measure!
    • mark!
    • before!
    • count!
    • forbidden!
    • trace_rules!
    • expect_allocs_at_most!
    • expect_allocs_at_least!
    • expect_no_leaks!
    • reject
    • example
    • saved
    • encode
    • entropy
    • suite
    • target
    • target_with
    • target_with!
    • from_bytes!
    • from_bytes
    • constant
    • map
    • map2
    • u8
    • u8_in
    • u64
    • u64_in
    • f32
    • f32_in
    • f64
    • f64_in
    • bytes
    • raw_bytes
    • str
    • list
    • Outcome
    • Stats
    • Measurement
      • finish!
    • TraceRule
    • Generator
    • InputFormat
      • invalid_value
      • missing_field
      • rename_field
      • encode_str
      • parse_str
      • encode_bool
      • parse_bool
      • encode_null
      • parse_null
      • encode_u8
      • parse_u8
      • encode_i8
      • parse_i8
      • encode_u16
      • parse_u16
      • encode_i16
      • parse_i16
      • encode_u32
      • parse_u32
      • encode_i32
      • parse_i32
      • encode_u64
      • parse_u64
      • encode_i64
      • parse_i64
      • encode_u128
      • parse_u128
      • encode_i128
      • parse_i128
      • encode_f32
      • parse_f32
      • encode_f64
      • parse_f64
      • encode_dec
      • parse_dec
      • encode_list
      • parse_list_start
      • parse_list_next
      • parse_list_after_item
      • encode_record
      • parse_record_start
      • parse_record_field
      • parse_record_after_field
      • skip_record_field
      • encode_tuple
      • parse_tuple_start
      • parse_tuple_next
      • parse_tuple_end
      • encode_tag
      • parse_tag_union
      • encode_dict
      • parse_dict_start
      • parse_dict_next
      • parse_dict_after_key
      • parse_dict_after_entry
      • parse_dict_duplicate_key
      • encode_key_start
      • parse_key_start
      • encode_key_str
      • parse_key_str
      • encode_key_bool
      • parse_key_bool
      • encode_key_u8
      • parse_key_u8
      • encode_key_i8
      • parse_key_i8
      • encode_key_u16
      • parse_key_u16
      • encode_key_i16
      • parse_key_i16
      • encode_key_u32
      • parse_key_u32
      • encode_key_i32
      • parse_key_i32
      • encode_key_u64
      • parse_key_u64
      • encode_key_i64
      • parse_key_i64
      • encode_key_u128
      • parse_key_u128
      • encode_key_i128
      • parse_key_i128
      • encode_key_f32
      • parse_key_f32
      • encode_key_f64
      • parse_key_f64
      • encode_key_dec
      • parse_key_dec
      • encode_key_tag
      • parse_key_tag_union
    • InputState
    • Encodable
    • Parseable
    • FuzzEncoding
    • Example
  • Model
    • always
    • sometimes
    • at_rest
    • always_step
    • sometimes_step
    • goals
    • check
    • explore
    • witness
    • explain
    • walk
    • replay
    • apply
    • step_from
    • walk_target
    • walk_example
    • path_target
    • step_target
    • Rule
    • Transition
    • Machine
    • Extent
    • Verdict
    • Search
    • Options
    • Report
    • Run
    • Applied
    • Step
  • Solve
    • num
    • truth
    • all
    • any
    • if_else
    • if_else_claim
    • map2
    • map
    • uint_in
    • uint
    • u8
    • u16
    • u32
    • u64
    • u8_in
    • u16_in
    • u32_in
    • u64_in
    • several
    • bool
    • default_budget
    • no_limit
    • find
    • find_within
    • find_near
    • find_near_within
    • prove
    • prove_within
    • enumerate
    • enumerate_within
    • prepare
    • prepare_with
    • ask
    • check
    • measure
    • effort
    • Uint
      • from_numeral
      • from_u8
      • from_u16
      • from_u32
      • from_u64
      • of_width
      • from_i8
      • from_i16
      • from_i32
      • from_i64
      • plus
      • minus
      • times
      • div_trunc_by
      • rem_by
      • plus_wrap
      • minus_wrap
      • times_wrap
      • plus_overflows
      • minus_overflows
      • times_overflows
      • bitwise_and
      • bitwise_or
      • bitwise_xor
      • bitwise_not
      • shl_wrap
      • shr_wrap
      • to_width
      • to_width_wrap
      • shared
      • plus_signed
      • minus_signed
      • times_signed
      • plus_overflows_signed
      • minus_overflows_signed
      • times_overflows_signed
      • to_width_signed
      • lt_signed
      • lte_signed
      • gt_signed
      • gte_signed
      • eq
      • neq
      • lt
      • lte
      • gt
      • gte
      • eval
      • value
      • eval_signed
      • value_signed
      • is_eq
      • to_inspect
    • Claim
      • is_eq
      • not
      • implies
      • iff
      • both
      • either
      • shared
      • eval
      • value
      • to_inspect
    • Problem
    • Vars
    • Effort
    • Prepared
    • Query
  • Target
    • new
    • with_goals
    • goals
    • new_suite
    • count
    • get
    • name
    • run!
    • show
    • example_count
    • example
  • Arbitrary
  • Arbitrary.new : List(U8) -> Arbitrary
  • Arbitrary.remaining : Arbitrary -> List(U8)
  • Arbitrary.len : Arbitrary -> U64
  • Arbitrary.is_empty : Arbitrary -> Bool
  • Arbitrary.bytes : Arbitrary, U64 -> Try({ value : List(U8), state : Arbitrary }, [NotEnoughData(U64)])
  • Arbitrary.u64_in_inclusive_range : Arbitrary, U64, U64 -> { value : U64, state : Arbitrary }
  • Arbitrary.ratio : Arbitrary, U64, U64 -> { value : Bool, state : Arbitrary }
  • Arbitrary.arbitrary_byte_size : Arbitrary -> { value : U64, state : Arbitrary }
  • Arbitrary.next_power_of_two : U64 -> U64
  • Arbitrary.arbitrary_list_u8 : Arbitrary -> { value : List(U8), state : Arbitrary }
  • Arbitrary.arbitrary_str : Arbitrary -> { value : Str, state : Arbitrary }
  • Fuzz
  • Fuzz.keep : Outcome
  • Fuzz.alloc_count! : () => U64
  • Fuzz.live_alloc_count! : () => U64
  • Fuzz.realloc_count! : () => U64
  • Fuzz.dealloc_count! : () => U64
  • Fuzz.requested_bytes! : () => U64
  • Fuzz.scope_start! : Str => U64
  • Fuzz.scope_finish! : U64 => Stats
  • Fuzz.prepare_return_box! : () => {}
  • Fuzz.scope_finish_return! : U64, Box(a) => { value : Box(a), stats : Stats }
  • Fuzz.start_measure! : Str => Measurement
  • Fuzz.measure! : Str, (() => a) => { value : a, stats : Stats }
  • Fuzz.mark! : Str => {}
  • Fuzz.before! : Str, Str => {}
  • Fuzz.count! : Str, U64 => {}
  • Fuzz.forbidden! : Str => {}
  • Fuzz.trace_rules! : List(TraceRule) => {}
  • Fuzz.expect_allocs_at_most! : U64, (() => a) => a
  • Fuzz.expect_allocs_at_least! : U64, (() => a) => a
  • Fuzz.expect_no_leaks! : (() => a) => {}
  • Fuzz.reject : Outcome
  • Fuzz.example : { name : Str, revision : Str, make : () -> a } -> Example(a)
  • Fuzz.saved : { name : Str, revision : Str, bytes : List(U8) } -> Example(a)
  • Fuzz.encode : a -> List(U8) where [a.Encodable]
  • Fuzz.entropy : List(U8) -> List(U8)
  • Fuzz.suite : List(Target) -> Target
  • Fuzz.target : { name : Str, examples : List(Example(a)), test : a -> Outcome, show : a -> Str } -> Target where [a.generator_for : FuzzEncoding -> Generator(a), a.Encodable, a.Parseable(errs)]
  • Fuzz.target_with : { name : Str, examples : List(Example(a)), generator : Generator(a), test : a -> Outcome, show : a -> Str } -> Target where [a.Encodable, a.Parseable(errs)]
  • Fuzz.target_with! : { name : Str, examples : List(Example(a)), generator : Generator(a), test! : a => Outcome, show : a -> Str } -> Target where [a.Encodable, a.Parseable(errs)]
  • Fuzz.from_bytes! : { name : Str, examples : List(Example(List(U8))), test! : List(U8) => U8 } -> Target
  • Fuzz.from_bytes : { name : Str, examples : List(Example(List(U8))), test : List(U8) -> U8 } -> Target
  • Fuzz.constant : a -> Generator(a)
  • Fuzz.map : Generator(a), (a -> b) -> Generator(b)
  • Fuzz.map2 : Generator(a), Generator(b), (a, b -> c) -> Generator(c)
  • Fuzz.u8 : Generator(U8)
  • Fuzz.u8_in : U8, U8 -> Generator(U8)
  • Fuzz.u64 : Generator(U64)
  • Fuzz.u64_in : U64, U64 -> Generator(U64)
  • Fuzz.f32 : Generator(F32)
  • Fuzz.f32_in : F32, F32 -> Generator(F32)
  • Fuzz.f64 : Generator(F64)
  • Fuzz.f64_in : F64, F64 -> Generator(F64)
  • Fuzz.bytes : Generator(List(U8))
  • Fuzz.raw_bytes : Generator(List(U8))
  • Fuzz.str : Generator(Str)
  • Fuzz.list : Generator(a), U64 -> Generator(List(a))
  • Fuzz.Outcome := [Keep, Reject]
  • Fuzz.Stats : { allocs : U64, reallocs : U64, deallocs : U64, requested_bytes : U64, entry_live_allocs : U64, entry_live_bytes : U64, exit_live_allocs : U64, exit_live_bytes : U64, peak_live_bytes : U64 }
  • Fuzz.Measurement := { id : U64 }
  • Fuzz.Measurement.finish! : Measurement => Stats
  • Fuzz.TraceRule := [Before(Str, Str), Count(Str, U64), Forbidden(Str)]
  • Fuzz.Generator : Arbitrary -> { value : a, state : Arbitrary }
  • Fuzz.InputFormat := [Default]
  • Fuzz.InputFormat.invalid_value : InputFormat, InputState -> [MalformedInput, BudgetExceeded]
  • Fuzz.InputFormat.missing_field : InputFormat, Str -> [MalformedInput, BudgetExceeded]
  • Fuzz.InputFormat.rename_field : InputFormat, Str -> Str
  • Fuzz.InputFormat.encode_str : Str, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_str : InputFormat, InputState -> Try({ value : Str, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_bool : Bool, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_bool : InputFormat, InputState -> Try({ value : Bool, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_null : List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_null : InputFormat, InputState -> Try({ value : {}, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_u8 : U8, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_u8 : InputFormat, InputState -> Try({ value : U8, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_i8 : I8, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_i8 : InputFormat, InputState -> Try({ value : I8, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_u16 : U16, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_u16 : InputFormat, InputState -> Try({ value : U16, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_i16 : I16, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_i16 : InputFormat, InputState -> Try({ value : I16, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_u32 : U32, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_u32 : InputFormat, InputState -> Try({ value : U32, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_i32 : I32, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_i32 : InputFormat, InputState -> Try({ value : I32, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_u64 : U64, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_u64 : InputFormat, InputState -> Try({ value : U64, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_i64 : I64, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_i64 : InputFormat, InputState -> Try({ value : I64, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_u128 : U128, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_u128 : InputFormat, InputState -> Try({ value : U128, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_i128 : I128, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_i128 : InputFormat, InputState -> Try({ value : I128, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_f32 : F32, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_f32 : InputFormat, InputState -> Try({ value : F32, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_f64 : F64, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_f64 : InputFormat, InputState -> Try({ value : F64, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_dec : Dec, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_dec : InputFormat, InputState -> Try({ value : Dec, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_list : List(U8), U64, (List(U8), (List(U8), (List(U8) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)
  • Fuzz.InputFormat.parse_list_start : InputFormat, InputState -> Try([Counted({ len : U64, rest : InputState }), Uncounted(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_list_next : InputFormat, InputState -> Try([Item(InputState), Done(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_list_after_item : InputFormat, InputState -> Try([Continue(InputState), Done(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_record : List(U8), U64, (List(U8), (List(U8), Str, (List(U8) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)
  • Fuzz.InputFormat.parse_record_start : InputFormat, InputState -> Try([Counted({ len : U64, rest : InputState }), Uncounted(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_record_field : InputFormat, FieldNames(_shape), InputState -> Try([Field({ field : FieldName(_shape), rest : InputState }), TryField({ name : Str, rest : InputState }), TryFieldCaseless({ name : Str, rest : InputState }), Continue(InputState), Done(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_record_after_field : InputFormat, InputState -> Try([Continue(InputState), Done(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.skip_record_field : InputFormat, InputState -> Try(InputState, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_tuple : List(U8), U64, (List(U8), (List(U8), (List(U8) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)
  • Fuzz.InputFormat.parse_tuple_start : InputFormat, InputState, U64 -> Try(InputState, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_tuple_next : InputFormat, InputState, U64, U64 -> Try(InputState, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_tuple_end : InputFormat, InputState, U64 -> Try(InputState, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_tag : List(U8), Str, U64, (List(U8), (List(U8), (List(U8) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)
  • Fuzz.InputFormat.parse_tag_union : InputFormat, _, InputState -> Try({ value : a, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_dict : List(U8), U64, (List(U8), (List(U8), (List(U8) -> Try(List(U8), err)), (List(U8) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)) -> Try(List(U8), err)
  • Fuzz.InputFormat.parse_dict_start : InputFormat, InputState -> Try([Counted({ len : U64, rest : InputState }), Uncounted(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_dict_next : InputFormat, InputState -> Try([Entry(InputState), Done(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_dict_after_key : InputFormat, InputState -> Try(InputState, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_dict_after_entry : InputFormat, InputState -> Try([Continue(InputState), Done(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.parse_dict_duplicate_key : InputFormat, InputState -> Try([KeepFirst(InputState), KeepLast(InputState)], [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_start : InputFormat, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_start : InputFormat, InputState -> Try(InputState, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_str : InputFormat, Str, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_str : InputFormat, InputState -> Try({ value : Str, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_bool : InputFormat, Bool, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_bool : InputFormat, InputState -> Try({ value : Bool, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_u8 : InputFormat, U8, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_u8 : InputFormat, InputState -> Try({ value : U8, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_i8 : InputFormat, I8, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_i8 : InputFormat, InputState -> Try({ value : I8, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_u16 : InputFormat, U16, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_u16 : InputFormat, InputState -> Try({ value : U16, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_i16 : InputFormat, I16, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_i16 : InputFormat, InputState -> Try({ value : I16, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_u32 : InputFormat, U32, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_u32 : InputFormat, InputState -> Try({ value : U32, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_i32 : InputFormat, I32, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_i32 : InputFormat, InputState -> Try({ value : I32, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_u64 : InputFormat, U64, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_u64 : InputFormat, InputState -> Try({ value : U64, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_i64 : InputFormat, I64, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_i64 : InputFormat, InputState -> Try({ value : I64, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_u128 : InputFormat, U128, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_u128 : InputFormat, InputState -> Try({ value : U128, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_i128 : InputFormat, I128, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_i128 : InputFormat, InputState -> Try({ value : I128, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_f32 : InputFormat, F32, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_f32 : InputFormat, InputState -> Try({ value : F32, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_f64 : InputFormat, F64, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_f64 : InputFormat, InputState -> Try({ value : F64, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_dec : InputFormat, Dec, List(U8) -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_dec : InputFormat, InputState -> Try({ value : Dec, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputFormat.encode_key_tag : InputFormat, List(U8), Str -> Try(List(U8), [])
  • Fuzz.InputFormat.parse_key_tag_union : InputFormat, _, InputState -> Try({ value : a, rest : InputState }, [MalformedInput, BudgetExceeded])
  • Fuzz.InputState := { bytes : List(U8), nodes : U64, containers : U64 }
  • Fuzz.Encodable : a where [a.encoder_for : InputFormat -> (a, List(U8) -> Try(List(U8), []))]
  • Fuzz.Parseable : a where [a.parser_for : InputFormat -> (InputState -> Try({ value : a, rest : InputState }, [MalformedInput, BudgetExceeded, ..errs]))]
  • Fuzz.FuzzEncoding := [Default]
  • Fuzz.Example := [Typed({ name : Str, revision : Str, make : () -> a }), Saved({ name : Str, revision : Str, bytes : List(U8) })]
  • Model
  • Model.always : Str, (state -> Bool) -> Rule(state, action)
  • Model.sometimes : Str, (state -> Bool) -> Rule(state, action)
  • Model.at_rest : Str, (state -> Bool) -> Rule(state, action)
  • Model.always_step : Str, (Transition(state, action) -> Bool) -> Rule(state, action)
  • Model.sometimes_step : Str, (Transition(state, action) -> Bool) -> Rule(state, action)
  • Model.goals : Machine(state, action) -> List(Str)
  • Model.check : Machine(state, action), { depth : U64 } -> Search(action) where [state.is_eq : state, state -> Bool, state.to_hash : state, Hasher -> Hasher]
  • Model.explore : Machine(state, action), Options(state, key) -> Report(action) where [key.is_eq : key, key -> Bool, key.to_hash : key, Hasher -> Hasher]
  • Model.witness : Report(action), Str -> Try(List(action), [NotReached])
  • Model.explain : Report(action) -> Str
  • Model.walk : Machine(state, action), List(U8) -> Run(state, action) where [state.is_eq : state, state -> Bool]
  • Model.replay : Machine(state, action), List(action) -> Run(state, action) where [state.is_eq : state, state -> Bool, action.is_eq : action, action -> Bool]
  • Model.apply : Machine(state, action), List(action) -> Applied(state, action) where [state.is_eq : state, state -> Bool, action.is_eq : action, action -> Bool]
  • Model.step_from : Machine(state, action), state -> Step(action) where [state.is_eq : state, state -> Bool]
  • Model.walk_target : { name : Str, machine : Machine(state, action), examples : List(Example(List(U8))) } -> Target where [state.is_eq : state, state -> Bool, action.is_eq : action, action -> Bool]
  • Model.walk_example : Machine(state, action), { name : Str, revision : Str, trace : List(action) } -> Example(List(U8)) where [action.is_eq : action, action -> Bool]
  • Model.path_target : { name : Str, machine : Machine(state, action), decode : List(U8) -> List(action), examples : List(Example(List(U8))) } -> Target where [state.is_eq : state, state -> Bool, action.is_eq : action, action -> Bool]
  • Model.step_target : { name : Str, machine : Machine(state, action), generator : Generator(state), examples : List(Example(state)) } -> Target where [state.is_eq : state, state -> Bool, state.Encodable, state.Parseable(errs)]
  • Model.Rule := [Always(Str, state -> Bool), Sometimes(Str, state -> Bool), AtRest(Str, state -> Bool), AlwaysStep(Str, Transition(state, action) -> Bool), SometimesStep(Str, Transition(state, action) -> Bool)]
  • Model.Transition : { before : state, action : action, after : state }
  • Model.Machine : { init : state, actions : state -> List(action), step : state, action -> state, rules : List(Rule(state, action)) }
  • Model.Extent : [Exhausted, Bounded]
  • Model.Verdict : [Holds(Extent), Violated({ rule : Str, trace : List(action) }), Deadlock({ rule : Str, trace : List(action) }), Unreached({ rule : Str, extent : Extent })]
  • Model.Search : { verdict : Verdict(action), states : U64, depth : U64 }
  • Model.Options := { depth : U64, key : state -> key, verify : [NewStates, EveryStep] ?? NewStates, blame : [FirstRule, EveryRule] ?? FirstRule }
  • Model.Report : { verdict : Verdict(action), states : U64, depth : U64, steps : U64, broken : List(Str), reached : List({ rule : Str, trace : List(action) }), unreached : List(Str) }
  • Model.Run : { trace : List(action), state : state, reached : List(Str), verdict : [Completed, Violated({ rule : Str }), Deadlock({ rule : Str }), Impossible({ at : U64 })] }
  • Model.Applied : { trace : List(action), state : state, reached : List(Str), unreached : List(Str), outside : List(U64), verdict : [Completed, Violated({ rule : Str }), Deadlock({ rule : Str })] }
  • Model.Step : [Outside({ rule : Str }), Preserved({ actions : U64, reached : List(Str) }), Broken({ rule : Str, action : action }), Stuck({ rule : Str })]
  • Solve
  • Solve.num : U64 -> Uint
  • Solve.truth : Bool -> Claim
  • Solve.all : List(Claim) -> Claim
  • Solve.any : List(Claim) -> Claim
  • Solve.if_else : Claim, Uint, Uint -> Uint
  • Solve.if_else_claim : Claim, Claim, Claim -> Claim
  • Solve.map2 : Vars(a), Vars(b), (a, b -> c) -> Vars(c)
  • Solve.map : Vars(a), (a -> b) -> Vars(b)
  • Solve.uint_in : U8, U64, U64 -> Vars(Uint)
  • Solve.uint : U8 -> Vars(Uint)
  • Solve.u8 : Vars(Uint)
  • Solve.u16 : Vars(Uint)
  • Solve.u32 : Vars(Uint)
  • Solve.u64 : Vars(Uint)
  • Solve.u8_in : U64, U64 -> Vars(Uint)
  • Solve.u16_in : U64, U64 -> Vars(Uint)
  • Solve.u32_in : U64, U64 -> Vars(Uint)
  • Solve.u64_in : U64, U64 -> Vars(Uint)
  • Solve.several : Vars(item), U64 -> Vars(List(item))
  • Solve.bool : Vars(Claim)
  • Solve.default_budget : U64
  • Solve.no_limit : U64
  • Solve.find : Vars(v), (v -> Claim) -> Try([Found(v), None], Problem)
  • Solve.find_within : Vars(v), (v -> Claim), U64 -> Try([Found(v), None, GaveUp(Effort)], Problem)
  • Solve.find_near : Vars(v), (v -> Claim), List(U64) -> Try([Found(v), None], Problem)
  • Solve.find_near_within : Vars(v), (v -> Claim), List(U64), U64 -> Try([Found(v), None, GaveUp(Effort)], Problem)
  • Solve.prove : Vars(v), (v -> Claim) -> Try([Proved, Refuted(v), Crashes(v)], Problem)
  • Solve.prove_within : Vars(v), (v -> Claim), U64 -> Try([Proved, Refuted(v), Crashes(v), GaveUp(Effort)], Problem)
  • Solve.enumerate : Vars(v), (v -> Claim), U64 -> Try(List(v), Problem)
  • Solve.enumerate_within : Vars(v), (v -> Claim), U64, U64 -> Try([Listed(List(v)), GaveUp(List(v), Effort)], Problem)
  • Solve.prepare : Vars(v), (v -> Claim) -> Try(Prepared(v), Problem)
  • Solve.prepare_with : Vars(v), (v -> Claim), (v -> List(Claim)) -> Try(Prepared(v), Problem)
  • Solve.ask : Prepared(v), Query -> Try([Found(v), None, GaveUp(Effort)], Problem)
  • Solve.check : Vars(v), (v -> Claim), List(U64) -> Try(Bool, Problem)
  • Solve.measure : Vars(v), (v -> Claim) -> Try({ unknowns : U64, bits : U64, variables : U64, clauses : U64 }, Problem)
  • Solve.effort : Vars(v), (v -> Claim), [Find, Prove] -> Try(Effort, Problem)
  • Solve.Uint
  • Solve.Uint.from_numeral : Numeral -> Try(Uint, [InvalidNumeral(Str)])
  • Solve.Uint.from_u8 : U8 -> Uint
  • Solve.Uint.from_u16 : U16 -> Uint
  • Solve.Uint.from_u32 : U32 -> Uint
  • Solve.Uint.from_u64 : U64 -> Uint
  • Solve.Uint.of_width : U64, U8 -> Uint
  • Solve.Uint.from_i8 : I8 -> Uint
  • Solve.Uint.from_i16 : I16 -> Uint
  • Solve.Uint.from_i32 : I32 -> Uint
  • Solve.Uint.from_i64 : I64 -> Uint
  • Solve.Uint.plus : Uint, Uint -> Uint
  • Solve.Uint.minus : Uint, Uint -> Uint
  • Solve.Uint.times : Uint, Uint -> Uint
  • Solve.Uint.div_trunc_by : Uint, Uint -> Uint
  • Solve.Uint.rem_by : Uint, Uint -> Uint
  • Solve.Uint.plus_wrap : Uint, Uint -> Uint
  • Solve.Uint.minus_wrap : Uint, Uint -> Uint
  • Solve.Uint.times_wrap : Uint, Uint -> Uint
  • Solve.Uint.plus_overflows : Uint, Uint -> Claim
  • Solve.Uint.minus_overflows : Uint, Uint -> Claim
  • Solve.Uint.times_overflows : Uint, Uint -> Claim
  • Solve.Uint.bitwise_and : Uint, Uint -> Uint
  • Solve.Uint.bitwise_or : Uint, Uint -> Uint
  • Solve.Uint.bitwise_xor : Uint, Uint -> Uint
  • Solve.Uint.bitwise_not : Uint -> Uint
  • Solve.Uint.shl_wrap : Uint, U8 -> Uint
  • Solve.Uint.shr_wrap : Uint, U8 -> Uint
  • Solve.Uint.to_width : Uint, U8 -> Uint
  • Solve.Uint.to_width_wrap : Uint, U8 -> Uint
  • Solve.Uint.shared : Uint -> Uint
  • Solve.Uint.plus_signed : Uint, Uint -> Uint
  • Solve.Uint.minus_signed : Uint, Uint -> Uint
  • Solve.Uint.times_signed : Uint, Uint -> Uint
  • Solve.Uint.plus_overflows_signed : Uint, Uint -> Claim
  • Solve.Uint.minus_overflows_signed : Uint, Uint -> Claim
  • Solve.Uint.times_overflows_signed : Uint, Uint -> Claim
  • Solve.Uint.to_width_signed : Uint, U8 -> Uint
  • Solve.Uint.lt_signed : Uint, Uint -> Claim
  • Solve.Uint.lte_signed : Uint, Uint -> Claim
  • Solve.Uint.gt_signed : Uint, Uint -> Claim
  • Solve.Uint.gte_signed : Uint, Uint -> Claim
  • Solve.Uint.eq : Uint, Uint -> Claim
  • Solve.Uint.neq : Uint, Uint -> Claim
  • Solve.Uint.lt : Uint, Uint -> Claim
  • Solve.Uint.lte : Uint, Uint -> Claim
  • Solve.Uint.gt : Uint, Uint -> Claim
  • Solve.Uint.gte : Uint, Uint -> Claim
  • Solve.Uint.eval : Uint -> Try(U64, Problem)
  • Solve.Uint.value : Uint -> U64
  • Solve.Uint.eval_signed : Uint -> Try(I64, Problem)
  • Solve.Uint.value_signed : Uint -> I64
  • Solve.Uint.is_eq : Uint, Uint -> Bool
  • Solve.Uint.to_inspect : Uint -> Str
  • Solve.Claim
  • Solve.Claim.is_eq : Claim, Claim -> Bool
  • Solve.Claim.not : Claim -> Claim
  • Solve.Claim.implies : Claim, Claim -> Claim
  • Solve.Claim.iff : Claim, Claim -> Claim
  • Solve.Claim.both : Claim, Claim -> Claim
  • Solve.Claim.either : Claim, Claim -> Claim
  • Solve.Claim.shared : Claim -> Claim
  • Solve.Claim.eval : Claim -> Try(Bool, Problem)
  • Solve.Claim.value : Claim -> Bool
  • Solve.Claim.to_inspect : Claim -> Str
  • Solve.Problem : [Overflow, DivByZero, WidthMismatch({ left : U8, right : U8 }), LiteralTooLarge({ literal : U64, width : U8 }), BadWidth(U8), BadRange({ lo : U64, hi : U64, width : U8 }), Unbound(U64), NoSuchExtra(U64), Malformed, GaveUp(Effort), Solver([ZeroLiteral, LiteralOutOfRange(I32), UnknownVariable(I32), VariableLimit]), Disagreement]
  • Solve.Vars
  • Solve.Effort : { conflicts : U64, decisions : U64, propagations : U64, restarts : U64 }
  • Solve.Prepared
  • Solve.Query : { near : List(U64), assuming : List(U64), within : U64 }
  • Target
  • Target.new : { name : Str, run! : List(U8) => U8, show : List(U8) -> Str, example_count : () -> U64, example : U64 -> { name : Str, revision : Str, bytes : List(U8) } } -> Target
  • Target.with_goals : Target, List(Str) -> Target
  • Target.goals : Target -> List(Str)
  • Target.new_suite : List(Target) -> Target
  • Target.count : Target -> U64
  • Target.get : Target, U64 -> Try(Target, [OutOfBounds])
  • Target.name : Target -> Str
  • Target.run! : Target, List(U8) => U8
  • Target.show : Target, List(U8) -> Str
  • Target.example_count : Target -> U64
  • Target.example : Target, U64 -> { name : Str, revision : Str, bytes : List(U8) }

Made by people who like to make nice things.