MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / simplify

Function simplify

test/compute-engine/logic.test.ts:487–489  ·  view source on GitHub ↗
(expr: any)

Source from the content-addressed store, hash-verified

485
486describe('Logic Simplification Rules', () => {
487 function simplify(expr: any) {
488 return ce.expr(expr).simplify().toString();
489 }
490
491 describe('Absorption', () => {
492 it('should simplify A ∧ (A ∨ B) → A', () => {

Callers 3

logic.test.tsFile · 0.70

Calls 3

toStringMethod · 0.65
simplifyMethod · 0.65
exprMethod · 0.65

Tested by

no test coverage detected