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

Function pi

crates/kernel/src/inductive.rs:4530–4532  ·  view source on GitHub ↗

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

(a: AE, b: AE)

Source from the content-addressed store, hash-verified

4528 }
4529
4530 // 3. Exactly one constructor with zero non-param fields
4531 if ctors.len() != 1 {
4532 return Ok(false);
4533 }
4534 match self.try_get_const(&ctors[0])? {
4535 Some(KConst::Ctor { fields, .. }) => Ok(fields == 0),

Callers 15

bool_envFunction · 0.70
nat_envFunction · 0.70
nat_rec_rulesFunction · 0.70
list_envFunction · 0.70
nested_tree_envFunction · 0.70
poly_nested_envFunction · 0.70
syntax_like_envFunction · 0.70
inline_like_envFunction · 0.70
wf_like_envFunction · 0.70
wf_like_rec_typeFunction · 0.70

Calls

no outgoing calls