MCPcopy Create free account

hub / github.com/agenticsorg/lean-agentic / functions

Functions1,015 in github.com/agenticsorg/lean-agentic

↓ 5 callersMethodcreateType
* Create a simple type (Type universe) * @returns {boolean}
npm/lean-agentic/wasm-web/leanr_wasm.js:190
↓ 5 callersFunctioncreate_test_quote
(symbol: &str)
examples/trading/risk_bounded_trading.rs:396
↓ 5 callersMethodexecute_trade
Execute trade with proof generation
examples/trading/risk_bounded_trading.rs:251
↓ 5 callersMethodget
Get cached WHNF result
leanr-eval-lite/src/cache.rs:31
↓ 5 callersMethodinfer
Infer the type of a term This is the heart of the type checker: Γ ⊢ t : ?
lean-agentic/src/typechecker.rs:31
↓ 5 callersMethodinit
()
npm/lean-agentic/src/agentdb-integration-simple.js:26
↓ 5 callersFunctionlex
(input: &str)
leanr-syntax/src/lexer.rs:441
↓ 5 callersMethodlogError
* Log error to stderr
npm/lean-agentic/mcp/server.js:265
↓ 5 callersMethodlookup
Look up the assignment for a metavariable
lean-agentic/src/unification.rs:33
↓ 5 callersMethodmk_mvar
Create a metavariable term
lean-agentic/src/arena.rs:160
↓ 5 callersMethodparse_universe_params
Parse universe parameters: .{u v}
leanr-syntax/src/parser.rs:257
↓ 5 callersMethodsign_proof
Sign a proof term
examples/ed25519_proof_signing.rs:84
↓ 5 callersMethodwhnf
Reduce a term to weak head normal form
lean-agentic/src/conversion.rs:103
↓ 4 callersMethodadd_decl
Add a declaration to the environment
lean-agentic/src/environment.rs:226
↓ 4 callersMethodbuild_pi_type
Build Pi type from binders
leanr-elab/src/elaborate.rs:527
↓ 4 callersMethodcalculateSimilarity
(query, statement)
npm/lean-agentic/src/agentdb-integration-simple.js:116
↓ 4 callersMethoddepth
Get current depth
leanr-elab/src/context.rs:66
↓ 4 callersMethodelaborate_params
Elaborate parameters and return binders
leanr-elab/src/elaborate.rs:494
↓ 4 callersMethodget
Get a symbol by its ID
lean-agentic/src/symbol.rs:92
↓ 4 callersFunctiongetUint8ArrayMemory0
()
npm/lean-agentic/wasm-web/leanr_wasm.js:5
↓ 4 callersFunctiongetUint8ArrayMemory0
()
npm/lean-agentic/wasm-node/leanr_wasm.js:7
↓ 4 callersFunctiongetUint8ArrayMemory0
()
examples/wasm-demo/leanr_wasm.js:5
↓ 4 callersMethodget_decl
Get a declaration by name
lean-agentic/src/environment.rs:239
↓ 4 callersMethodget_term
Get a term by its ID (alias for compatibility)
lean-agentic/src/arena.rs:80
↓ 4 callersMethodintern
Intern a string and return its symbol ID
lean-agentic/src/symbol.rs:64
↓ 4 callersMethodis_empty
Check if this span is empty
leanr-syntax/src/span.rs:50
↓ 4 callersMethodmk_let
Create a let term
lean-agentic/src/arena.rs:150
↓ 4 callersFunctionparse_and_elaborate
(source: &str)
tests/elaboration/test_simple.rs:14
↓ 4 callersFunctionrun_consensus_round
( nodes: &[AgentRef<Proposal>], proposal: Proposal, threshold: usize, )
runtime/examples/quorum_consensus.rs:50
↓ 4 callersMethodsend
(&self, msg: Message<T, Cap>)
runtime/src/orchestration.rs:42
↓ 4 callersMethodsender
Get sender handle
runtime/src/mailbox.rs:75
↓ 4 callersMethodsolve
Solve all pending constraints
lean-agentic/src/unification.rs:105
↓ 4 callersMethodstore
(&self, episode: &Episode)
src/agentdb/episode_store.rs:18
↓ 4 callersMethodsubstitute
Substitute a term in another term subst(term, idx, replacement) replaces variable #idx with replacement
lean-agentic/src/conversion.rs:282
↓ 4 callersMethodtotal_value
(&self)
examples/trading/risk_bounded_trading.rs:144
↓ 3 callersMethodacquire
Acquire lease with TTL
runtime/src/orchestration.rs:226
↓ 3 callersMethodapply_subst
Apply the current substitution to a term
lean-agentic/src/unification.rs:287
↓ 3 callersMethodaudit_log
Get audit log reference
leanr-rag-gateway/src/lib.rs:204
↓ 3 callersMethodbeta_reduce
Beta reduction step Implements: (λx.body) arg →β body[x := arg]
leanr-theorems/src/hashcons_confluence.rs:126
↓ 3 callersMethodcheck
Check that a term has an expected type Γ ⊢ t : T (checking mode)
lean-agentic/src/typechecker.rs:179
↓ 3 callersMethodcheck_cluster_health
(&self)
examples/04_self_healing_database.rs:273
↓ 3 callersMethodcreateApplication
()
npm/lean-agentic/src/web.js:50
↓ 3 callersMethodensure_sort
Ensure a term is a sort (Type u)
lean-agentic/src/typechecker.rs:201
↓ 3 callersMethodentries
Get all entries (for iteration)
lean-agentic/src/context.rs:115
↓ 3 callersMethodequal
O(1) equality check (THE KEY OPTIMIZATION) This implements the hash-consing property: t1 ≡ t2 ⟺ id(t1) = id(t2) Complexity: O(1) vs O(n) structura
leanr-theorems/src/hashcons_confluence.rs:113
↓ 3 callersMethodget
Get term from ID (for verification)
leanr-theorems/src/hashcons_confluence.rs:119
↓ 3 callersMethodimax
Create an imax level
lean-agentic/src/level.rs:141
↓ 3 callersFunctioninit
()
npm/lean-agentic/src/index.js:15
↓ 3 callersMethodinto_payload
(self)
runtime/src/message.rs:49
↓ 3 callersMethodis_empty
Check if cache is empty
leanr-eval-lite/src/cache.rs:66
↓ 3 callersMethodlog_blocked
Log a blocked request
leanr-rag-gateway/src/audit.rs:52
↓ 3 callersMethodlog_success
Log a successful request
leanr-rag-gateway/src/audit.rs:68
↓ 3 callersMethodlookup
Look up a variable by de Bruijn index Index 0 refers to the most recently bound variable
lean-agentic/src/context.rs:87
↓ 3 callersMethodmeets_target
(&self, target_p99: Duration)
tests/benchmarks/benchmark_suite.rs:70
↓ 3 callersMethodmetrics
Get runtime metrics
runtime/src/runtime.rs:94
↓ 3 callersFunctionparse
(input: &str)
leanr-syntax/src/parser.rs:734
↓ 3 callersFunctionping_pong_benchmark
(iterations: usize)
runtime/benches/message_passing.rs:9
↓ 3 callersMethodprove_confluence
Prove confluence for two reduction sequences Given `s →* t₁` and `s →* t₂`, find `u` such that `t₁ →* u` and `t₂ →* u`
leanr-theorems/src/confluence.rs:271
↓ 3 callersMethodprove_with_ai
Prove a theorem with AI assistance and temporal reasoning
examples/05_browser_theorem_prover.rs:104
↓ 3 callersMethodrecord_inference
Record inference cost
src/multi-lane/cost_tracker.rs:61
↓ 3 callersMethodsearch
Search for similar vectors Target: <10ms P99 latency
src/agentdb/vector_store.rs:81
↓ 3 callersMethodsearchSimilarTheorems
* Search for similar theorems using vector similarity
npm/lean-agentic/src/agentdb-integration.js:113
↓ 3 callersFunctionshard
6. Shard: Consistent hash distribution
runtime/src/orchestration.rs:199
↓ 3 callersMethodshift
Shift de Bruijn indices by amount
leanr-eval-lite/src/normalize.rs:196
↓ 3 callersMethodsucc
Create a successor level
lean-agentic/src/level.rs:131
↓ 3 callersMethodtokenize
Tokenize the entire source
leanr-syntax/src/lexer.rs:155
↓ 2 callersFunction__wbg_finalize_init
(instance, module)
npm/lean-agentic/wasm-web/leanr_wasm.js:288
↓ 2 callersFunction__wbg_finalize_init
(instance, module)
examples/wasm-demo/leanr_wasm.js:288
↓ 2 callersFunction__wbg_get_imports
()
npm/lean-agentic/wasm-web/leanr_wasm.js:256
↓ 2 callersFunction__wbg_get_imports
()
examples/wasm-demo/leanr_wasm.js:256
↓ 2 callersFunction__wbg_init_memory
(imports, memory)
npm/lean-agentic/wasm-web/leanr_wasm.js:284
↓ 2 callersFunction__wbg_init_memory
(imports, memory)
examples/wasm-demo/leanr_wasm.js:284
↓ 2 callersMethodadd_constraint
Add a constraint to the queue
lean-agentic/src/unification.rs:90
↓ 2 callersMethodadd_entry
Add entry and verify conservation
examples/finance/verified_finance_agent.rs:140
↓ 2 callersFunctionallocate_agent_id
()
runtime/src/lib.rs:74
↓ 2 callersMethodanalyze_loop
Analyze loop and suggest vectorization config
src/llm-compiler/auto_vectorization.rs:96
↓ 2 callersMethodassign
Assign a metavariable
leanr-elab/src/metavar.rs:58
↓ 2 callersMethodassign
Assign a metavariable to a term
lean-agentic/src/unification.rs:28
↓ 2 callersFunctionbench_agent_spawn
Benchmark agent spawn time
tests/benchmarks/benchmark_suite.rs:80
↓ 2 callersFunctionbench_ledger_verification
Benchmark ledger verification
tests/benchmarks/benchmark_suite.rs:214
↓ 2 callersFunctionbench_typechecking
Benchmark type checking
tests/benchmarks/benchmark_suite.rs:141
↓ 2 callersMethodbenchmarkEquality
()
npm/lean-agentic/src/web.js:85
↓ 2 callersFunctionbroadcast
8. Broadcast: Gossip protocol with fanout
runtime/src/orchestration.rs:279
↓ 2 callersFunctionbroadcast_benchmark
(agent_count: usize, fanout: usize)
runtime/benches/orchestration.rs:81
↓ 2 callersMethodbuild_lambda
Build lambda from params
leanr-elab/src/elaborate.rs:536
↓ 2 callersMethodcheck_access
(&self, query: &RagQuery)
leanr-rag-gateway/src/policy.rs:45
↓ 2 callersMethodclear
Clear the context
lean-agentic/src/context.rs:120
↓ 2 callersMethodcreate_equality_proof
Helper: Create equality proof term
examples/02_verified_calculator.rs:146
↓ 2 callersMethoddistill_pattern
Distill pattern from successful trajectory
src/agentdb/reasoning_bank.rs:138
↓ 2 callersFunctionexecute
Tier 0: Interpreter (0ms startup, 1x speed)
src/jit-runtime/interpreter.rs:3
↓ 2 callersMethodexport_audit_bundle
Export audit bundle
leanr-rag-gateway/src/proof.rs:33
↓ 2 callersMethodexport_compliance_report
Export compliance report as text
leanr-rag-gateway/src/audit.rs:101
↓ 2 callersMethodextract_level
Extract universe level from a sort
lean-agentic/src/typechecker.rs:222
↓ 2 callersMethodfork
Clone the environment (cheap due to persistent data structures)
lean-agentic/src/environment.rs:286
↓ 2 callersMethodfresh_mvar_with_type
Create a fresh metavariable with a known type
leanr-elab/src/elaborate.rs:565
↓ 2 callersMethodgenerate_embedding
Generate simple embedding based on word hashing
examples/memory-copilot/explainable_memory.rs:125
↓ 2 callersMethodinfer_universe
Infer the universe level of a type
leanr-elab/src/elaborate.rs:571
↓ 2 callersMethodinject_failure
Simulate node failure
examples/04_self_healing_database.rs:179
↓ 2 callersMethodinto_inner
(self)
runtime/src/capabilities.rs:111
↓ 2 callersMethodis_assigned
Check if a metavariable is assigned
lean-agentic/src/unification.rs:38
← previousnext →101–200 of 1,015, ranked by callers