MCPcopy Create free account

hub / github.com/argumentcomputer/ix / functions

Functions3,453 in github.com/argumentcomputer/ix

↓ 2 callersFunctionget_def_kind
(buf: &mut &[u8])
crates/ixon/src/proof.rs:272
↓ 2 callersFunctionget_def_safety
(buf: &mut &[u8])
crates/ixon/src/proof.rs:289
↓ 2 callersMethodget_info
( &self, channel: G, key: &[G], )
crates/aiur/src/execute.rs:56
↓ 2 callersFunctionget_max_args_aux
Flatten a nested `max` tree, recursively normalizing any sub-term that isn't yet known to be normalized. Matches Lean's `getMaxArgsAux` with `normaliz
crates/compile/src/compile/aux_gen/below.rs:1514
↓ 2 callersFunctionget_rules
(buf: &mut &[u8])
crates/ixon/src/proof.rs:408
↓ 2 callersFunctionget_u64_vec
(buf: &mut &[u8])
crates/ixon/src/metadata.rs:980
↓ 2 callersMethodget_value
Returns the value of this constant, if it has one (definitions, theorems, opaques).
crates/common/src/env.rs:1427
↓ 2 callersFunctionground_consts
Checks every constant in `env` for groundedness and returns a map of all ungrounded names. First collects immediately ungrounded constants in paralle
crates/compile/src/ground.rs:45
↓ 2 callersFunctionground_level
( level: &Level, univs: &[Name], stt: &mut GroundState, )
crates/compile/src/ground.rs:205
↓ 2 callersFunctionhandle_substcore_step
( decl: &LocalDecl, rest: &[(EqBinderKind, LocalDecl)], body: &LeanExpr, alpha: &LeanExpr, lhs: &Lea
crates/compile/src/compile/aux_gen/brecon.rs:2368
↓ 2 callersMethodhas_duplicate_level_params
(&self)
crates/kernel/src/mode.rs:79
↓ 2 callersFunctionhas_invalid_spec_ref
Check if an expression contains any invalid reference for a spec_param: a free BVar (from domain-local foralls) or an FVar not in the block's paramete
crates/compile/src/compile/aux_gen/nested.rs:1608
↓ 2 callersMethodhas_prims
(&self)
crates/kernel/src/env.rs:462
↓ 2 callersMethodinduce
Induce the sub-hypergraph on the local vertices selected by `keep`, applying cut-net splitting: each net is restricted to its kept pins and dropped if
crates/kernel/src/shard.rs:492
↓ 2 callersFunctioningress_addr_set_into_kenv
( kenv: &mut KEnv<M>, ixon_env: &IxonEnv, lookups: &IxonIngressLookups, seed_addr: &Address, follow_
crates/kernel/src/ingress.rs:3282
↓ 2 callersFunctioningress_aux_gen_dep
( name: &Name, ci: &ConstantInfo, lean_env: &LeanEnv, stt: &crate::compile::CompileState, kctx: &mut
crates/compile/src/compile/aux_gen/recursor.rs:2600
↓ 2 callersFunctioningress_const_into_kenv_with_lookups_impl
( kenv: &mut KEnv<M>, ixon_env: &IxonEnv, lookups: &IxonIngressLookups, name: &Name, follow_refs: bo
crates/kernel/src/ingress.rs:3255
↓ 2 callersFunctioningress_convert_stats_enabled
()
crates/kernel/src/ingress.rs:3516
↓ 2 callersFunctioningress_defn
( def: &ixon::constant::Definition, self_id: KId<M>, meta: &ConstantMeta, ixon_env: &IxonEnv, names:
crates/kernel/src/ingress.rs:1381
↓ 2 callersFunctioningress_recursor
( rec: &ixon::constant::Recursor, self_id: KId<M>, meta: &ConstantMeta, ixon_env: &IxonEnv, names: &
crates/kernel/src/ingress.rs:1501
↓ 2 callersFunctioningress_univ
( root: &Arc<IxonUniv>, ctx: &Ctx<'_, M>, intern: &mut InternTable<M>, cache: &mut UnivCache<M>, sta
crates/kernel/src/ingress.rs:420
↓ 2 callersFunctioninline_like_env
Mimics Lean.Doc.Inline: parameterized type with Array nesting. Inl.{u} (i : Sort (u+1)) : Sort (u+1) Inl.text.{u} : ∀ (i : Sort (u+1)), String → Inl.{
crates/kernel/src/inductive.rs:5940
↓ 2 callersFunctioninstantiate1_at
( body: &LeanExpr, replacement: &LeanExpr, depth: u64, )
crates/compile/src/compile/aux_gen/expr_utils.rs:605
↓ 2 callersFunctioninstantiate_pi_params
Peel `n` forall binders and substitute their variables with `args`. Matches Lean C++ `instantiate_pi_params` (`inductive.cpp:954-960`): peel n forall
crates/compile/src/compile/aux_gen/expr_utils.rs:736
↓ 2 callersFunctionintern_int_lit
Build a canonical-form Int literal expression: `Int.ofNat n` for n ≥ 0, `Int.negSucc (|n| - 1)` for n < 0. Used as the return form of native Int reduc
crates/kernel/src/whnf.rs:3036
↓ 2 callersMethodis_empty
(&self)
crates/aiur/src/querymap.rs:71
↓ 2 callersMethodis_explicit
True if this level is an explicit numeral: `Succ^n(Zero)` for some n ≥ 0.
crates/kernel/src/level.rs:95
↓ 2 callersMethodis_identity
Whether this plan is an identity (no reordering, no collapse).
crates/compile/src/compile/surgery.rs:107
↓ 2 callersMethodis_large_eliminator
Determine whether the recursor for this block is a large eliminator (can target any universe). Follows lean4lean's isLargeEliminator. Returns true if
crates/kernel/src/inductive.rs:2129
↓ 2 callersFunctionis_motive_app
(e: &Expr, motives: &[Name])
crates/compile/src/congruence/perm.rs:1321
↓ 2 callersMethodis_nat_bin_pred_addr
(&self, addr: &Address)
crates/kernel/src/whnf.rs:1991
↓ 2 callersMethodis_nat_like
Check if an expression is a nat-like value (literal, Nat.zero, Nat.succ _).
crates/kernel/src/def_eq.rs:904
↓ 2 callersMethodis_nat_literal_recursor_app
( &mut self, e: &KExpr<M>, )
crates/kernel/src/whnf.rs:1090
↓ 2 callersMethodis_never_zero
True if this level is `Succ^n(base)` with n > 0. Such a level is never zero under any parameter assignment.
crates/kernel/src/level.rs:105
↓ 2 callersFunctionis_punit_type
(e: &Expr)
crates/compile/src/congruence/perm.rs:1317
↓ 2 callersMethodis_rec_field
Check if a field domain is a recursive occurrence of a flat block member. Returns `Some(block_index)` if, after peeling foralls, the result is `I_k pa
crates/kernel/src/inductive.rs:2969
↓ 2 callersMethodis_regular
Check if a constant has Regular reducibility hints (not Abbrev or Opaque). Used to guard the same-head-spine optimization (lean4lean: dt.hints.isRegul
crates/kernel/src/def_eq.rs:1305
↓ 2 callersFunctionitem_cost_bytes
Structural cost estimate for one work item, in serialized-AST bytes. For a Standalone item that's the byte length of its primary const; for a Muts bl
zisk/host/src/main.rs:320
↓ 2 callersFunctionixon_env_to_decoded
Convert a Rust IxonEnv to a DecodedRawEnv. Forces materialization of every constant — callers operating on a freshly-loaded lazy env pay the parse co
crates/ffi/src/lean_ixon/env.rs:344
↓ 2 callersFunctionixon_ingress_inner
( ixon_env: &IxonEnv, )
crates/kernel/src/ingress.rs:3758
↓ 2 callersFunctionkdefn_to_ixon
Build an `IxonDefinition` body (type + value) from a `KConst::Defn`.
crates/compile/src/kernel_egress.rs:543
↓ 2 callersFunctionkernel_check_mem_stats_enabled
()
crates/ffi/src/kernel.rs:2138
↓ 2 callersFunctionkernel_check_slow_threshold
()
crates/ffi/src/kernel.rs:2115
↓ 2 callersFunctionkrecr_to_ixon
Build an `IxonRecursor` body from a `KConst::Recr`.
crates/compile/src/kernel_egress.rs:564
↓ 2 callersFunctionkuniv_idx
Intern a universe into the block's `univs` table and return its index.
crates/compile/src/kernel_egress.rs:452
↓ 2 callersMethodlazy_ingress_addr
(&mut self, addr: &Address)
crates/kernel/src/tc.rs:283
↓ 2 callersMethodleaf
A shard leaf was finalized; log roughly every 1/16 of the shards. Uses an atomic counter so concurrent subtrees report coherently.
crates/kernel/src/shard.rs:627
↓ 2 callersFunctionlean_constant_all
(ci: &LeanCI)
crates/kernel/src/ingress.rs:2672
↓ 2 callersFunctionlean_expr_to_zexpr_raw
( expr: &LeanExpr, pn: &[Name], binder_names: &mut Vec<Name>, intern: &mut InternTable<Meta>, n2a: O
crates/kernel/src/ingress.rs:2291
↓ 2 callersFunctionlean_member_idx
(name: &Name, all: Option<&Vec<Name>>)
crates/kernel/src/ingress.rs:2686
↓ 2 callersMethodlen
(&self)
crates/kernel/src/lctx.rs:93
↓ 2 callersFunctionlet_hash
()
crates/kernel/src/expr.rs:932
↓ 2 callersFunctionlevel_normalize
Normalizing level rewrite, mirroring Lean's `Level.normalize` (`refs/lean4/src/Lean/Level.lean:379-401`). Applied by `inferForallType` before returnin
crates/compile/src/compile/aux_gen/below.rs:1435
↓ 2 callersMethodlevel_params
(&self)
crates/kernel/src/constant.rs:136
↓ 2 callersFunctionlevel_subsumes
Check whether `u` subsumes `v` (i.e., `u >= v` for all parameter assignments). Matches the `subsumes` local in Lean's `mkLevelMaxCore`. Two cases: 1.
crates/compile/src/compile/aux_gen/below.rs:1374
↓ 2 callersFunctionlist_env
Build env with List (1 param, 2 ctors including recursive cons). List.{u} : Sort u → Sort u List.nil.{u} : ∀ (α : Sort u), List.{u} α List.cons.{u} :
crates/kernel/src/inductive.rs:4934
↓ 2 callersFunctionload_env_bytes
(ixe: Option<&PathBuf>)
zisk/host/src/main.rs:278
↓ 2 callersFunctionload_proof_index
Load the proof store. Entries missing the `.asm` witness file (written by a pre-discharge host) are skipped with a note — without the assumption preim
zisk/host/src/main.rs:447
↓ 2 callersMethodlog_mem_summary
Print a one-shot summary of memory-related telemetry collected during the run. No-op when `IX_KERNEL_CHECK_MEM_STATS` is disabled.
crates/ffi/src/kernel.rs:2594
↓ 2 callersMethodlookup_let_val
Look up a let-bound variable's value, lifted to the current depth. Returns None if the variable is lambda/forall-bound (not a let).
crates/kernel/src/tc.rs:489
↓ 2 callersMethodmajor_domain_signature_eq
( &mut self, a: &KExpr<M>, b: &KExpr<M>, )
crates/kernel/src/inductive.rs:1464
↓ 2 callersFunctionmatch_classes_against_app
Helper for [`find_rec_target`]: match an `App`-spine against the block's classes by source name. Decomposes `ty` into head + args. If the head is a `
crates/compile/src/compile/aux_gen/recursor.rs:2158
↓ 2 callersMethodmdata
Constructs a metadata-annotated expression.
crates/common/src/env.rs:931
↓ 2 callersFunctionmemory_channel
()
crates/aiur/src/lib.rs:24
↓ 2 callersFunctionmk_addr
(s: &str)
crates/kernel/src/check.rs:933
↓ 2 callersFunctionmk_addr
(s: &str)
crates/kernel/src/def_eq.rs:1755
↓ 2 callersFunctionmk_addr
(s: &str)
crates/kernel/src/testing.rs:34
↓ 2 callersFunctionmk_binder_chain
Shared implementation for `mk_forall` and `mk_lambda`.
crates/compile/src/compile/aux_gen/expr_utils.rs:459
↓ 2 callersFunctionmk_eq_refl
Build `@Eq.refl.{u} α a : Eq.{u} α a a`.
crates/compile/src/compile/aux_gen/brecon.rs:1297
↓ 2 callersFunctionmk_heq_refl
Build `@HEq.refl.{u} α a : HEq a a`.
crates/compile/src/compile/aux_gen/brecon.rs:1373
↓ 2 callersFunctionmk_name
Build a dotted Lean name from a dot-separated string. Numeric components (e.g. the `0` in `_private.Foo.0.Bar`) are created as `Name::num` so that pri
crates/ffi/src/lean_env.rs:2455
↓ 2 callersFunctionmk_order_addr
(byte: u8)
crates/kernel/src/canonical_check.rs:845
↓ 2 callersFunctionmk_pprod_mk
Build `PProd.mk.{u, v} type_a type_b val_a val_b`
crates/compile/src/compile/aux_gen/below.rs:1740
↓ 2 callersFunctionmk_punit_unit
Build `PUnit.unit.{u}` (the term, not the type)
crates/compile/src/compile/aux_gen/below.rs:1762
↓ 2 callersFunctionmut_const_kind
Returns a kind ordinal for cross-kind comparison of mutual constants.
crates/compile/src/compile.rs:2796
↓ 2 callersFunctionn_canonical_aux_for_perm
(aux_perm: &[usize])
crates/compile/src/congruence/perm.rs:1725
↓ 2 callersMethodname_for_addr
(&self, addr: &Address)
crates/kernel/src/ingress.rs:3141
↓ 2 callersMethodnames_for_addr
(&self, addr: &Address)
crates/kernel/src/ingress.rs:3145
↓ 2 callersFunctionnames_from_addrs
( addrs: &[Address], stt: &CompileState, )
crates/compile/src/decompile.rs:3303
↓ 2 callersFunctionnat_env
Build env with Nat (1 recursive ctor) and its recursor. Nat : Sort 1 Nat.zero : Nat Nat.succ : Nat → Nat Nat.rec : ∀ (motive : Nat → Sort u) (zero : m
crates/kernel/src/inductive.rs:4735
↓ 2 callersMethodnat_expr_from_value
(&mut self, n: Nat)
crates/kernel/src/whnf.rs:1961
↓ 2 callersMethodnat_offset
( &mut self, e: &KExpr<M>, depth: u16, )
crates/kernel/src/whnf.rs:1149
↓ 2 callersMethodnat_offset_or_zero
( &mut self, e: &KExpr<M>, depth: u16, )
crates/kernel/src/whnf.rs:1180
↓ 2 callersFunctionnat_unary_op
Build `op a` for a unary primitive.
crates/kernel/src/whnf.rs:4761
↓ 2 callersFunctionnegative_self_function_env
(is_unsafe: bool)
crates/kernel/src/inductive.rs:6615
↓ 2 callersFunctionneighbors
(refs: &RefMap, n: &Name)
crates/compile/src/condense.rs:26
↓ 2 callersFunctionnext_case
(g: &mut Gen, gens: &[(usize, A)])
crates/ixon/src/lib.rs:62
↓ 2 callersMethodnext_u32
(&mut self, bound: u32)
crates/kernel/src/subst.rs:1358
↓ 2 callersMethodnode_for_key
Get or create a node index for a composite key.
crates/kernel/src/equiv.rs:53
↓ 2 callersFunctionnorm_lt
Total order on levels used to sort `max` children during normalization. Matches Lean's `normLt` / `normLtAux`, with `Succ` offsets floated into an acc
crates/compile/src/compile/aux_gen/below.rs:1544
↓ 2 callersFunctionnormalize_imax_imax
Handle `imax(u, imax(v, w))` = `max(imax(u, w), imax(v, w))`.
crates/kernel/src/level.rs:453
↓ 2 callersFunctionnormalize_imax_max
Handle `imax(u, max(v, w))` = `max(imax(u, v), imax(u, w))`.
crates/kernel/src/level.rs:440
↓ 2 callersMethodor
(i: &G, j: &G)
crates/aiur/src/gadgets/bytes2.rs:505
↓ 2 callersFunctionouter_telescope_alpha_eq
Open all leading binders (foralls or lambdas) on both sides, build a motive-permuted correspondence, and walk the bodies. Different aux kinds have di
crates/compile/src/congruence/perm.rs:984
↓ 2 callersMethodoutput_size
(&self, op: &Bytes2Op)
crates/aiur/src/gadgets/bytes2.rs:128
↓ 2 callersFunctionparse_stored_root
Extract the stored merkle root from a serialized env. The Tag4 header byte (`0xE0` for env) is followed by exactly 32 bytes of root (no opt-tag).
crates/ixon/src/serialize.rs:2456
↓ 2 callersFunctionparse_tag
(bytes: &[u8])
crates/ixon/src/proof.rs:1637
↓ 2 callersMethodpartial_cmp
(&self, other: &Self)
crates/kernel/src/id.rs:33
↓ 2 callersFunctionpeel_all_lambdas
Peel every leading lambda into FVars. Continues past `min_count` as long as the body is still a lambda.
crates/compile/src/congruence/perm.rs:1796
↓ 2 callersFunctionpeel_binders
( mut cur: LeanExpr, n: usize, prefix: &str, offset: usize, )
crates/compile/src/compile/surgery.rs:843
← previousnext →1,001–1,100 of 3,453, ranked by callers