pub fn check_positivity(
inductive: &str,
constructor: &str,
ty: &Term,
) -> KernelResult<()>Expand description
Check strict positivity in a constructor type without unfolding definitions.
Use check_positivity_resolved at declaration boundaries, where a context is
available. This syntactic variant supports callers whose input has already been
expanded and provides an independent comparison for alias-free types.