Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/argumentcomputer/ix
/ functions
Functions
3,453 in github.com/argumentcomputer/ix
⨍
Functions
3,453
◇
Types & classes
327
↓ 3 callers
Function
primary_addresses_collapse
Whether compilation collapsed at least two primary members of a Lean mutual block to the same canonical address. Source-shape aux congruence compares
crates/ffi/src/lean_env.rs:57
↓ 3 callers
Function
prod_env
Build Prod.{u,v} : Type u → Type v → Type (max u v) environment.
crates/kernel/src/tutorial/reduction.rs:1036
↓ 3 callers
Function
projection_mismatch_error
Format a projection kind/index mismatch as a `BadConstantFormat` error. Extracted to avoid triplicate bodies in `decompile_projection`.
crates/compile/src/decompile.rs:1772
↓ 3 callers
Method
prove_ixvm
( &self, fri_parameters: FriParameters, fun_idx: FunIdx, input: &[G], io_buffer: &mut IOBu
crates/aiur/src/synthesis.rs:188
↓ 3 callers
Method
put
Serialize without tag header (for use within Env section serialization).
crates/ixon/src/comm.rs:32
↓ 3 callers
Method
put_ser
(&self, buf: &mut Vec<u8>)
crates/ixon/src/metadata.rs:571
↓ 3 callers
Method
put_tagged
Serialize with Tag4{0xE, 1} header.
crates/ixon/src/comm.rs:55
↓ 3 callers
Function
quot_env
Minimal Quot env: Quot / Quot.mk / Quot.lift / Quot.ind as axioms.
crates/kernel/src/whnf.rs:4522
↓ 3 callers
Function
read_anon_hints_section
Read the optional trailing `anon_hints` section written by `Env::put`. No-op when no bytes remain after the comms section — backward-compatible with `
crates/ixon/src/serialize.rs:84
↓ 3 callers
Method
record
Append a single failure record. `name_pretty` is the dot-separated form of the constant; `msg` is the raw error string (newlines collapsed to ` | ` to
crates/ffi/src/kernel.rs:152
↓ 3 callers
Method
record_def_eq_hit
(&self)
crates/kernel/src/perf.rs:146
↓ 3 callers
Method
record_pass
(&mut self)
crates/ffi/src/lean_env.rs:1658
↓ 3 callers
Function
recr_proj_constant
Canonical `RPrj` `Constant` for member `idx` of `block`.
crates/ixon/src/constant.rs:301
↓ 3 callers
Method
recursor_dump_matches_block
( &self, block_id: &KId<M>, flat: &[FlatBlockMember<M>], )
crates/kernel/src/inductive.rs:1389
↓ 3 callers
Function
reduce_histo_enabled
()
crates/kernel/src/perf.rs:315
↓ 3 callers
Function
replace_params_expr
Convert an expression from constructor-local param FVars (`as_fvars`) to block param FVars (`block_param_fvars`). Matches C++ `replace_params`: abstr
crates/compile/src/compile/aux_gen/nested.rs:1423
↓ 3 callers
Function
resolve_kernel_check_workers
(total: usize, quiet: bool)
crates/ffi/src/kernel.rs:1253
↓ 3 callers
Function
run_compile_catching_panic
Run `f` catching any panic and converting it to a `CompileError` tagged with `block_name` (and `caller` to distinguish which compile function panicked
crates/compile/src/compile/env.rs:67
↓ 3 callers
Method
save
(&mut self)
crates/aiur/src/constraints.rs:95
↓ 3 callers
Function
serialize_source_info
( info: &LeanSourceInfo, stt: &CompileState, bytes: &mut Vec<u8>, )
crates/compile/src/compile.rs:1526
↓ 3 callers
Function
serialize_substring
( ss: &LeanSubstring, stt: &CompileState, bytes: &mut Vec<u8>, )
crates/compile/src/compile.rs:1550
↓ 3 callers
Method
set_prims
(&mut self, p: Primitives<M>)
crates/kernel/src/env.rs:458
↓ 3 callers
Function
sort1
()
crates/kernel/src/def_eq.rs:1772
↓ 3 callers
Method
store_comm
(&self, addr: Address, comm: Comm)
crates/ixon/src/env.rs:248
↓ 3 callers
Method
store_name
(&self, addr: Address, name: Name)
crates/ixon/src/env.rs:237
↓ 3 callers
Method
str_lit_to_constructor
Convert a string literal to constructor form: `"abc"` → `String.ofList (List.cons (Char.ofNat 97) (List.cons (Char.ofNat 98) (... List.nil)))` Uses `
crates/kernel/src/def_eq.rs:1021
↓ 3 callers
Function
syntax_like_env
Mimics Lean.Syntax structure: a type `Syn` that nests with `List (Pair Name Syn)` — testing multi-level transitive nesting. Syn : Sort 1 Syn.atom : S
crates/kernel/src/inductive.rs:5573
↓ 3 callers
Method
synth_name
Generate a unique synthetic name like `_s0`, `_s1`, etc.
crates/kernel/src/ingress.rs:334
↓ 3 callers
Method
targets
Every kernel-checked target this item covers (one for `Standalone`, `targets.len()` for `Block`).
crates/kernel/src/anon_work.rs:74
↓ 3 callers
Function
test_prims
Build Primitives resolved from a test environment. The env should contain all the primitives the test needs.
crates/kernel/src/testing.rs:261
↓ 3 callers
Method
transitive_deps_excl
Transitive dep addresses of `root`, excluding `root`, sorted.
crates/kernel/src/anon_env.rs:94
↓ 3 callers
Method
try_compare
(self, other: F)
crates/common/src/strong_ordering.rs:38
↓ 3 callers
Method
try_proj_reduce
( &mut self, id: &KId<M>, field: u64, wval: &KExpr<M>, )
crates/kernel/src/whnf.rs:1390
↓ 3 callers
Method
try_reduce_decidable
Native Nat.decLe/decEq/decLt reduction. Intercepts `Nat.decLe n m`, `Nat.decEq n m`, `Nat.decLt n m` when both arguments are Nat literals. Computes t
crates/kernel/src/whnf.rs:2202
↓ 3 callers
Method
try_reduce_nat_with_succ_mode
( &mut self, e: &KExpr<M>, nat_succ_mode: NatSuccMode, )
crates/kernel/src/whnf.rs:1705
↓ 3 callers
Function
two_big_clusters
Two tight clusters of `m` blocks each (intra-cluster delta cycles) joined by a single thin cross edge — large enough (`2m > COARSEST_TARGET`) to drive
crates/kernel/src/shard.rs:2322
↓ 3 callers
Method
u64
(&mut self)
crates/kernel/src/shard.rs:1497
↓ 3 callers
Method
u8
(&mut self, v: u8)
crates/aiur/src/vk_codec.rs:62
↓ 3 callers
Method
u8
(&mut self)
crates/kernel/src/shard.rs:1491
↓ 3 callers
Function
u8_and_channel
()
crates/aiur/src/lib.rs:59
↓ 3 callers
Function
u8_bit_decomposition_channel
()
crates/aiur/src/lib.rs:29
↓ 3 callers
Function
u8_chain_rotr4_channel
()
crates/aiur/src/lib.rs:89
↓ 3 callers
Function
u8_chain_rotr7_channel
()
crates/aiur/src/lib.rs:84
↓ 3 callers
Function
u8_less_than_channel
()
crates/aiur/src/lib.rs:69
↓ 3 callers
Function
u8_mul_channel
()
crates/aiur/src/lib.rs:79
↓ 3 callers
Function
u8_or_channel
()
crates/aiur/src/lib.rs:64
↓ 3 callers
Function
u8_shift_left_channel
()
crates/aiur/src/lib.rs:34
↓ 3 callers
Function
u8_shift_right_channel
()
crates/aiur/src/lib.rs:39
↓ 3 callers
Function
u8_xor_channel
()
crates/aiur/src/lib.rs:44
↓ 3 callers
Function
unpack_bools
Unpack up to n bools from a u8.
crates/ixon/src/serialize.rs:124
↓ 3 callers
Method
validate_const_well_scoped_timed
( &mut self, c: &KConst<M>, mut timing: Option<&mut ValidationTiming>, )
crates/kernel/src/check.rs:435
↓ 3 callers
Method
validate_expr_well_scoped
( &mut self, root: &KExpr<M>, root_depth: u64, lvl_bound: usize, mut timing: Option<&mut V
crates/kernel/src/check.rs:500
↓ 3 callers
Method
whnf_no_delta_impl
( &mut self, e: &KExpr<M>, flags: WhnfFlags, nat_succ_mode: NatSuccMode, )
crates/kernel/src/whnf.rs:616
↓ 3 callers
Method
with_tree
(mut self, tree: AggNode)
crates/kernel/src/shard.rs:1350
↓ 3 callers
Function
work_block_addr
The ingress-block address of a work item's `primary` — the key for matching a resolved target constant to the work item that covers it.
crates/kernel/src/anon_work.rs:324
↓ 2 callers
Function
acc_max
`accMax result prev offset`: wrap `prev` in `offset` Succs then `max` it into `result` (treating `zero` as identity). Used by `mk_max_aux` to accumula
crates/compile/src/compile/aux_gen/below.rs:1622
↓ 2 callers
Function
add_entries_parallel
Build the per-channel `(key, data)` tuples for every addr in `closure`. Byte→G conversion runs in parallel; the IOBuffer assembly is sequential becaus
crates/ixvm-codegen/src/aiur_ixvm_witness.rs:151
↓ 2 callers
Method
add_var
(&mut self, idx: u64, k: u64)
crates/kernel/src/level.rs:316
↓ 2 callers
Method
addr
(&mut self)
crates/kernel/src/shard.rs:1503
↓ 2 callers
Method
addrs
(&mut self)
crates/kernel/src/shard.rs:1506
↓ 2 callers
Function
agg_stdin
Build the aggregation-guest stdin: the allowed program-vk set (count + 32-byte vks) the agg guest pins each child against, then the proof blobs (count
zisk/host/src/main.rs:501
↓ 2 callers
Method
aircircuit
(&mut self, c: &AiurCircuit)
crates/aiur/src/vk_codec.rs:146
↓ 2 callers
Function
apply_sharing_to_axiom_with_stats
( ax: Axiom, refs: Vec<Address>, univs: Vec<Arc<Univ>>, )
crates/compile/src/compile.rs:1709
↓ 2 callers
Function
apply_sharing_to_mutual_block
Apply sharing to a mutual block and return a Constant with stats.
crates/compile/src/compile.rs:1793
↓ 2 callers
Function
apply_sharing_to_quotient_with_stats
( quot: Quotient, refs: Vec<Address>, univs: Vec<Arc<Univ>>, )
crates/compile/src/compile.rs:1727
↓ 2 callers
Function
arbitrary_univ
Generate an arbitrary Univ using pointer-tree technique (no stack overflow)
crates/ixon/src/univ.rs:180
↓ 2 callers
Function
arena_lookup
Look up an arena node by index. `u64::MAX` is the legitimate "no metadata" sentinel used by fallback paths when the caller has no metadata to attach
crates/compile/src/decompile.rs:539
↓ 2 callers
Function
aux_congruence_result
( name: &Name, decompiled: &ConstantInfo, original: &ConstantInfo, entry: Option<&AuxCompareEntry>, )
crates/ffi/src/lean_env.rs:400
↓ 2 callers
Function
aux_rec_suffix_idx
Extract the 1-based suffix index from an auxiliary recursor name of shape `<head>.rec_N`. Returns `None` if the last component isn't a `rec_<n>` strin
crates/compile/src/compile/aux_gen/below.rs:31
↓ 2 callers
Function
axiom_const
(refs: Vec<Address>)
crates/kernel/src/claim.rs:100
↓ 2 callers
Method
begin
(&self, worker_idx: usize, prefix: &str)
crates/ffi/src/kernel.rs:2568
↓ 2 callers
Method
bfs_refs
BFS-collect all addresses transitively reachable from `root` via `Constant.refs`. The returned set includes `root`. Materializes every visited consta
crates/kernel/src/anon_env.rs:74
↓ 2 callers
Function
binder_info_tag
(bi: &BinderInfo)
crates/common/src/env.rs:564
↓ 2 callers
Method
bitvec_to_nat_expr
( &mut self, width: &KExpr<M>, value: &KExpr<M>, )
crates/kernel/src/whnf.rs:2560
↓ 2 callers
Function
brecon_def_to_lean
Convert a `BRecOnDef` to a `LeanConstantInfo`. Replicates Lean's `Lean/Meta/Constructions/BRecOn.lean` per-kind decisions: | Shape |
crates/compile/src/decompile.rs:2100
↓ 2 callers
Function
build_anon_work
One pass over `env.consts`: enumerate work items + the kernel-checkable target addresses (one per result slot). Skips projection constants (covered by
crates/ffi/src/kernel.rs:1321
↓ 2 callers
Function
build_aux_perm_ctx
( all: &[Name], env: &Env, stt: &ix_compile::compile::CompileState, perm: &[usize], )
crates/ffi/src/lean_env.rs:73
↓ 2 callers
Function
build_below_def
Build a single `.below` definition for a Type-level inductive. The `.below` definition's value is: ```text λ {params} {motives} (indices) (major), I.
crates/compile/src/compile/aux_gen/below.rs:272
↓ 2 callers
Function
build_check_env_claim
Build a whole-env check claim. Subject is the env's canonical merkle root; assumptions are the env's axiom leaves. Returns `None` if the env has an e
crates/kernel/src/claim.rs:68
↓ 2 callers
Function
build_claim_check_witness
Build a `Check { const_addr, assumptions=None }` claim witness directly in Rust. Returns `(claim, claim_digest_input, io_buffer)` ready to feed to `cr
crates/ixvm-codegen/src/aiur_ixvm_witness.rs:226
↓ 2 callers
Function
build_compile_flat_block_with_overlay
Like `build_compile_flat_block`, but checks an optional overlay environment first for all lookups. Used by the expand/restore path to scan expanded co
crates/compile/src/compile/aux_gen/nested.rs:1683
↓ 2 callers
Function
build_eval_claim
Build an eval claim for the pair `(input, output)` in `env`. Assumptions = canonical merkle root over `transitive_deps(input) ∪ transitive_deps(outpu
crates/kernel/src/claim.rs:46
↓ 2 callers
Method
build_flat_block
Build the "flat" block for recursor generation, detecting nested occurrences. Mirrors lean4lean's `ElimNestedInductive.run`: walks constructor fields
crates/kernel/src/inductive.rs:491
↓ 2 callers
Function
build_ingress_lookups
Incrementally ingress a set of just-compiled constants into a KEnv. Called after each block compiles in the topological compilation loop. `names` are
crates/kernel/src/ingress.rs:2557
↓ 2 callers
Function
build_perm_ctx
Build a `PermCtx` for the block: the congruence comparator uses it to walk gen vs orig in lockstep with permutation awareness. See `ix_compile::congru
crates/ffi/src/lean_env.rs:1920
↓ 2 callers
Function
build_perm_ctx_1b
Build per-block PermCtx for the permutation-aware comparator. Mirrors `build_perm_ctx` in `rs_compile_validate_aux` below; kept as a local fn here so
crates/ffi/src/lean_env.rs:1165
↓ 2 callers
Function
build_proof_for_remaining
( remaining: &[(EqBinderKind, LocalDecl)], body: &LeanExpr, local_context: &[LocalDecl], fvar_order: &
crates/compile/src/compile/aux_gen/brecon.rs:2281
↓ 2 callers
Function
build_query_counts_array
Helper: summarise one execute's `QueryRecord` into a Lean `Array (Nat × Nat)` of `(unique_rows, total_hits)` pairs, one per function circuit followed
crates/ffi/src/aiur/protocol.rs:320
↓ 2 callers
Function
build_raw_blob
Build RawBlob using type method.
crates/ffi/src/compile.rs:90
↓ 2 callers
Function
build_raw_comm
Build RawComm using type method.
crates/ffi/src/compile.rs:95
↓ 2 callers
Function
build_raw_const
Build RawConst using type method.
crates/ffi/src/compile.rs:72
↓ 2 callers
Function
build_raw_named
Build RawNamed using type method.
crates/ffi/src/compile.rs:80
↓ 2 callers
Method
build_rec_type
Build the full recursor type for inductive `di` in the block. Structure: `∀ (params) (motives) (minors) (indices) (major), motive indices major` All
crates/kernel/src/inductive.rs:3028
↓ 2 callers
Method
build_rule_rhs
Build the rule RHS for a single constructor. The RHS is: `λ (params) (motives) (minors) (fields), minor[idx] fields ihs` where each IH = `λ (xs...),
crates/kernel/src/inductive.rs:3572
↓ 2 callers
Function
build_shard_check_env_witness
Build a `CheckEnv`-shaped shard witness directly in Rust. Returns `(claim, claim_digest_input, io_buffer)` ready to feed to `crate::ix::aiur_ixvm_runn
crates/ixvm-codegen/src/aiur_ixvm_witness.rs:255
↓ 2 callers
Function
build_specialized_major_type
Build `I <params> <args>` — the major type with the given index args.
crates/compile/src/compile/aux_gen/brecon.rs:2090
↓ 2 callers
Function
build_type_brecon_fvar
( ci: usize, rec_val: &RecursorVal, brecon_name: &Name, all0: &Name, below_names: &[Name], lean_en
crates/compile/src/compile/aux_gen/brecon.rs:618
↓ 2 callers
Method
bump_add
(&mut self, i: &G, j: &G)
crates/aiur/src/gadgets/bytes2.rs:437
↓ 2 callers
Method
bump_and
(&mut self, i: &G, j: &G)
crates/aiur/src/gadgets/bytes2.rs:445
↓ 2 callers
Method
bump_bit_decomposition
(&mut self, byte: &G)
crates/aiur/src/gadgets/bytes1.rs:216
← previous
next →
801–900 of 3,453, ranked by callers