Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agenticsorg/lean-agentic
/ functions
Functions
1,015 in github.com/agenticsorg/lean-agentic
⨍
Functions
1,015
◇
Types & classes
284
↓ 5 callers
Method
createType
* Create a simple type (Type universe) * @returns {boolean}
npm/lean-agentic/wasm-web/leanr_wasm.js:190
↓ 5 callers
Function
create_test_quote
(symbol: &str)
examples/trading/risk_bounded_trading.rs:396
↓ 5 callers
Method
execute_trade
Execute trade with proof generation
examples/trading/risk_bounded_trading.rs:251
↓ 5 callers
Method
get
Get cached WHNF result
leanr-eval-lite/src/cache.rs:31
↓ 5 callers
Method
infer
Infer the type of a term This is the heart of the type checker: Γ ⊢ t : ?
lean-agentic/src/typechecker.rs:31
↓ 5 callers
Method
init
()
npm/lean-agentic/src/agentdb-integration-simple.js:26
↓ 5 callers
Function
lex
(input: &str)
leanr-syntax/src/lexer.rs:441
↓ 5 callers
Method
logError
* Log error to stderr
npm/lean-agentic/mcp/server.js:265
↓ 5 callers
Method
lookup
Look up the assignment for a metavariable
lean-agentic/src/unification.rs:33
↓ 5 callers
Method
mk_mvar
Create a metavariable term
lean-agentic/src/arena.rs:160
↓ 5 callers
Method
parse_universe_params
Parse universe parameters: .{u v}
leanr-syntax/src/parser.rs:257
↓ 5 callers
Method
sign_proof
Sign a proof term
examples/ed25519_proof_signing.rs:84
↓ 5 callers
Method
whnf
Reduce a term to weak head normal form
lean-agentic/src/conversion.rs:103
↓ 4 callers
Method
add_decl
Add a declaration to the environment
lean-agentic/src/environment.rs:226
↓ 4 callers
Method
build_pi_type
Build Pi type from binders
leanr-elab/src/elaborate.rs:527
↓ 4 callers
Method
calculateSimilarity
(query, statement)
npm/lean-agentic/src/agentdb-integration-simple.js:116
↓ 4 callers
Method
depth
Get current depth
leanr-elab/src/context.rs:66
↓ 4 callers
Method
elaborate_params
Elaborate parameters and return binders
leanr-elab/src/elaborate.rs:494
↓ 4 callers
Method
get
Get a symbol by its ID
lean-agentic/src/symbol.rs:92
↓ 4 callers
Function
getUint8ArrayMemory0
()
npm/lean-agentic/wasm-web/leanr_wasm.js:5
↓ 4 callers
Function
getUint8ArrayMemory0
()
npm/lean-agentic/wasm-node/leanr_wasm.js:7
↓ 4 callers
Function
getUint8ArrayMemory0
()
examples/wasm-demo/leanr_wasm.js:5
↓ 4 callers
Method
get_decl
Get a declaration by name
lean-agentic/src/environment.rs:239
↓ 4 callers
Method
get_term
Get a term by its ID (alias for compatibility)
lean-agentic/src/arena.rs:80
↓ 4 callers
Method
intern
Intern a string and return its symbol ID
lean-agentic/src/symbol.rs:64
↓ 4 callers
Method
is_empty
Check if this span is empty
leanr-syntax/src/span.rs:50
↓ 4 callers
Method
mk_let
Create a let term
lean-agentic/src/arena.rs:150
↓ 4 callers
Function
parse_and_elaborate
(source: &str)
tests/elaboration/test_simple.rs:14
↓ 4 callers
Function
run_consensus_round
( nodes: &[AgentRef<Proposal>], proposal: Proposal, threshold: usize, )
runtime/examples/quorum_consensus.rs:50
↓ 4 callers
Method
send
(&self, msg: Message<T, Cap>)
runtime/src/orchestration.rs:42
↓ 4 callers
Method
sender
Get sender handle
runtime/src/mailbox.rs:75
↓ 4 callers
Method
solve
Solve all pending constraints
lean-agentic/src/unification.rs:105
↓ 4 callers
Method
store
(&self, episode: &Episode)
src/agentdb/episode_store.rs:18
↓ 4 callers
Method
substitute
Substitute a term in another term subst(term, idx, replacement) replaces variable #idx with replacement
lean-agentic/src/conversion.rs:282
↓ 4 callers
Method
total_value
(&self)
examples/trading/risk_bounded_trading.rs:144
↓ 3 callers
Method
acquire
Acquire lease with TTL
runtime/src/orchestration.rs:226
↓ 3 callers
Method
apply_subst
Apply the current substitution to a term
lean-agentic/src/unification.rs:287
↓ 3 callers
Method
audit_log
Get audit log reference
leanr-rag-gateway/src/lib.rs:204
↓ 3 callers
Method
beta_reduce
Beta reduction step Implements: (λx.body) arg →β body[x := arg]
leanr-theorems/src/hashcons_confluence.rs:126
↓ 3 callers
Method
check
Check that a term has an expected type Γ ⊢ t : T (checking mode)
lean-agentic/src/typechecker.rs:179
↓ 3 callers
Method
check_cluster_health
(&self)
examples/04_self_healing_database.rs:273
↓ 3 callers
Method
createApplication
()
npm/lean-agentic/src/web.js:50
↓ 3 callers
Method
ensure_sort
Ensure a term is a sort (Type u)
lean-agentic/src/typechecker.rs:201
↓ 3 callers
Method
entries
Get all entries (for iteration)
lean-agentic/src/context.rs:115
↓ 3 callers
Method
equal
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 callers
Method
get
Get term from ID (for verification)
leanr-theorems/src/hashcons_confluence.rs:119
↓ 3 callers
Method
imax
Create an imax level
lean-agentic/src/level.rs:141
↓ 3 callers
Function
init
()
npm/lean-agentic/src/index.js:15
↓ 3 callers
Method
into_payload
(self)
runtime/src/message.rs:49
↓ 3 callers
Method
is_empty
Check if cache is empty
leanr-eval-lite/src/cache.rs:66
↓ 3 callers
Method
log_blocked
Log a blocked request
leanr-rag-gateway/src/audit.rs:52
↓ 3 callers
Method
log_success
Log a successful request
leanr-rag-gateway/src/audit.rs:68
↓ 3 callers
Method
lookup
Look up a variable by de Bruijn index Index 0 refers to the most recently bound variable
lean-agentic/src/context.rs:87
↓ 3 callers
Method
meets_target
(&self, target_p99: Duration)
tests/benchmarks/benchmark_suite.rs:70
↓ 3 callers
Method
metrics
Get runtime metrics
runtime/src/runtime.rs:94
↓ 3 callers
Function
parse
(input: &str)
leanr-syntax/src/parser.rs:734
↓ 3 callers
Function
ping_pong_benchmark
(iterations: usize)
runtime/benches/message_passing.rs:9
↓ 3 callers
Method
prove_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 callers
Method
prove_with_ai
Prove a theorem with AI assistance and temporal reasoning
examples/05_browser_theorem_prover.rs:104
↓ 3 callers
Method
record_inference
Record inference cost
src/multi-lane/cost_tracker.rs:61
↓ 3 callers
Method
search
Search for similar vectors Target: <10ms P99 latency
src/agentdb/vector_store.rs:81
↓ 3 callers
Method
searchSimilarTheorems
* Search for similar theorems using vector similarity
npm/lean-agentic/src/agentdb-integration.js:113
↓ 3 callers
Function
shard
6. Shard: Consistent hash distribution
runtime/src/orchestration.rs:199
↓ 3 callers
Method
shift
Shift de Bruijn indices by amount
leanr-eval-lite/src/normalize.rs:196
↓ 3 callers
Method
succ
Create a successor level
lean-agentic/src/level.rs:131
↓ 3 callers
Method
tokenize
Tokenize the entire source
leanr-syntax/src/lexer.rs:155
↓ 2 callers
Function
__wbg_finalize_init
(instance, module)
npm/lean-agentic/wasm-web/leanr_wasm.js:288
↓ 2 callers
Function
__wbg_finalize_init
(instance, module)
examples/wasm-demo/leanr_wasm.js:288
↓ 2 callers
Function
__wbg_get_imports
()
npm/lean-agentic/wasm-web/leanr_wasm.js:256
↓ 2 callers
Function
__wbg_get_imports
()
examples/wasm-demo/leanr_wasm.js:256
↓ 2 callers
Function
__wbg_init_memory
(imports, memory)
npm/lean-agentic/wasm-web/leanr_wasm.js:284
↓ 2 callers
Function
__wbg_init_memory
(imports, memory)
examples/wasm-demo/leanr_wasm.js:284
↓ 2 callers
Method
add_constraint
Add a constraint to the queue
lean-agentic/src/unification.rs:90
↓ 2 callers
Method
add_entry
Add entry and verify conservation
examples/finance/verified_finance_agent.rs:140
↓ 2 callers
Function
allocate_agent_id
()
runtime/src/lib.rs:74
↓ 2 callers
Method
analyze_loop
Analyze loop and suggest vectorization config
src/llm-compiler/auto_vectorization.rs:96
↓ 2 callers
Method
assign
Assign a metavariable
leanr-elab/src/metavar.rs:58
↓ 2 callers
Method
assign
Assign a metavariable to a term
lean-agentic/src/unification.rs:28
↓ 2 callers
Function
bench_agent_spawn
Benchmark agent spawn time
tests/benchmarks/benchmark_suite.rs:80
↓ 2 callers
Function
bench_ledger_verification
Benchmark ledger verification
tests/benchmarks/benchmark_suite.rs:214
↓ 2 callers
Function
bench_typechecking
Benchmark type checking
tests/benchmarks/benchmark_suite.rs:141
↓ 2 callers
Method
benchmarkEquality
()
npm/lean-agentic/src/web.js:85
↓ 2 callers
Function
broadcast
8. Broadcast: Gossip protocol with fanout
runtime/src/orchestration.rs:279
↓ 2 callers
Function
broadcast_benchmark
(agent_count: usize, fanout: usize)
runtime/benches/orchestration.rs:81
↓ 2 callers
Method
build_lambda
Build lambda from params
leanr-elab/src/elaborate.rs:536
↓ 2 callers
Method
check_access
(&self, query: &RagQuery)
leanr-rag-gateway/src/policy.rs:45
↓ 2 callers
Method
clear
Clear the context
lean-agentic/src/context.rs:120
↓ 2 callers
Method
create_equality_proof
Helper: Create equality proof term
examples/02_verified_calculator.rs:146
↓ 2 callers
Method
distill_pattern
Distill pattern from successful trajectory
src/agentdb/reasoning_bank.rs:138
↓ 2 callers
Function
execute
Tier 0: Interpreter (0ms startup, 1x speed)
src/jit-runtime/interpreter.rs:3
↓ 2 callers
Method
export_audit_bundle
Export audit bundle
leanr-rag-gateway/src/proof.rs:33
↓ 2 callers
Method
export_compliance_report
Export compliance report as text
leanr-rag-gateway/src/audit.rs:101
↓ 2 callers
Method
extract_level
Extract universe level from a sort
lean-agentic/src/typechecker.rs:222
↓ 2 callers
Method
fork
Clone the environment (cheap due to persistent data structures)
lean-agentic/src/environment.rs:286
↓ 2 callers
Method
fresh_mvar_with_type
Create a fresh metavariable with a known type
leanr-elab/src/elaborate.rs:565
↓ 2 callers
Method
generate_embedding
Generate simple embedding based on word hashing
examples/memory-copilot/explainable_memory.rs:125
↓ 2 callers
Method
infer_universe
Infer the universe level of a type
leanr-elab/src/elaborate.rs:571
↓ 2 callers
Method
inject_failure
Simulate node failure
examples/04_self_healing_database.rs:179
↓ 2 callers
Method
into_inner
(self)
runtime/src/capabilities.rs:111
↓ 2 callers
Method
is_assigned
Check if a metavariable is assigned
lean-agentic/src/unification.rs:38
← previous
next →
101–200 of 1,015, ranked by callers