pub struct DescriptionBound {
pub object_hash: u64,
pub bytes: usize,
pub descriptor: Descriptor,
}Expand description
A computable upper bound K̄(x) on the Kolmogorov complexity of an object x, over the fixed
description language, carrying a re-checkable decode witness.
bytes is the program length (the bound). object_hash is a stable content hash of x.
DescriptionBound::verify decodes the descriptor and confirms it reproduces x — an upper
bound is only trustworthy because decode(program) = x.
Fields§
§object_hash: u64A stable content hash of the described object (order- and value-sensitive).
bytes: usizeThe description length in bytes — the certified upper bound K̄(x).
descriptor: DescriptorThe program (in the description language) that reproduces the object.
Implementations§
Source§impl DescriptionBound
impl DescriptionBound
Sourcepub fn of_int_seq(v: &[i64]) -> DescriptionBound
pub fn of_int_seq(v: &[i64]) -> DescriptionBound
Describe an integer sequence by its shortest generator-menu encoding (Layer 1). The result’s
bytes is never larger than the plain-varint length of the sequence.
Sourcepub fn of_boolean(truth: &[bool]) -> Option<DescriptionBound>
pub fn of_boolean(truth: &[bool]) -> Option<DescriptionBound>
Describe a Boolean function by its recursive symmetry decomposition (Layer 3), the same certified
upper bound as kolmogorov_bound but inside the unified DescriptionBound framework. bytes is
the tree’s total description size rounded up to bytes. None if truth.len() is not a power of two.
Trait Implementations§
Source§impl Clone for DescriptionBound
impl Clone for DescriptionBound
Source§fn clone(&self) -> DescriptionBound
fn clone(&self) -> DescriptionBound
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DescriptionBound
impl Debug for DescriptionBound
Source§impl PartialEq for DescriptionBound
impl PartialEq for DescriptionBound
Source§fn eq(&self, other: &DescriptionBound) -> bool
fn eq(&self, other: &DescriptionBound) -> bool
self and other values to be equal, and is used by ==.