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

Function lean_axio

crates/kernel/src/congruence.rs:695–704  ·  view source on GitHub ↗
(
    name: &str,
    lvls: Vec<Name>,
    typ: env::Expr,
  )

Source from the content-addressed store, hash-verified

693 // ---- const_congruent ----
694
695 fn lean_axio(
696 name: &str,
697 lvls: Vec<Name>,
698 typ: env::Expr,
699 ) -> env::ConstantInfo {
700 env::ConstantInfo::AxiomInfo(AxiomVal {
701 cnst: ConstantVal { name: mk_name(name), level_params: lvls, typ },
702 is_unsafe: false,
703 })
704 }
705
706 fn zero_axio(lvls: u64, ty: KExpr<Anon>) -> KConst<Anon> {
707 KConst::Axio { name: (), level_params: (), is_unsafe: false, lvls, ty }

Callers 3

const_axio_matchesFunction · 0.85

Calls 1

mk_nameFunction · 0.70

Tested by 3

const_axio_matchesFunction · 0.68