Skip to main content

SlgOpcode

Enum SlgOpcode 

Source
pub enum SlgOpcode {
Show 124 variants CheckTable, CheckDefeaters, CheckSubsumption, BranchWorld, CheckThreshold, ConsumeFact, ZkConsumeFact, Unify, Call, Return, ApplyTaxSchema, Halt, WarnOnly, CheckMinInclusive(f64), CheckMaxInclusive(f64), CheckMinExclusive(f64), CheckMaxExclusive(f64), CheckMinCount(u32), CheckMaxCount(u32), CheckMinLength(u32), CheckMaxLength(u32), CheckPattern(u64), CheckHasValue(u64), CheckNodeShape(u64), CheckNotShape(u64), SoftCheckNodeShape(u64), RequireAnyShape, CheckObjectDatatype(u8), NativeThermodynamics, NativeOdeSolver, NativeRk4Step(u64), NativeQuantumDft, NativeReceptorBinding, NativeQuboCompile, NativeQuboEmitLinear(u8, u32), NativeQuboEmitCoupler(u8, u8, u32), NativeQuantumEgress(u8), NativeQuantumIngress, NativeNucleotideAlign, NativeBioinformatics, NativeProteinAlign(u8), NativeKmerFrequency(u8), NativeFastaValidation, NativeGeneExpression, NativeMetaboliteSimilarity, NativeClinicalRisk(u8), NativeLongitudinalTrend(u32), NativeDrugInteraction, NativeContraindication, NativeFhirObservation(u64), NativeEconomics, NativeSmilesValidation, NativeInchiValidation, NativeMolecularWeight(u64), NativeLogP(u32), NativeTPSA(u32), NativeLipinskiFilter, NativeVeberFilter, NativeGhoseFilter, NativeEganFilter, NativeFunctionalGroups, NativePkaEstimate, NativeChiralCenters, NativeCircularFingerprint(u8), NativeArrhenius(u32), NativeGibbsEnergy, NativeEquilibrium, NativeHendersonHasselbalch, NativeAtomEconomy, NativeEFactor, NativeGreenMetrics, NativeComputeCrcl, NativeComputeEgfr, NativeEvaluatePkModel, NativeComputeSofaScore, NativeTranslateDna, NativeIsoelectricPoint, NativePeptideCleavage, NativeBbbPermeation, NativeLigandEfficiency, NativeLLE, NativeIsotopeDistribution, NativeDeonticEval, NativeEpistemicEval(u8), NativeLinearConsume, NativeAspStableModels, NativeParaconsistentIsolate, NativeDialecticalSynthesis, NativeProbabilisticThreshold(u32), NativeDlSubsumption, NativeArgumentationGrounded, NativeMtlWithin(u32), NativeContraryToDuty, NativeCausalNecessary, NativeAbduce, NativeClosedWorld, NativeFuzzyConjunction(u32), NativeCtlExistsFinally, NativeCtlAlwaysGlobally, NativeModalNecessary, NativeModalPossible, NativeRcc8(u8), NativeRcc8Assert(u8), NativeAllenIntervalAssert(u8), NativeRegisterRule, NativeStewardQuorum(u8), NativeCanvasPlacement, NativeRetrieveByActivation, NativeDecayMetadata, NativeUnless, NativeLtlGlobally, NativeLtlFinally, NativeLtlNext, NativeLtlUntil, NativeLtlRelease, NativeManifoldLtl { mode: u8, dimension: u8, threshold_bits: u32, at_least: bool, }, NativeManifoldAsp, NativeAllenInterval(u8), NativeLorentzDistance, NativeTropicalDistance, NativeVerifyProofOfLocation, NativeCalcSimpsons(u64, u64, u32, u32), NativeCalcTrapezoidal(u64, u64, u32, u32), NativeCalcGpu(u64, u64, u32, u32),
}
Expand description

The Opcodes for the Lightweight Warren Abstract Machine (WAM) variant. f64 parameters require PartialEq only — Eq is not derived.

Variants§

§

CheckTable

§

CheckDefeaters

§

CheckSubsumption

§

BranchWorld

§

CheckThreshold

Deprecated — use CheckMinInclusive.

§

ConsumeFact

§

ZkConsumeFact

Linear-logic zero-knowledge–gated resource exhaustion: like ConsumeFact, but the cryptographic-token resource (subject_reg, predicate_reg, object_reg) is spent only if a verified zk-entitlement marker (subject_reg, q42:zkVerified, q42:true) is live in the arena. Absent the proof, or if the token is already spent, the frame fails (None). Delegates to modalities::linear::zk_gated_consume.

§

Unify

§

Call

§

Return

§

ApplyTaxSchema

§

Halt

§

WarnOnly

sh:Warning terminal — emits diagnostic but does not halt ingestion.

§

CheckMinInclusive(f64)

§

CheckMaxInclusive(f64)

§

CheckMinExclusive(f64)

§

CheckMaxExclusive(f64)

§

CheckMinCount(u32)

§

CheckMaxCount(u32)

§

CheckMinLength(u32)

§

CheckMaxLength(u32)

§

CheckPattern(u64)

Pattern stored as q_hash of the regex string; compared against literal hash.

§

CheckHasValue(u64)

q_hash of the single expected value.

§

CheckNodeShape(u64)

q_hash of a referenced node-shape IRI.

§

CheckNotShape(u64)

Negation: passes only if the referenced shape would FAIL.

§

SoftCheckNodeShape(u64)

OR-branch: records a passing rdf:type match without failing the frame.

§

RequireAnyShape

Fails unless at least one preceding SoftCheckNodeShape matched.

§

CheckObjectDatatype(u8)

Validates inline literal tag on object_reg (0=IRI, 1=int, 2=decimal, 3=bool).

§

NativeThermodynamics

§

NativeOdeSolver

§

NativeRk4Step(u64)

RK4 ODE time-stepper with chaining support Parameters packed: step_size (lower 32 bits) | num_steps (upper 32 bits)

§

NativeQuantumDft

§

NativeReceptorBinding

qualia:predictReceptorBinding — PINN binding affinity.

§

NativeQuboCompile

Compile semantic constraints into blind QUBO matrix (Core 2).

§

NativeQuboEmitLinear(u8, u32)

Emit linear QUBO bias: (var_index, f32_bits).

§

NativeQuboEmitCoupler(u8, u8, u32)

Emit quadratic coupler: (var_a, var_b, f32_bits).

§

NativeQuantumEgress(u8)

Egress to remote QPU: 0=annealer, 1=gate-model. Yields frame to Core 3.

§

NativeQuantumIngress

Ingress: collapse provider JSON into provenance Quins.

§

NativeNucleotideAlign

qualia:alignNucleotideSequence — Smith-Waterman with BLAST nucleotide matrix.

§

NativeBioinformatics

Deprecated form — routes to NativeNucleotideAlign.

§

NativeProteinAlign(u8)

qualia:alignProteinSequence — BLOSUM62 (0) or PAM250 (1).

§

NativeKmerFrequency(u8)

qualia:computeKmerFrequency — k-mer size embedded as parameter.

§

NativeFastaValidation

qualia:validateFastaRecord.

§

NativeGeneExpression

qualia:evaluateGeneExpression.

§

NativeMetaboliteSimilarity

qualia:computeMetaboliteSimilarity — Tanimoto fingerprint check.

§

NativeClinicalRisk(u8)

qualia:computeRiskScore — 0=Framingham, 1=CHA₂DS₂-VASc, 2=SCORE2.

§

NativeLongitudinalTrend(u32)

qualia:evaluateLongitudinalTrend — sliding window in days.

§

NativeDrugInteraction

qualia:evaluateDrugInteraction.

§

NativeContraindication

qualia:checkContraindication.

§

NativeFhirObservation(u64)

qualia:validateFhirObservation — LOINC code hash.

§

NativeEconomics

§

NativeSmilesValidation

qualia:validateSmiles — structural SMILES validity.

§

NativeInchiValidation

qualia:validateInchi — InChI / InChIKey format check.

§

NativeMolecularWeight(u64)

qualia:computeMolecularWeight — exact MW from SMILES; param = max allowed Da (bits of f64).

§

NativeLogP(u32)

qualia:computeLogP — Crippen LogP; param = max allowed × 100 as i32 (stored as u32 bits).

§

NativeTPSA(u32)

qualia:computeTPSA — Ertl TPSA; param = max Ų (as u32).

§

NativeLipinskiFilter

qualia:evaluateLipinski — Rule-of-Five drug-likeness filter.

§

NativeVeberFilter

qualia:evaluateVeber — Veber oral-bioavailability filter.

§

NativeGhoseFilter

qualia:evaluateGhose — Ghose drug-likeness filter.

§

NativeEganFilter

qualia:evaluateEgan — Egan passive-absorption filter.

§

NativeFunctionalGroups

qualia:detectFunctionalGroups — returns set of detected functional group hashes.

§

NativePkaEstimate

qualia:computePka — functional-group-based pKa estimation.

§

NativeChiralCenters

qualia:computeChiralCenters — count sp3 C with 4 distinct substituents.

§

NativeCircularFingerprint(u8)

qualia:generateCircularFingerprint — Morgan fingerprint; param = radius.

§

NativeArrhenius(u32)

qualia:computeArrheniusRate — k = A·exp(−Ea/RT); param encodes temperature K as u32.

§

NativeGibbsEnergy

qualia:computeGibbsEnergy — ΔG = ΔH − TΔS.

§

NativeEquilibrium

qualia:computeEquilibrium — K = exp(−ΔG°/RT).

§

NativeHendersonHasselbalch

qualia:computeHendersonHasselbalch — pH from pKa + concentration ratio.

§

NativeAtomEconomy

qualia:computeAtomEconomy — Trost 1991 green metric.

§

NativeEFactor

qualia:computeEFactor — Sheldon waste-per-product metric.

§

NativeGreenMetrics

qualia:computeGreenMetrics — full suite: AE, E-factor, PMI, RME, CE.

§

NativeComputeCrcl

§

NativeComputeEgfr

§

NativeEvaluatePkModel

§

NativeComputeSofaScore

§

NativeTranslateDna

§

NativeIsoelectricPoint

§

NativePeptideCleavage

§

NativeBbbPermeation

§

NativeLigandEfficiency

§

NativeLLE

§

NativeIsotopeDistribution

§

NativeDeonticEval

§

NativeEpistemicEval(u8)

§

NativeLinearConsume

§

NativeAspStableModels

§

NativeParaconsistentIsolate

§

NativeDialecticalSynthesis

§

NativeProbabilisticThreshold(u32)

Probabilistic gate: the goal quin’s f32 belief weight (in metadata) must be ≥ the threshold (param = f32::to_bits).

§

NativeDlSubsumption

Description-logic gate: frame.subject_reg ⊑ frame.object_reg over the arena TBox (transitive rdfs:subClassOf closure).

§

NativeArgumentationGrounded

Argumentation gate (Dung grounded semantics): the goal argument (frame.subject_reg) must be justified — in the grounded extension built from arg:asserts / arg:attacks quins in the arena.

§

NativeMtlWithin(u32)

Metric-temporal gate (MTL “within”): target (frame.object_reg) must occur within the param window of the earliest trigger (frame.predicate_reg); event timestamps are in each quin’s metadata.

§

NativeContraryToDuty

Contrary-to-duty gate (dyadic deontic): if the party (frame.subject_reg) breached the primary obligation (frame.predicate_reg), the reparation (frame.object_reg) must be fulfilled.

§

NativeCausalNecessary

Causal-necessity gate (but-for): frame.subject_reg must be a necessary cause of frame.object_reg from origin frame.context_reg.

§

NativeAbduce

Abductive gate: the observation (frame.object_reg) must have an explanatory hypothesis (backward abduces:explains chain) in the arena.

§

NativeClosedWorld

Closed-world / negation-as-failure gate: passes iff the frame goal is ABSENT from the arena (its negation holds by default).

§

NativeFuzzyConjunction(u32)

Fuzzy-conjunction gate: the Gödel t-norm (min) of the truth degrees of all quins with predicate frame.predicate_reg must be ≥ the param threshold.

§

NativeCtlExistsFinally

CTL EF gate: from frame.subject_reg, SOME path reaches a state satisfying frame.object_reg (branching-time reachability over ctl:next/ctl:holds).

§

NativeCtlAlwaysGlobally

CTL AG gate: EVERY state reachable from frame.subject_reg satisfies the invariant frame.object_reg.

§

NativeModalNecessary

Modal □ gate: frame.object_reg holds in ALL worlds accessible from frame.subject_reg (modal:accesses/modal:holds).

§

NativeModalPossible

Modal ◇ gate: frame.object_reg holds in SOME world accessible from frame.subject_reg.

§

NativeRcc8(u8)

RCC-8 spatial gate: the topological relation between region frame.subject_reg and region frame.object_reg (each = boundary-point quins) must equal the param (0=DC,1=EC,2=PO,3=TPP,4=TPPi,5=NTPP,6=NTPPi,7=EQ).

§

NativeRcc8Assert(u8)

RCC-8 fact-emitting assertion: if the relation holds, asserts a derived fact.

§

NativeAllenIntervalAssert(u8)

Fact-emitting temporal interval relation assertion.

§

NativeRegisterRule

qapp-facing dynamic N3 rule registration

§

NativeStewardQuorum(u8)

M-of-N steward quorum gate

§

NativeCanvasPlacement

Governed canvas placement gate

§

NativeRetrieveByActivation

§

NativeDecayMetadata

§

NativeUnless

§

NativeLtlGlobally

§

NativeLtlFinally

§

NativeLtlNext

§

NativeLtlUntil

§

NativeLtlRelease

§

NativeManifoldLtl

Evaluate a threshold proposition projected from chronological 10D manifold states through the existing LTL evaluator.

mode: 0=Globally, 1=Finally, 2=Next. dimension: [manifold::ManifoldDimension] discriminant. threshold_bits: IEEE-754 f32 threshold. at_least: true for >=, false for <=.

Fields

§mode: u8
§dimension: u8
§threshold_bits: u32
§at_least: bool
§

NativeManifoldAsp

Derive topology facts from 10D states and execute the bounded real ASP stable-model evaluator. The selected model bitset is bound to object_reg.

§

NativeAllenInterval(u8)

§

NativeLorentzDistance

§

NativeTropicalDistance

§

NativeVerifyProofOfLocation

§

NativeCalcSimpsons(u64, u64, u32, u32)

calc:SimpsonsIntegration — CPU-based Simpson’s rule (start_bits, end_bits, step_size_bits, kahan_bits)

§

NativeCalcTrapezoidal(u64, u64, u32, u32)

calc:TrapezoidalIntegration — CPU-based trapezoidal rule (start_bits, end_bits, step_size_bits, kahan_bits)

§

NativeCalcGpu(u64, u64, u32, u32)

calc:GpuIntegration — GPU-accelerated integration via WebGPU (start_bits, end_bits, step_size_bits, kahan_bits)

Trait Implementations§

Source§

impl Clone for SlgOpcode

Source§

fn clone(&self) -> SlgOpcode

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SlgOpcode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for SlgOpcode

Source§

fn eq(&self, other: &SlgOpcode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for SlgOpcode

Source§

impl StructuralPartialEq for SlgOpcode

Auto Trait Implementations§

Blanket Implementations§

§

impl<S, A> Aggregate<Result<S, Error>> for A
where A: Aggregate<S>,

§

fn from_shares<T>(iter: T) -> Result<A, Error>
where T: IntoIterator<Item = Result<S, Error>>,

Aggregate shares in an MPC protocol.
Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
§

impl<T> Downcast<T> for T

§

fn downcast(&self) -> &T

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FromRef<T> for T
where T: Clone,

§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Upcast<T> for T

§

fn upcast(&self) -> Option<&T>

§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

§

impl<T> WasmNotSend for T
where T: Send,

§

impl<T> WasmNotSendSync for T
where T: WasmNotSend + WasmNotSync,

§

impl<T> WasmNotSync for T
where T: Sync,