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

Method insert_implicits

leanr-elab/src/implicit.rs:22–34  ·  view source on GitHub ↗

Insert implicit arguments for a function application

(
        &mut self,
        func_type: TermId,
        arena: &Arena,
        depth: u32,
    )

Source from the content-addressed store, hash-verified

20
21 /// Insert implicit arguments for a function application
22 pub fn insert_implicits(
23 &mut self,
24 func_type: TermId,
25 arena: &Arena,
26 depth: u32,
27 ) -> ElabResult<Vec<TermId>> {
28 let mut implicits = Vec::new();
29
30 // TODO: Walk through Pi type and insert metavariables for implicit params
31 // For now, return empty vec
32
33 Ok(implicits)
34 }
35
36 /// Get the metavariable context
37 pub fn mctx(&self) -> &MetaVarContext {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected