MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / check_sat

Method check_sat

crates/openshell-prover/src/model.rs:376–382  ·  view source on GitHub ↗

Check satisfiability of an expression against the base constraints.

(&self, expr: &Bool)

Source from the content-addressed store, hash-verified

374
375 /// Check satisfiability of an expression against the base constraints.
376 pub fn check_sat(&self, expr: &Bool) -> SatResult {
377 self.solver.push();
378 self.solver.assert(expr);
379 let result = self.solver.check();
380 self.solver.pop(1);
381 result
382 }
383}
384
385/// Build a reachability model from the given inputs.

Callers 1

check_credential_safetyFunction · 0.80

Calls 2

pushMethod · 0.80
checkMethod · 0.80

Tested by

no test coverage detected