CLI Benchmark & Assembly Proof
The bath-compile binary operates entirely offline on your local CPU. It executes formal verification across strategy models, strips runtime pre-trade risk branches, and emits zero-overhead machine code.
1. Local Strategy Verification & Benchmark
Run local formal verification and measure clock-cycle iteration bounds against live market data tick models:
bath-compile --verify --benchmark --strategy=./src/arbitrage_model.cpp
2. Disassembly Branch Verification (The Assembly Proof)
Disassemble the emitted binary using standard UNIX object tools to mathematically prove the absence of conditional jumps in the critical order path:
objdump -d ./build/execution_edge.bin | grep -E "je|jne|jg|jl|jmp"
Expected State: Zero conditional branch instructions in the order transmission path, eliminating branch-misprediction pipeline stalls and guaranteeing microsecond determinism.
Flags & Options
--verify: Run local AST & SMT proof solvers to mathematically prove invariant closure.--benchmark: Measure clock cycles and emit assembly-level telemetry.--strategy <file>: Path to C++ or Rust strategy source code.--target <arch>: Target compilation architecture (x86_64-local,bare-metal-efvi,wasm-edge).