An Automated Theorem Generator with Theoretical Foundation Based on Rectangular Standard Contradiction