MCPcopy Create free account
hub / github.com/agenticsorg/lean-agentic / lookup

Method lookup

lean-agentic/src/unification.rs:33–35  ·  view source on GitHub ↗

Look up the assignment for a metavariable

(&self, mvar: MetaVarId)

Source from the content-addressed store, hash-verified

31
32 /// Look up the assignment for a metavariable
33 pub fn lookup(&self, mvar: MetaVarId) -> Option<TermId> {
34 self.assignments.get(&mvar).copied()
35 }
36
37 /// Check if a metavariable is assigned
38 pub fn is_assigned(&self, mvar: MetaVarId) -> bool {

Callers 4

solve_unifyMethod · 0.45
occurs_checkMethod · 0.45
apply_substMethod · 0.45

Calls 1

getMethod · 0.45

Tested by 1