MCPcopy Create free account
hub / github.com/argumentcomputer/ix / lam

Function lam

crates/kernel/src/inductive.rs:4540–4542  ·  view source on GitHub ↗

Helper: build `λ (_ : a), b`

(a: AE, b: AE)

Source from the content-addressed store, hash-verified

4538 .get_result_sort_level(&ty, u64_to_usize(ind_params + ind_indices)?)?;
4539 if !univ_eq(&result_level, &KUniv::zero()) {
4540 return Ok(false);
4541 }
4542
4543 // 3. Exactly one constructor with zero non-param fields
4544 if ctors.len() != 1 {
4545 return Ok(false);

Callers 7

build_rule_rhsMethod · 0.70
build_rule_ihMethod · 0.70
bool_envFunction · 0.70
nat_envFunction · 0.70
nat_rec_rulesFunction · 0.70

Calls

no outgoing calls

Tested by 2

nat_rec_rulesFunction · 0.56