Validate declaration expressions before inference. This is the Ix equivalent of Lean's declaration-admission closure and universe-param checks: declarations must be closed at the top level, and every `Param(idx)` in their type/value/rules must refer to one of the declaration's own universe parameters.
(
&mut self,
c: &KConst<M>,
)
| 426 | // `check_recursor` runs the full kernel-driven verification: |
| 427 | // coherence (major inductive passes A1–A4, K-target flag matches), |
| 428 | // plus generated-canonical-vs-stored rule comparison via |
| 429 | // `is_def_eq`. The rule generator is shared between the kernel and |
| 430 | // the compile-time aux_gen, with the nested-aux ordering selected |
| 431 | // by `KEnv::recursor_aux_order`, so the syntactic compare is sound |
| 432 | // against the canonical aux-restored env produced by `ixon_ingress`. |
| 433 | self.check_recursor_member(id)?; |
| 434 | Ok(()) |
| 435 | }, |
| 436 |
no test coverage detected