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

Function mk_axiom

crates/kernel/src/testing.rs:179–194  ·  view source on GitHub ↗
(
  name: &str,
  lvls: u64,
  level_params: Vec<Name>,
  ty: ME,
)

Source from the content-addressed store, hash-verified

177}
178
179pub fn mk_axiom(
180 name: &str,
181 lvls: u64,
182 level_params: Vec<Name>,
183 ty: ME,
184) -> (MId, KConst<Meta>) {
185 let id = mk_id(name);
186 let c = KConst::Axio {
187 name: mk_name(name),
188 level_params,
189 is_unsafe: false,
190 lvls,
191 ty,
192 };
193 (id, c)
194}
195
196// ---- Common environment builders ----
197

Callers 10

add_eq_axiomsFunction · 0.85
good_quot_lift_reductionFunction · 0.85
good_let_type_depFunction · 0.85
good_let_redFunction · 0.85
bad_induct_refl_occ_leftFunction · 0.85
bad_induct_neg_reducibleFunction · 0.85
bad_induct_in_indexFunction · 0.85

Calls 2

mk_idFunction · 0.70
mk_nameFunction · 0.70

Tested by

no test coverage detected