We present a compact, height-balanced index that supports attention-style vector retrieval in C++. The design couples a binary-search-like traversal with a lightweight node layout that preserves key order and strict height balance, enabling deterministic O(log N) point and range queries. Formal invariants are maintained through local rebalancing rotations that are provably safe under concurrent insertions. The algorithmic structure is expressed as a single templated class with contiguous node packing, yielding a minimal AST footprint. No runtime profiling was performed; all guarantees are derived from static analysis and formal proofs.
Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.
Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.
Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.
@article{yonathan2026_2026_11_08_attention_via_black_box_vector_sear,
title={Attention via Aether-Obsidian Vector Search: Height-Balanced Invariant Preservation in a C++ Balanced Index},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-11-08_attention_via_black_box_vector_sear/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-11-08_attention_via_black_box_vector_sear/2026-11-08_attention_via_black_box_vector_sear.pdf}}
}