MCPcopy Create free account

hub / github.com/argumentcomputer/ix / functions

Functions3,453 in github.com/argumentcomputer/ix

↓ 7 callersMethodget
Materialize the `Constant`. If this entry was built via [`Self::from_constant`], returns the pre-populated cached `Arc` (zero-cost clone). Otherwise
crates/ixon/src/lazy.rs:150
↓ 7 callersFunctionget_u8
(buf: &mut &[u8])
crates/ixon/src/proof.rs:244
↓ 7 callersFunctionlambda_telescope
Open lambda binders into FVars (matching forall_telescope but for lambdas).
crates/compile/src/compile/aux_gen/expr_utils.rs:1256
↓ 7 callersMethodmeta_fmt
(&self, f: &mut fmt::Formatter<'_>)
crates/kernel/src/id.rs:73
↓ 7 callersFunctionmk_addr
(s: &str)
crates/kernel/src/infer.rs:623
↓ 7 callersFunctionmk_id
(s: &str)
crates/compile/src/kernel_egress.rs:1283
↓ 7 callersFunctionmk_meta_nat
(n: u64)
crates/kernel/src/whnf.rs:3628
↓ 7 callersFunctionmk_pprod
Build `PProd.{u, v} a b` with separate universe levels for each component. Matches Lean's `mkPProd` which infers levels from the actual types. Caller
crates/compile/src/compile/aux_gen/below.rs:1718
↓ 7 callersFunctionnode_hash
(left: &Address, right: &Address)
crates/ixon/src/merkle.rs:59
↓ 7 callersMethodnum_blocks
Number of blocks (vertices).
crates/kernel/src/profile.rs:157
↓ 7 callersMethodopen_binder_anon
Anonymous variant of [`Self::open_binder`] that uses `Name::anon()` / `BinderInfo::Default`. Convenient for kernel-internal walks (inductive validatio
crates/kernel/src/tc.rs:555
↓ 7 callersFunctionread_addr_bytes
Read exactly 32 bytes (Address) from a byte slice, advancing the cursor.
crates/compile/src/decompile.rs:235
↓ 7 callersFunctionregister_name
Register a Name in `stt.env.names` so `decompile_name` can resolve it. Mirrors `compile_name` (content-address the name, insert into names map).
crates/compile/src/decompile.rs:4669
↓ 7 callersMethodreset
Reset thread-local state between constants. Global caches in `KEnv` are NOT cleared — they grow monotonically and are shared across all TCs.
crates/kernel/src/tc.rs:817
↓ 7 callersMethodroot
Recursively compute the root hash.
crates/ixon/src/assumption_tree.rs:106
↓ 7 callersFunctionroundtrip_block
Compile a batch of regenerated `MutConst`s as a mutual block (mirroring `compile_aux_block`), then decompile each member with original metadata from `
crates/compile/src/decompile.rs:2406
↓ 7 callersFunctionsort0
()
crates/compile/src/ground.rs:244
↓ 7 callersFunctionsort0
()
crates/compile/src/compile/aux_gen/nested.rs:2096
↓ 7 callersFunctionsort1
()
crates/kernel/src/whnf.rs:3091
↓ 7 callersFunctiontest_env
()
crates/kernel/src/check.rs:946
↓ 7 callersFunctiontimed_drop_ns
(value: T)
crates/kernel/src/ingress.rs:3464
↓ 7 callersMethodverify
( &self, fri_parameters: FriParameters, claim: &[G], proof: &Proof, )
crates/aiur/src/synthesis.rs:254
↓ 7 callersMethodwrite
Write bytes to the store and return their address (blake3 hash)
crates/compile/src/store.rs:86
↓ 7 callersFunctionzero_address
()
crates/ixon/src/merkle.rs:69
↓ 6 callersFunctionaddr_key
(addr: &Address)
crates/ixvm-codegen/src/aiur_ixvm_witness.rs:62
↓ 6 callersFunctionapply_sharing
(exprs: Vec<Arc<Expr>>)
crates/compile/src/compile.rs:1670
↓ 6 callersFunctionapply_sharing_with_stats
Apply sharing analysis to a set of expressions. Returns the rewritten expressions, sharing vector, and hash-consed size. Hash-consed size tracking is
crates/compile/src/compile.rs:1608
↓ 6 callersFunctionapps_ae
(mut f: AE, args: &[AE])
crates/kernel/src/whnf.rs:3307
↓ 6 callersFunctionaxiom_constant
()
crates/ixon/src/lazy.rs:253
↓ 6 callersMethodbegin_const
(&mut self, id: &KId<M>)
crates/kernel/src/tc.rs:922
↓ 6 callersFunctionbuild_lean_nat_usize
Build a Lean Nat from a usize.
crates/ffi/src/compile.rs:63
↓ 6 callersFunctionbuild_string_array
(errors: &[String])
crates/ffi/src/kernel.rs:3387
↓ 6 callersFunctionbytes_to_g
(bytes: &[u8])
crates/ixvm-codegen/src/aiur_ixvm_witness.rs:67
↓ 6 callersFunctioncheck_accepts_with_prims
Check with custom primitives (needed for Nat literal tests etc.)
crates/kernel/src/testing.rs:246
↓ 6 callersFunctioncompare_expr
Compare two Lean expressions structurally for canonical ordering. Strips `Mdata` wrappers, compares by constructor tag, then recurses into subexpressi
crates/compile/src/compile.rs:2464
↓ 6 callersFunctioncompile_const
Compile a single constant.
crates/compile/src/compile.rs:3004
↓ 6 callersFunctioncompile_mutual
Compile a mutual block. When `aux` is true, auxiliary constants (`.rec`, `.below`, `.brecOn`) are regenerated for alpha-collapsed blocks via `generat
crates/compile/src/compile.rs:3466
↓ 6 callersMethodcontains
True iff `target` appears as a `Leaf` somewhere in the tree.
crates/ixon/src/assumption_tree.rs:133
↓ 6 callersFunctioncontent_address_of
Compute content address of an Ixon `Constant` by serializing and hashing.
crates/compile/src/kernel_egress.rs:710
↓ 6 callersMethoddecode
Decode Ix.Int from Lean object. Ix.Int: ofNat (tag 0, 1 field) | negSucc (tag 1, 1 field)
crates/ffi/src/ix/data.rs:38
↓ 6 callersFunctiondecode_expr
(obj: LeanBorrowed<'_>, cache: &mut Cache<'_>)
crates/ffi/src/lean_env.rs:788
↓ 6 callersMethoddiscover_block_inductives
Discover all inductives in a mutual block.
crates/kernel/src/inductive.rs:427
↓ 6 callersFunctionegress_level
Convert a zero kernel universe to a Lean level.
crates/compile/src/kernel_egress.rs:26
↓ 6 callersFunctionenabled
()
crates/kernel/src/perf.rs:39
↓ 6 callersFunctionexpand_shares_expr
( expr: &Arc<ixon::expr::Expr>, sharing: &[Arc<ixon::expr::Expr>], )
crates/ffi/src/lean_env.rs:2495
↓ 6 callersMethodfinish
(&self, worker_idx: usize, outcome: &CheckOutcome)
crates/ffi/src/kernel.rs:2578
↓ 6 callersMethodget_major_inductive_id
Get the major premise's inductive KId from a recursor type. Strategy: peel `skip` foralls per Lean's stored `params + motives + minors + indices` cou
crates/kernel/src/whnf.rs:1616
↓ 6 callersMethodget_name
Get a name by address.
crates/ixon/src/env.rs:242
↓ 6 callersFunctionget_opt_addr
(buf: &mut &[u8])
crates/ixon/src/proof.rs:961
↓ 6 callersMethodget_result_sort_level
Get the result sort level of a type after peeling `n` foralls.
crates/kernel/src/inductive.rs:2090
↓ 6 callersFunctionget_value
Extract the value expression from a ConstantInfo, if it has one.
crates/compile/src/decompile.rs:2375
↓ 6 callersFunctionlevel_alpha_eq
Check that two Lean levels are equal modulo the same simplifications `Level::max_smart` / `Level::imax_smart` perform. Why normalize: `aux_gen::expr_
crates/compile/src/congruence.rs:41
↓ 6 callersMethodload_meta_extensions
Install per-constant metadata extension tables. - `meta_sharing` → dedicated `self.meta_sharing` (separate from the block sharing, see struct docs).
crates/compile/src/decompile.rs:128
↓ 6 callersMethodlvls
(&self)
crates/kernel/src/constant.rs:114
↓ 6 callersFunctionmk_axio
(_s: &str)
crates/kernel/src/env.rs:644
↓ 6 callersFunctionmk_name
(s: &str)
crates/kernel/src/id.rs:104
↓ 6 callersFunctionmk_prop_structure_proj_test
Helper: build test `name : PropStructure.{0,1} → resType := fun x => .proj PropStructure idx x`
crates/kernel/src/tutorial/defeq.rs:1891
↓ 6 callersFunctionmk_triple_forall
`∀ (a : α) (b : β) (c : γ), body`
crates/compile/src/compile/aux_gen/expr_utils.rs:3291
↓ 6 callersMethodn_source_motives
Total source-layout motive count: `n_primary + n_source_aux`.
crates/compile/src/congruence/perm.rs:214
↓ 6 callersMethodnat_literal
(&mut self, n: u64)
crates/kernel/src/whnf.rs:1691
↓ 6 callersFunctionnorm_add_const
(s: &mut NormLevel, k: u64, path: &[u64])
crates/kernel/src/level.rs:345
↓ 6 callersFunctionpreseed_expr_tables
( exprs: &[(&LeanExpr, &[Name])], mut_ctx: &MutCtx, cache: &mut BlockCache, stt: &CompileState, call
crates/compile/src/compile.rs:545
↓ 6 callersMethodpromote_aux
Promote a constant from `aux_name_to_addr` to `name_to_addr`, setting `Named.original` to the given `(orig_addr, orig_meta)` from the ephemeral no-aux
crates/compile/src/compile.rs:278
↓ 6 callersFunctionprop_structure_env
Build PUnit.{u} + Eq + PropStructure.{u,v} env.
crates/kernel/src/tutorial/defeq.rs:1689
↓ 6 callersFunctionpunit_const
Build `PUnit.{u}` (the type, at `Sort (u+1)`)
crates/compile/src/compile/aux_gen/below.rs:1732
↓ 6 callersMethodput_indexed
Delegate indexed serialization to the inner enum, then serialize extension tables.
crates/ixon/src/metadata.rs:249
↓ 6 callersFunctionput_opt_addr
Helper: write an `Option<Address>` as `[0x00]` (None) or `[0x01][addr:32]` (Some). Single byte for absence avoids a 33-byte gap when assumptions are a
crates/ixon/src/proof.rs:951
↓ 6 callersMethodquick_def_eq
Quick structural: same constructor, recursively same children (no WHNF).
crates/kernel/src/def_eq.rs:557
↓ 6 callersFunctionresolve_level_params
( lvl_addrs: &[Address], names: &FxHashMap<Address, Name>, )
crates/kernel/src/ingress.rs:341
↓ 6 callersMethodser
Serialize to a fresh Vec.
crates/ixon/src/assumption_tree.rs:245
↓ 6 callersFunctionsort0
()
crates/kernel/src/constant.rs:160
↓ 6 callersFunctionsort1
()
crates/kernel/src/check.rs:942
↓ 6 callersFunctionsort_consts
Sort mutual constants into a canonical ordering and group equal ones. Uses iterative refinement: sort by structure, group equals, re-sort with updated
crates/compile/src/compile.rs:2933
↓ 6 callersFunctionstore_canonical
Store `c` at its true content address; returns the address. Tests that serialize+deserialize through `Env::put`/`Env::get` must use canonical addresse
crates/ixon/src/serialize.rs:2447
↓ 6 callersFunctionstrip_mdata
Strip Mdata wrappers from an expression.
crates/compile/src/congruence.rs:337
↓ 6 callersMethodsubst_univ
Substitute universe params in a universe level. Fails with `UnivParamOutOfRange { idx, bound }` if an interior `Param(idx)` references beyond `us.len
crates/kernel/src/tc.rs:779
↓ 6 callersFunctiontimed_intern_univ
( intern: &mut InternTable<M>, u: KUniv<M>, stats: &mut ConvertStats, )
crates/kernel/src/ingress.rs:251
↓ 6 callersMethodto_bytes
Serialize to the `.ixes` binary format.
crates/kernel/src/shard.rs:1390
↓ 6 callersFunctiontwo_clusters
Two tight clusters {1,2,3} and {4,5,6} with heavy intra-cluster delta and a single thin cross edge. A good bisection cuts only the thin edge.
crates/kernel/src/shard.rs:2038
↓ 6 callersFunctionunit
()
crates/kernel/src/whnf.rs:3536
↓ 6 callersFunctionunit_prop_rec
Build a rec type: `∀ {motive : P → Prop} (mk : motive P.mk) (t : P), motive t`
crates/compile/src/compile/aux_gen/cases_on.rs:419
↓ 6 callersFunctionusize_env
Build an env that includes the full USize.size reduction chain: System.Platform.numBits (handled by try_reduce_native → 64) Nat.pow at the correct pri
crates/kernel/src/whnf.rs:4213
↓ 6 callersMethodwitness_data
( &self, function_index: usize, query_record: &QueryRecord, io_buffer: &IOBuffer, )
crates/aiur/src/trace.rs:74
↓ 5 callersFunctionall_to_ctx
Convert a Vec<Name> to a MutCtx. Each name gets its position as the Nat value.
crates/compile/src/mutual.rs:131
↓ 5 callersFunctionapply_sharing_to_definition_with_stats
( def: Definition, refs: Vec<Address>, univs: Vec<Arc<Univ>>, block_name: Option<&str>, )
crates/compile/src/compile.rs:1685
↓ 5 callersFunctionapply_sharing_to_recursor_with_stats
Apply sharing to a Recursor and return a Constant with stats.
crates/compile/src/compile.rs:1748
↓ 5 callersFunctionaxiom_const_with_refs
(refs: Vec<Address>)
crates/kernel/src/anon_env.rs:111
↓ 5 callersMethodbfs_refs
BFS-collect all addresses transitively reachable from `root` via the `Constant.refs` field. The returned set includes `root` itself. Addresses that a
crates/ixon/src/env.rs:305
↓ 5 callersFunctionblock_step_cost
Predicted Zisk guest STEPS contributed by a single block (reduction + its own ingress). The per-shard floor and any cross-shard re-ingress are added a
crates/kernel/src/shard.rs:1643
↓ 5 callersMethodblocks
The block entries, indexed by block id.
crates/kernel/src/profile.rs:167
↓ 5 callersFunctionbuild_check_claim
Build a check claim for the constant at `const_addr` in `env`. Sets `assumptions: None` when the constant has no transitive deps, else `Some(root)` w
crates/kernel/src/claim.rs:35
↓ 5 callersFunctionbuild_compile_flat_block
Build a flat block from an ordered list of original inductives. Detects nested inductive occurrences in constructor fields and creates auxiliary entr
crates/compile/src/compile/aux_gen/nested.rs:1672
↓ 5 callersFunctionbuild_test_env
Helper: build a minimal Lean environment with mutual inductives.
crates/compile/src/compile/surgery.rs:1208
↓ 5 callersMethodcheck_ctor_against_inductive_member
Validate a standalone constructor against its parent inductive. Runs the same A1–A4 checks that `check_inductive_member` runs per-ctor.
crates/kernel/src/inductive.rs:360
↓ 5 callersFunctioncompare_kconst
Compare two block-eligible `KConst`s with full structural ordering. Different kinds order by `kconst_kind_ord`; same-kind dispatch goes to the kind-sp
crates/kernel/src/canonical_check.rs:458
↓ 5 callersFunctioncompile_aux_block_with_rename
Like `compile_aux_block`, but applies an optional name-rename map when registering named entries in the env. The rename maps *canonical* constant nam
crates/compile/src/compile/mutual.rs:103
↓ 5 callersFunctionconst_alpha_eq_with_perm
Compare a canonical-layout generated constant against a Lean source-order original, with [`PermCtx`] describing how positions map between the two layo
crates/compile/src/congruence/perm.rs:421
↓ 5 callersFunctioncontent_address
Compute the content-addressed hash for a Constant.
crates/compile/src/compile/mutual.rs:487
↓ 5 callersFunctioncount_foralls_expr
Count leading foralls (local helper to avoid name collision with the pub(super) count_foralls in below.rs).
crates/compile/src/compile/aux_gen/below.rs:579
↓ 5 callersMethodctx_addr_for_lbr
(&mut self, lbr: u64)
crates/kernel/src/tc.rs:385
← previousnext →401–500 of 3,453, ranked by callers