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

Function bad_proj_prop5

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

Source from the content-addressed store, hash-verified

1964 let mut env = prop_structure_env();
1965 let id = mk_prop_structure_proj_test(
1966 &mut env,
1967 "projProp2",
1968 cnst("PUnit", &[usucc(uzero())]),
1969 1,
1970 );
1971 check_rejects(&mut env, &id);
1972 }
1973
1974 /// projProp3 (good): idx=2, aSecondProof : PUnit.{0} — proof before dependent data
1975 #[test]
1976 fn good_proj_prop3() {
1977 let mut env = prop_structure_env();
1978 let id = mk_prop_structure_proj_test(
1979 &mut env,
1980 "projProp3",
1981 cnst("PUnit", &[uzero()]),
1982 2,
1983 );
1984 check_accepts(&mut env, &id);
1985 }

Callers

nothing calls this directly

Calls 10

prop_structure_envFunction · 0.85
appsFunction · 0.85
usuccFunction · 0.85
uzeroFunction · 0.85
check_rejectsFunction · 0.85
mk_idFunction · 0.50
varFunction · 0.50
cnstFunction · 0.50
cloneMethod · 0.45

Tested by

no test coverage detected