check_exercise
Verify polynomial identities and linear equation solutions using exact rational arithmetic. Checks whether two expressions are equivalent or if a proposed answer solves the equation.
Instructions
精确有理数验算。默认polynomial_identity检查变量x多项式恒等,如2*(x+3)与2x+6。linear_equation检查化简后一元一次方程的唯一解,如expression=2(x+3)=10、proposed_answer=2(答案不带x=)。使用显式*;无解、多解、非线性或变量分母返回待复核。仅验证所给算式,不保证题意/答案匹配或教学效果。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | polynomial_identity | |
| expression | Yes | ||
| proposed_answer | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | 保存的验算ID,可由练习check_id引用;不证明自然语言题意匹配。 | |
| kind | Yes | ||
| scope | Yes | 本次验算覆盖的数学范围与不能证明的事项。 | |
| reason | No | needs_review时说明无法自动验算的原因;通过或不符合时省略。 | |
| status | Yes | equivalent为所选模式下验算通过;not_equivalent为答案不符合;needs_review为超出验算范围或无法解析,不是判错。 | |
| expression | Yes | ||
| proposed_answer | Yes |