Skip to main content

Crate pot_o_core

Crate pot_o_core 

Source
Expand description

Core types and utilities for PoT-O (Proof of Tensor Optimizations).

Provides block and transaction types, error handling, tensor network utilities, and constants used across the validator, mining, and extensions crates.

§Tensor Network (REALMS Part IV)

This crate implements quantum-inspired tensor network models where:

  • Vertices represent quantum subsystems (miners, pools)
  • Edges represent entanglement links with bond dimension d
  • Entropy S(A) = |γ_A| * log(d) quantifies entanglement
  • Mutual information I(A:B) measures region coupling
  • Effective distance d_eff recovers geometric structure

Re-exports§

pub use error::TribeError;
pub use error::TribeResult;
pub use tensor::entropy::entropy_from_cut;
pub use tensor::entropy::mutual_information;
pub use tensor::entropy::effective_distance;
pub use tensor::entropy::total_network_entropy;
pub use tensor::entropy::approximate_minimal_cut;
pub use tensor::entropy::coherence_probability;
pub use types::*;
pub use tensor::constants::*;
pub use math::portable::*;

Modules§

error
Error types for PoT-O core operations.
math
Multi-tier arithmetic for tensor network calculations
tensor
Tensor network utilities from REALMS Part IV
types
Core types for PoT-O system.

Structs§

Block
Minimal block representation aligned with .AI3 core::Block.
Transaction
A single chain transaction.

Enums§

TokenType
Token type identifier on the chain.
TransactionType
Kind of on-chain transaction.

Constants§

BLOCK_TIME_TARGET
Block time target in seconds.
ESP_MAX_TENSOR_DIM
Maximum tensor dimensions for ESP-compatible challenges.
VERSION
TribeChain version (from crate version).