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

Function undefinedIdentifiers

src/compute-engine/assume.ts:1167–1169  ·  view source on GitHub ↗
(expr: Expression)

Source from the content-addressed store, hash-verified

1165 }
1166
1167 // 6. Inert/unknown set: store a membership fact (design §4.1 — this used
1168 // to throw "Invalid domain")
1169 if (isNumber(setExpr) || isString(setExpr)) return 'not-a-predicate';
1170 const fact = ce.function('Element', [ce.symbol(symbol), setExpr]);
1171 if (!fact.isValid) return 'not-a-predicate';
1172 ce.context.assumptions.set(fact, true);

Callers 1

assumeElementFunction · 0.85

Calls 1

hasDefFunction · 0.85

Tested by

no test coverage detected