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

Function bad_proj_out_of_range

crates/kernel/src/tutorial/defeq.rs:1380–1403  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1378 let minor_r =
1379 npi("left", var(3), npi("right", var(3), app(var(2), mk_app_r)));
1380 let rule_rhs = nlam(
1381 "a",
1382 sort0(),
1383 nlam(
1384 "b",
1385 sort0(),
1386 nlam(
1387 "motive",
1388 motive_ty_r,
1389 nlam(
1390 "intro_case",
1391 minor_r,
1392 nlam(
1393 "left",
1394 var(3),
1395 nlam("right", var(3), app(app(var(2), var(1)), var(0))),
1396 ),
1397 ),
1398 ),
1399 ),
1400 );
1401
1402 env.insert(
1403 rec_id.clone(),
1404 KConst::Recr {
1405 name: mk_name("And.rec"),
1406 level_params: vec![mk_name("u")],

Callers

nothing calls this directly

Calls 12

and_envFunction · 0.85
npiFunction · 0.85
nlamFunction · 0.85
mk_defnFunction · 0.85
check_rejectsFunction · 0.85
appFunction · 0.50
cnstFunction · 0.50
varFunction · 0.50
sort0Function · 0.50
mk_idFunction · 0.50
cloneMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected