HPC Tier Module

General Molecule-Graph Validity - integer-exact valence/connectivity + energy penalty (no AI)

General, integer-exact CHEMICAL VALIDITY over an in-memory atom-bond GRAPH { atoms:[{element}], bonds:[{a,b,order}], charges?, sites?

See it run - a worked example, 100% in this browser tab

What it is

General, integer-exact CHEMICAL VALIDITY over an in-memory atom-bond GRAPH { atoms:[{element}], bonds:[{a,b,order}], charges?, sites? } (0-indexed atoms; bond order in 1, 1.5, 2, 3). Every atom's incident bond orders are summed in half-bond integer units, formal charge applied, and any atom whose valence is not allowed by the cited standard-valence table (C=4, N=3, O=2, H=1, S=2/4/6, P=3/5, halogens=1, B=3) is flagged; a single connected graph is required. It also emits the INTEGER ENERGY PENALTY (flagged atoms + 1 if disconnected) that is the validity term of the molecular-design sampler's energy. NO learned model and NO AI - every rule is cited standard chemistry, exact integer arithmetic, bit-reproducible. HONEST: "valid" means WELL-FORMED under the octet/valence model, NOT that the molecule is real, stable, or synthesizable. No claim is made that the geometric substrate is chemically special (it was benchmarked information-equivalent to Weisfeiler-Leman).

Honest scope

Deterministic and citation-backed: every figure is exact arithmetic or a cited rule. Any year- or jurisdiction-indexed value is a confirmable input, never an eternal hardcode. This is a computation tool, not professional (legal, tax, medical, or financial) advice - confirm against the controlling authority for your context.

Authorities cited

Run it on your own data

Open it inside GDBS to save runs to Sandbox, attach results to a Worklog case, or share through a Gate client portal - all in the browser, nothing uploaded to anyone’s cloud.

GDBS by VaultSync Solutions Inc. - Verifiable Computation. gdbs.getvaultsync.com