kernel-list-foldr-append
- Kind
- kernel-term
- Status
- checked
Supports: List.foldr_append is admitted by the trusted kernel gate with the type recorded in formal.statement.
test "$(cargo run -q --release -p axeyum-lean-kernel --example list_theorem_inventory -- List.foldr_append 2>/dev/null | grep -Fc '((x0 : Sort (1)) -> ((x1 : Sort (1)) -> ((x2 : ((x2 : x0) -> ((x3 : x1) -> x1))) -> ((x3 : x1) -> ((x4 : List.{0} x0) -> ((x5 : List.{0} x0) -> Eq.{1} x1 (List.foldr x0 x1 x2 x3 (List.append x0 x4 x5)) (List.foldr x0 x1 x2 (List.foldr x0 x1 x2 x3 x5) x4)))))))')" -ge 1 Evidence notes
The pattern is the FULL admitted type (rendered by Kernel::render_lean via list_theorem_inventory), not the theorem's name -- a drifted statement would fail this check. build_list_nat_bridge admits this theorem only through the trusted kernel gate, so a successful build IS the type-check.