Using SMT Solvers to Validate Models for AI Problems