让规则说明从docstring自动生成[#121]
curl-curl-identity
Replace the curl of a curl by the gradient of the divergence minus the vector Laplacian. The field must be C2; declaring it divergence-free is a separate premise and a separate rewrite.
Group: vector-calculus. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: assumptions declare vector(E) and c2(E)
Exact scalar-algebra check: unsupported.
divergence-free
Group: vector-calculus. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: vector(E) and the matching fact div(E) = 0
Exact scalar-algebra check: unsupported.
div-curl-zero
Group: vector-calculus. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: assumptions declare vector(E) and c2(E)
Exact scalar-algebra check: unsupported.
curl-grad-zero
Group: vector-calculus. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: assumptions declare scalar(f) and c2(f)
Exact scalar-algebra check: unsupported.
div-grad-laplacian
Group: vector-calculus. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: assumptions declare scalar(f) and c2(f)
Exact scalar-algebra check: unsupported.
grad-product
Differentiate the product of two scalar fields with the gradient product rule. C1 regularity suffices; no second derivatives or smoothness assumptions are required.
Group: vector-calculus. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: scalar C1 fields in Cartesian space
Exact scalar-algebra check: unsupported.
div-product
Group: vector-calculus. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: scalar and vector C1 fields in Cartesian space
Exact scalar-algebra check: unsupported.
curl-product
Expand the curl of a scalar times a vector field in oriented Cartesian space. The cross product is grad(f) cross E, in that order; reversing it changes the sign. Both factors need C1 regularity.
Group: vector-calculus. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: scalar and vector C1 fields in oriented Cartesian space
Exact scalar-algebra check: unsupported.
subtract-zero
Group: identity. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: matching scalar or vector types
Exact scalar-algebra check: semantically-checked.
Executable guards
((zeroo type zero))
add-zero
Group: identity. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: matching scalar or vector types
Exact scalar-algebra check: semantically-checked.
Executable guards
((zeroo type zero))
zero-add
Group: identity. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: matching scalar or vector types
Exact scalar-algebra check: semantically-checked.
Executable guards
((zeroo type zero))
subtract-right-zero
Group: identity. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: matching scalar or vector types
Exact scalar-algebra check: semantically-checked.
Executable guards
((zeroo type zero))
double-negation
Group: identity. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: X is scalar or vector
Exact scalar-algebra check: semantically-checked.
Executable guards
((conde ((== type (quote scalar))) ((== type (quote vector)))))
multiply-one
Group: identity. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: X is scalar or vector
Exact scalar-algebra check: semantically-checked.
Executable guards
((conde ((== type (quote scalar))) ((== type (quote vector)))))
one-multiply
Group: identity. Modes: (forward backward check). Declarative RuleSpec; metavariables denote terms. Condition: X is scalar or vector
Exact scalar-algebra check: semantically-checked.
Executable guards
((conde ((== type (quote scalar))) ((== type (quote vector)))))
multiply-zero
Group: identity. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: X is scalar
Exact scalar-algebra check: semantically-checked.
zero-multiply
Group: identity. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: X is scalar
Exact scalar-algebra check: semantically-checked.
power-one
Group: identity. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: X is scalar
Exact scalar-algebra check: semantically-checked.
power-zero
Group: identity. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: polynomial power convention
Exact scalar-algebra check: semantically-checked.
add-commutative
Group: polynomial-algebra. Modes: (check). Declarative RuleSpec; metavariables denote terms. Condition: scalar terms
Exact scalar-algebra check: semantically-checked.
multiply-associative
Group: polynomial-algebra. Modes: (check). Declarative RuleSpec; metavariables denote terms. Condition: scalar terms
Exact scalar-algebra check: semantically-checked.
add-associative
Group: polynomial-algebra. Modes: (check). Declarative RuleSpec; metavariables denote terms. Condition: scalar terms
Exact scalar-algebra check: semantically-checked.
multiply-commutative
Group: polynomial-algebra. Modes: (check). Declarative RuleSpec; metavariables denote terms. Condition: scalar terms
Exact scalar-algebra check: semantically-checked.
differentiate-constant
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts expression coordinate) (if (differentiable-term? (quasiquote (unquote expression)) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (project (expression) (if (math-number-value expression) succeed fail)))
differentiate-variable
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts coordinate) (if (differentiable-term? (quasiquote (var (unquote coordinate))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
differentiate-independent
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts other coordinate) (if (differentiable-term? (quasiquote (var (unquote other))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (=/= other coordinate))
differentiate-negation
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (- (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
differentiate-sum
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts left right coordinate) (if (differentiable-term? (quasiquote (+ (unquote left) (unquote right))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
differentiate-difference
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts left right coordinate) (if (differentiable-term? (quasiquote (- (unquote left) (unquote right))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
differentiate-product
Generate the derivative of each factor separately and sum the two products. This rule constructs derivative terms; subsequent differentiation and simplification steps compute and reduce them.
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts left right coordinate) (if (differentiable-term? (quasiquote (* (unquote left) (unquote right))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
differentiate-power
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts base exponent result coordinate) (if (differentiable-term? (quasiquote (^ (unquote base) (num (unquote exponent)))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (project (exponent base coordinate) (let ((n (natural-value exponent))) (if (= n 0) (== result (quote (num "0"))) (== result (quasiquote (* (* (num (unquote exponent)) (^ (unquote base) (num (unquote (number->string (- n 1)))))) (differentiate (unquote base) (var (unquote coordinate))))))))))
differentiate-quotient
Apply the quotient rule on the domain where the denominator is nonzero. The derivative remains a symbolic term until later passes process its operands and simplify the result.
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts left right coordinate) (if (differentiable-term? (quasiquote (/ (unquote left) (unquote right))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (math-factso facts (quasiquote ((nonzero (unquote right))))))
differentiate-sin
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (sin (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
differentiate-cos
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (cos (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
differentiate-exp
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (exp (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
differentiate-log
Group: differentiate. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar expression in independent scalar coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (log (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (math-factso facts (quasiquote ((positive (unquote operand))))))
differentiate-function
Apply the shared function chain rule using one-based argument positions. C1 permits one derivative, C2 permits two, and smooth permits higher derivatives.
Group: differentiate. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: Declared scalar function and sufficient regularity for the next derivative
Exact scalar-algebra check: unsupported.
evaluate-constant
Group: calculate. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: exact scalar arithmetic
Exact scalar-algebra check: unsupported.
collect-like-terms
Group: collect. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: exact scalar arithmetic
Exact scalar-algebra check: unsupported.
combine-coefficients
Group: collect. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: exact scalar arithmetic
Exact scalar-algebra check: unsupported.
normalize-scalar
Group: normalize. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: real scalar algebra
Exact scalar-algebra check: unsupported.
cancel-scalar-factors
Group: cancel. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: real scalar algebra
Exact scalar-algebra check: unsupported.
cancel-common-factor
A check-only cancellation theorem. Its denominator side condition is explicit in the premise and must remain in the surrounding domain requirements.
Group: cancel. Modes: (check). Declarative RuleSpec; metavariables denote terms. Condition: real scalar terms; A is nonzero
Exact scalar-algebra check: semantically-checked.
expand-scalar-product
Group: expand. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: real scalar algebra
Exact scalar-algebra check: unsupported.
normalize-function-prime
Group: normalize. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Declared unary scalar function with one derivative
Exact scalar-algebra check: unsupported.
partial-constant
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts expression coordinate) (if (differentiable-term? (quasiquote (unquote expression)) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (project (expression) (if (math-number-value expression) succeed fail)))
partial-variable
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts coordinate) (if (differentiable-term? (quasiquote (var (unquote coordinate))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
partial-independent
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts other coordinate) (if (differentiable-term? (quasiquote (var (unquote other))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (=/= other coordinate) (project (facts input) (if (independent-variable? facts input) succeed fail)))
partial-negation
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (- (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
partial-sum
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts left right coordinate) (if (differentiable-term? (quasiquote (+ (unquote left) (unquote right))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
partial-difference
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts left right coordinate) (if (differentiable-term? (quasiquote (- (unquote left) (unquote right))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
partial-product
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts left right coordinate) (if (differentiable-term? (quasiquote (* (unquote left) (unquote right))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
partial-power
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts base exponent result coordinate) (if (differentiable-term? (quasiquote (^ (unquote base) (num (unquote exponent)))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (project (exponent base coordinate) (let ((n (natural-value exponent))) (if (= n 0) (== result (quote (num "0"))) (== result (quasiquote (* (* (num (unquote exponent)) (^ (unquote base) (num (unquote (number->string (- n 1)))))) (partial (unquote base) (var (unquote coordinate))))))))))
partial-quotient
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts left right coordinate) (if (differentiable-term? (quasiquote (/ (unquote left) (unquote right))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (math-factso facts (quasiquote ((nonzero (unquote right))))))
partial-sin
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (sin (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
partial-cos
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (cos (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
partial-exp
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (exp (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)))
partial-log
Group: partial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar expression in explicitly declared independent coordinates
Exact scalar-algebra check: unsupported.
Executable guards
((project (facts operand coordinate) (if (differentiable-term? (quasiquote (log (unquote operand))) facts) succeed fail)) (project (facts coordinate) (if (eq? (math-variable-role facts (quasiquote (var (unquote coordinate)))) (quote parameter)) fail succeed)) (math-factso facts (quasiquote ((positive (unquote operand))))))
partial-function-chain
Apply the shared function chain rule using one-based argument positions. C1 permits one derivative, C2 permits two, and smooth permits higher derivatives.
Group: partial. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: Declared scalar function and sufficient regularity for the next derivative
Exact scalar-algebra check: unsupported.
partial-coordinate-symmetry
Group: normalize. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: C2 operand; coordinate names and argument positions have separate orders
Exact scalar-algebra check: unsupported.
partial-argument-symmetry
Group: normalize. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: C2 operand; coordinate names and argument positions have separate orders
Exact scalar-algebra check: unsupported.
components-sum
Group: components. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Cartesian scalar entries
Exact scalar-algebra check: unsupported.
components-difference
Group: components. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Cartesian scalar entries
Exact scalar-algebra check: unsupported.
components-negation
Group: components. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Cartesian scalar entries
Exact scalar-algebra check: unsupported.
components-scale-left
Group: components. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Cartesian scalar entries
Exact scalar-algebra check: unsupported.
components-scale-right
Group: components. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Cartesian scalar entries
Exact scalar-algebra check: unsupported.
components-quotient
Group: components. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Cartesian scalar entries
Exact scalar-algebra check: unsupported.
components-dot
Group: components. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Cartesian scalar entries
Exact scalar-algebra check: unsupported.
components-cross
Group: components. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Cartesian scalar entries
Exact scalar-algebra check: unsupported.
components-zero
Group: components. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: Cartesian scalar entries
Exact scalar-algebra check: unsupported.
gradient-components
Group: spatial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 scalar field in an ordered Cartesian basis
Exact scalar-algebra check: unsupported.
Executable guards
((basiso facts x y z))
divergence-components
Group: spatial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 components in an ordered Cartesian basis
Exact scalar-algebra check: unsupported.
Executable guards
((basiso facts x y z))
curl-components
Group: spatial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C1 components in an oriented ordered Cartesian basis
Exact scalar-algebra check: unsupported.
Executable guards
((basiso facts x y z))
laplacian-scalar-components
Group: spatial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C2 scalar field in Cartesian space
Exact scalar-algebra check: unsupported.
laplacian-vector-components
Group: spatial. Modes: (forward check). Declarative RuleSpec; metavariables denote terms. Condition: C2 Cartesian components
Exact scalar-algebra check: unsupported.
integrate-polynomial
Group: polynomial-calculus. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: Exact polynomials in independent coordinates and constant parameters; bounded sparse expansion
Exact scalar-algebra check: unsupported.
solve-polynomial-poisson
Group: polynomial-calculus. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: Exact polynomials in independent coordinates and constant parameters; bounded sparse expansion
Exact scalar-algebra check: unsupported.
expand-polynomial
Group: polynomial-calculus. Modes: (forward check). Algorithm rule; this description has no fixed RuleSpec. Condition: Exact polynomials in explicit coordinates/parameters; bounded expansion
Exact scalar-algebra check: unsupported.
math-rule->content把指定规则名转成文章内容:包括其结构化模式和可用说明。因此上面的规则卡片和运行时目录来自同一份定义,不会各自漂移。
若想只看写过说明的规则,可以约束documentation不等于#f:
((curl-curl-identity "Replace the curl of a curl by the gradient of the divergence minus the vector Laplacian. The field must be C2; declaring it divergence-free is a separate premise and a separate rewrite.") (grad-product "Differentiate the product of two scalar fields with the gradient product rule. C1 regularity suffices; no second derivatives or smoothness assumptions are required.") (curl-product "Expand the curl of a scalar times a vector field in oriented Cartesian space. The cross product is grad(f) cross E, in that order; reversing it changes the sign. Both factors need C1 regularity.") (differentiate-product "Generate the derivative of each factor separately and sum the two products. This rule constructs derivative terms; subsequent differentiation and simplification steps compute and reduce them.") (differentiate-quotient "Apply the quotient rule on the domain where the denominator is nonzero. The derivative remains a symbolic term until later passes process its operands and simplify the result.") (differentiate-function "Apply the shared function chain rule using one-based argument positions. C1 permits one derivative, C2 permits two, and smooth permits higher derivatives.") (cancel-common-factor "A check-only cancellation theorem. Its denominator side condition is explicit in the premise and must remain in the surrounding domain requirements.") (partial-function-chain "Apply the shared function chain rule using one-based argument positions. C1 permits one derivative, C2 permits two, and smooth permits higher derivatives."))
规则docstring解释其数学含义、适用条件或容易误解的细节,不会被当作新前提,也不会更改规则逻辑。这让说明可用于程序查询,同时保留普通Scheme函数的简单定义方式。