// ---
// tags: bbg, rust
// crystal-type: source
// crystal-domain: cyber
// ---
//! Signal and cyberlink types โ the single input to BBG state.
use crate;
/// A cyberlink: the five-field atomic unit of knowledge.
/// โ = (p, q, ฯ, a, v)
/// A box movement: spend a conviction box and optionally create a new one.
/// A signal: the atomic broadcast unit from a neuron.
/// s = (ฮฝ, โโ, ฮฯ*, ฯ, t)
///
/// cybergraph validates ฯ and all semantic constraints before calling bbg.insert.
/// BBG only checks the structural double-spend invariant.
/// Error returned by bbg.insert โ structural check only.