pub fn validate_kernel(kernel: &FkcKernel) -> Result<(), FkcError>Expand description
Validate one parsed kernel section against the structural + coherence
rules (every rule that operates on the parsed form). The duplicate-
KernelRef rule (10) is a register-time check (finalize), not here.