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

Function def_eq_ptr_eq

crates/kernel/src/def_eq.rs:1855–1860  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1853 ExprData::FVar(id, _, _) => format!("{id}"),
1854 ExprData::Sort(u, _) => format!("Sort({u})"),
1855 ExprData::Const(id, us, _) => format!("{id}.{{{}}}", us.len()),
1856 ExprData::App(..) => "app".to_string(),
1857 ExprData::Lam(..) => "lam".to_string(),
1858 ExprData::All(..) => "forall".to_string(),
1859 ExprData::Let(..) => "let".to_string(),
1860 ExprData::Prj(id, field, val, _) => {
1861 format!("Prj({id}.{field}, {})", compact_def_eq_expr(val))
1862 },
1863 ExprData::Nat(v, _, _) => format!("Nat({})", v.0),

Callers

nothing calls this directly

Calls 2

env_with_idFunction · 0.70
sort0Function · 0.70

Tested by

no test coverage detected