MCPcopy Create free account

hub / github.com/argumentcomputer/ix / functions

Functions3,453 in github.com/argumentcomputer/ix

↓ 3 callersFunctionprimary_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 callersFunctionprod_env
Build Prod.{u,v} : Type u → Type v → Type (max u v) environment.
crates/kernel/src/tutorial/reduction.rs:1036
↓ 3 callersFunctionprojection_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 callersMethodprove_ixvm
( &self, fri_parameters: FriParameters, fun_idx: FunIdx, input: &[G], io_buffer: &mut IOBu
crates/aiur/src/synthesis.rs:188
↓ 3 callersMethodput
Serialize without tag header (for use within Env section serialization).
crates/ixon/src/comm.rs:32
↓ 3 callersMethodput_ser
(&self, buf: &mut Vec<u8>)
crates/ixon/src/metadata.rs:571
↓ 3 callersMethodput_tagged
Serialize with Tag4{0xE, 1} header.
crates/ixon/src/comm.rs:55
↓ 3 callersFunctionquot_env
Minimal Quot env: Quot / Quot.mk / Quot.lift / Quot.ind as axioms.
crates/kernel/src/whnf.rs:4522
↓ 3 callersFunctionread_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 callersMethodrecord
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 callersMethodrecord_def_eq_hit
(&self)
crates/kernel/src/perf.rs:146
↓ 3 callersMethodrecord_pass
(&mut self)
crates/ffi/src/lean_env.rs:1658
↓ 3 callersFunctionrecr_proj_constant
Canonical `RPrj` `Constant` for member `idx` of `block`.
crates/ixon/src/constant.rs:301
↓ 3 callersMethodrecursor_dump_matches_block
( &self, block_id: &KId<M>, flat: &[FlatBlockMember<M>], )
crates/kernel/src/inductive.rs:1389
↓ 3 callersFunctionreduce_histo_enabled
()
crates/kernel/src/perf.rs:315
↓ 3 callersFunctionreplace_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 callersFunctionresolve_kernel_check_workers
(total: usize, quiet: bool)
crates/ffi/src/kernel.rs:1253
↓ 3 callersFunctionrun_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 callersMethodsave
(&mut self)
crates/aiur/src/constraints.rs:95
↓ 3 callersFunctionserialize_source_info
( info: &LeanSourceInfo, stt: &CompileState, bytes: &mut Vec<u8>, )
crates/compile/src/compile.rs:1526
↓ 3 callersFunctionserialize_substring
( ss: &LeanSubstring, stt: &CompileState, bytes: &mut Vec<u8>, )
crates/compile/src/compile.rs:1550
↓ 3 callersMethodset_prims
(&mut self, p: Primitives<M>)
crates/kernel/src/env.rs:458
↓ 3 callersFunctionsort1
()
crates/kernel/src/def_eq.rs:1772
↓ 3 callersMethodstore_comm
(&self, addr: Address, comm: Comm)
crates/ixon/src/env.rs:248
↓ 3 callersMethodstore_name
(&self, addr: Address, name: Name)
crates/ixon/src/env.rs:237
↓ 3 callersMethodstr_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 callersFunctionsyntax_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 callersMethodsynth_name
Generate a unique synthetic name like `_s0`, `_s1`, etc.
crates/kernel/src/ingress.rs:334
↓ 3 callersMethodtargets
Every kernel-checked target this item covers (one for `Standalone`, `targets.len()` for `Block`).
crates/kernel/src/anon_work.rs:74
↓ 3 callersFunctiontest_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 callersMethodtransitive_deps_excl
Transitive dep addresses of `root`, excluding `root`, sorted.
crates/kernel/src/anon_env.rs:94
↓ 3 callersMethodtry_compare
(self, other: F)
crates/common/src/strong_ordering.rs:38
↓ 3 callersMethodtry_proj_reduce
( &mut self, id: &KId<M>, field: u64, wval: &KExpr<M>, )
crates/kernel/src/whnf.rs:1390
↓ 3 callersMethodtry_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 callersMethodtry_reduce_nat_with_succ_mode
( &mut self, e: &KExpr<M>, nat_succ_mode: NatSuccMode, )
crates/kernel/src/whnf.rs:1705
↓ 3 callersFunctiontwo_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 callersMethodu64
(&mut self)
crates/kernel/src/shard.rs:1497
↓ 3 callersMethodu8
(&mut self, v: u8)
crates/aiur/src/vk_codec.rs:62
↓ 3 callersMethodu8
(&mut self)
crates/kernel/src/shard.rs:1491
↓ 3 callersFunctionu8_and_channel
()
crates/aiur/src/lib.rs:59
↓ 3 callersFunctionu8_bit_decomposition_channel
()
crates/aiur/src/lib.rs:29
↓ 3 callersFunctionu8_chain_rotr4_channel
()
crates/aiur/src/lib.rs:89
↓ 3 callersFunctionu8_chain_rotr7_channel
()
crates/aiur/src/lib.rs:84
↓ 3 callersFunctionu8_less_than_channel
()
crates/aiur/src/lib.rs:69
↓ 3 callersFunctionu8_mul_channel
()
crates/aiur/src/lib.rs:79
↓ 3 callersFunctionu8_or_channel
()
crates/aiur/src/lib.rs:64
↓ 3 callersFunctionu8_shift_left_channel
()
crates/aiur/src/lib.rs:34
↓ 3 callersFunctionu8_shift_right_channel
()
crates/aiur/src/lib.rs:39
↓ 3 callersFunctionu8_xor_channel
()
crates/aiur/src/lib.rs:44
↓ 3 callersFunctionunpack_bools
Unpack up to n bools from a u8.
crates/ixon/src/serialize.rs:124
↓ 3 callersMethodvalidate_const_well_scoped_timed
( &mut self, c: &KConst<M>, mut timing: Option<&mut ValidationTiming>, )
crates/kernel/src/check.rs:435
↓ 3 callersMethodvalidate_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 callersMethodwhnf_no_delta_impl
( &mut self, e: &KExpr<M>, flags: WhnfFlags, nat_succ_mode: NatSuccMode, )
crates/kernel/src/whnf.rs:616
↓ 3 callersMethodwith_tree
(mut self, tree: AggNode)
crates/kernel/src/shard.rs:1350
↓ 3 callersFunctionwork_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 callersFunctionacc_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 callersFunctionadd_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 callersMethodadd_var
(&mut self, idx: u64, k: u64)
crates/kernel/src/level.rs:316
↓ 2 callersMethodaddr
(&mut self)
crates/kernel/src/shard.rs:1503
↓ 2 callersMethodaddrs
(&mut self)
crates/kernel/src/shard.rs:1506
↓ 2 callersFunctionagg_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 callersMethodaircircuit
(&mut self, c: &AiurCircuit)
crates/aiur/src/vk_codec.rs:146
↓ 2 callersFunctionapply_sharing_to_axiom_with_stats
( ax: Axiom, refs: Vec<Address>, univs: Vec<Arc<Univ>>, )
crates/compile/src/compile.rs:1709
↓ 2 callersFunctionapply_sharing_to_mutual_block
Apply sharing to a mutual block and return a Constant with stats.
crates/compile/src/compile.rs:1793
↓ 2 callersFunctionapply_sharing_to_quotient_with_stats
( quot: Quotient, refs: Vec<Address>, univs: Vec<Arc<Univ>>, )
crates/compile/src/compile.rs:1727
↓ 2 callersFunctionarbitrary_univ
Generate an arbitrary Univ using pointer-tree technique (no stack overflow)
crates/ixon/src/univ.rs:180
↓ 2 callersFunctionarena_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 callersFunctionaux_congruence_result
( name: &Name, decompiled: &ConstantInfo, original: &ConstantInfo, entry: Option<&AuxCompareEntry>, )
crates/ffi/src/lean_env.rs:400
↓ 2 callersFunctionaux_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 callersFunctionaxiom_const
(refs: Vec<Address>)
crates/kernel/src/claim.rs:100
↓ 2 callersMethodbegin
(&self, worker_idx: usize, prefix: &str)
crates/ffi/src/kernel.rs:2568
↓ 2 callersMethodbfs_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 callersFunctionbinder_info_tag
(bi: &BinderInfo)
crates/common/src/env.rs:564
↓ 2 callersMethodbitvec_to_nat_expr
( &mut self, width: &KExpr<M>, value: &KExpr<M>, )
crates/kernel/src/whnf.rs:2560
↓ 2 callersFunctionbrecon_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 callersFunctionbuild_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 callersFunctionbuild_aux_perm_ctx
( all: &[Name], env: &Env, stt: &ix_compile::compile::CompileState, perm: &[usize], )
crates/ffi/src/lean_env.rs:73
↓ 2 callersFunctionbuild_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 callersFunctionbuild_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 callersFunctionbuild_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 callersFunctionbuild_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 callersFunctionbuild_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 callersMethodbuild_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 callersFunctionbuild_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 callersFunctionbuild_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 callersFunctionbuild_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 callersFunctionbuild_proof_for_remaining
( remaining: &[(EqBinderKind, LocalDecl)], body: &LeanExpr, local_context: &[LocalDecl], fvar_order: &
crates/compile/src/compile/aux_gen/brecon.rs:2281
↓ 2 callersFunctionbuild_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 callersFunctionbuild_raw_blob
Build RawBlob using type method.
crates/ffi/src/compile.rs:90
↓ 2 callersFunctionbuild_raw_comm
Build RawComm using type method.
crates/ffi/src/compile.rs:95
↓ 2 callersFunctionbuild_raw_const
Build RawConst using type method.
crates/ffi/src/compile.rs:72
↓ 2 callersFunctionbuild_raw_named
Build RawNamed using type method.
crates/ffi/src/compile.rs:80
↓ 2 callersMethodbuild_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 callersMethodbuild_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 callersFunctionbuild_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 callersFunctionbuild_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 callersFunctionbuild_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 callersMethodbump_add
(&mut self, i: &G, j: &G)
crates/aiur/src/gadgets/bytes2.rs:437
↓ 2 callersMethodbump_and
(&mut self, i: &G, j: &G)
crates/aiur/src/gadgets/bytes2.rs:445
↓ 2 callersMethodbump_bit_decomposition
(&mut self, byte: &G)
crates/aiur/src/gadgets/bytes1.rs:216
← previousnext →801–900 of 3,453, ranked by callers