High-performance neuro-symbolic verification layer for AI validation and logic-based guardrails.
Project description
LNT (Logic Neutrality Tool)
Experimental Neuro-Symbolic Validation Prototype
[!WARNING] Experimental Status: LNT is currently a research prototype in early-stage development. It has not been audited for security, has no third-party validation, and is not recommended for production use, especially in mission-critical financial or healthcare applications.
LNT is a developer library exploring the use of Neuro-Symbolic Validation to bridge probabilistic model outputs with structured logical constraints. It provides a technical framework for experimenting with formal verification in AI pipelines.
Technical Concept
The core hypothesis of LNT is that business rules can be represented as a mathematical manifold and validated using an SMT solver (Z3) and vectorized matrix operations (NumPy).
Current Implementation Features (Alpha):
- Vectorized Logic Engine: A NumPy-based implementation for evaluating constraints.
- SMT Solver Integration: Experimental bridge to the Z3 solver for checking manifest consistency.
- Semantic Mapping: A lightweight fuzzy-matching layer (
rapidfuzz) for mapping unstructured text to logic entities. - Fairness Auditing: A basic implementation of the 80% rule for statistical parity analysis.
Project Status
- Audits: None. This project has not undergone any formal security or logic audits.
- Production Use: None. There is no evidence of production deployment; it is intended for local experimentation and research.
- Benchmarks: Preliminary local benchmarks suggest sub-millisecond evaluation for simple rule sets, but these have not been independently verified or peer-reviewed.
Exploration: Using the Validation Gate
# Developer install
pip install lnt-sovereign
Basic Example (Research Prototype)
from lnt_sovereign import LNTClient
# Initialize the local prototype
client = LNTClient(base_url="http://localhost:8000")
# Sample input for evaluation
proposal = {
"amount": 450.0,
"user_risk_score": 15,
}
# Evaluate against an experimental manifest
result = client.audit("test_policy", proposal)
print(f"Status: {result.status}")
print(f"Logic Health Score: {result.score}")
Documentation (Work in Progress)
LNT: A technical exploration in deterministic AI validation.
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.4.tar.gz.
File metadata
- Download URL: lnt_sovereign-1.0.4.tar.gz
- Upload date:
- Size: 43.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea426edac47b659a96141b51adec4988864df404152e12ff9cda5d6c5fd944ad
|
|
| MD5 |
49d2355024db6881c5553d5719a82827
|
|
| BLAKE2b-256 |
9966670aaa749aa55bd64e2ce8263d14cf678a475e97f44e3b11cb861036b199
|
File details
Details for the file lnt_sovereign-1.0.4-py3-none-any.whl.
File metadata
- Download URL: lnt_sovereign-1.0.4-py3-none-any.whl
- Upload date:
- Size: 46.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c19577218ec0f239e9e12ba826f240ecb689eb640ff621b3272c172cbdd6e1b1
|
|
| MD5 |
6f8d543d5bdd4058139de86c4181dbfc
|
|
| BLAKE2b-256 |
97b4b5041532a3f7ab4a098edf52955e3ea69a5dc973793f44c80bf211381b0b
|