High-performance neuro-symbolic verification layer for AI validation and logic-based guardrails.
Project description
LNT: Logic Neutrality Tensor
High-Performance Neuro-Symbolic Validation & Deterministic Guardrails
⚖️ Deterministic AI Validation
Standard AI guardrails often rely on probabilistic models to monitor other probabilistic models. LNT (Logic Neutrality Tensor) introduces a deterministic layer that enforces hard symbolic constraints over model outputs.
Designed for high-reliability sectors like FinTech, HealthTech, and automated infrastructure, LNT ensures that AI behavior remains within strict, mathematically verifiable boundaries.
🚀 Technical Core
1. Vectorized Evaluation (BELM)
The Bilateral Evaluation Logic Manifold (BELM) is a JIT-compiled, SIMD-accelerated kernel. It leverages Numba and NumPy to enable sub-millisecond evaluation cycles, capable of processing 10,000+ constraints in <3ms.
2. Temporal State Buffers
LNT supports state-aware validation through high-concurrency sliding windows. This enables:
- Behavioral Frequency: Monitoring event rates and burst protection.
- Trailing Indicators: Calculating signal averages and deltas over configurable time horizons.
3. Hierarchical Constraint Logic (DAG)
Supports complex rule inter-dependencies using Directed Acyclic Graphs. Rules can be conditioned on the results of prerequisite checks, optimizing evaluation paths for complex domain logic.
4. Domain Registry
LNT provides a extensible framework for domain-specific rule manifests. Supported integration patterns include:
- Financial Compliance: Transaction monitoring and AML heuristics.
- Medical Telemetry: Structured validation of vital signal consistency.
- Logistics & Grid Control: Real-time load-balancing and operational boundaries.
🛠 Quick Start
Installation
pip install lnt-sovereign
Basic Usage
from lnt_sovereign.client import LNTClient
# Initialize the Validation Client
client = LNTClient()
# Define an input proposal
proposal = {
"velocity": 450,
"context": {"age_days": 2}
}
# Audit against a domain manifest
result = client.audit(manifest_id="fintech_v1", proposal=proposal)
if result.status == "PASS":
print(f"Validation Score: {result.score} - SUCCESS")
else:
print(f"FAILED: {result.violations[0].description}")
🔍 Formal Verification
Every LNT manifest is validated using Z3 SMT Solvers to mathematically guarantee:
- Conflict-Free Logic: No internal rule contradictions.
- Satisfiability: Ensures the constraint set can be logically met by some input.
- Boundary Soundness: Verification of signal thresholds and range logic.
📜 Documentation
For detailed architecture, API references, and manifest schema specifications, visit the Documentation Portal.
LNT is maintained for the development of high-reliability AI systems.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lnt_sovereign-1.0.1.tar.gz.
File metadata
- Download URL: lnt_sovereign-1.0.1.tar.gz
- Upload date:
- Size: 32.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
beddc1dca1f067da6d4449c2d36cc0d62a3f2e2a295f75b1cc6fc96faa85e737
|
|
| MD5 |
6632aacee0d690cdfe18de7e6f733d42
|
|
| BLAKE2b-256 |
6223843310a18d8df0ca12af6356e6f78b5eb7e39a58b2d1ce195c164aa6e7e1
|
File details
Details for the file lnt_sovereign-1.0.1-py3-none-any.whl.
File metadata
- Download URL: lnt_sovereign-1.0.1-py3-none-any.whl
- Upload date:
- Size: 35.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ad9382ecad5c0f847017c75161b0324a16d700c970973a841a8f8c25d60d5eb
|
|
| MD5 |
8f3db7dbd0ca0856f931cc4127814199
|
|
| BLAKE2b-256 |
4e5a44f0bbd13674a3bee7f24694c1e4ce68493e0b6a460f654c2e1170f064a0
|