pub fn validate_parsed_declaration(
    (name, term): (Term, Term)
) -> PolarResult<ParsedDeclaration>