@cortex-js/compute-engine 0.57.0 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/compile.esm.js +2376 -501
- package/dist/compile.min.esm.js +316 -68
- package/dist/compile.min.umd.cjs +316 -68
- package/dist/compile.umd.cjs +2376 -501
- package/dist/compute-engine.esm.js +15717 -12444
- package/dist/compute-engine.min.esm.js +331 -83
- package/dist/compute-engine.min.umd.cjs +330 -82
- package/dist/compute-engine.umd.cjs +15717 -12444
- package/dist/core.esm.js +15716 -12443
- package/dist/core.min.esm.js +329 -81
- package/dist/core.min.umd.cjs +329 -81
- package/dist/core.umd.cjs +15716 -12443
- package/dist/identities.esm.js +1921 -0
- package/dist/identities.min.esm.js +2 -0
- package/dist/identities.min.umd.cjs +4 -0
- package/dist/identities.umd.cjs +1946 -0
- package/dist/interval.esm.js +779 -339
- package/dist/interval.min.esm.js +8 -8
- package/dist/interval.min.umd.cjs +8 -8
- package/dist/interval.umd.cjs +779 -339
- package/dist/latex-syntax.esm.js +971 -608
- package/dist/latex-syntax.min.esm.js +7 -7
- package/dist/latex-syntax.min.umd.cjs +7 -7
- package/dist/latex-syntax.umd.cjs +971 -608
- package/dist/math-json.esm.js +8 -12
- package/dist/math-json.min.esm.js +2 -2
- package/dist/math-json.min.umd.cjs +2 -2
- package/dist/math-json.umd.cjs +8 -12
- package/dist/numerics.esm.js +1382 -226
- package/dist/numerics.min.esm.js +16 -5
- package/dist/numerics.min.umd.cjs +16 -5
- package/dist/numerics.umd.cjs +1382 -226
- package/dist/types/big-decimal/big-decimal.d.ts +1 -1
- package/dist/types/big-decimal/index.d.ts +1 -1
- package/dist/types/big-decimal/transcendentals.d.ts +1 -1
- package/dist/types/big-decimal/utils.d.ts +1 -1
- package/dist/types/common/ansi-codes.d.ts +1 -1
- package/dist/types/common/configuration-change.d.ts +1 -1
- package/dist/types/common/fuzzy-string-match.d.ts +1 -1
- package/dist/types/common/grapheme-splitter.d.ts +1 -1
- package/dist/types/common/interruptible.d.ts +1 -1
- package/dist/types/common/one-of.d.ts +1 -1
- package/dist/types/common/signals.d.ts +1 -1
- package/dist/types/common/type/ast-nodes.d.ts +1 -1
- package/dist/types/common/type/boxed-type.d.ts +1 -1
- package/dist/types/common/type/lexer.d.ts +1 -1
- package/dist/types/common/type/parse.d.ts +1 -208
- package/dist/types/common/type/parser.d.ts +124 -2
- package/dist/types/common/type/primitive.d.ts +5 -1
- package/dist/types/common/type/reduce.d.ts +1 -1
- package/dist/types/common/type/serialize.d.ts +1 -1
- package/dist/types/common/type/subtype.d.ts +18 -1
- package/dist/types/common/type/type-builder.d.ts +1 -1
- package/dist/types/common/type/types.d.ts +1 -1
- package/dist/types/common/type/utils.d.ts +1 -1
- package/dist/types/common/utils.d.ts +1 -1
- package/dist/types/compile.d.ts +1 -1
- package/dist/types/compute-engine/assume.d.ts +13 -6
- package/dist/types/compute-engine/boxed-expression/abstract-boxed-expression.d.ts +3 -1
- package/dist/types/compute-engine/boxed-expression/apply.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/arithmetic-add.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/arithmetic-mul-div.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/arithmetic-power.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/ascii-math.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/box.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-dictionary.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-function.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-number.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-operator-definition.d.ts +7 -1
- package/dist/types/compute-engine/boxed-expression/boxed-patterns.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-string.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-symbol.d.ts +3 -3
- package/dist/types/compute-engine/boxed-expression/boxed-tensor.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/boxed-value-definition.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/cache.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/canonical-utils.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/canonical.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/compare.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/constants.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/constraint-subject.d.ts +140 -0
- package/dist/types/compute-engine/boxed-expression/expand.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/expression-map.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/factor.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/flatten.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/hold.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/inequality-bounds.d.ts +34 -12
- package/dist/types/compute-engine/boxed-expression/init-lazy-refs.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/invisible-operator.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/match.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/negate.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/numerics.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/order.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/pattern-utils.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/polynomial-degree.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/polynomials.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/predicates.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/rule-index.d.ts +112 -0
- package/dist/types/compute-engine/boxed-expression/rules.d.ts +2 -1
- package/dist/types/compute-engine/boxed-expression/serialize.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/sgn.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/simplify.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/solve-linear-system.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/solve.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/stochastic-equal.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/trigonometry.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/type-guards.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/utils.d.ts +1 -1
- package/dist/types/compute-engine/boxed-expression/validate.d.ts +1 -1
- package/dist/types/compute-engine/collection-utils.d.ts +1 -1
- package/dist/types/compute-engine/compilation/base-compiler.d.ts +8 -1
- package/dist/types/compute-engine/compilation/compile-expression.d.ts +1 -1
- package/dist/types/compute-engine/compilation/constant-folding.d.ts +16 -1
- package/dist/types/compute-engine/compilation/glsl-target.d.ts +1 -1
- package/dist/types/compute-engine/compilation/gpu-target.d.ts +58 -5
- package/dist/types/compute-engine/compilation/interval-javascript-target.d.ts +4 -4
- package/dist/types/compute-engine/compilation/javascript-target.d.ts +1 -1
- package/dist/types/compute-engine/compilation/python-target.d.ts +1 -1
- package/dist/types/compute-engine/compilation/types.d.ts +1 -1
- package/dist/types/compute-engine/compilation/wgsl-target.d.ts +1 -1
- package/dist/types/compute-engine/cost-function.d.ts +1 -1
- package/dist/types/compute-engine/engine-assumptions.d.ts +1 -1
- package/dist/types/compute-engine/engine-cache.d.ts +1 -1
- package/dist/types/compute-engine/engine-common-symbols.d.ts +1 -1
- package/dist/types/compute-engine/engine-compilation-targets.d.ts +1 -1
- package/dist/types/compute-engine/engine-configuration-lifecycle.d.ts +1 -1
- package/dist/types/compute-engine/engine-declarations.d.ts +1 -1
- package/dist/types/compute-engine/engine-expression-entrypoints.d.ts +1 -1
- package/dist/types/compute-engine/engine-extension-contracts.d.ts +1 -1
- package/dist/types/compute-engine/engine-library-bootstrap.d.ts +1 -1
- package/dist/types/compute-engine/engine-numeric-configuration.d.ts +1 -1
- package/dist/types/compute-engine/engine-runtime-state.d.ts +4 -1
- package/dist/types/compute-engine/engine-scope.d.ts +1 -1
- package/dist/types/compute-engine/engine-sequences.d.ts +1 -1
- package/dist/types/compute-engine/engine-simplification-rules.d.ts +10 -2
- package/dist/types/compute-engine/engine-startup-coordinator.d.ts +1 -1
- package/dist/types/compute-engine/engine-type-resolver.d.ts +1 -1
- package/dist/types/compute-engine/engine-validation-entrypoints.d.ts +1 -1
- package/dist/types/compute-engine/free-functions.d.ts +1 -1
- package/dist/types/compute-engine/function-utils.d.ts +1 -1
- package/dist/types/compute-engine/fungrim/loader.d.ts +13 -0
- package/dist/types/compute-engine/fungrim/types.d.ts +160 -0
- package/dist/types/compute-engine/global-types.d.ts +1 -1
- package/dist/types/compute-engine/index.d.ts +63 -2
- package/dist/types/compute-engine/interval/arithmetic.d.ts +1 -1
- package/dist/types/compute-engine/interval/comparison.d.ts +1 -1
- package/dist/types/compute-engine/interval/elementary.d.ts +10 -2
- package/dist/types/compute-engine/interval/index.d.ts +2 -2
- package/dist/types/compute-engine/interval/trigonometric.d.ts +1 -1
- package/dist/types/compute-engine/interval/types.d.ts +1 -1
- package/dist/types/compute-engine/interval/util.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/default-dictionary.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-algebra.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-arithmetic.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-calculus.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-colors.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-complex.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-core.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-linear-algebra.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-logic.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-other.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-relational-operators.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-sets.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-statistics.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-symbols.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-trigonometry.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions-units.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/definitions.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/dictionary/indexed-types.d.ts +4 -1
- package/dist/types/compute-engine/latex-syntax/latex-syntax.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/parse-number.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/parse-symbol.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/parse.d.ts +3 -2
- package/dist/types/compute-engine/latex-syntax/serialize-dms.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/serialize-number.d.ts +1 -11
- package/dist/types/compute-engine/latex-syntax/serializer-style.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/serializer.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/tokenizer.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/types.d.ts +1 -1
- package/dist/types/compute-engine/latex-syntax/utils.d.ts +1 -1
- package/dist/types/compute-engine/library/arithmetic.d.ts +1 -1
- package/dist/types/compute-engine/library/calculus.d.ts +1 -1
- package/dist/types/compute-engine/library/collections.d.ts +1 -1
- package/dist/types/compute-engine/library/colors.d.ts +1 -1
- package/dist/types/compute-engine/library/combinatorics.d.ts +1 -1
- package/dist/types/compute-engine/library/complex.d.ts +13 -1
- package/dist/types/compute-engine/library/control-structures.d.ts +1 -1
- package/dist/types/compute-engine/library/core.d.ts +1 -1
- package/dist/types/compute-engine/library/fractals.d.ts +1 -1
- package/dist/types/compute-engine/library/library.d.ts +1 -1
- package/dist/types/compute-engine/library/linear-algebra.d.ts +1 -1
- package/dist/types/compute-engine/library/logic-analysis.d.ts +1 -1
- package/dist/types/compute-engine/library/logic.d.ts +1 -1
- package/dist/types/compute-engine/library/number-theory.d.ts +1 -1
- package/dist/types/compute-engine/library/polynomials.d.ts +1 -1
- package/dist/types/compute-engine/library/quantity-arithmetic.d.ts +1 -1
- package/dist/types/compute-engine/library/random-expression.d.ts +1 -1
- package/dist/types/compute-engine/library/relational-operator.d.ts +1 -1
- package/dist/types/compute-engine/library/sets.d.ts +27 -1
- package/dist/types/compute-engine/library/statistics.d.ts +1 -1
- package/dist/types/compute-engine/library/trigonometry.d.ts +1 -1
- package/dist/types/compute-engine/library/type-handlers.d.ts +1 -1
- package/dist/types/compute-engine/library/unit-data.d.ts +1 -1
- package/dist/types/compute-engine/library/units.d.ts +1 -1
- package/dist/types/compute-engine/library/utils.d.ts +1 -1
- package/dist/types/compute-engine/numeric-value/big-numeric-value.d.ts +1 -1
- package/dist/types/compute-engine/numeric-value/exact-numeric-value.d.ts +7 -1
- package/dist/types/compute-engine/numeric-value/machine-numeric-value.d.ts +1 -1
- package/dist/types/compute-engine/numeric-value/types.d.ts +1 -1
- package/dist/types/compute-engine/numerics/bernoulli.d.ts +39 -0
- package/dist/types/compute-engine/numerics/bigint.d.ts +1 -1
- package/dist/types/compute-engine/numerics/expression.d.ts +1 -1
- package/dist/types/compute-engine/numerics/interval.d.ts +1 -1
- package/dist/types/compute-engine/numerics/linear-algebra.d.ts +1 -1
- package/dist/types/compute-engine/numerics/monte-carlo.d.ts +1 -1
- package/dist/types/compute-engine/numerics/numeric-bigint.d.ts +1 -1
- package/dist/types/compute-engine/numerics/numeric-bignum.d.ts +1 -1
- package/dist/types/compute-engine/numerics/numeric-complex.d.ts +12 -1
- package/dist/types/compute-engine/numerics/numeric.d.ts +1 -1
- package/dist/types/compute-engine/numerics/primes.d.ts +1 -1
- package/dist/types/compute-engine/numerics/random.d.ts +23 -0
- package/dist/types/compute-engine/numerics/rationals.d.ts +1 -1
- package/dist/types/compute-engine/numerics/richardson.d.ts +1 -1
- package/dist/types/compute-engine/numerics/special-functions.d.ts +78 -10
- package/dist/types/compute-engine/numerics/statistics.d.ts +1 -1
- package/dist/types/compute-engine/numerics/strings.d.ts +1 -1
- package/dist/types/compute-engine/numerics/types.d.ts +1 -1
- package/dist/types/compute-engine/numerics/unit-data.d.ts +1 -1
- package/dist/types/compute-engine/oeis.d.ts +1 -1
- package/dist/types/compute-engine/sequence.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/antiderivative.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/derivative.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/distribute.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/fu-cost.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/fu-transforms.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/fu.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/logic-utils.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-abs.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-divide.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-factorial.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-hyperbolic.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-infinity.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-log.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-logic.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-power.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-product.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-rules.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-sum.d.ts +1 -1
- package/dist/types/compute-engine/symbolic/simplify-trig.d.ts +1 -1
- package/dist/types/compute-engine/tensor/tensor-fields.d.ts +1 -1
- package/dist/types/compute-engine/tensor/tensors.d.ts +3 -3
- package/dist/types/compute-engine/types-definitions.d.ts +1 -1
- package/dist/types/compute-engine/types-engine.d.ts +52 -3
- package/dist/types/compute-engine/types-evaluation.d.ts +1 -1
- package/dist/types/compute-engine/types-expression.d.ts +85 -14
- package/dist/types/compute-engine/types-kernel-evaluation.d.ts +32 -1
- package/dist/types/compute-engine/types-kernel-serialization.d.ts +45 -3
- package/dist/types/compute-engine/types-serialization.d.ts +1 -1
- package/dist/types/compute-engine/types.d.ts +1 -1
- package/dist/types/compute-engine.d.ts +1 -1
- package/dist/types/core.d.ts +1 -1
- package/dist/types/identities.d.ts +3 -0
- package/dist/types/interval.d.ts +1 -1
- package/dist/types/latex-syntax.d.ts +2 -2
- package/dist/types/math-json/symbols.d.ts +1 -1
- package/dist/types/math-json/types.d.ts +1 -1
- package/dist/types/math-json/utils.d.ts +1 -1
- package/dist/types/math-json.d.ts +2 -2
- package/dist/types/numerics.d.ts +1 -1
- package/package.json +9 -3
|
@@ -0,0 +1,1921 @@
|
|
|
1
|
+
/** Compute Engine 0.59.0 */
|
|
2
|
+
|
|
3
|
+
// src/compute-engine/fungrim/fungrim-core-data.json
|
|
4
|
+
var fungrim_core_data_default = {
|
|
5
|
+
manifest: {
|
|
6
|
+
schemaVersion: 1,
|
|
7
|
+
generator: "scripts/fungrim/compile-rules.ts",
|
|
8
|
+
upstream: {
|
|
9
|
+
name: "fungrim",
|
|
10
|
+
snapshotSha256: "c7178f4f40cabc7dbc6b2b50da977520e8921806c0b65ea57690170cc499bebe",
|
|
11
|
+
translator: "grim2mathjson 0.1.0"
|
|
12
|
+
},
|
|
13
|
+
slice: {
|
|
14
|
+
classes: [
|
|
15
|
+
"specific-value",
|
|
16
|
+
"identity"
|
|
17
|
+
],
|
|
18
|
+
guardLevels: [
|
|
19
|
+
"none",
|
|
20
|
+
"real-simple",
|
|
21
|
+
"complex-domain"
|
|
22
|
+
],
|
|
23
|
+
entries: 1648
|
|
24
|
+
},
|
|
25
|
+
counts: {
|
|
26
|
+
rules: 1350,
|
|
27
|
+
byPurpose: {
|
|
28
|
+
expand: 109,
|
|
29
|
+
simplify: 1241
|
|
30
|
+
},
|
|
31
|
+
byClass: {
|
|
32
|
+
identity: 1025,
|
|
33
|
+
"specific-value": 325
|
|
34
|
+
},
|
|
35
|
+
byTarget: {
|
|
36
|
+
simplify: 1350
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
ledger: {
|
|
40
|
+
"box-error": 16,
|
|
41
|
+
"compat-signature": 42,
|
|
42
|
+
"curated-exclude": 4,
|
|
43
|
+
"duplicate-undirected": 14,
|
|
44
|
+
"guard-uncompilable": 88,
|
|
45
|
+
"lhs-not-value-form": 94,
|
|
46
|
+
"no-fire": 32,
|
|
47
|
+
"not-equation": 8
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
declarations: {
|
|
51
|
+
AGM: { signature: "(complex, complex) -> complex", description: "Arithmetic-geometric mean", arity: [1, 2] },
|
|
52
|
+
AGMSequence: { signature: "(integer, complex, complex) -> complex", description: "Convergents in AGM iteration", arity: 3 },
|
|
53
|
+
ArgMax: { signature: "(function, set, any*) -> set", description: "Locations of maximum value", arity: 2 },
|
|
54
|
+
ArgMaxUnique: { signature: "(function, set, any*) -> any", description: "Unique location of maximum value", arity: 2 },
|
|
55
|
+
ArgMin: { signature: "(function, set, any*) -> set", description: "Locations of minimum value", arity: 2 },
|
|
56
|
+
BarnesG: { signature: "(complex) -> complex", description: "Barnes G-function", arity: 1 },
|
|
57
|
+
BernoulliB: { signature: "(integer) -> rational", description: "Bernoulli number", arity: 1 },
|
|
58
|
+
BernoulliPolynomial: { signature: "(integer, complex) -> complex", description: "Bernoulli polynomial", arity: 2 },
|
|
59
|
+
BernsteinEllipse: { signature: "(real) -> set<complex>", description: null, arity: 1 },
|
|
60
|
+
BesselJZero: { signature: "(any, integer) -> complex", description: null, arity: 2 },
|
|
61
|
+
CarlsonHypergeometricR: { signature: "(any+) -> any", description: "Carlson multivariate hypergeometric function", arity: 3 },
|
|
62
|
+
CarlsonRC: { signature: "(complex, complex) -> complex", description: "Degenerate Carlson symmetric elliptic integral of the first kind", arity: 2 },
|
|
63
|
+
CarlsonRD: { signature: "(complex, complex, complex) -> complex", description: "Degenerate Carlson symmetric elliptic integral of the third kind", arity: 3 },
|
|
64
|
+
CarlsonRF: { signature: "(complex, complex, complex) -> complex", description: "Carlson symmetric elliptic integral of the first kind", arity: 3 },
|
|
65
|
+
CarlsonRG: { signature: "(complex, complex, complex) -> complex", description: "Carlson symmetric elliptic integral of the second kind", arity: 3 },
|
|
66
|
+
CarlsonRJ: { signature: "(complex, complex, complex, complex) -> complex", description: "Carlson symmetric elliptic integral of the third kind", arity: 4 },
|
|
67
|
+
ChebyshevT: { signature: "(integer, complex) -> complex", description: "Chebyshev polynomial of the first kind", arity: 2 },
|
|
68
|
+
ChebyshevU: { signature: "(integer, complex) -> complex", description: "Chebyshev polynomial of the second kind", arity: 2 },
|
|
69
|
+
ClosedDisk: { signature: "(complex, real) -> set<complex>", description: null, arity: 2 },
|
|
70
|
+
CongruentMod: { signature: "(integer, integer, integer) -> boolean", description: null, arity: 3 },
|
|
71
|
+
ConreyGenerator: { signature: "(integer) -> complex", description: "Conrey generator", arity: 1 },
|
|
72
|
+
ConstGlaisher: { signature: "real", description: null },
|
|
73
|
+
CoulombC: { signature: "(complex, complex) -> complex", description: "Coulomb wave function Gamow factor", arity: 2 },
|
|
74
|
+
CoulombF: { signature: "(complex, complex, complex) -> complex", description: "Regular Coulomb wave function", arity: 3 },
|
|
75
|
+
CoulombG: { signature: "(complex, complex, complex) -> complex", description: "Irregular Coulomb wave function", arity: 3 },
|
|
76
|
+
CoulombH: { signature: "(integer, complex, complex, complex) -> complex", description: "Outgoing and ingoing Coulomb wave function", arity: 4 },
|
|
77
|
+
CoulombSigma: { signature: "(complex, complex) -> complex", description: "Coulomb wave function phase shift", arity: 2 },
|
|
78
|
+
Csgn: { signature: "(complex) -> complex", description: "Real-valued sign function for complex numbers", arity: 1 },
|
|
79
|
+
DedekindEta: { signature: "(complex) -> complex", description: "Dedekind eta function", arity: 1 },
|
|
80
|
+
DedekindEtaEpsilon: { signature: "(integer, integer, integer, integer) -> complex", description: "Root of unity in the functional equation of the Dedekind eta function", arity: 4 },
|
|
81
|
+
DedekindSum: { signature: "(integer, integer) -> complex", description: "Dedekind sum", arity: 2 },
|
|
82
|
+
DigammaFunctionZero: { signature: "(integer) -> complex", description: "Zero of the digamma function", arity: 1 },
|
|
83
|
+
DirichletCharacter: { signature: "(integer, integer, integer?) -> complex", description: "Dirichlet character", arity: [2, 3] },
|
|
84
|
+
DirichletGroup: { signature: "(integer) -> set", description: "Dirichlet characters with given modulus", arity: 1 },
|
|
85
|
+
DirichletL: { signature: "(complex, any) -> complex", description: "Dirichlet L-function", arity: 2 },
|
|
86
|
+
DiscreteLog: { signature: "(integer, any, any) -> complex", description: "Discrete logarithm", arity: 3 },
|
|
87
|
+
Divides: { signature: "(integer, integer) -> boolean", description: null, arity: 2 },
|
|
88
|
+
DivisorSigma: { signature: "(integer, integer) -> complex", description: null, arity: 2 },
|
|
89
|
+
Divisors: { signature: "(integer) -> set<integer>", description: null, arity: 1 },
|
|
90
|
+
EisensteinE: { signature: "(integer, complex) -> complex", description: "Normalized Eisenstein series", arity: 2 },
|
|
91
|
+
EisensteinG: { signature: "(integer, complex) -> complex", description: "Eisenstein series", arity: 2 },
|
|
92
|
+
EllipticE: { signature: "(complex) -> complex", description: "Legendre complete elliptic integral of the second kind", arity: 1 },
|
|
93
|
+
EllipticK: { signature: "(complex) -> complex", description: "Legendre complete elliptic integral of the first kind", arity: 1 },
|
|
94
|
+
EllipticPi: { signature: "(complex, complex) -> complex", description: "Legendre complete elliptic integral of the third kind", arity: 2 },
|
|
95
|
+
EllipticRootE: { signature: "(integer, complex) -> complex", description: null, arity: 2 },
|
|
96
|
+
Erfi: { signature: "(complex) -> complex", description: "Imaginary error function", arity: 1 },
|
|
97
|
+
EulerQSeries: { signature: "(complex) -> complex", description: "Euler's q-series", arity: 1 },
|
|
98
|
+
FallingFactorial: { signature: "(complex, integer) -> complex", description: "Falling factorial", arity: 2 },
|
|
99
|
+
GaussLegendreWeight: { signature: "(integer, integer) -> complex", description: null, arity: 2 },
|
|
100
|
+
HH: { signature: "set<complex>", description: "Upper complex half-plane" },
|
|
101
|
+
HankelH1: { signature: "(complex, complex) -> complex", description: "Hankel function of the first kind", arity: 2 },
|
|
102
|
+
HankelH2: { signature: "(complex, complex) -> complex", description: "Hankel function of the second kind", arity: 2 },
|
|
103
|
+
HarmonicNumber: { signature: "(integer) -> complex", description: null, arity: 1 },
|
|
104
|
+
HermitePolynomial: { signature: "(any, complex) -> complex", description: null, arity: 2 },
|
|
105
|
+
HurwitzZeta: { signature: "(complex, complex, integer?) -> complex", description: "Hurwitz zeta function", arity: [2, 3] },
|
|
106
|
+
Hypergeometric0F1: { signature: "(complex, complex) -> complex", description: "Confluent hypergeometric limit function", arity: 2 },
|
|
107
|
+
Hypergeometric0F1Regularized: { signature: "(complex, complex) -> complex", description: "Regularized confluent hypergeometric limit function", arity: 2 },
|
|
108
|
+
Hypergeometric1F1: { signature: "(complex, complex, complex) -> complex", description: "Kummer confluent hypergeometric function", arity: 3 },
|
|
109
|
+
Hypergeometric1F1Regularized: { signature: "(complex, complex, complex) -> complex", description: "Regularized Kummer confluent hypergeometric function", arity: 3 },
|
|
110
|
+
Hypergeometric2F0: { signature: "(complex, any, any) -> complex", description: "Tricomi confluent hypergeometric function, alternative notation", arity: 3 },
|
|
111
|
+
Hypergeometric2F1: { signature: "(complex, complex, complex, complex) -> complex", description: "Gauss hypergeometric function", arity: 4 },
|
|
112
|
+
Hypergeometric2F1Regularized: { signature: "(complex, complex, complex, complex) -> complex", description: "Regularized Gauss hypergeometric function", arity: 4 },
|
|
113
|
+
Hypergeometric3F2: { signature: "(integer, complex, complex, integer, integer, integer) -> complex", description: null, arity: 6 },
|
|
114
|
+
Hypergeometric3F2Regularized: { signature: "(integer, any, integer, any, any, any) -> complex", description: null, arity: 6 },
|
|
115
|
+
HypergeometricU: { signature: "(complex, complex, complex) -> complex", description: "Tricomi confluent hypergeometric function", arity: 3 },
|
|
116
|
+
HypergeometricUStar: { signature: "(complex, complex, complex) -> complex", description: "Scaled Tricomi confluent hypergeometric function", arity: 3 },
|
|
117
|
+
HypergeometricUStarRemainder: { signature: "(integer, complex, complex, complex) -> complex", description: "Error term in asymptotic expansion of Tricomi confluent hypergeometric function", arity: 4 },
|
|
118
|
+
IncompleteBeta: { signature: "(complex, complex, complex) -> complex", description: "Incomplete beta function", arity: 3 },
|
|
119
|
+
IncompleteBetaRegularized: { signature: "(complex, complex, complex) -> complex", description: "Regularized incomplete beta function", arity: 3 },
|
|
120
|
+
IncompleteEllipticE: { signature: "(complex, complex) -> complex", description: "Legendre incomplete elliptic integral of the second kind", arity: 2 },
|
|
121
|
+
IncompleteEllipticF: { signature: "(complex, complex) -> complex", description: "Legendre incomplete elliptic integral of the first kind", arity: 2 },
|
|
122
|
+
IncompleteEllipticPi: { signature: "(complex, complex, complex) -> complex", description: "Legendre incomplete elliptic integral of the third kind", arity: 3 },
|
|
123
|
+
Interior: { signature: "(set) -> set", description: null, arity: 1 },
|
|
124
|
+
JacobiTheta: { signature: "(integer, complex, complex, integer?) -> complex", description: "Jacobi theta function", arity: [3, 4] },
|
|
125
|
+
JacobiThetaQ: { signature: "(integer, integer, real) -> complex", description: null, arity: 3 },
|
|
126
|
+
KeiperLiLambda: { signature: "(integer) -> real", description: "Keiper-Li coefficient", arity: 1 },
|
|
127
|
+
LambertWPuiseuxCoefficient: { signature: "(integer) -> complex", description: "Coefficient in scaled Puiseux expansion of Lambert W-function", arity: 1 },
|
|
128
|
+
LandauG: { signature: "(integer) -> integer", description: "Landau's function", arity: 1 },
|
|
129
|
+
Lattice: { signature: "(any+) -> set", description: "Complex lattice with periods a, b", arity: 2 },
|
|
130
|
+
LegendrePolynomial: { signature: "(integer, complex) -> complex", description: null, arity: 2 },
|
|
131
|
+
LegendrePolynomialZero: { signature: "(integer, integer) -> complex", description: null, arity: 2 },
|
|
132
|
+
LiouvilleLambda: { signature: "(integer) -> complex", description: null, arity: 1 },
|
|
133
|
+
LogBarnesG: { signature: "(complex) -> complex", description: "Logarithmic Barnes G-function", arity: 1 },
|
|
134
|
+
LogBarnesGRemainder: { signature: "(integer, complex) -> complex", description: "Remainder term in asymptotic expansion of logarithmic Barnes G-function", arity: 2 },
|
|
135
|
+
ModularGroupFundamentalDomain: { signature: "set<complex>", description: "Fundamental domain for action of the modular group" },
|
|
136
|
+
ModularJ: { signature: "(complex) -> complex", description: "Modular j-invariant", arity: 1 },
|
|
137
|
+
ModularLambda: { signature: "(complex) -> complex", description: "Modular lambda function", arity: 1 },
|
|
138
|
+
ModularLambdaFundamentalDomain: { signature: "set<complex>", description: "Fundamental domain of the modular lambda function" },
|
|
139
|
+
MultiZetaValue: { signature: "(integer, integer) -> complex", description: "Multiple zeta value (MZV)", arity: [2, 3] },
|
|
140
|
+
OpenDisk: { signature: "(complex, real) -> set<complex>", description: null, arity: 2 },
|
|
141
|
+
PolyLog: { signature: "(complex, complex) -> complex", description: null, arity: 2 },
|
|
142
|
+
PrimeNumber: { signature: "(integer) -> integer", description: "nth prime number", arity: 1 },
|
|
143
|
+
PrimePi: { signature: "(real) -> integer", description: "Prime counting function", arity: 1 },
|
|
144
|
+
Primes: { signature: "set<integer>", description: "Prime numbers" },
|
|
145
|
+
PrimitiveDirichletCharacters: { signature: "(integer) -> set", description: "Primitive Dirichlet characters with given modulus", arity: 1 },
|
|
146
|
+
RiemannXi: { signature: "(complex) -> complex", description: null, arity: 1 },
|
|
147
|
+
RiemannZetaZero: { signature: "(integer) -> complex", description: "Nontrivial zero of the Riemann zeta function", arity: 1 },
|
|
148
|
+
RisingFactorial: { signature: "(complex, integer) -> complex", description: "Rising factorial", arity: 2 },
|
|
149
|
+
SequenceLimitSuperior: { signature: "(function, any) -> any", description: "Limit superior of sequence", arity: 2 },
|
|
150
|
+
SloaneA: { signature: "(any, integer) -> any", description: "Sequence X in Sloane's OEIS", arity: 2 },
|
|
151
|
+
Solutions: { signature: "(function, any*) -> set", description: "Solution set", arity: 2 },
|
|
152
|
+
Spectrum: { signature: "(matrix) -> set<complex>", description: null, arity: 1 },
|
|
153
|
+
StieltjesGamma: { signature: "(integer, complex?) -> complex", description: "Stieltjes constant", arity: [1, 2] },
|
|
154
|
+
StirlingCycle: { signature: "(integer, integer) -> integer", description: "Unsigned Stirling number of the first kind", arity: 2 },
|
|
155
|
+
StirlingS1: { signature: "(integer, integer) -> integer", description: "Signed Stirling number of the first kind", arity: 2 },
|
|
156
|
+
StirlingSeriesRemainder: { signature: "(integer, complex) -> complex", description: "Remainder term in the Stirling series for the logarithmic gamma function", arity: 2 },
|
|
157
|
+
UniqueZero: { signature: "(function, any*) -> complex", description: "Unique zero (root) of function", arity: 2 },
|
|
158
|
+
WeierstrassP: { signature: "(complex, complex) -> complex", description: "Weierstrass elliptic function", arity: 2 },
|
|
159
|
+
WeierstrassSigma: { signature: "(complex, complex) -> complex", description: "Weierstrass sigma function", arity: 2 },
|
|
160
|
+
WeierstrassZeta: { signature: "(complex, complex) -> complex", description: "Weierstrass zeta function", arity: 2 },
|
|
161
|
+
XGCD: { signature: "(integer, integer) -> complex", description: "Extended greatest common divisor", arity: 2 },
|
|
162
|
+
Zeros: { signature: "(function, any*) -> set<complex>", description: "Zeros (roots) of function", arity: 2 }
|
|
163
|
+
},
|
|
164
|
+
rules: [
|
|
165
|
+
{ id: "fungrim:0010f3", match: ["Multiply", ["LegendrePolynomial", "_n", "_z"], ["Power", -1, "_n"]], replace: ["LegendrePolynomial", "_n", ["Negate", "_z"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
166
|
+
{ id: "fungrim:0096a8", match: ["Divide", ["Multiply", ["JacobiTheta", 3, ["Add", "_z", ["Rational", 1, 8]], "_tau"], ["JacobiTheta", 3, ["Add", "_z", ["Rational", 3, 8]], "_tau"], ["JacobiTheta", 3, ["Add", ["Negate", "_z"], ["Rational", 1, 8]], "_tau"], ["JacobiTheta", 3, ["Add", ["Negate", "_z"], ["Rational", 3, 8]], "_tau"]], ["Multiply", ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"], ["JacobiTheta", 3, ["Rational", 1, 4], "_tau"]]], replace: ["JacobiTheta", 3, ["Multiply", 4, "_z"], ["Multiply", 4, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
167
|
+
{ id: "fungrim:00c02a", match: ["Add", ["HarmonicNumber", ["Add", "_n", -1]], ["Negate", "EulerGamma"]], replace: ["Digamma", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "HarmonicNumber"], topics: ["digamma_function"] },
|
|
168
|
+
{ id: "fungrim:00c331", match: ["Multiply", ["Rational", 3, 4], "Pi", ["CarlsonHypergeometricR", ["Rational", -3, 2], ["List", ["Rational", 1, 2], ["Rational", 3, 2]], ["List", "_y", "_z"]]], replace: ["CarlsonRD", 0, "_y", "_z"], guards: [{ k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["NotElement", "_y", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonHypergeometricR", "CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
169
|
+
{ id: "fungrim:00cdb7", match: ["Multiply", ["Add", ["Artanh", ["Sqrt", ["Divide", "_x", ["Add", "_x", "_y"]]]], ["Divide", ["Multiply", -1, "ImaginaryUnit", "Pi"], 2]], ["Sqrt", ["Divide", 1, ["Add", "_x", "_y"]]]], replace: ["CarlsonRC", "_x", ["Negate", "_y"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Artanh", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
170
|
+
{ id: "fungrim:00dfd1", match: ["Multiply", ["BesselI", ["Add", "_a", -1], ["Multiply", 2, ["Sqrt", "_z"]]], ["Power", "_z", ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_a"], 1]]]], replace: ["Hypergeometric0F1Regularized", "_a", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Hypergeometric0F1Regularized"], topics: ["confluent_hypergeometric"] },
|
|
171
|
+
{ id: "fungrim:00e608", match: ["Arctan2", ["Add", "_x", ["Negate", "_y"]], ["Add", ["Multiply", "_x", "_y"], 1]], replace: ["Subtract", ["Arctan", "_x"], ["Arctan", "_y"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Arctan", "Arctan2"], topics: ["atan"] },
|
|
172
|
+
{ id: "fungrim:012eba", match: ["Multiply", ["Rational", 1, 2], ["Add", ["Sin", ["Add", "_a", "_b"]], ["Sin", ["Add", "_a", ["Negate", "_b"]]]]], replace: ["Multiply", ["Sin", "_a"], ["Cos", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
173
|
+
{ id: "fungrim:01422b", match: ["Which", ["NotEqual", "_z", 0], ["Divide", ["Sin", "_z"], "_z"], ["Equal", "_z", 0], 1], replace: ["Sinc", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin", "Sinc"], topics: ["sinc"] },
|
|
174
|
+
{ id: "fungrim:01440f", match: ["Negate", ["Multiply", "ImaginaryUnit", ["Erf", ["Multiply", "ImaginaryUnit", "_z"]]]], replace: ["Erfi", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Erf", "Erfi"], topics: ["error_functions"] },
|
|
175
|
+
{ id: "fungrim:01bbb6", match: ["Add", ["Multiply", "_z", ["Hypergeometric0F1", ["Rational", 4, 3], ["Multiply", ["Rational", 1, 9], ["Power", "_z", 3]]], ["Apply", ["Derivative", ["Function", ["Block", ["AiryAi", "_z"]], "_z"], 1], 0]], ["Multiply", ["AiryAi", 0], ["Hypergeometric0F1", ["Rational", 2, 3], ["Multiply", ["Rational", 1, 9], ["Power", "_z", 3]]]]], replace: ["AiryAi", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "Derivative", "Hypergeometric0F1"], topics: ["airy"] },
|
|
176
|
+
{ id: "fungrim:0207dc", match: ["Add", ["Negate", ["Multiply", ["Rational", 1, 3], "_z", ["Divide", ["JacobiTheta", 1, 0, "_tau", 3], ["JacobiTheta", 1, 0, "_tau", 1]]]], ["Divide", ["JacobiTheta", 1, "_z", "_tau", 1], ["JacobiTheta", 1, "_z", "_tau"]]], replace: ["WeierstrassZeta", "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "eval", pred: ["NotElement", "_z", ["Lattice", 1, "_tau"]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta", "Lattice", "WeierstrassZeta"], topics: ["jacobi_theta", "weierstrass_elliptic"] },
|
|
177
|
+
{ id: "fungrim:02d14f", match: ["Add", ["Multiply", 36, ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], ["DedekindEta", "_tau"]]], "_tau"], 1], "_tau"], 2]], ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], ["DedekindEta", "_tau"]]], "_tau"], 3], "_tau"], ["Multiply", -24, ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], ["DedekindEta", "_tau"]], ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], ["DedekindEta", "_tau"]]], "_tau"], 2], "_tau"]]], replace: 0, guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Derivative", "HH"], topics: ["dedekind_eta"] },
|
|
178
|
+
{ id: "fungrim:02ee06", match: ["Multiply", ["RisingFactorial", "_z", "_k"], ["RisingFactorial", ["Add", "_k", "_z"], "_m"]], replace: ["RisingFactorial", "_z", ["Add", "_k", "_m"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }, { k: "type", wc: "_m", t: "integer" }, { k: "cmp", wc: "_m", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["RisingFactorial"], topics: ["factorials"] },
|
|
179
|
+
{ id: "fungrim:033d39", match: ["Divide", 1, ["ModularLambda", "_tau"]], replace: ["Add", ["Multiply", ["Divide", 1, 16], ["Divide", ["Power", ["DedekindEta", ["Divide", "_tau", 2]], 8], ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 8]]], 1], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
180
|
+
{ id: "fungrim:0373dc", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 3, "_z", "_tau"], ["JacobiTheta", 1, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Negate", ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
181
|
+
{ id: "fungrim:037a6e", match: ["Imaginary", ["Sin", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]]], replace: ["Multiply", ["Cos", "_x"], ["Sinh", "_y"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Imaginary", "Sin", "Sinh"], topics: ["sine"] },
|
|
182
|
+
{ id: "fungrim:03ad5a", match: ["Negate", ["Multiply", ["Divide", ["Multiply", 12, "ImaginaryUnit"], "Pi"], ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], ["DedekindEta", "_tau"]]]], replace: ["EisensteinE", 2, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Derivative", "EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
183
|
+
{ id: "fungrim:03e2a6", match: ["Add", ["Multiply", ["Rational", 1, 2], "Pi", ["Coth", ["Multiply", "Pi", "_y"]]], ["Divide", 1, ["Multiply", 2, "_y"]]], replace: ["Imaginary", ["Digamma", ["Multiply", "ImaginaryUnit", "_y"]]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "ne", lhs: "_y", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Coth", "Digamma", "Imaginary"], topics: ["digamma_function"] },
|
|
184
|
+
{ id: "fungrim:03ee0b", match: ["Multiply", ["Add", ["Power", 2, ["Add", ["Negate", "_n"], 1]], -1], ["BernoulliB", "_n"]], replace: ["BernoulliPolynomial", "_n", ["Divide", 1, 2]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "BernoulliPolynomial"], topics: ["bernoulli_numbers"] },
|
|
185
|
+
{ id: "fungrim:044128", match: ["EisensteinE", 8, "_tau"], replace: ["Power", ["EisensteinE", 4, "_tau"], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
186
|
+
{ id: "fungrim:04427b", match: ["Count", ["Set", "p", ["Element", "p", "Primes", ["LessEqual", "p", "_x"]]]], replace: ["PrimePi", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["PrimePi", "Primes"], topics: ["prime_numbers"] },
|
|
187
|
+
{ id: "fungrim:04c829", match: ["IncompleteEllipticF", ["Multiply", ["Rational", -1, 2], "Pi"], 1], replace: "NegativeInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
188
|
+
{ id: "fungrim:04d3a6", match: ["Add", ["Negate", ["ModularLambda", "_tau"]], 1], replace: ["Divide", ["Power", ["JacobiTheta", 4, 0, "_tau"], 4], ["Power", ["JacobiTheta", 3, 0, "_tau"], 4]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta", "ModularLambda"], topics: ["jacobi_theta", "modular_lambda"] },
|
|
189
|
+
{ id: "fungrim:050fdb", match: ["Floor", ["Add", ["Multiply", ["Divide", ["Sqrt", 5], 5], ["Power", "GoldenRatio", "_n"]], ["Rational", 1, 2]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci", "Floor"], topics: ["fibonacci"] },
|
|
190
|
+
{ id: "fungrim:055b0a", match: ["JacobiTheta", 4, 0, "_tau", ["Add", ["Multiply", 2, "_r"], 1]], replace: 0, guards: [{ k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
191
|
+
{ id: "fungrim:05e9ae", match: ["Multiply", ["Totient", "_m"], ["Power", "_m", ["Add", "_n", -1]]], replace: ["Totient", ["Power", "_m", "_n"]], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "cmp", wc: "_m", op: "ge", bound: 0 }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Totient"], topics: ["totient"] },
|
|
192
|
+
{ id: "fungrim:05fe07", match: ["Divide", ["Multiply", "_n", ["Add", ["Multiply", "_n", ["ChebyshevT", "_n", "_x"]], ["Negate", ["Multiply", "_x", ["ChebyshevU", ["Add", "_n", -1], "_x"]]]]], ["Add", ["Power", "_x", 2], -1]], replace: ["Apply", ["Derivative", ["Function", ["ChebyshevT", "_n", "_x"], "_x"], 2], "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }, { k: "ne", lhs: "_x", rhs: -1 }, { k: "ne", lhs: "_x", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU", "Derivative"], topics: ["chebyshev"] },
|
|
193
|
+
{ id: "fungrim:060366", match: ["CarlsonRD", 0, 1, 2], replace: ["Subtract", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Multiply", 16, ["Sqrt", "Pi"]]], ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Power", "Pi", ["Divide", 3, 2]]], ["Multiply", 2, ["Power", ["Gamma", ["Divide", 1, 4]], 2]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD", "Gamma"], topics: ["carlson_elliptic"] },
|
|
194
|
+
{ id: "fungrim:061c49", match: ["EllipticPi", 1, 0], replace: "ComplexInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticPi"], topics: ["legendre_elliptic"] },
|
|
195
|
+
{ id: "fungrim:062423", match: ["GCD", "_p", "_q"], replace: 1, guards: [{ k: "type", wc: "_p", t: "integer" }, { k: "eval", pred: ["IsPrime", "_p"] }, { k: "type", wc: "_q", t: "integer" }, { k: "eval", pred: ["IsPrime", "_q"] }, { k: "ne", lhs: "_p", rhs: "_q" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
196
|
+
{ id: "fungrim:06319a", match: ["Multiply", ["JacobiTheta", 4, ["Multiply", "_tau", "_z"], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Power", "_z", 2]]], ["Sqrt", ["Divide", "_tau", "ImaginaryUnit"]]], replace: ["JacobiTheta", 2, "_z", ["Divide", -1, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
197
|
+
{ id: "fungrim:0649c9", match: ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["ChebyshevU", ["Add", "_n", -2], "_x"]], ["ChebyshevU", "_n", "_x"]]], replace: ["ChebyshevT", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU"], topics: ["chebyshev"] },
|
|
198
|
+
{ id: "fungrim:0650f8", match: ["Add", ["Multiply", 4, ["Sum", ["Divide", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", "n"]], ["Add", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau", "n"]], 1]], ["Limits", "n", 1, "PositiveInfinity"]]], 1], replace: ["Power", ["JacobiTheta", 3, 0, "_tau"], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta", "Sum"], topics: ["jacobi_theta"] },
|
|
199
|
+
{ id: "fungrim:0701dc", match: ["DedekindEta", ["Multiply", 16, "ImaginaryUnit"]], replace: ["Multiply", ["Multiply", ["Multiply", ["Divide", 1, ["Power", 2, ["Divide", 113, 64]]], ["Divide", ["Power", ["Subtract", ["Power", 2, ["Divide", 1, 4]], 1], ["Divide", 1, 4]], ["Power", ["Add", 1, ["Sqrt", 2]], ["Divide", 1, 16]]]], ["Power", ["Add", ["Negate", ["Power", 2, ["Divide", 5, 8]]], ["Sqrt", ["Add", 1, ["Sqrt", 2]]]], ["Divide", 1, 2]]], ["DedekindEta", "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta"], topics: ["dedekind_eta"] },
|
|
200
|
+
{ id: "fungrim:071a94", match: ["Multiply", ["StirlingCycle", "_n", "_k"], ["Power", -1, ["Add", "_k", "_n"]]], replace: ["StirlingS1", "_n", "_k"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["StirlingCycle", "StirlingS1"], topics: ["stirling_numbers"] },
|
|
201
|
+
{ id: "fungrim:072166", match: ["Arctan", ["Multiply", "ImaginaryUnit", "_z"]], replace: ["Multiply", "ImaginaryUnit", ["Artanh", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Arctan", "Artanh"], topics: ["atan"] },
|
|
202
|
+
{ id: "fungrim:073466", match: ["Add", ["Negate", ["Power", -1, "_n"]], ["Multiply", ["Fibonacci", ["Add", "_n", -1]], ["Fibonacci", ["Add", "_n", 1]]]], replace: ["Power", ["Fibonacci", "_n"], 2], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
203
|
+
{ id: "fungrim:078869", match: ["ModularLambda", ["Multiply", ["Rational", 1, 2], ["Add", 1, "ImaginaryUnit"]]], replace: 2, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularLambda"], topics: ["modular_lambda"] },
|
|
204
|
+
{ id: "fungrim:07ac4a", match: ["GCD", ["Add", ["Multiply", "_b", "_n"], "_a"], "_b"], replace: ["GCD", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
205
|
+
{ id: "fungrim:07bf27", match: ["ModularLambda", ["Negate", ["Divide", 1, "_tau"]]], replace: ["Subtract", 1, ["ModularLambda", "_tau"]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
206
|
+
{ id: "fungrim:081205", match: ["KeiperLiLambda", 0], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["KeiperLiLambda"], topics: ["riemann_zeta"] },
|
|
207
|
+
{ id: "fungrim:081abd", match: ["Totient", ["Power", 2, "_n"]], replace: ["Power", 2, ["Subtract", "_n", 1]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Totient"], topics: ["totient"] },
|
|
208
|
+
{ id: "fungrim:082a69", match: ["Divide", ["Multiply", ["Factorial", ["Add", "_m", -1]], ["Factorial", ["Add", "_n", -1]]], ["Factorial", ["Add", "_m", "_n", -1]]], replace: ["Beta", "_m", "_n"], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "cmp", wc: "_m", op: "gt", bound: 0 }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Beta", "Factorial"], topics: ["beta_function"] },
|
|
209
|
+
{ id: "fungrim:08329d", match: ["AGM", 0, "_b"], replace: 0, guards: [{ k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
210
|
+
{ id: "fungrim:0878a4", match: ["Multiply", ["JacobiTheta", 3, ["Add", ["Multiply", ["Rational", 1, 2], "_tau"], "_z"], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]], replace: ["JacobiTheta", 2, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
211
|
+
{ id: "fungrim:087a7c", match: ["IncompleteEllipticF", ["Arcsin", ["Sqrt", ["Divide", 1, "_m"]]], "_m"], replace: ["Divide", ["EllipticK", ["Divide", 1, "_m"]], ["Sqrt", "_m"]], guards: [{ k: "type", wc: "_m", t: "complex" }, { k: "ne", lhs: "_m", rhs: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["Arcsin", "EllipticK", "IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
212
|
+
{ id: "fungrim:08822c", match: ["Add", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 4]], replace: ["Add", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 4]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
213
|
+
{ id: "fungrim:089f85", match: ["Argument", ["Negate", "ImaginaryUnit"]], replace: ["Negate", ["Divide", "Pi", 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Argument"], topics: ["complex_parts", "imaginary_unit"] },
|
|
214
|
+
{ id: "fungrim:08ff0b", match: ["Add", "_n", ["Negate", ["Sum", ["Totient", "d"], ["Element", "d", ["Divisors", "_n"], ["Less", "d", "_n"]]]]], replace: ["Totient", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Divisors", "Sum", "Totient"], topics: ["totient"] },
|
|
215
|
+
{ id: "fungrim:092716", match: ["CarlsonRG", ["Negate", "_x"], ["Negate", "_y"], ["Negate", "_z"]], replace: ["Multiply", "ImaginaryUnit", ["CarlsonRG", "_x", "_y", "_z"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "ge", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "real" }, { k: "cmp", wc: "_z", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
216
|
+
{ id: "fungrim:0984ef", match: ["Power", ["Sqrt", "_z"], 2], replace: "_z", guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: [], topics: ["sqrt"] },
|
|
217
|
+
{ id: "fungrim:099b19", match: ["Real", ["Ln", "_z"]], replace: ["Ln", ["Abs", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Ln", "Real"], topics: ["log"] },
|
|
218
|
+
{ id: "fungrim:09a494", match: ["Divide", "Pi", ["Multiply", 4, ["Sqrt", "_x"]]], replace: ["CarlsonRC", "_x", ["Multiply", 2, "_x"]], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
219
|
+
{ id: "fungrim:09c107", match: ["Sign", "ImaginaryUnit"], replace: "ImaginaryUnit", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sign"], topics: ["imaginary_unit"] },
|
|
220
|
+
{ id: "fungrim:0a2120", match: ["Divide", ["EisensteinG", ["Multiply", 2, "_k"], "_tau"], ["Multiply", 2, ["Zeta", ["Multiply", 2, "_k"]]]], replace: ["EisensteinE", ["Multiply", 2, "_k"], "_tau"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "EisensteinG", "HH", "Zeta"], topics: ["eisenstein"] },
|
|
221
|
+
{ id: "fungrim:0a5ef4", match: ["Add", ["Multiply", -480, ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 12]], ["Multiply", 8192, ["Divide", ["Power", ["DedekindEta", ["Multiply", 4, "_tau"]], 24], ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 12]]], ["Divide", ["Power", ["DedekindEta", "_tau"], 24], ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 12]], ["Multiply", -16896, ["Divide", ["Multiply", ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 12], ["Power", ["DedekindEta", ["Multiply", 4, "_tau"]], 8]], ["Power", ["DedekindEta", "_tau"], 8]]]], replace: ["EisensteinE", 6, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
222
|
+
{ id: "fungrim:0a7aff", match: ["LCM", "_a", 0], replace: 0, guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LCM"], topics: ["gcd"] },
|
|
223
|
+
{ id: "fungrim:0a9ec2", match: ["Divide", ["Multiply", ["JacobiTheta", 3, ["Add", "_z", ["Rational", 1, 4]], "_tau"], ["JacobiTheta", 3, ["Add", ["Negate", "_z"], ["Rational", 1, 4]], "_tau"]], ["JacobiTheta", 4, 0, ["Multiply", 2, "_tau"]]], replace: ["JacobiTheta", 3, ["Multiply", 2, "_z"], ["Multiply", 2, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
224
|
+
{ id: "fungrim:0aa9ac", match: ["Which", ["NotEqual", "_x", "_w"], ["Multiply", ["Divide", 3, ["Multiply", 2, ["Add", "_w", ["Negate", "_x"]]]], ["Add", ["Divide", ["Negate", ["Sqrt", "_x"]], "_w"], ["CarlsonRC", "_x", "_w"]]], ["Equal", "_x", "_w"], ["Power", "_x", ["Rational", -3, 2]]], replace: ["CarlsonRJ", "_x", "_w", "_w", "_w"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_w", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
225
|
+
{ id: "fungrim:0aac97", match: ["Multiply", ["Add", ["Multiply", "ImaginaryUnit", ["Sin", ["Add", ["Multiply", "_c", ["Argument", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]], ["Multiply", "_d", ["Ln", ["Abs", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]]]]]], ["Cos", ["Add", ["Multiply", "_c", ["Argument", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]], ["Multiply", "_d", ["Ln", ["Abs", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]]]]]], ["Power", "ExponentialE", ["Negate", ["Multiply", "_d", ["Argument", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]]]], ["Power", ["Abs", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]], "_c"]], replace: ["Power", ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]], ["Add", "_c", ["Multiply", "_d", "ImaginaryUnit"]]], guards: [{ k: "type", wc: "_a", t: "real" }, { k: "type", wc: "_b", t: "real" }, { k: "type", wc: "_c", t: "real" }, { k: "type", wc: "_d", t: "real" }, { k: "ne", lhs: ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]], rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Argument", "Cos", "Exp", "Ln", "Sin"], topics: ["powers"] },
|
|
226
|
+
{ id: "fungrim:0abbe1", match: ["EllipticK", ["Multiply", ["Rational", 1, 2], ["Add", 1, ["Multiply", ["Sqrt", 3], "ImaginaryUnit"]]]], replace: ["Divide", ["Multiply", ["Multiply", ["Exp", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 12]], ["Power", 3, ["Divide", 1, 4]]], ["Power", ["Gamma", ["Divide", 1, 3]], 3]], ["Multiply", ["Power", 2, ["Divide", 7, 3]], "Pi"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "Exp", "Gamma"], topics: ["legendre_elliptic"] },
|
|
227
|
+
{ id: "fungrim:0ad263", match: ["Add", ["Multiply", ["Rational", -1, 2], ["Add", 1, "EulerGamma"], ["Power", "_z", 2]], ["Multiply", ["Rational", 1, 2], "_z", ["Add", -1, ["Ln", ["Multiply", 2, "Pi"]]]], ["Sum", ["Multiply", ["Divide", ["Multiply", ["Zeta", ["Add", "n", -1]], ["Power", -1, ["Add", "n", 1]]], "n"], ["Power", "_z", "n"]], ["Limits", "n", 3, "PositiveInfinity"]]], replace: ["LogBarnesG", ["Add", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "abs", op: "lt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Ln", "LogBarnesG", "Sum", "Zeta"], topics: ["barnes_g"] },
|
|
228
|
+
{ id: "fungrim:0ad836", match: ["Sqrt", "ImaginaryUnit"], replace: ["Multiply", ["Divide", 1, ["Sqrt", 2]], ["Add", 1, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["imaginary_unit", "sqrt"] },
|
|
229
|
+
{ id: "fungrim:0b829e", match: ["Cos", ["Arctan", "_z"]], replace: ["Divide", 1, ["Sqrt", ["Add", 1, ["Power", "_z", 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: ["Negate", "ImaginaryUnit"] }, { k: "ne", lhs: "_z", rhs: "ImaginaryUnit" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Cos"], topics: ["atan"] },
|
|
230
|
+
{ id: "fungrim:0b8fd6", match: ["IncompleteEllipticF", ["Multiply", ["Rational", 1, 2], "Pi"], "_m"], replace: ["EllipticK", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticK", "IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
231
|
+
{ id: "fungrim:0bb73e", match: ["Tuple", ["Abs", "_a"], 0, ["Negate", ["Sign", "_a"]]], replace: ["XGCD", "_a", ["Negate", "_a"]], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Sign", "XGCD"], topics: ["gcd"] },
|
|
232
|
+
{ id: "fungrim:0be17d", match: ["LambertW", 0], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["LambertW"], topics: ["lambertw"] },
|
|
233
|
+
{ id: "fungrim:0bf328", match: ["CarlsonRF", 1, 2, 2], replace: ["Divide", "Pi", 4], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
234
|
+
{ id: "fungrim:0c09cc", match: ["Multiply", ["Add", ["Divide", 1, "_z"], ["Power", "_z", -2]], ["Power", "ExponentialE", ["Negate", "_z"]], ["Sqrt", ["Multiply", ["Rational", 1, 2], "Pi", "_z"]]], replace: ["BesselK", ["Divide", 3, 2], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK", "Exp"], topics: ["bessel"] },
|
|
235
|
+
{ id: "fungrim:0cbe75", match: ["ChebyshevT", "_n", "_x"], replace: ["Multiply", ["Divide", 1, 2], ["Add", ["Power", ["Add", "_x", ["Sqrt", ["Subtract", ["Power", "_x", 2], 1]]], "_n"], ["Power", ["Subtract", "_x", ["Sqrt", ["Subtract", ["Power", "_x", 2], 1]]], "_n"]]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
236
|
+
{ id: "fungrim:0cc11f", match: ["CarlsonRF", 0, ["Add", ["Negate", "_m"], 1], 1], replace: ["EllipticK", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "EllipticK"], topics: ["carlson_elliptic", "legendre_elliptic"] },
|
|
237
|
+
{ id: "fungrim:0cd1a4", match: ["Add", ["Power", "GoldenRatio", "_n"], ["Power", "GoldenRatio", ["Add", "_n", -1]]], replace: ["Power", "GoldenRatio", ["Add", "_n", 1]], guards: [{ k: "type", wc: "_n", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: [], topics: ["golden_ratio"] },
|
|
238
|
+
{ id: "fungrim:0d8e03", match: ["Divide", ["Sqrt", "_a"], ["Sqrt", "_b"]], replace: ["Sqrt", ["Divide", "_a", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "real" }, { k: "cmp", wc: "_b", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: [], topics: ["sqrt"] },
|
|
239
|
+
{ id: "fungrim:0d92f6", match: ["Divide", ["Factorial", ["Multiply", 2, "_n"]], ["Power", ["Factorial", "_n"], 2]], replace: ["Binomial", ["Multiply", 2, "_n"], "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial", "Factorial"], topics: ["factorials"] },
|
|
240
|
+
{ id: "fungrim:0d9352", match: ["AGM", 1, ["Sqrt", 2]], replace: ["Divide", ["Multiply", 2, ["Sqrt", 2], ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["AGM", "Gamma"], topics: ["agm"] },
|
|
241
|
+
{ id: "fungrim:0e0393", match: ["Hypergeometric2F1", "_a", "_b", "_c", "_z"], replace: ["Hypergeometric2F1", "_b", "_a", "_c", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "eval", pred: ["NotElement", "_c", "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Hypergeometric2F1"], topics: ["gauss_hypergeometric"] },
|
|
242
|
+
{ id: "fungrim:0e2635", match: ["Add", ["Multiply", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]], ["Negate", ["Multiply", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]]]], replace: ["Multiply", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
243
|
+
{ id: "fungrim:0e649f", match: ["Apply", ["Derivative", ["Function", ["Block", ["WeierstrassSigma", "_z", "_tau"]], "_z"], 1], "_z"], replace: ["Multiply", ["WeierstrassZeta", "_z", "_tau"], ["WeierstrassSigma", "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "eval", pred: ["NotElement", "_z", ["Lattice", 1, "_tau"]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "Lattice", "WeierstrassSigma", "WeierstrassZeta"], topics: ["weierstrass_elliptic"] },
|
|
244
|
+
{ id: "fungrim:0ed5e2", match: ["Multiply", ["Divide", ["Multiply", ["Sqrt", 2], ["Power", ["Gamma", ["Rational", 1, 4]], 2]], ["Multiply", 8, ["Sqrt", "Pi"]]], ["Sqrt", ["Divide", 1, "_x"]]], replace: ["CarlsonRF", 0, "_x", ["Multiply", 2, "_x"]], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
245
|
+
{ id: "fungrim:0ee626", match: ["Arctan", ["Negate", "_z"]], replace: ["Negate", ["Arctan", "_z"]], guards: [{ k: "member", wc: "_z", set: ["Union", "ComplexNumbers", ["Set", "NegativeInfinity", "PositiveInfinity"]] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Arctan"], topics: ["atan"] },
|
|
246
|
+
{ id: "fungrim:0f26cc", match: ["GCD", "_a", "_a"], replace: ["Abs", "_a"], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "GCD"], topics: ["gcd"] },
|
|
247
|
+
{ id: "fungrim:0fbd15", match: ["Multiply", ["BesselJ", ["Rational", 1, 2], "_z"], ["Sqrt", ["Multiply", ["Rational", 1, 2], "Pi", "_z"]]], replace: ["Sin", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Sin"], topics: ["sine"] },
|
|
248
|
+
{ id: "fungrim:0fda1b", match: ["EisensteinG", 6, ["Power", "ExponentialE", ["Divide", ["Multiply", 2, "ImaginaryUnit", "Pi"], 3]]], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 3]], 18], ["Multiply", 8960, ["Power", "Pi", 6]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinG", "Exp", "Gamma"], topics: ["eisenstein"] },
|
|
249
|
+
{ id: "fungrim:0feb19", match: ["RisingFactorial", 1, "_k"], replace: ["Factorial", "_k"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["Factorial", "RisingFactorial"], topics: ["factorials"] },
|
|
250
|
+
{ id: "fungrim:10165f", match: ["Add", ["Fibonacci", "_n"], ["Fibonacci", ["Add", "_n", 1]]], replace: ["Fibonacci", ["Add", "_n", 2]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
251
|
+
{ id: "fungrim:103bfb", match: ["Multiply", ["JacobiTheta", 3, "_z", "_tau"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", "_tau", ["Multiply", 2, "_z"]]]]]], replace: ["JacobiTheta", 3, ["Add", "_z", "_tau"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
252
|
+
{ id: "fungrim:10ca40", match: ["Multiply", "ImaginaryUnit", ["JacobiTheta", 2, ["Add", ["Multiply", ["Rational", 1, 2], "_tau"], "_z", ["Rational", 1, 2]], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]], replace: ["JacobiTheta", 4, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
253
|
+
{ id: "fungrim:10f3b2", match: ["Multiply", ["Rational", 1, 2], ["Add", ["Power", ["JacobiTheta", 3, 0, "_tau"], 12], ["Power", ["JacobiTheta", 4, 0, "_tau"], 12], ["Multiply", -3, ["Add", ["Power", ["JacobiTheta", 3, 0, "_tau"], 4], ["Power", ["JacobiTheta", 4, 0, "_tau"], 4]], ["Power", ["JacobiTheta", 2, 0, "_tau"], 8]]]], replace: ["EisensteinE", 6, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH", "JacobiTheta"], topics: ["eisenstein", "jacobi_theta"] },
|
|
254
|
+
{ id: "fungrim:11a56b", match: ["Totient", ["Negate", "_n"]], replace: ["Totient", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Totient"], topics: ["totient"] },
|
|
255
|
+
{ id: "fungrim:11dfd2", match: ["Add", ["Divide", 1, "_z"], ["Digamma", "_z"]], replace: ["Digamma", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma"], topics: ["digamma_function"] },
|
|
256
|
+
{ id: "fungrim:120284", match: ["Multiply", ["Rational", 1, 2], ["Which", ["NotEqual", "_x", 0], ["Add", ["Multiply", "_x", ["CarlsonRC", "_y", "_x"]], ["Sqrt", "_y"]], ["Equal", "_x", 0], ["Sqrt", "_y"]]], replace: ["CarlsonRG", "_x", "_x", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
257
|
+
{ id: "fungrim:121b21", match: ["Multiply", ["Divide", ["Sin", "_z"], "_z"], ["Sqrt", ["Divide", ["Multiply", 2, "_z"], "Pi"]]], replace: ["BesselJ", ["Divide", 1, 2], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Sin"], topics: ["bessel"] },
|
|
258
|
+
{ id: "fungrim:1232f7", match: ["Multiply", ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "_theta"], 2]], ["Sqrt", "_r"]], replace: ["Sqrt", ["Multiply", "_r", ["Exp", ["Multiply", "ImaginaryUnit", "_theta"]]]], guards: [{ k: "type", wc: "_r", t: "real" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }, { k: "type", wc: "_theta", t: "real" }, { k: "cmp", wc: "_theta", op: "gt", bound: ["Negate", "Pi"] }, { k: "cmp", wc: "_theta", op: "le", bound: "Pi" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp"], topics: ["sqrt"] },
|
|
259
|
+
{ id: "fungrim:124339", match: ["WeierstrassP", ["CarlsonRF", ["Add", "_z", ["Negate", ["EllipticRootE", 1, "_tau"]]], ["Add", "_z", ["Negate", ["EllipticRootE", 2, "_tau"]]], ["Add", "_z", ["Negate", ["EllipticRootE", 3, "_tau"]]]], "_tau"], replace: "_z", guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "EllipticRootE", "HH", "WeierstrassP"], topics: ["carlson_elliptic", "weierstrass_elliptic"] },
|
|
260
|
+
{ id: "fungrim:124d02", match: ["EllipticPi", ["Rational", 1, 2], 0], replace: ["Divide", ["Multiply", "Pi", ["Sqrt", 2]], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticPi"], topics: ["legendre_elliptic"] },
|
|
261
|
+
{ id: "fungrim:12765e", match: ["Negate", ["Multiply", ["Divide", "ImaginaryUnit", 2], ["Ln", ["Divide", ["Add", ["Multiply", "ImaginaryUnit", "_z"], 1], ["Add", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]], 1]]]]], replace: ["Arctan", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", "_z", "ImaginaryUnit"], ["Interval", 1, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Ln"], topics: ["atan"] },
|
|
262
|
+
{ id: "fungrim:127f05", match: ["Multiply", ["Add", ["Multiply", ["HypergeometricUStar", ["Add", "_nu", ["Rational", 1, 2]], ["Add", ["Multiply", 2, "_nu"], 1], ["Multiply", 2, "ImaginaryUnit", "_z"]], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", ["Add", ["Multiply", ["Rational", 1, 4], "Pi", ["Add", ["Multiply", 2, "_nu"], 1]], ["Negate", "_z"]]]]], ["Multiply", ["HypergeometricUStar", ["Add", "_nu", ["Rational", 1, 2]], ["Add", ["Multiply", 2, "_nu"], 1], ["Negate", ["Multiply", 2, "ImaginaryUnit", "_z"]]], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", ["Add", ["Multiply", ["Rational", 1, 4], "Pi", ["Add", ["Multiply", 2, "_nu"], 1]], ["Negate", "_z"]]]]]]], ["Power", ["Multiply", 2, "Pi", "_z"], ["Rational", -1, 2]]], replace: ["BesselJ", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Exp", "HypergeometricUStar"], topics: ["bessel"] },
|
|
263
|
+
{ id: "fungrim:12a9e8", match: ["WeierstrassP", ["Negate", "_z"], "_tau"], replace: ["WeierstrassP", "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "eval", pred: ["NotElement", "_z", ["Lattice", 1, "_tau"]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "Lattice", "WeierstrassP"], topics: ["weierstrass_elliptic"] },
|
|
264
|
+
{ id: "fungrim:12b1d0", match: ["Negate", ["Conjugate", ["Multiply", "ImaginaryUnit", ["CarlsonRD", "_x", "_y", ["Negate", "_z"]]]]], replace: ["CarlsonRD", ["Negate", "_x"], ["Negate", "_y"], "_z"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "real" }, { k: "cmp", wc: "_z", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "Conjugate"], topics: ["carlson_elliptic"] },
|
|
265
|
+
{ id: "fungrim:12b336", match: ["Multiply", ["Divide", ["Sqrt", 5], 5], ["Add", ["Power", "ExponentialE", ["Multiply", "_n", ["Ln", "GoldenRatio"]]], ["Negate", ["Multiply", ["Cos", ["Multiply", "Pi", "_n"]], ["Power", "ExponentialE", ["Negate", ["Multiply", "_n", ["Ln", "GoldenRatio"]]]]]]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Exp", "Fibonacci", "Ln"], topics: ["fibonacci"] },
|
|
266
|
+
{ id: "fungrim:1356e4", match: ["ModularJ", ["Multiply", ["Sqrt", 2], "ImaginaryUnit"]], replace: 8e3, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
267
|
+
{ id: "fungrim:13895b", match: ["Ln", ["Conjugate", "_z"]], replace: ["Conjugate", ["Ln", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "Ln"], topics: ["log"] },
|
|
268
|
+
{ id: "fungrim:13a092", match: ["Which", ["NotEqual", "_x", 0], "PositiveInfinity", ["Equal", "_x", 0], "ComplexInfinity"], replace: ["CarlsonRF", 0, 0, "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
269
|
+
{ id: "fungrim:13ed5e", match: ["XGCD", "_a", 1], replace: ["Tuple", 1, 0, 1], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["XGCD"], topics: ["gcd"] },
|
|
270
|
+
{ id: "fungrim:13f971", match: ["Multiply", ["Rational", 1, 8], ["Add", ["Multiply", 63, ["Power", "_z", 5]], ["Multiply", -70, ["Power", "_z", 3]], ["Multiply", 15, "_z"]]], replace: ["LegendrePolynomial", 5, "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
271
|
+
{ id: "fungrim:1403b5", match: ["JacobiTheta", 3, 0, "ImaginaryUnit"], replace: ["Divide", ["Gamma", ["Divide", 1, 4]], ["Multiply", ["Sqrt", 2], ["Power", "Pi", ["Divide", 3, 4]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
272
|
+
{ id: "fungrim:147db6", match: ["BarnesG", ["Conjugate", "_z"]], replace: ["Conjugate", ["BarnesG", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["BarnesG", "Conjugate"], topics: ["barnes_g"] },
|
|
273
|
+
{ id: "fungrim:14a365", match: ["CarlsonRD", 0, 0, -1], replace: ["Multiply", "ImaginaryUnit", "PositiveInfinity"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
274
|
+
{ id: "fungrim:14af98", match: ["Divide", ["Gamma", "_z"], ["Add", "_z", -1]], replace: ["Gamma", ["Subtract", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Range", "NegativeInfinity", 1]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma"], topics: ["gamma"] },
|
|
275
|
+
{ id: "fungrim:14b96c", match: ["LCM", "_a", "_b"], replace: ["LCM", "_b", "_a"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["LCM"], topics: ["gcd"] },
|
|
276
|
+
{ id: "fungrim:14ecc4", match: ["Multiply", ["Divide", ["Multiply", 2, ["Zeta", ["Multiply", 2, "_n"]], ["Factorial", ["Multiply", 2, "_n"]]], ["Power", ["Multiply", 2, "Pi"], ["Multiply", 2, "_n"]]], ["Power", -1, ["Add", "_n", 1]]], replace: ["BernoulliB", ["Multiply", 2, "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "Factorial", "Zeta"], topics: ["bernoulli_numbers"] },
|
|
277
|
+
{ id: "fungrim:150b3e", match: ["HurwitzZeta", 0, 0], replace: ["Divide", 1, 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
278
|
+
{ id: "fungrim:1568e1", match: ["Add", ["Sinh", "_z"], ["Cosh", "_z"]], replace: ["Exp", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cosh", "Exp", "Sinh"], topics: ["exp"] },
|
|
279
|
+
{ id: "fungrim:157c33", match: ["Multiply", ["Add", ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["Power", -1, "_a"]], 1]], 1], ["Abs", "_a"]], replace: ["LCM", "_a", 2], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
280
|
+
{ id: "fungrim:157c6c", match: ["Arctan", 1], replace: ["Divide", "Pi", 4], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
281
|
+
{ id: "fungrim:157ebb", match: ["Hypergeometric2F1", 1, ["Rational", 1, 2], ["Rational", 3, 2], ["Negate", "_y"]], replace: ["CarlsonRC", 1, ["Add", 1, "_y"]], guards: [{ k: "type", wc: "_y", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "Hypergeometric2F1"], topics: ["carlson_elliptic"] },
|
|
282
|
+
{ id: "fungrim:15ac84", match: ["Add", ["Multiply", ["Add", ["Negate", ["Power", "_n", 2]], ["Power", "_r", 2], ["Multiply", 4, "_r"], 4], ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_n", "z"]], "z"], ["Add", "_r", 2]], 0]], ["Multiply", ["Add", "_r", 1], ["Add", "_r", 2], ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_n", "z"]], "z"], "_r"], 0]]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Derivative"], topics: ["bessel"] },
|
|
283
|
+
{ id: "fungrim:15b347", match: ["Add", ["Negate", ["Multiply", ["Divide", ["Multiply", 4, "_k"], ["BernoulliB", ["Multiply", 2, "_k"]]], ["Sum", ["Sum", ["Multiply", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau", "m", "n"]], ["Power", "n", ["Add", ["Multiply", 2, "_k"], -1]]], ["Limits", "m", 1, "PositiveInfinity"]], ["Limits", "n", 1, "PositiveInfinity"]]]], 1], replace: ["EisensteinE", ["Multiply", 2, "_k"], "_tau"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "EisensteinE", "Exp", "HH", "Sum"], topics: ["eisenstein"] },
|
|
284
|
+
{ id: "fungrim:15bbb1", match: ["Multiply", ["BesselJ", "_n", ["Multiply", "ImaginaryUnit", "_z"]], ["Power", "ImaginaryUnit", ["Negate", "_n"]]], replace: ["BesselI", "_n", "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "BesselJ"], topics: ["bessel"] },
|
|
285
|
+
{ id: "fungrim:15f92d", match: ["Add", ["Multiply", "ImaginaryUnit", ["Sin", ["Multiply", ["Rational", 1, 2], "Pi", "_z"]]], ["Cos", ["Multiply", ["Rational", 1, 2], "Pi", "_z"]]], replace: ["Power", "ImaginaryUnit", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["imaginary_unit"] },
|
|
286
|
+
{ id: "fungrim:16612f", match: ["IncompleteEllipticF", ["Multiply", ["Rational", 1, 2], "Pi"], 1], replace: "PositiveInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
287
|
+
{ id: "fungrim:166402", match: ["Divide", ["Add", ["Negate", ["WeierstrassP", ["Multiply", ["Rational", 1, 2], "_tau"], "_tau"]], ["WeierstrassP", ["Multiply", ["Rational", 1, 2], ["Add", "_tau", 1]], "_tau"]], ["Add", ["WeierstrassP", ["Rational", 1, 2], "_tau"], ["Negate", ["WeierstrassP", ["Multiply", ["Rational", 1, 2], "_tau"], "_tau"]]]], replace: ["ModularLambda", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularLambda", "WeierstrassP"], topics: ["modular_lambda"] },
|
|
288
|
+
{ id: "fungrim:16d2e1", match: ["Multiply", ["Rational", 1, 2], "Pi", ["Hypergeometric2F1", ["Rational", -1, 2], ["Rational", 1, 2], 1, "_m"]], replace: ["EllipticE", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticE", "Hypergeometric2F1"], topics: ["legendre_elliptic"] },
|
|
289
|
+
{ id: "fungrim:171724", match: ["Add", ["Multiply", 63, ["Sum", ["Divide", ["Add", ["Multiply", 2, ["Power", ["Cos", ["Multiply", "Pi", "_tau", "m"]], 4]], ["Multiply", 11, ["Power", ["Cos", ["Multiply", "Pi", "_tau", "m"]], 2]], 2], ["Power", ["Sin", ["Multiply", "Pi", "_tau", "m"]], 6]], ["Limits", "m", 1, "PositiveInfinity"]]], 1], replace: ["EisensteinE", 6, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "EisensteinE", "HH", "Sin", "Sum"], topics: ["eisenstein"] },
|
|
290
|
+
{ id: "fungrim:175b7a", match: ["EllipticK", ["Multiply", ["Rational", 1, 2], ["Add", 1, ["Multiply", "ImaginaryUnit", ["Negate", ["Sqrt", 3]]]]]], replace: ["Divide", ["Multiply", ["Multiply", ["Exp", ["Negate", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 12]]], ["Power", 3, ["Divide", 1, 4]]], ["Power", ["Gamma", ["Divide", 1, 3]], 3]], ["Multiply", ["Power", 2, ["Divide", 7, 3]], "Pi"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "Exp", "Gamma"], topics: ["legendre_elliptic"] },
|
|
291
|
+
{ id: "fungrim:177de7", match: ["Digamma", ["Rational", 1, 6]], replace: ["Subtract", ["Subtract", ["Subtract", ["Negate", ["Divide", ["Multiply", ["Sqrt", 3], "Pi"], 2]], "EulerGamma"], ["Multiply", 2, ["Ln", 2]]], ["Divide", ["Multiply", 3, ["Ln", 3]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma", "Ln"], topics: ["digamma_function"] },
|
|
292
|
+
{ id: "fungrim:185efc", match: ["Multiply", ["Sqrt", "_z"], ["Sqrt", ["Divide", 1, ["Add", "_c", ["Negate", "_z"]]]]], replace: ["Sqrt", ["Divide", "_z", ["Subtract", "_c", "_z"]]], guards: [{ k: "type", wc: "_z", t: "real" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "ge", bound: 0 }, { k: "ne", lhs: ["Subtract", "_c", "_z"], rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: [], topics: ["sqrt"] },
|
|
293
|
+
{ id: "fungrim:18873d", match: ["Multiply", ["Sin", ["Add", ["Multiply", "_c", ["Argument", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]], ["Multiply", "_d", ["Ln", ["Abs", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]]]]], ["Power", "ExponentialE", ["Negate", ["Multiply", "_d", ["Argument", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]]]], ["Power", ["Abs", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]], "_c"]], replace: ["Imaginary", ["Power", ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]], ["Add", "_c", ["Multiply", "_d", "ImaginaryUnit"]]]], guards: [{ k: "type", wc: "_a", t: "real" }, { k: "type", wc: "_b", t: "real" }, { k: "type", wc: "_c", t: "real" }, { k: "type", wc: "_d", t: "real" }, { k: "ne", lhs: ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]], rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Argument", "Exp", "Imaginary", "Ln", "Sin"], topics: ["powers"] },
|
|
294
|
+
{ id: "fungrim:18a4d1", match: ["Add", ["Multiply", 6, ["Sum", ["Power", ["Sin", ["Multiply", "Pi", "_tau", "m"]], -2], ["Limits", "m", 1, "PositiveInfinity"]]], 1], replace: ["EisensteinE", 2, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH", "Sin", "Sum"], topics: ["eisenstein"] },
|
|
295
|
+
{ id: "fungrim:18d335", match: ["Which", ["Less", 0, "_x"], 1, ["Less", "_x", 0], -1, ["Equal", "_x", 0], 0], replace: ["Sign", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sign"], topics: ["complex_parts"] },
|
|
296
|
+
{ id: "fungrim:18d955", match: ["Hypergeometric2F1", "_a", "_b", "_c", 0], replace: 1, guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "eval", pred: ["NotElement", "_c", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric2F1"], topics: ["gauss_hypergeometric"] },
|
|
297
|
+
{ id: "fungrim:18e226", match: ["EllipticPi", 0, 1], replace: "PositiveInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticPi"], topics: ["legendre_elliptic"] },
|
|
298
|
+
{ id: "fungrim:18ec99", match: ["Add", ["Negate", ["Multiply", "_n", ["StirlingS1", "_n", "_k"]]], ["StirlingS1", "_n", ["Add", "_k", -1]]], replace: ["StirlingS1", ["Add", "_n", 1], "_k"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["StirlingS1"], topics: ["stirling_numbers"] },
|
|
299
|
+
{ id: "fungrim:18f40c", match: ["Divide", ["Add", ["Negate", ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]]]], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "_z"]]], ["Multiply", 2, "ImaginaryUnit"]], replace: ["Sin", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Sin"], topics: ["sine"] },
|
|
300
|
+
{ id: "fungrim:192a3e", match: ["Divide", ["Add", ["Negate", ["CoulombH", -1, "_ell", "_eta", "_z"]], ["CoulombH", 1, "_ell", "_eta", "_z"]], ["Multiply", 2, "ImaginaryUnit"]], replace: ["CoulombF", "_ell", "_eta", "_z"], guards: [{ k: "type", wc: "_ell", t: "complex" }, { k: "type", wc: "_eta", t: "complex" }, { k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CoulombF", "CoulombH"], topics: ["coulomb_wave"] },
|
|
301
|
+
{ id: "fungrim:1976db", match: ["Sqrt", ["Divide", "Pi", ["Multiply", "_y", ["Sinh", ["Multiply", "Pi", "_y"]]]]], replace: ["Abs", ["Gamma", ["Multiply", "_y", "ImaginaryUnit"]]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "ne", lhs: "_y", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Gamma", "Sinh"], topics: ["gamma"] },
|
|
302
|
+
{ id: "fungrim:1976e1", match: ["Multiply", ["Add", ["Divide", ["Multiply", ["HypergeometricUStar", ["Add", "_ell", ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]], 1], ["Add", ["Multiply", 2, "_ell"], 2], ["Multiply", 2, "ImaginaryUnit", "_z"]], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]]]], ["Multiply", ["Gamma", ["Add", "_ell", ["Multiply", "ImaginaryUnit", "_eta"], 1]], ["Power", ["Negate", ["Multiply", 2, "ImaginaryUnit", "_z"]], ["Add", "_ell", ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]], 1]]]], ["Divide", ["Multiply", ["HypergeometricUStar", ["Add", "_ell", ["Multiply", "ImaginaryUnit", "_eta"], 1], ["Add", ["Multiply", 2, "_ell"], 2], ["Negate", ["Multiply", 2, "ImaginaryUnit", "_z"]]], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "_z"]]], ["Multiply", ["Gamma", ["Add", "_ell", ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]], 1]], ["Power", ["Multiply", 2, "ImaginaryUnit", "_z"], ["Add", "_ell", ["Multiply", "ImaginaryUnit", "_eta"], 1]]]]], ["Power", 2, "_ell"], ["Power", "ExponentialE", ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["Multiply", "Pi", "_eta"]], ["GammaLn", ["Add", "_ell", ["Multiply", "ImaginaryUnit", "_eta"], 1]], ["GammaLn", ["Add", "_ell", ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]], 1]]]]], ["Power", "_z", ["Add", "_ell", 1]]], replace: ["CoulombF", "_ell", "_eta", "_z"], guards: [{ k: "type", wc: "_ell", t: "complex" }, { k: "type", wc: "_eta", t: "complex" }, { k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CoulombF", "Exp", "Gamma", "GammaLn", "HypergeometricUStar"], topics: ["coulomb_wave"] },
|
|
303
|
+
{ id: "fungrim:197a91", match: ["CarlsonRD", ["Multiply", "_lamda", "_x"], ["Multiply", "_lamda", "_y"], ["Multiply", "_lamda", "_z"]], replace: ["Multiply", ["Power", "_lamda", ["Negate", ["Divide", 3, 2]]], ["CarlsonRD", "_x", "_y", "_z"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_lamda", t: "real" }, { k: "cmp", wc: "_lamda", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
304
|
+
{ id: "fungrim:19acd8", match: ["JacobiTheta", 4, "_z", ["Add", ["Multiply", 2, "_n"], "_tau"]], replace: ["JacobiTheta", 4, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
305
|
+
{ id: "fungrim:19ceaa", match: ["GCD", 0, 0], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["GCD"], topics: ["gcd"] },
|
|
306
|
+
{ id: "fungrim:19d480", match: ["Gamma", 2], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma"], topics: ["gamma"] },
|
|
307
|
+
{ id: "fungrim:19d7d9", match: ["Multiply", ["BesselJ", ["Rational", 1, 2], "_z"], ["Power", ["Divide", ["Multiply", 2, "_z"], "Pi"], ["Rational", -1, 2]]], replace: ["Sinc", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Sinc"], topics: ["sinc"] },
|
|
308
|
+
{ id: "fungrim:1a0d11", match: ["Apply", ["Derivative", ["Function", ["Block", ["ChebyshevT", "_n", "_x"]], "_x"], 1], "_x"], replace: ["Multiply", "_n", ["ChebyshevU", ["Subtract", "_n", 1], "_x"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU", "Derivative"], topics: ["chebyshev"] },
|
|
309
|
+
{ id: "fungrim:1acb07", match: ["CarlsonRC", 1, 0], replace: "PositiveInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
310
|
+
{ id: "fungrim:1b11be", match: ["Multiply", 2, ["Sin", "_z"], ["Cos", "_z"]], replace: ["Sin", ["Multiply", 2, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
311
|
+
{ id: "fungrim:1b3014", match: ["Power", "ExponentialE", ["Real", "_z"]], replace: ["Abs", ["Exp", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Exp", "Real"], topics: ["exp"] },
|
|
312
|
+
{ id: "fungrim:1b47db", match: ["Tuple", 1, ["Negate", ["Abs", ["Sign", ["Multiply", ["Add", "_b", -1], ["Add", "_b", 1]]]]], ["Multiply", ["Add", ["Negate", ["Sign", ["Add", "_b", -1]]], ["Sign", ["Add", "_b", 1]]], ["Sign", "_b"]]], replace: ["XGCD", -1, "_b"], guards: [{ k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Sign", "XGCD"], topics: ["gcd"] },
|
|
313
|
+
{ id: "fungrim:1b6362", match: ["CarlsonRJ", 0, 0, 1, -1], replace: "NegativeInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
314
|
+
{ id: "fungrim:1b881e", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 2], "Pi"], "_m"], replace: ["EllipticE", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticE", "IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
315
|
+
{ id: "fungrim:1bae52", match: ["Multiply", ["DedekindEta", "_tau"], ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 12]]], replace: ["DedekindEta", ["Add", "_tau", 1]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Exp", "HH"], topics: ["dedekind_eta"] },
|
|
316
|
+
{ id: "fungrim:1bbdaf", match: ["Divide", ["Multiply", ["LCM", "_a", "_b"], ["Abs", ["Add", ["Multiply", "_b", "_n"], "_a"]]], ["Abs", "_a"]], replace: ["LCM", ["Add", "_a", ["Multiply", "_n", "_b"]], "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "ne", lhs: "_a", rhs: 0 }, { k: "type", wc: "_b", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
317
|
+
{ id: "fungrim:1c0fee", match: ["CarlsonRD", 1, 1, 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
318
|
+
{ id: "fungrim:1c22f1", match: ["Sin", ["Add", "_z", "Pi"]], replace: ["Negate", ["Sin", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
319
|
+
{ id: "fungrim:1c25d3", match: ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], replace: ["Multiply", ["Multiply", ["Divide", "ImaginaryUnit", ["Multiply", 2, "Pi"]], ["DedekindEta", "_tau"]], ["WeierstrassZeta", ["Divide", 1, 2], "_tau"]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Derivative", "HH", "WeierstrassZeta"], topics: ["dedekind_eta"] },
|
|
320
|
+
{ id: "fungrim:1c3766", match: ["Which", ["Not", ["IsOdd", "_n"]], ["Multiply", ["Divide", 1, ["Add", "_n", 1]], ["Power", -1, ["Floor", ["Multiply", ["Rational", 1, 2], "_n"]]]], ["IsOdd", "_n"], 0], replace: ["Apply", ["Derivative", ["Function", ["Sinc", "z"], "z"], "_n"], 0], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Floor", "IsEven", "IsOdd", "Sinc"], topics: ["sinc"] },
|
|
321
|
+
{ id: "fungrim:1c67c8", match: ["Multiply", ["Add", ["Negate", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]], ["JacobiTheta", 2, 0, ["Multiply", 2, "_tau"]]], replace: ["Multiply", ["JacobiTheta", 3, 0, ["Multiply", 2, "_tau"]], ["Subtract", ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
322
|
+
{ id: "fungrim:1c90fb", match: ["Multiply", ["Divide", "_n", ["Power", 2, ["Add", "_n", -1]]], ["Hypergeometric2F1", ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_n"], 1]], ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_n"], 2]], ["Rational", 3, 2], 5]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci", "Hypergeometric2F1"], topics: ["fibonacci"] },
|
|
323
|
+
{ id: "fungrim:1cb24e", match: ["ModularJ", ["Multiply", ["Rational", 1, 2], ["Add", 1, ["Multiply", ["Sqrt", 163], "ImaginaryUnit"]]]], replace: ["Negate", ["Power", 640320, 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
324
|
+
{ id: "fungrim:1cde02", match: ["LCM", "_a", ["LCM", "_b", "_c"]], replace: ["LCM", ["LCM", "_a", "_b"], "_c"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "type", wc: "_c", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["LCM"], topics: ["gcd"] },
|
|
325
|
+
{ id: "fungrim:1cec67", match: ["Add", ["Multiply", -24, ["Sum", ["Divide", ["Multiply", ["Add", ["Multiply", 2, "n"], 1], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]]], ["Add", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]], 1]], ["Limits", "n", 0, "PositiveInfinity"]]], 1], replace: ["Subtract", ["Power", ["JacobiTheta", 4, 0, "_tau"], 4], ["Power", ["JacobiTheta", 2, 0, "_tau"], 4]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta", "Sum"], topics: ["jacobi_theta"] },
|
|
326
|
+
{ id: "fungrim:1d1653", match: ["GCD", "_a", ["LCM", "_a", "_b"]], replace: ["Abs", "_a"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "GCD", "LCM"], topics: ["gcd"] },
|
|
327
|
+
{ id: "fungrim:1d62a7", match: ["EllipticE", 0], replace: ["Divide", "Pi", 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticE"], topics: ["legendre_elliptic"] },
|
|
328
|
+
{ id: "fungrim:1d731f", match: ["Multiply", ["Add", "_p", -1], ["Power", "_p", ["Add", "_k", -1]]], replace: ["Totient", ["Power", "_p", "_k"]], guards: [{ k: "type", wc: "_p", t: "integer" }, { k: "eval", pred: ["IsPrime", "_p"] }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Totient"], topics: ["totient"] },
|
|
329
|
+
{ id: "fungrim:1dce21", match: ["Add", ["Negate", ["Multiply", "ImaginaryUnit", ["BesselY", "_nu", "_z"]]], ["BesselJ", "_nu", "_z"]], replace: ["HankelH2", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "BesselY", "HankelH2"], topics: ["bessel"] },
|
|
330
|
+
{ id: "fungrim:1e6344", match: ["ArgMin", ["Function", ["Block", ["Sinc", "x"]], "x"], "RealNumbers"], replace: ["Set", ["Negate", ["BesselJZero", ["Divide", 3, 2], 1]], ["BesselJZero", ["Divide", 3, 2], 1]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ArgMin", "BesselJZero", "Sinc"], topics: ["sinc"] },
|
|
331
|
+
{ id: "fungrim:1e8061", match: ["CarlsonRD", "_x", "_y", "_z"], replace: ["CarlsonRD", "_y", "_x", "_z"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
332
|
+
{ id: "fungrim:1eaaed", match: ["CarlsonRJ", 0, "ImaginaryUnit", ["Negate", "ImaginaryUnit"], 1], replace: ["Divide", ["Multiply", 3, ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Multiply", 8, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Gamma"], topics: ["carlson_elliptic"] },
|
|
333
|
+
{ id: "fungrim:1f026d", match: ["Tan", ["Arctan", "_z"]], replace: "_z", guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Tan"], topics: ["atan"] },
|
|
334
|
+
{ id: "fungrim:1fa6b7", match: ["Power", "ExponentialE", ["Add", ["Multiply", 2, "ImaginaryUnit", "Pi", "_n"], "_z"]], replace: ["Exp", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp"], topics: ["exp"] },
|
|
335
|
+
{ id: "fungrim:1fa8e7", match: ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi", "_n"], 4]]], replace: ["JacobiTheta", 1, "_z", ["Add", "_tau", "_n"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
336
|
+
{ id: "fungrim:1faf7a", match: ["Which", ["NotEqual", "_x", "_w"], ["Multiply", ["Divide", 3, ["Add", ["Negate", "_w"], "_x"]], ["Add", ["CarlsonRC", "_x", "_w"], ["Negate", ["Sqrt", ["Divide", 1, "_x"]]]]], ["Equal", "_x", "_w"], ["Power", "_w", ["Rational", -3, 2]]], replace: ["CarlsonRJ", "_x", "_x", "_x", "_w"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_w", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
337
|
+
{ id: "fungrim:1fbc09", match: ["Add", ["Power", ["JacobiTheta", 2, 0, "_tau"], 4], ["Power", ["JacobiTheta", 4, 0, "_tau"], 4]], replace: ["Power", ["JacobiTheta", 3, 0, "_tau"], 4], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
338
|
+
{ id: "fungrim:204acd", match: ["DedekindEta", ["Power", "ExponentialE", ["Divide", ["Multiply", 2, "ImaginaryUnit", "Pi"], 3]]], replace: ["Multiply", ["Exp", ["Negate", ["Divide", ["Multiply", "Pi", "ImaginaryUnit"], 24]]], ["Divide", ["Multiply", ["Power", 3, ["Divide", 1, 8]], ["Power", ["Gamma", ["Divide", 1, 3]], ["Divide", 3, 2]]], ["Multiply", 2, "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta", "Exp", "Gamma"], topics: ["dedekind_eta"] },
|
|
339
|
+
{ id: "fungrim:20828c", match: ["Multiply", ["Divide", ["AGM", "_a", "_b"], ["Multiply", "Pi", "_a", ["Add", "_a", ["Negate", "_b"]]]], ["Add", ["Multiply", "Pi", "_a"], ["Multiply", -2, ["EllipticE", ["Power", ["Divide", ["Add", "_a", ["Negate", "_b"]], ["Add", "_a", "_b"]], 2]], ["AGM", "_a", "_b"]]]], replace: ["Apply", ["Derivative", ["Function", ["AGM", "_a", "_b"], "_a"], 1], "_a"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "ne", lhs: "_b", rhs: 0 }, { k: "ne", lhs: "_a", rhs: "_b" }, { k: "eval", pred: ["NotElement", ["Divide", "_a", "_b"], ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM", "Derivative", "EllipticE"], topics: ["agm"] },
|
|
340
|
+
{ id: "fungrim:208da7", match: ["PolyLog", 2, "ImaginaryUnit"], replace: ["Add", ["Negate", ["Divide", ["Power", "Pi", 2], 48]], ["Multiply", "CatalanConstant", "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["PolyLog"], topics: ["imaginary_unit"] },
|
|
341
|
+
{ id: "fungrim:2090c3", match: ["Multiply", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_a", ["Floor", ["Divide", ["Add", ["Negate", ["Argument", "_x"]], ["Negate", ["Argument", "_y"]], "Pi"], ["Multiply", 2, "Pi"]]]]], ["Power", "_x", "_a"], ["Power", "_y", "_a"]], replace: ["Power", ["Multiply", "_x", "_y"], "_a"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "ne", lhs: "_x", rhs: 0 }, { k: "type", wc: "_y", t: "complex" }, { k: "ne", lhs: "_y", rhs: 0 }, { k: "type", wc: "_a", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Argument", "Exp", "Floor"], topics: ["powers"] },
|
|
342
|
+
{ id: "fungrim:20bf69", match: ["Hypergeometric2F1", "_a", "_b", "_b", "_z"], replace: ["Power", ["Subtract", 1, "_z"], ["Negate", "_a"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "ne", lhs: "_z", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric2F1"], topics: ["gauss_hypergeometric"] },
|
|
343
|
+
{ id: "fungrim:20d581", match: ["JacobiTheta", 3, ["Multiply", 2, "_z"], "_tau"], replace: ["Divide", ["Add", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 4]], ["Power", ["JacobiTheta", 3, 0, "_tau"], 3]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
344
|
+
{ id: "fungrim:20e530", match: ["Add", ["Multiply", ["Rational", 1, 2], ["AiryAi", 0], ["Hypergeometric0F1", ["Rational", 5, 3], ["Multiply", ["Rational", 1, 9], ["Power", "_z", 3]]], ["Power", "_z", 2]], ["Multiply", ["Hypergeometric0F1", ["Rational", 1, 3], ["Multiply", ["Rational", 1, 9], ["Power", "_z", 3]]], ["Apply", ["Derivative", ["Function", ["Block", ["AiryAi", "_z"]], "_z"], 1], 0]]], replace: ["Apply", ["Derivative", ["Function", ["AiryAi", "_z"], "_z"], 1], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "Derivative", "Hypergeometric0F1"], topics: ["airy"] },
|
|
345
|
+
{ id: "fungrim:217521", match: ["LegendrePolynomial", 1, "_z"], replace: "_z", guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
346
|
+
{ id: "fungrim:21c2f7", match: ["Add", ["Negate", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2]], ["Power", ["JacobiTheta", 3, 0, "_tau"], 2]], replace: ["Multiply", 2, ["Power", ["JacobiTheta", 2, 0, ["Multiply", 2, "_tau"]], 2]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
347
|
+
{ id: "fungrim:21dc98", match: ["Divide", ["Add", ["Multiply", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]], ["Multiply", ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]]], ["Multiply", ["JacobiTheta", 4, 0, "_tau"], ["Power", ["JacobiTheta", 3, 0, "_tau"], 2]]], replace: ["JacobiTheta", 4, ["Multiply", 2, "_z"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
348
|
+
{ id: "fungrim:21f156", match: ["Add", ["Sin", "_z"], ["Apply", ["Derivative", ["Function", ["Block", ["Sin", "_z"]], "_z"], 2], "_z"]], replace: 0, guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Sin"], topics: ["sine"] },
|
|
349
|
+
{ id: "fungrim:21f412", match: ["AGM", "_z"], replace: ["AGM", "_z", 1], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
350
|
+
{ id: "fungrim:223ce1", match: ["Multiply", ["Divide", 2, ["Sqrt", 5]], ["ChebyshevT", ["Add", ["Multiply", 2, "_n"], 1], ["Divide", ["Sqrt", 5], 2]]], replace: ["Fibonacci", ["Add", ["Multiply", 2, "_n"], 1]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "Fibonacci"], topics: ["fibonacci"] },
|
|
351
|
+
{ id: "fungrim:2245df", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 2], "Pi", "_k"], 1], replace: "_k", guards: [{ k: "type", wc: "_k", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
352
|
+
{ id: "fungrim:229c97", match: ["ModularJ", ["Multiply", 2, "ImaginaryUnit"]], replace: 287496, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
353
|
+
{ id: "fungrim:22a9cd", match: ["Add", ["Multiply", ["Rational", 1, 2], "Pi", ["Coth", ["Multiply", "Pi", "_y"]]], ["Divide", -1, ["Multiply", 2, "_y"]]], replace: ["Imaginary", ["Digamma", ["Add", 1, ["Multiply", "ImaginaryUnit", "_y"]]]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "ne", lhs: "_y", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Coth", "Digamma", "Imaginary"], topics: ["digamma_function"] },
|
|
354
|
+
{ id: "fungrim:22dc6e", match: ["Add", ["Fibonacci", ["Add", "_n", -2]], ["Fibonacci", ["Add", "_n", -1]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
355
|
+
{ id: "fungrim:22e0be", match: ["Argument", ["Sqrt", "_z"]], replace: ["Divide", ["Argument", "_z"], 2], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Argument"], topics: ["sqrt"] },
|
|
356
|
+
{ id: "fungrim:22fb4a", match: ["Which", ["Equal", "_x", "_y", 0], 0, ["Less", 0, "_x"], ["Arctan", ["Divide", "_y", "_x"]], ["NotEqual", "_y", 0], ["Add", ["Multiply", ["Rational", 1, 2], "Pi", ["Sign", "_y"]], ["Negate", ["Arctan", ["Divide", "_x", "_y"]]]], ["And", ["Less", "_x", 0], ["Equal", "_y", 0]], "Pi"], replace: ["Arctan2", "_y", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Arctan2", "Sign"], topics: ["atan"] },
|
|
357
|
+
{ id: "fungrim:23077c", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 4, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 2, "_z", "_tau"]], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
358
|
+
{ id: "fungrim:233814", match: ["UniqueZero", ["Function", ["Block", ["Digamma", "x"]], "x"], ["Which", ["Equal", "_n", 0], ["Interval", ["Open", 0], ["Open", "PositiveInfinity"]], ["Less", "_n", 0], ["Interval", ["Open", ["Negate", "_n"]], ["Open", ["Add", ["Negate", "_n"], 1]]]]], replace: ["DigammaFunctionZero", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "DigammaFunctionZero", "UniqueZero"], topics: ["digamma_function"] },
|
|
359
|
+
{ id: "fungrim:235d0d", match: ["Multiply", ["JacobiTheta", 1, ["Add", ["Multiply", ["Rational", 1, 2], "_tau"], "_z", ["Rational", 1, 2]], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]], replace: ["JacobiTheta", 3, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
360
|
+
{ id: "fungrim:2362af", match: ["Binomial", "_n", ["Add", ["Negate", "_k"], "_n"]], replace: ["Binomial", "_n", "_k"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }, { k: "cmp", wc: "_k", op: "le", bound: "_n" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial"], topics: ["factorials"] },
|
|
361
|
+
{ id: "fungrim:2392f5", match: ["Multiply", ["Sin", ["Add", "_a", "_b"]], ["Sin", ["Add", "_a", ["Negate", "_b"]]]], replace: ["Subtract", ["Power", ["Sin", "_a"], 2], ["Power", ["Sin", "_b"], 2]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
362
|
+
{ id: "fungrim:23a5e0", match: ["EisensteinG", ["Multiply", 2, "_k"], ["Add", "_n", "_tau"]], replace: ["EisensteinG", ["Multiply", 2, "_k"], "_tau"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinG", "HH"], topics: ["eisenstein"] },
|
|
363
|
+
{ id: "fungrim:23beb5", match: ["WeierstrassSigma", ["Negate", "_z"], "_tau"], replace: ["Negate", ["WeierstrassSigma", "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "WeierstrassSigma"], topics: ["weierstrass_elliptic"] },
|
|
364
|
+
{ id: "fungrim:23e0a7", match: ["Conjugate", ["Multiply", "ImaginaryUnit", ["CarlsonRF", "_x", "_y", ["Negate", "_z"]]]], replace: ["CarlsonRF", ["Negate", "_x"], ["Negate", "_y"], "_z"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "ge", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "real" }, { k: "cmp", wc: "_z", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "Conjugate"], topics: ["carlson_elliptic"] },
|
|
365
|
+
{ id: "fungrim:23ed69", match: ["Add", ["Negate", ["Multiply", "_z", ["Ln", ["Multiply", 2, "Pi"]]]], ["LogBarnesG", ["Add", "_z", 1]], ["Which", ["Or", ["And", ["Less", ["Real", "_z"], 1], ["Equal", ["Imaginary", "_z"], 0]], ["Less", 0, ["Imaginary", "_z"]], ["Less", -1, ["Real", "_z"], 1]], ["Add", ["Integrate", ["Function", ["Block", ["Multiply", "Pi", "x", ["Cot", ["Multiply", "Pi", "x"]]]], "x"], ["Limits", "x", "ImaginaryUnit", "_z"]], ["Integrate", ["Function", ["Block", ["Multiply", "Pi", "x", ["Cot", ["Multiply", "Pi", "x"]]]], "x"], ["Limits", "x", 0, "ImaginaryUnit"]]], ["Or", ["And", ["Less", -1, ["Real", "_z"]], ["Equal", ["Imaginary", "_z"], 0]], ["Less", ["Imaginary", "_z"], 0], ["Less", -1, ["Real", "_z"], 1]], ["Add", ["Integrate", ["Function", ["Block", ["Multiply", "Pi", "x", ["Cot", ["Multiply", "Pi", "x"]]]], "x"], ["Limits", "x", ["Negate", "ImaginaryUnit"], "_z"]], ["Integrate", ["Function", ["Block", ["Multiply", "Pi", "x", ["Cot", ["Multiply", "Pi", "x"]]]], "x"], ["Limits", "x", 0, ["Negate", "ImaginaryUnit"]]]]]], replace: ["LogBarnesG", ["Subtract", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "Integers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cot", "Imaginary", "Integrate", "Ln", "LogBarnesG", "Real"], topics: ["barnes_g"] },
|
|
366
|
+
{ id: "fungrim:24107d", match: ["Multiply", ["Divide", ["Sqrt", 5], 5], ["Add", ["Negate", ["Power", ["Negate", "GoldenRatio"], ["Negate", "_n"]]], ["Power", "GoldenRatio", "_n"]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
367
|
+
{ id: "fungrim:244127", match: ["Add", ["Negate", ["Power", ["Cos", "_z"], 2]], 1], replace: ["Power", ["Sin", "_z"], 2], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
368
|
+
{ id: "fungrim:2499cd", match: ["Multiply", 2, ["CarlsonRF", ["Add", "_x", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]], ["Add", "_y", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]], ["Add", "_z", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]]]], replace: ["CarlsonRF", "_x", "_y", "_z"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
369
|
+
{ id: "fungrim:249fd6", match: ["Real", "ImaginaryUnit"], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Real"], topics: ["imaginary_unit"] },
|
|
370
|
+
{ id: "fungrim:250a45", match: ["LCM", "_r", "_s"], replace: ["Abs", ["Multiply", "_r", "_s"]], guards: [{ k: "type", wc: "_r", t: "integer" }, { k: "type", wc: "_s", t: "integer" }, { k: "eval", pred: ["Equal", ["GCD", "_r", "_s"], 1] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
371
|
+
{ id: "fungrim:250ff1", match: ["CarlsonRG", 1, 1, 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
372
|
+
{ id: "fungrim:25435b", match: ["CarlsonRC", 1, -1], replace: ["Subtract", ["Divide", ["Multiply", ["Sqrt", 2], ["Ln", ["Add", 1, ["Sqrt", 2]]]], 2], ["Multiply", ["Divide", ["Multiply", "Pi", ["Sqrt", 2]], 4], "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC", "Ln"], topics: ["carlson_elliptic"] },
|
|
373
|
+
{ id: "fungrim:255d81", match: ["IncompleteEllipticPi", "_n", ["Negate", "_phi"], "_m"], replace: ["Negate", ["IncompleteEllipticPi", "_n", "_phi", "_m"]], guards: [{ k: "type", wc: "_n", t: "complex" }, { k: "type", wc: "_phi", t: "complex" }, { k: "type", wc: "_m", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["IncompleteEllipticPi"], topics: ["legendre_elliptic"] },
|
|
374
|
+
{ id: "fungrim:2573ba", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 2], "Pi"], -1], replace: ["Multiply", ["Sqrt", 2], ["Add", ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 8, ["Sqrt", "Pi"]]], ["Divide", ["Power", "Pi", ["Divide", 3, 2]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma", "IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
375
|
+
{ id: "fungrim:258fc7", match: ["GCD", "_a", "_b"], replace: ["GCD", "_b", "_a"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
376
|
+
{ id: "fungrim:26565c", match: ["Divide", "_z", ["Abs", "_z"]], replace: ["Sign", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Sign"], topics: ["complex_parts"] },
|
|
377
|
+
{ id: "fungrim:265d9c", match: ["Add", ["Multiply", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]], ["Multiply", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]]], replace: ["Multiply", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
378
|
+
{ id: "fungrim:268c9e", match: ["Add", ["Arctan", "_x"], ["Arctan", ["Divide", "_y", ["Add", ["Multiply", "_x", ["Add", "_x", "_y"]], 1]]]], replace: ["Arctan", ["Add", "_x", "_y"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["Less", ["Abs", ["Add", "_x", "_y"]], 1] }, { k: "part-cmp", wc: "_x", part: "abs", op: "lt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan"], topics: ["atan"] },
|
|
379
|
+
{ id: "fungrim:26fd1b", match: ["Divide", "Pi", ["AGM", ["Power", ["JacobiThetaQ", 2, 0, "_q"], 2], ["Power", ["JacobiThetaQ", 3, 0, "_q"], 2]]], replace: ["Ln", ["Divide", 1, "_q"]], guards: [{ k: "type", wc: "_q", t: "real" }, { k: "cmp", wc: "_q", op: "gt", bound: 0 }, { k: "cmp", wc: "_q", op: "lt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM", "JacobiThetaQ", "Ln"], topics: ["agm"] },
|
|
380
|
+
{ id: "fungrim:271314", match: ["Add", 1, ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi"]]], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Exp"], topics: ["pi"] },
|
|
381
|
+
{ id: "fungrim:271b73", match: ["Multiply", ["Which", ["Or", ["And", ["LessEqual", 0, ["Real", "_x"]], ["Equal", ["Imaginary", "_x"], 0]], ["Less", ["Imaginary", "_x"], 0]], ["EllipticK", ["Add", "_c", 1]], "True", ["Add", ["Multiply", 2, "ImaginaryUnit", ["EllipticK", ["Negate", "_c"]]], ["EllipticK", ["Add", "_c", 1]]]], ["Sqrt", ["Divide", 1, "_x"]]], replace: ["CarlsonRF", 0, "_x", ["Negate", ["Multiply", "_c", "_x"]]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "EllipticK", "Imaginary", "Real"], topics: ["carlson_elliptic"] },
|
|
382
|
+
{ id: "fungrim:2760e7", match: ["ChebyshevT", "_n", -1], replace: ["Power", -1, "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
383
|
+
{ id: "fungrim:27688e", match: ["Add", ["Multiply", ["Add", ["Negate", ["Power", "_z", 2]], 1], ["Apply", ["Derivative", ["Function", ["Block", ["LegendrePolynomial", "_n", "_z"]], "_z"], 2], "_z"]], ["Multiply", "_n", ["Add", "_n", 1], ["LegendrePolynomial", "_n", "_z"]], ["Multiply", -2, "_z", ["Apply", ["Derivative", ["Function", ["Block", ["LegendrePolynomial", "_n", "_z"]], "_z"], 1], "_z"]]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
384
|
+
{ id: "fungrim:27766c", match: ["Min", ["Set", ["Sin", "x"], ["Element", "x", "RealNumbers"]]], replace: -1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Min", "Sin"], topics: ["sine"] },
|
|
385
|
+
{ id: "fungrim:278274", match: ["Add", ["Divide", ["JacobiTheta", 2, 0, "_tau", 2], ["JacobiTheta", 2, 0, "_tau"]], ["Divide", ["JacobiTheta", 3, 0, "_tau", 2], ["JacobiTheta", 3, 0, "_tau"]], ["Divide", ["JacobiTheta", 4, 0, "_tau", 2], ["JacobiTheta", 4, 0, "_tau"]]], replace: ["Divide", ["JacobiTheta", 1, 0, "_tau", 3], ["JacobiTheta", 1, 0, "_tau", 1]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
386
|
+
{ id: "fungrim:27b169", match: ["Divide", ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 1, ["Add", "_z", ["Rational", 1, 4]], "_tau"], ["JacobiTheta", 1, ["Add", ["Negate", "_z"], ["Rational", 1, 4]], "_tau"]], ["Multiply", ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"], ["JacobiTheta", 3, ["Rational", 1, 4], "_tau"]]], replace: ["JacobiTheta", 1, ["Multiply", 4, "_z"], ["Multiply", 4, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
387
|
+
{ id: "fungrim:27b2c7", match: ["Multiply", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 3], ["Add", ["Multiply", -6, ["EisensteinE", 2, "_tau"]], ["Multiply", 8, ["EisensteinE", 2, ["Multiply", 2, "_tau"]]], ["EisensteinE", 2, ["Multiply", ["Rational", 1, 2], "_tau"]]], ["ModularLambda", "_tau"]], replace: ["Apply", ["Derivative", ["Function", ["ModularLambda", "_tau"], "_tau"], 1], "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "EisensteinE", "HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
388
|
+
{ id: "fungrim:27bc34", match: ["Add", ["Negate", ["Multiply", ["Divide", ["Power", ["Add", ["Negate", "_z"], 1], ["Negate", "_b"]], ["Multiply", ["Gamma", "_a"], ["Gamma", ["Add", ["Negate", "_b"], "_c"]]]], ["Hypergeometric2F1Regularized", "_b", ["Add", ["Negate", "_a"], "_c"], ["Add", ["Negate", "_a"], "_b", 1], ["Divide", 1, ["Add", ["Negate", "_z"], 1]]]]], ["Multiply", ["Divide", ["Power", ["Add", ["Negate", "_z"], 1], ["Negate", "_a"]], ["Multiply", ["Gamma", "_b"], ["Gamma", ["Add", ["Negate", "_a"], "_c"]]]], ["Hypergeometric2F1Regularized", "_a", ["Add", ["Negate", "_b"], "_c"], ["Add", "_a", ["Negate", "_b"], 1], ["Divide", 1, ["Add", ["Negate", "_z"], 1]]]]], replace: ["Multiply", ["Divide", ["Sin", ["Multiply", "Pi", ["Subtract", "_b", "_a"]]], "Pi"], ["Hypergeometric2F1Regularized", "_a", "_b", "_c", "_z"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", 0, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Hypergeometric2F1Regularized", "Sin"], topics: ["gauss_hypergeometric"] },
|
|
389
|
+
{ id: "fungrim:28237a", match: ["CarlsonRF", 0, 1, 2], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", ["Multiply", 2, "Pi"]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
390
|
+
{ id: "fungrim:2853d4", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 3, "_z", "_tau"], ["JacobiTheta", 2, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
391
|
+
{ id: "fungrim:28b4c3", match: ["Which", ["Not", ["IsOdd", "_n"]], ["JacobiTheta", 3, "_z", "_tau"], ["IsOdd", "_n"], ["JacobiTheta", 4, "_z", "_tau"]], replace: ["JacobiTheta", 3, "_z", ["Add", "_tau", "_n"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "IsEven", "IsOdd", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
392
|
+
{ id: "fungrim:296627", match: ["Power", "ExponentialE", ["Ln", "_z"]], replace: "_z", guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Ln"], topics: ["exp"] },
|
|
393
|
+
{ id: "fungrim:297b3c", match: ["Apply", ["Derivative", ["Function", ["Block", ["Sin", "_z"]], "_z"], 2], "_z"], replace: ["Negate", ["Sin", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Sin"], topics: ["sine"] },
|
|
394
|
+
{ id: "fungrim:2991b5", match: ["EllipticK", ["Power", ["Add", 3, ["Multiply", -2, ["Sqrt", 2]]], 2]], replace: ["Divide", ["Multiply", ["Add", 2, ["Sqrt", 2]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Multiply", 16, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "Gamma"], topics: ["legendre_elliptic"] },
|
|
395
|
+
{ id: "fungrim:299209", match: ["Imaginary", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "_x"]]], replace: ["Sin", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Imaginary", "Sin"], topics: ["sine"] },
|
|
396
|
+
{ id: "fungrim:29c095", match: ["ModularJ", ["Multiply", ["Rational", 1, 2], ["Add", 1, ["Multiply", ["Sqrt", 7], "ImaginaryUnit"]]]], replace: ["Negate", ["Power", 15, 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
397
|
+
{ id: "fungrim:2a11ab", match: ["Apply", ["Derivative", ["Function", ["Block", ["Sqrt", "_z"]], "_z"], 1], "_z"], replace: ["Divide", 1, ["Multiply", 2, ["Sqrt", "_z"]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative"], topics: ["sqrt"] },
|
|
398
|
+
{ id: "fungrim:2a4195", match: ["Divide", ["Add", ["Negate", ["BesselJ", ["Negate", "_nu"], "_z"]], ["Multiply", ["Cos", ["Multiply", "Pi", "_nu"]], ["BesselJ", "_nu", "_z"]]], ["Sin", ["Multiply", "Pi", "_nu"]]], replace: ["BesselY", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "eval", pred: ["NotElement", "_nu", "Integers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "BesselY", "Cos", "Sin"], topics: ["bessel"] },
|
|
399
|
+
{ id: "fungrim:2a5337", match: ["ChebyshevU", ["Multiply", 2, "_n"], 0], replace: ["Power", -1, "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
400
|
+
{ id: "fungrim:2a6702", match: ["Multiply", ["Rational", 1, 4], ["Add", ["Multiply", 3, ["Sin", "_z"]], ["Negate", ["Sin", ["Multiply", 3, "_z"]]]]], replace: ["Power", ["Sin", "_z"], 3], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
401
|
+
{ id: "fungrim:2ba627", match: ["ModularLambda", ["Divide", 1, ["Add", ["Negate", "_tau"], 1]]], replace: ["Divide", 1, ["Subtract", 1, ["ModularLambda", "_tau"]]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
402
|
+
{ id: "fungrim:2ca869", match: ["Multiply", ["Add", ["Fibonacci", ["Add", "_n", -1]], ["Fibonacci", ["Add", "_n", 1]]], ["Fibonacci", "_n"]], replace: ["Fibonacci", ["Multiply", 2, "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
403
|
+
{ id: "fungrim:2cdd2f", match: ["Multiply", "_x", ["CarlsonRC", ["Power", "_y", 2], ["Add", ["Negate", ["Power", "_x", 2]], ["Power", "_y", 2]]]], replace: ["Artanh", ["Divide", "_x", "_y"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: ["Negate", "_y"] }, { k: "cmp", wc: "_x", op: "lt", bound: "_y" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Artanh", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
404
|
+
{ id: "fungrim:2d2dde", match: ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]]], replace: ["JacobiTheta", 3, ["Add", "_z", ["Multiply", ["Divide", 1, 2], "_tau"]], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
405
|
+
{ id: "fungrim:2d4828", match: ["HurwitzZeta", 4, 1], replace: ["Divide", ["Power", "Pi", 4], 90], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
406
|
+
{ id: "fungrim:2dcf0c", match: ["CarlsonRD", 0, -1, 1], replace: ["Subtract", ["Multiply", ["Divide", ["Multiply", 3, ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Multiply", 8, ["Sqrt", ["Multiply", 2, "Pi"]]]], ["Subtract", 1, "ImaginaryUnit"]], ["Multiply", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Power", "Pi", ["Divide", 3, 2]]], ["Multiply", 2, ["Power", ["Gamma", ["Divide", 1, 4]], 2]]], ["Add", 1, "ImaginaryUnit"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD", "Gamma"], topics: ["carlson_elliptic"] },
|
|
407
|
+
{ id: "fungrim:2df3e3", match: ["Multiply", ["Hypergeometric1F1", ["Add", "_a", ["Rational", -1, 2]], ["Add", ["Multiply", 2, "_a"], -1], ["Multiply", 4, ["Sqrt", "_z"]]], ["Power", "ExponentialE", ["Negate", ["Multiply", 2, ["Sqrt", "_z"]]]]], replace: ["Hypergeometric0F1", "_a", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", 2, "_a"], ["Range", "NegativeInfinity", 1]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Hypergeometric0F1", "Hypergeometric1F1"], topics: ["confluent_hypergeometric"] },
|
|
408
|
+
{ id: "fungrim:2e0d99", match: ["Sqrt", ["Divide", 1, "_z"]], replace: ["Power", "_z", ["Negate", ["Divide", 1, 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: [], topics: ["powers"] },
|
|
409
|
+
{ id: "fungrim:2e4da0", match: ["JacobiTheta", 3, ["Add", ["Multiply", "_n", "_tau"], "_m", "_z"], "_tau"], replace: ["Multiply", ["Exp", ["Negate", ["Multiply", ["Multiply", "Pi", "ImaginaryUnit"], ["Add", ["Multiply", "_tau", ["Power", "_n", 2]], ["Multiply", ["Multiply", 2, "_n"], "_z"]]]]], ["JacobiTheta", 3, "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
410
|
+
{ id: "fungrim:2eb54a", match: ["Sqrt", -1], replace: "ImaginaryUnit", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["sqrt"] },
|
|
411
|
+
{ id: "fungrim:2ef763", match: ["IncompleteEllipticE", ["Multiply", ["Rational", -1, 2], "Pi"], "_m"], replace: ["Negate", ["EllipticE", "_m"]], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["EllipticE", "IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
412
|
+
{ id: "fungrim:2f1f7b", match: ["Ln", -1], replace: ["Multiply", "Pi", "ImaginaryUnit"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Ln"], topics: ["log"] },
|
|
413
|
+
{ id: "fungrim:2f3ed3", match: ["Which", ["CongruentMod", "_n", 0, 4], 0, ["CongruentMod", "_n", 2, 4], ["Multiply", ["JacobiTheta", 4, 0, "ImaginaryUnit"], ["Power", -1, ["Floor", ["Multiply", ["Rational", 1, 4], "_n"]]]], "True", ["Multiply", ["JacobiTheta", 3, 0, "ImaginaryUnit"], ["Power", -1, ["Floor", ["Multiply", ["Rational", 1, 4], "_n"]]], ["Power", 2, ["Rational", -7, 16]], ["Sqrt", ["Add", -1, ["Sqrt", 2]]], ["Root", ["Add", 1, ["Sqrt", 2]], 4]]], replace: ["JacobiTheta", 1, ["Divide", "_n", 4], "ImaginaryUnit"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CongruentMod", "Floor", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
414
|
+
{ id: "fungrim:2fabeb", match: ["HurwitzZeta", 3, ["Rational", 1, 6]], replace: ["Add", ["Multiply", 91, ["Zeta", 3]], ["Multiply", ["Multiply", 2, ["Sqrt", 3]], ["Power", "Pi", 3]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
415
|
+
{ id: "fungrim:2faeb9", match: ["JacobiTheta", 1, ["Add", ["Multiply", 2, "_n"], "_z"], "_tau"], replace: ["JacobiTheta", 1, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
416
|
+
{ id: "fungrim:2fc479", match: ["Cosh", ["Multiply", "_n", ["Arcosh", "_x"]]], replace: ["ChebyshevT", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arcosh", "ChebyshevT", "Cosh"], topics: ["chebyshev"] },
|
|
417
|
+
{ id: "fungrim:2fec14", match: ["Add", ["Multiply", ["Add", ["Divide", "_eta", ["Add", "_ell", 1]], ["Divide", ["Add", "_ell", 1], "_z"]], ["CoulombG", "_ell", "_eta", "_z"]], ["Negate", ["Multiply", ["Divide", ["Multiply", ["Sqrt", ["Add", "_ell", ["Multiply", "ImaginaryUnit", "_eta"], 1]], ["Sqrt", ["Add", "_ell", ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]], 1]]], ["Add", "_ell", 1]], ["CoulombG", ["Add", "_ell", 1], "_eta", "_z"]]]], replace: ["Apply", ["Derivative", ["Function", ["CoulombG", "_ell", "_eta", "_z"], "_z"], 1], "_z"], guards: [{ k: "type", wc: "_ell", t: "complex" }, { k: "ne", lhs: "_ell", rhs: -1 }, { k: "type", wc: "_eta", t: "complex" }, { k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CoulombG", "Derivative"], topics: ["coulomb_wave"] },
|
|
418
|
+
{ id: "fungrim:301081", match: ["Add", ["Negate", ["Multiply", ["Fibonacci", "_n"], ["Fibonacci", ["Add", "_m", 1]]]], ["Multiply", ["Fibonacci", "_m"], ["Fibonacci", ["Add", "_n", 1]]]], replace: ["Multiply", ["Power", -1, "_n"], ["Fibonacci", ["Subtract", "_m", "_n"]]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_m", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
419
|
+
{ id: "fungrim:303204", match: ["Add", ["Multiply", 2, "_x", ["ChebyshevU", ["Add", "_n", 1], "_x"]], ["Negate", ["ChebyshevU", ["Add", "_n", 2], "_x"]]], replace: ["ChebyshevU", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
420
|
+
{ id: "fungrim:303827", match: ["CarlsonRJ", 1, -1, -1, -1], replace: ["Add", ["Subtract", ["Negate", ["Divide", 3, 4]], ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Ln", ["Add", 1, ["Sqrt", 2]]]], 8]], ["Divide", ["Multiply", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], "Pi"], "ImaginaryUnit"], 16]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Ln"], topics: ["carlson_elliptic"] },
|
|
421
|
+
{ id: "fungrim:3047b1", match: ["CarlsonRD", 1, -1, -1], replace: ["Add", ["Subtract", ["Negate", ["Divide", 3, 4]], ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Ln", ["Add", 1, ["Sqrt", 2]]]], 8]], ["Divide", ["Multiply", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], "Pi"], "ImaginaryUnit"], 16]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD", "Ln"], topics: ["carlson_elliptic"] },
|
|
422
|
+
{ id: "fungrim:30652c", match: ["Divide", ["Factorial", ["Add", "_k", "_n", -1]], ["Factorial", ["Add", "_n", -1]]], replace: ["RisingFactorial", "_n", "_k"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Factorial", "RisingFactorial"], topics: ["factorials"] },
|
|
423
|
+
{ id: "fungrim:30a054", match: ["EisensteinE", 2, ["Power", "ExponentialE", ["Divide", ["Multiply", 2, "ImaginaryUnit", "Pi"], 3]]], replace: ["Divide", ["Multiply", 2, ["Sqrt", 3]], "Pi"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinE", "Exp"], topics: ["eisenstein"] },
|
|
424
|
+
{ id: "fungrim:30bd5b", match: ["LambertW", ["Multiply", "_x", ["Ln", "_x"]]], replace: ["Ln", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "ge", bound: ["Divide", 1, "ExponentialE"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LambertW", "Ln"], topics: ["lambertw"] },
|
|
425
|
+
{ id: "fungrim:3102a7", match: ["EisensteinG", 4, ["Power", "ExponentialE", ["Divide", ["Multiply", 2, "ImaginaryUnit", "Pi"], 3]]], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinE", "EisensteinG", "Exp"], topics: ["eisenstein"] },
|
|
426
|
+
{ id: "fungrim:310f36", match: ["Power", "_z", 0], replace: 1, guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: [], topics: ["powers"] },
|
|
427
|
+
{ id: "fungrim:3141e4", match: ["IncompleteBeta", 1, "_a", "_b"], replace: ["Beta", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Beta", "IncompleteBeta"], topics: ["beta_function"] },
|
|
428
|
+
{ id: "fungrim:315b3d", match: ["Add", ["Negate", ["IncompleteBetaRegularized", ["Add", ["Negate", "_x"], 1], "_b", "_a"]], 1], replace: ["IncompleteBetaRegularized", "_x", "_a", "_b"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Add", "_a", "_b"], "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["IncompleteBetaRegularized"], topics: ["beta_function"] },
|
|
429
|
+
{ id: "fungrim:3189b9", match: ["ModularJ", ["Multiply", 4, "ImaginaryUnit"]], replace: ["Multiply", 27, ["Power", ["Add", 724, ["Multiply", 513, ["Sqrt", 2]]], 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
430
|
+
{ id: "fungrim:31a3ba", match: ["Add", ["Multiply", 2, ["CarlsonRD", ["Add", "_x", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]], ["Add", "_y", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]], ["Add", "_z", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]]]], ["Divide", 3, ["Multiply", ["Add", "_z", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]], ["Sqrt", "_z"]]]], replace: ["CarlsonRD", "_x", "_y", "_z"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
431
|
+
{ id: "fungrim:31a8ca", match: ["Sqrt", "ComplexInfinity"], replace: "ComplexInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["sqrt"] },
|
|
432
|
+
{ id: "fungrim:31b0df", match: ["Power", "ImaginaryUnit", 2], replace: -1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["imaginary_unit"] },
|
|
433
|
+
{ id: "fungrim:31f52c", match: ["Divide", 1, "GoldenRatio"], replace: ["Subtract", "GoldenRatio", 1], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["golden_ratio"] },
|
|
434
|
+
{ id: "fungrim:324483", match: ["JacobiTheta", 3, 0, ["Add", 1, ["Divide", "ImaginaryUnit", 2]]], replace: ["Multiply", ["Divide", ["Multiply", ["Power", ["Subtract", ["Sqrt", 2], 1], ["Divide", 2, 3]], ["Power", ["Add", 4, ["Multiply", 3, ["Sqrt", 2]]], ["Divide", 1, 12]]], ["Power", 2, ["Divide", 7, 24]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
435
|
+
{ id: "fungrim:325a0e", match: ["Multiply", ["BesselJ", ["Add", "_a", -1], ["Multiply", 2, ["Sqrt", ["Negate", "_z"]]]], ["Power", ["Negate", "_z"], ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_a"], 1]]]], replace: ["Hypergeometric0F1Regularized", "_a", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Hypergeometric0F1Regularized"], topics: ["confluent_hypergeometric"] },
|
|
436
|
+
{ id: "fungrim:32e162", match: ["Multiply", ["Divide", ["Multiply", ["Sqrt", 2], ["Power", "_z", "_nu"]], ["Multiply", 2, ["Sqrt", "Pi"]]], ["Add", ["Multiply", ["HypergeometricUStar", ["Add", "_nu", ["Rational", 1, 2]], ["Add", ["Multiply", 2, "_nu"], 1], ["Multiply", 2, "ImaginaryUnit", "_z"]], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]]], ["Power", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]], ["Add", ["Negate", "_nu"], ["Rational", -1, 2]]]], ["Multiply", ["HypergeometricUStar", ["Add", "_nu", ["Rational", 1, 2]], ["Add", ["Multiply", 2, "_nu"], 1], ["Negate", ["Multiply", 2, "ImaginaryUnit", "_z"]]], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "_z"]], ["Power", ["Multiply", "ImaginaryUnit", "_z"], ["Add", ["Negate", "_nu"], ["Rational", -1, 2]]]]]], replace: ["BesselJ", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Exp", "HypergeometricUStar"], topics: ["bessel"] },
|
|
437
|
+
{ id: "fungrim:332721", match: ["Divide", ["Factorial", "_n"], ["Multiply", ["Factorial", "_k"], ["Factorial", ["Add", ["Negate", "_k"], "_n"]]]], replace: ["Binomial", "_n", "_k"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial", "Factorial"], topics: ["factorials"] },
|
|
438
|
+
{ id: "fungrim:33690e", match: ["HurwitzZeta", 4, 2], replace: ["Subtract", ["Divide", ["Power", "Pi", 4], 90], 1], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
439
|
+
{ id: "fungrim:33e034", match: ["Multiply", ["CarlsonRC", ["Power", "_x", 2], ["Power", "_y", 2]], ["Sqrt", ["Add", ["Negate", ["Power", "_x", 2]], ["Power", "_y", 2]]]], replace: ["Arccos", ["Divide", "_x", "_y"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "ge", bound: 0 }, { k: "cmp", wc: "_x", op: "le", bound: "_y" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arccos", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
440
|
+
{ id: "fungrim:33f13a", match: ["Which", ["LessEqual", 1, "_n"], ["Product", ["Factorial", "k"], ["Limits", "k", 1, ["Add", "_n", -2]]], ["LessEqual", "_n", 0], 0], replace: ["BarnesG", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BarnesG", "Factorial", "Product"], topics: ["barnes_g"] },
|
|
441
|
+
{ id: "fungrim:340936", match: ["Sinc", ["Multiply", ["Rational", 1, 3], "Pi"]], replace: ["Divide", ["Multiply", 3, ["Sqrt", 3]], ["Multiply", 2, "Pi"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sinc"], topics: ["sinc"] },
|
|
442
|
+
{ id: "fungrim:34378a", match: ["LCM", 1, 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["LCM"], topics: ["gcd"] },
|
|
443
|
+
{ id: "fungrim:3479be", match: ["Divide", ["Add", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]], ["Multiply", 2, ["JacobiTheta", 2, 0, ["Multiply", 2, "_tau"]]]], replace: ["JacobiTheta", 3, ["Multiply", 2, "_z"], ["Multiply", 2, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
444
|
+
{ id: "fungrim:34ff28", match: ["Multiply", "_z", ["Hypergeometric2F1", 1, ["Rational", 1, 2], ["Rational", 3, 2], ["Negate", ["Power", "_z", 2]]]], replace: ["Arctan", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: ["Negate", "ImaginaryUnit"] }, { k: "ne", lhs: "_z", rhs: "ImaginaryUnit" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Hypergeometric2F1"], topics: ["atan"] },
|
|
445
|
+
{ id: "fungrim:35403b", match: ["Negate", ["Multiply", ["WeierstrassSigma", "_z", "_tau"], ["Power", "ExponentialE", ["Multiply", 2, ["Add", "_z", ["Rational", 1, 2]], ["WeierstrassZeta", ["Rational", 1, 2], "_tau"]]]]], replace: ["WeierstrassSigma", ["Add", "_z", 1], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "WeierstrassSigma", "WeierstrassZeta"], topics: ["weierstrass_elliptic"] },
|
|
446
|
+
{ id: "fungrim:355c22", match: ["FallingFactorial", "_k", "_k"], replace: ["Factorial", "_k"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["Factorial", "FallingFactorial"], topics: ["factorials"] },
|
|
447
|
+
{ id: "fungrim:3567c5", match: ["CarlsonRJ", 0, 0, -1, -1], replace: ["Multiply", "ImaginaryUnit", "PositiveInfinity"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
448
|
+
{ id: "fungrim:35956b", match: ["Fibonacci", ["Multiply", 2, "_n"]], replace: ["Subtract", ["Power", ["Fibonacci", ["Add", "_n", 1]], 2], ["Power", ["Fibonacci", ["Subtract", "_n", 1]], 2]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
449
|
+
{ id: "fungrim:35c85f", match: ["ModularLambda", ["Multiply", 2, "ImaginaryUnit"]], replace: ["Subtract", 17, ["Multiply", 12, ["Sqrt", 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularLambda"], topics: ["modular_lambda"] },
|
|
450
|
+
{ id: "fungrim:35cb93", match: ["CarlsonRC", 0, -1], replace: ["Negate", ["Divide", ["Multiply", "Pi", "ImaginaryUnit"], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
451
|
+
{ id: "fungrim:35e13b", match: ["Divide", ["Add", ["Multiply", ["Add", "_n", 1], ["ChebyshevT", ["Add", "_n", 1], "_x"]], ["Negate", ["Multiply", "_x", ["ChebyshevU", "_n", "_x"]]]], ["Add", ["Power", "_x", 2], -1]], replace: ["Apply", ["Derivative", ["Function", ["ChebyshevU", "_n", "_x"], "_x"], 1], "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }, { k: "ne", lhs: "_x", rhs: -1 }, { k: "ne", lhs: "_x", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU", "Derivative"], topics: ["chebyshev"] },
|
|
452
|
+
{ id: "fungrim:36171f", match: ["Apply", ["Derivative", ["Function", ["Block", ["Arctan", "_z"]], "_z"], "_n"], "_z"], replace: ["Multiply", ["Divide", ["Multiply", ["Power", -1, "_n"], ["Factorial", ["Subtract", "_n", 1]]], ["Multiply", 2, "ImaginaryUnit"]], ["Subtract", ["Divide", 1, ["Power", ["Add", "_z", "ImaginaryUnit"], "_n"]], ["Divide", 1, ["Power", ["Subtract", "_z", "ImaginaryUnit"], "_n"]]]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", "ImaginaryUnit", "_z"], ["Union", ["Interval", ["Open", "NegativeInfinity"], -1], ["Interval", 1, ["Open", "PositiveInfinity"]]]] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Arctan", "Derivative", "Factorial"], topics: ["atan"] },
|
|
453
|
+
{ id: "fungrim:361801", match: ["AGM", 1, ["Add", 3, ["Multiply", 2, ["Sqrt", 2]]]], replace: ["Divide", ["Multiply", 2, ["Add", 2, ["Sqrt", 2]], ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["AGM", "Gamma"], topics: ["agm"] },
|
|
454
|
+
{ id: "fungrim:367ac2", match: ["Add", ["Negate", ["Multiply", "_z", ["Add", ["Multiply", 2, "_n"], 1], ["LegendrePolynomial", "_n", "_z"]]], ["Multiply", "_n", ["LegendrePolynomial", ["Add", "_n", -1], "_z"]], ["Multiply", ["Add", "_n", 1], ["LegendrePolynomial", ["Add", "_n", 1], "_z"]]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
455
|
+
{ id: "fungrim:36fff2", match: ["Multiply", ["Rational", 1, 691], ["Add", ["Multiply", 250, ["Power", ["EisensteinE", 6, "_tau"], 2]], ["Multiply", 441, ["Power", ["EisensteinE", 4, "_tau"], 3]]]], replace: ["EisensteinE", 12, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
456
|
+
{ id: "fungrim:373aa1", match: ["SloaneA", "'A000045'", "_n"], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci", "SloaneA"], topics: ["fibonacci", "integer_sequences"] },
|
|
457
|
+
{ id: "fungrim:378949", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 3, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Negate", ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 2, "_z", "_tau"]], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
458
|
+
{ id: "fungrim:37a95a", match: ["Add", ["Negate", "_z"], ["Multiply", ["Add", "_z", ["Rational", -1, 2]], ["Ln", "_z"]], ["Sum", ["Divide", ["BernoulliB", ["Multiply", 2, "k"]], ["Multiply", 2, "k", ["Add", ["Multiply", 2, "k"], -1], ["Power", "_z", ["Add", ["Multiply", 2, "k"], -1]]]], ["Limits", "k", 1, ["Add", "_n", -1]]], ["StirlingSeriesRemainder", "_n", "_z"], ["Multiply", ["Rational", 1, 2], ["Ln", ["Multiply", 2, "Pi"]]]], replace: ["GammaLn", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "GammaLn", "Ln", "StirlingSeriesRemainder", "Sum"], topics: ["gamma"] },
|
|
459
|
+
{ id: "fungrim:37e644", match: ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", "_z", "_tau", "_s"]], "_tau"], "_r"], "_tau"], replace: ["Multiply", ["Divide", 1, ["Power", ["Multiply", ["Multiply", 4, "Pi"], "ImaginaryUnit"], "_r"]], ["JacobiTheta", "_j", "_z", "_tau", ["Add", ["Multiply", 2, "_r"], "_s"]]], guards: [{ k: "member", wc: "_j", set: ["Set", 1, 2, 3, 4] }, { k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }, { k: "type", wc: "_s", t: "integer" }, { k: "cmp", wc: "_s", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
460
|
+
{ id: "fungrim:37ffb7", match: ["Multiply", ["Rational", 3, 4], "Pi", ["CarlsonHypergeometricR", ["Rational", -3, 2], ["List", ["Rational", 1, 2], ["Rational", 1, 2], ["Rational", 1, 2], ["Rational", 1, 2]], ["List", "_y", "_z", "_z", "_z"]]], replace: ["CarlsonRD", 0, "_y", "_z"], guards: [{ k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["NotElement", "_y", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonHypergeometricR", "CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
461
|
+
{ id: "fungrim:380076", match: ["JacobiTheta", 3, ["Negate", "_z"], "_tau"], replace: ["JacobiTheta", 3, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
462
|
+
{ id: "fungrim:382679", match: ["Hypergeometric2F1", ["Negate", "_n"], "_n", ["Rational", 1, 2], ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_x"], 1]]], replace: ["ChebyshevT", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "Hypergeometric2F1"], topics: ["chebyshev"] },
|
|
463
|
+
{ id: "fungrim:3866dc", match: ["Multiply", ["Rational", 1, 2], ["Add", "_z", ["Conjugate", "_z"]]], replace: ["Real", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Conjugate", "Real"], topics: ["complex_parts"] },
|
|
464
|
+
{ id: "fungrim:38fa65", match: ["Add", ["CarlsonRF", ["Add", "_lamda", "_x"], ["Add", "_lamda", "_y"], "_lamda"], ["CarlsonRF", ["Add", ["Divide", ["Multiply", "_x", "_y"], "_lamda"], "_x"], ["Add", ["Divide", ["Multiply", "_x", "_y"], "_lamda"], "_y"], ["Divide", ["Multiply", "_x", "_y"], "_lamda"]]], replace: ["CarlsonRF", "_x", "_y", 0], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_lamda", t: "complex" }, { k: "eval", pred: ["NotElement", "_lamda", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
465
|
+
{ id: "fungrim:390158", match: ["JacobiTheta", 3, 0, ["Add", 1, ["Multiply", 10, "ImaginaryUnit"]]], replace: ["Multiply", ["Divide", ["Power", 2, ["Divide", 7, 8]], ["Multiply", ["Subtract", ["Power", 5, ["Divide", 1, 4]], 1], ["Sqrt", ["Add", ["Multiply", 5, ["Sqrt", 5]], 5]]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
466
|
+
{ id: "fungrim:393b62", match: ["Sin", ["Add", ["Multiply", "Pi", "_k"], "_z"]], replace: ["Multiply", ["Power", -1, "_k"], ["Sin", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_k", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
467
|
+
{ id: "fungrim:397051", match: ["CarlsonRJ", 1, 2, 2, 2], replace: ["Subtract", ["Divide", ["Multiply", 3, "Pi"], 8], ["Divide", 3, 4]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
468
|
+
{ id: "fungrim:398bb7", match: ["Multiply", ["Add", "_x", ["Negate", "_y"]], ["CarlsonRC", ["Multiply", ["Rational", 1, 4], ["Power", ["Add", "_x", "_y"], 2]], ["Multiply", "_x", "_y"]]], replace: ["Ln", ["Divide", "_x", "_y"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "Ln"], topics: ["carlson_elliptic"] },
|
|
469
|
+
{ id: "fungrim:3a428f", match: ["Sinc", ["Conjugate", "_z"]], replace: ["Conjugate", ["Sinc", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "Sinc"], topics: ["sinc"] },
|
|
470
|
+
{ id: "fungrim:3a5167", match: ["MultiZetaValue", 3, 3], replace: ["Multiply", ["Divide", 1, 2], ["Subtract", ["Power", ["Zeta", 3], 2], ["Zeta", 6]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["MultiZetaValue", "Zeta"], topics: ["multiple_zeta_values"] },
|
|
471
|
+
{ id: "fungrim:3a56d8", match: ["DedekindEta", ["Multiply", 4, "ImaginaryUnit"]], replace: ["Divide", ["DedekindEta", "ImaginaryUnit"], ["Multiply", ["Power", 2, ["Divide", 13, 16]], ["Power", ["Add", 1, ["Sqrt", 2]], ["Divide", 1, 4]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta"], topics: ["dedekind_eta"] },
|
|
472
|
+
{ id: "fungrim:3a77e0", match: ["JacobiTheta", 2, ["Multiply", 2, "_z"], "_tau"], replace: ["Divide", ["Subtract", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 4]], ["Power", ["JacobiTheta", 2, 0, "_tau"], 3]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
473
|
+
{ id: "fungrim:3a7a0b", match: ["Divide", ["Add", ["ModularLambda", "_tau"], -1], ["ModularLambda", "_tau"]], replace: ["ModularLambda", ["Divide", ["Subtract", "_tau", 1], "_tau"]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
474
|
+
{ id: "fungrim:3a84d6", match: ["CarlsonRF", 0, -1, -1], replace: ["Divide", ["Negate", ["Multiply", "Pi", "ImaginaryUnit"]], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
475
|
+
{ id: "fungrim:3ac0ce", match: ["Imaginary", ["Digamma", "ImaginaryUnit"]], replace: ["Multiply", ["Divide", 1, 2], ["Add", ["Multiply", "Pi", ["Coth", "Pi"]], 1]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Coth", "Digamma", "Imaginary"], topics: ["imaginary_unit"] },
|
|
476
|
+
{ id: "fungrim:3aed02", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 3], "Pi"], 1], replace: ["Divide", ["Sqrt", 3], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
477
|
+
{ id: "fungrim:3b272e", match: ["EllipticE", ["Rational", 1, 2]], replace: ["Add", ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 8, ["Sqrt", "Pi"]]], ["Divide", ["Power", "Pi", ["Divide", 3, 2]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticE", "Gamma"], topics: ["legendre_elliptic"] },
|
|
478
|
+
{ id: "fungrim:3b6175", match: ["Multiply", ["Divide", 3, ["Multiply", 2, ["Sqrt", "_y"], ["Sqrt", "_z"]]], ["CarlsonRF", 0, "_y", "_z"]], replace: ["CarlsonRJ", 0, "_y", "_z", ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]], guards: [{ k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
479
|
+
{ id: "fungrim:3b806f", match: ["Multiply", ["DedekindEta", "_tau"], ["Sqrt", ["Negate", ["Multiply", "ImaginaryUnit", "_tau"]]]], replace: ["DedekindEta", ["Negate", ["Divide", 1, "_tau"]]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "HH"], topics: ["dedekind_eta"] },
|
|
480
|
+
{ id: "fungrim:3b839c", match: ["Add", ["Multiply", "ImaginaryUnit", ["Cos", "_a"], ["Sinh", "_b"]], ["Multiply", ["Sin", "_a"], ["Cosh", "_b"]]], replace: ["Sin", ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Cosh", "Sin", "Sinh"], topics: ["sine"] },
|
|
481
|
+
{ id: "fungrim:3b8c97", match: ["DirichletL", 1, ["DirichletCharacter", 4, 3]], replace: ["Divide", "Pi", 4], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DirichletCharacter", "DirichletL"], topics: ["dirichlet"] },
|
|
482
|
+
{ id: "fungrim:3ba544", match: ["Apply", ["Derivative", ["Function", ["Block", ["HurwitzZeta", "_s", "_a"]], "_s"], 1], "_s"], replace: ["HurwitzZeta", "_s", "_a", 1], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "ne", lhs: "_s", rhs: 1 }, { k: "type", wc: "_a", t: "complex" }, { k: "part-cmp", wc: "_a", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
483
|
+
{ id: "fungrim:3bf702", match: ["Multiply", ["Divide", 6, ["Power", "Pi", 2]], ["WeierstrassZeta", ["Rational", 1, 2], "_tau"]], replace: ["EisensteinE", 2, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH", "WeierstrassZeta"], topics: ["eisenstein"] },
|
|
484
|
+
{ id: "fungrim:3bfced", match: ["Apply", ["Derivative", ["Function", ["Block", ["EisensteinE", 6, "_tau"]], "_tau"], 1], "_tau"], replace: ["Multiply", ["Multiply", ["Multiply", 2, "Pi"], "ImaginaryUnit"], ["Divide", ["Subtract", ["Multiply", ["EisensteinE", 2, "_tau"], ["EisensteinE", 6, "_tau"]], ["Power", ["EisensteinE", 4, "_tau"], 2]], 2]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
485
|
+
{ id: "fungrim:3c1021", match: ["Arctan", ["Divide", ["Sqrt", 3], 3]], replace: ["Divide", "Pi", 6], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
486
|
+
{ id: "fungrim:3c4979", match: ["EllipticPi", 0, ["Rational", 1, 2]], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticPi", "Gamma"], topics: ["legendre_elliptic"] },
|
|
487
|
+
{ id: "fungrim:3c833f", match: ["Sin", ["Multiply", ["Rational", 1, 3], "Pi"]], replace: ["Divide", ["Sqrt", 3], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sin"], topics: ["sine"] },
|
|
488
|
+
{ id: "fungrim:3c87b9", match: ["Multiply", ["Hypergeometric2F1", ["Negate", "_n"], ["Negate", "_n"], 1, ["Divide", ["Add", "_z", 1], ["Add", "_z", -1]]], ["Power", ["Multiply", ["Rational", 1, 2], ["Add", "_z", -1]], "_n"]], replace: ["LegendrePolynomial", "_n", "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric2F1", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
489
|
+
{ id: "fungrim:3cc884", match: ["Sqrt", ["Power", "_x", 2]], replace: ["Abs", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs"], topics: ["sqrt"] },
|
|
490
|
+
{ id: "fungrim:3d6d7e", match: ["Conjugate", ["Hypergeometric2F1", ["Conjugate", "_a"], ["Conjugate", "_b"], ["Conjugate", "_c"], ["Conjugate", "_z"]]], replace: ["Hypergeometric2F1", "_a", "_b", "_c", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "eval", pred: ["NotElement", "_c", "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", 1, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Conjugate", "Hypergeometric2F1"], topics: ["gauss_hypergeometric"] },
|
|
491
|
+
{ id: "fungrim:3db90c", match: ["HurwitzZeta", 0, ["Rational", 1, 2]], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
492
|
+
{ id: "fungrim:3dd30a", match: ["CarlsonRJ", "_x", "_y", "_z", "_z"], replace: ["CarlsonRD", "_x", "_y", "_z"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRD", "CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
493
|
+
{ id: "fungrim:3df748", match: ["LegendrePolynomial", "_n", -1], replace: ["Power", -1, "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
494
|
+
{ id: "fungrim:3e05c6", match: ["Which", ["NotEqual", "_y", 1], ["Divide", ["Multiply", 3, ["Add", ["Negate", ["EllipticE", ["Add", ["Negate", "_y"], 1]]], ["EllipticK", ["Add", ["Negate", "_y"], 1]]]], ["Add", ["Negate", "_y"], 1]], ["Equal", "_y", 1], ["Multiply", ["Rational", 3, 4], "Pi"]], replace: ["CarlsonRD", 0, "_y", 1], guards: [{ k: "type", wc: "_y", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "EllipticE", "EllipticK"], topics: ["carlson_elliptic"] },
|
|
495
|
+
{ id: "fungrim:3e1398", match: ["AGM", "_a", ["Negate", "_a"]], replace: 0, guards: [{ k: "type", wc: "_a", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
496
|
+
{ id: "fungrim:3e71f4", match: ["Apply", ["Derivative", ["Function", ["Block", ["Sqrt", "_z"]], "_z"], 2], "_z"], replace: ["Negate", ["Divide", 1, ["Multiply", 4, ["Power", "_z", ["Divide", 3, 2]]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative"], topics: ["sqrt"] },
|
|
497
|
+
{ id: "fungrim:3e82c3", match: ["HurwitzZeta", 2, ["Rational", 1, 4]], replace: ["Add", ["Power", "Pi", 2], ["Multiply", 8, "CatalanConstant"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
498
|
+
{ id: "fungrim:3ea11b", match: ["Arctan", ["Divide", ["Add", "_x", "_y"], ["Add", ["Negate", ["Multiply", "_x", "_y"]], 1]]], replace: ["Add", ["Arctan", "_x"], ["Arctan", "_y"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "part-cmp", wc: "_x", part: "abs", op: "lt", bound: 1 }, { k: "part-cmp", wc: "_y", part: "abs", op: "lt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan"], topics: ["atan"] },
|
|
499
|
+
{ id: "fungrim:3ee358", match: ["ModularJ", ["Multiply", ["Rational", 1, 2], ["Add", 1, ["Multiply", ["Sqrt", 19], "ImaginaryUnit"]]]], replace: ["Negate", ["Power", 96, 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
500
|
+
{ id: "fungrim:3f1547", match: ["Multiply", ["Add", ["Divide", ["Multiply", ["Sqrt", 2], ["Power", "Pi", ["Rational", 3, 2]]], ["Multiply", 2, ["Power", ["Gamma", ["Rational", 1, 4]], 2]]], ["Divide", ["Multiply", ["Sqrt", 2], ["Power", ["Gamma", ["Rational", 1, 4]], 2]], ["Multiply", 16, ["Sqrt", "Pi"]]]], ["Sqrt", "_x"]], replace: ["CarlsonRG", 0, "_x", ["Multiply", 2, "_x"]], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG", "Gamma"], topics: ["carlson_elliptic"] },
|
|
501
|
+
{ id: "fungrim:3f15eb", match: ["Digamma", ["DigammaFunctionZero", "_n"]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "DigammaFunctionZero"], topics: ["digamma_function"] },
|
|
502
|
+
{ id: "fungrim:3f6d40", match: ["Multiply", ["Rational", 1, 2], ["EllipticE", ["Add", ["Negate", "_x"], 1]]], replace: ["CarlsonRG", 0, 1, "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG", "EllipticE"], topics: ["carlson_elliptic"] },
|
|
503
|
+
{ id: "fungrim:3fb309", match: ["Which", ["CongruentMod", "_n", 0, 4], ["JacobiTheta", 3, 0, "ImaginaryUnit"], ["CongruentMod", "_n", 2, 4], ["JacobiTheta", 4, 0, "ImaginaryUnit"], "True", ["Multiply", ["JacobiTheta", 3, 0, "ImaginaryUnit"], ["Power", 2, ["Rational", -7, 16]], ["Root", ["Add", 1, ["Sqrt", 2]], 4]]], replace: ["JacobiTheta", 3, ["Divide", "_n", 4], "ImaginaryUnit"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CongruentMod", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
504
|
+
{ id: "fungrim:4064f5", match: ["HurwitzZeta", 4, ["Rational", 1, 2]], replace: ["Divide", ["Power", "Pi", 4], 6], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
505
|
+
{ id: "fungrim:4091ad", match: ["Negate", ["Conjugate", ["Multiply", "ImaginaryUnit", ["CarlsonRG", "_x", "_y", ["Negate", "_z"]]]]], replace: ["CarlsonRG", ["Negate", "_x"], ["Negate", "_y"], "_z"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "ge", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "real" }, { k: "cmp", wc: "_z", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG", "Conjugate"], topics: ["carlson_elliptic"] },
|
|
506
|
+
{ id: "fungrim:40a376", match: ["EllipticK", ["Add", ["Rational", 1, 2], ["Negate", ["Divide", ["Sqrt", 3], 4]]]], replace: ["Divide", ["Multiply", ["Power", 3, ["Divide", 1, 4]], ["Power", ["Gamma", ["Divide", 1, 3]], 3]], ["Multiply", ["Multiply", 4, ["Power", 2, ["Divide", 1, 3]]], "Pi"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "Gamma"], topics: ["legendre_elliptic"] },
|
|
507
|
+
{ id: "fungrim:40aeb6", match: ["Apply", ["Derivative", ["Function", ["Block", ["BesselY", "_nu", "_z"]], "_z"], 1], "_z"], replace: ["Divide", ["Subtract", ["BesselY", ["Subtract", "_nu", 1], "_z"], ["BesselY", ["Add", "_nu", 1], "_z"]], 2], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselY", "Derivative"], topics: ["bessel"] },
|
|
508
|
+
{ id: "fungrim:40baa9", match: ["Set", ["Multiply", ["Rational", 1, 2], ["Add", ["Multiply", "_rho", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "theta"]]], ["Multiply", ["Divide", 1, "_rho"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "theta"]]]]]], ["Element", "theta", ["Interval", 0, ["Open", ["Multiply", 2, "Pi"]]]]], replace: ["BernsteinEllipse", "_rho"], guards: [{ k: "type", wc: "_rho", t: "real" }, { k: "cmp", wc: "_rho", op: "gt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernsteinEllipse", "Exp"], topics: ["complex_plane"] },
|
|
509
|
+
{ id: "fungrim:40c3e2", match: ["Apply", ["Derivative", ["Function", ["Block", ["HurwitzZeta", "_s", "_a"]], "_a"], "_r"], "_a"], replace: ["Multiply", ["RisingFactorial", ["Subtract", ["Subtract", 1, "_s"], "_r"], "_r"], ["HurwitzZeta", ["Add", "_s", "_r"], "_a"]], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "ne", lhs: "_s", rhs: 1 }, { k: "ne", lhs: ["Add", "_s", "_r"], rhs: 1 }, { k: "type", wc: "_a", t: "complex" }, { k: "part-cmp", wc: "_a", part: "re", op: "gt", bound: 0 }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HurwitzZeta", "RisingFactorial"], topics: ["hurwitz_zeta"] },
|
|
510
|
+
{ id: "fungrim:415911", match: ["Count", ["Zeros", ["Function", ["Block", ["LegendrePolynomial", "_n", "z"]], "z"], "ComplexNumbers"]], replace: "_n", guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial", "Zeros"], topics: ["legendre_polynomial"] },
|
|
511
|
+
{ id: "fungrim:415ff0", match: ["Divide", ["EllipticK", ["Add", ["Divide", ["Negate", "_y"], "_x"], 1]], ["Sqrt", "_x"]], replace: ["CarlsonRF", 0, "_x", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["Less", ["Abs", ["Subtract", ["Argument", "_x"], ["Argument", "_y"]]], "Pi"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "EllipticK"], topics: ["carlson_elliptic"] },
|
|
512
|
+
{ id: "fungrim:41cf8e", match: ["Multiply", ["Rational", 1, 3], ["Add", ["Negate", "_m"], 1], ["Add", ["CarlsonRD", 0, ["Add", ["Negate", "_m"], 1], 1], ["CarlsonRD", 0, 1, ["Add", ["Negate", "_m"], 1]]]], replace: ["EllipticE", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }, { k: "ne", lhs: "_m", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "EllipticE"], topics: ["carlson_elliptic", "legendre_elliptic"] },
|
|
513
|
+
{ id: "fungrim:41f950", match: ["Multiply", ["Divide", ["Add", "_k", "_z"], "_z"], ["RisingFactorial", "_z", "_k"]], replace: ["RisingFactorial", ["Add", "_z", 1], "_k"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["RisingFactorial"], topics: ["factorials"] },
|
|
514
|
+
{ id: "fungrim:42102c", match: ["ChebyshevT", ["Add", ["Multiply", 2, "_n"], 1], 0], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
515
|
+
{ id: "fungrim:4228cd", match: ["Negate", ["Multiply", "_n", ["HurwitzZeta", ["Add", ["Negate", "_n"], 1], "_z"]]], replace: ["BernoulliPolynomial", "_n", "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliPolynomial", "HurwitzZeta"], topics: ["bernoulli_numbers", "hurwitz_zeta"] },
|
|
516
|
+
{ id: "fungrim:423b36", match: ["Multiply", "_x", ["CarlsonRC", ["Add", ["Power", "_x", 2], ["Power", "_y", 2]], ["Power", "_y", 2]]], replace: ["Arsinh", ["Divide", "_x", "_y"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_x", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arsinh", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
517
|
+
{ id: "fungrim:4256f0", match: ["JacobiTheta", 3, 0, ["Divide", "ImaginaryUnit", 2]], replace: ["Multiply", ["Multiply", ["Sqrt", ["Divide", ["Add", ["Sqrt", 2], 1], 2]], ["Power", 2, ["Divide", 1, 4]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
518
|
+
{ id: "fungrim:4268fc", match: ["IncompleteEllipticF", 0, "_m"], replace: 0, guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
519
|
+
{ id: "fungrim:429093", match: ["Multiply", "ImaginaryUnit", ["JacobiTheta", 1, "_z", "_tau"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]]], replace: ["JacobiTheta", 4, ["Add", "_z", ["Multiply", ["Divide", 1, 2], "_tau"]], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
520
|
+
{ id: "fungrim:42a909", match: ["ModularJ", ["Negate", ["Divide", 1, "_tau"]]], replace: ["ModularJ", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularJ"], topics: ["modular_j"] },
|
|
521
|
+
{ id: "fungrim:42c1f5", match: ["Digamma", ["Negate", "_n"]], replace: "ComplexInfinity", guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma"], topics: ["digamma_function"] },
|
|
522
|
+
{ id: "fungrim:42c7f1", match: ["CarlsonHypergeometricR", ["Rational", -1, 2], ["List", ["Rational", 1, 2], ["Rational", 1, 2], ["Rational", 1, 2]], ["List", "_x", "_y", "_y"]], replace: ["CarlsonRC", "_x", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "eval", pred: ["NotElement", "_x", ["Interval", ["Open", "NegativeInfinity"], ["Open", 0]]] }, { k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["NotElement", "_y", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonHypergeometricR", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
523
|
+
{ id: "fungrim:42eb01", match: ["Add", ["Multiply", ["Add", ["Power", "_x", 2], -1], ["Power", ["ChebyshevU", ["Add", "_n", -1], "_x"], 2]], ["Power", ["ChebyshevT", "_n", "_x"], 2]], replace: 1, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU"], topics: ["chebyshev"] },
|
|
524
|
+
{ id: "fungrim:4366b2", match: ["GCD", "_a", ["GCD", "_b", "_c"]], replace: ["GCD", ["GCD", "_a", "_b"], "_c"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "type", wc: "_c", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
525
|
+
{ id: "fungrim:43fa0e", match: ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["Power", -1, ["Add", "_m", "_n"]], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", "_tau", ["Power", "_n", 2]], ["Multiply", 2, "_n", "_z"]]]]]], replace: ["JacobiTheta", 1, ["Add", "_z", ["Add", "_m", ["Multiply", "_n", "_tau"]]], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
526
|
+
{ id: "fungrim:441301", match: ["Count", ["Solutions", ["Function", ["Block", ["Equal", ["ModularJ", "tau"], "_z"]], "tau"], "ModularGroupFundamentalDomain"]], replace: 1, guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ModularGroupFundamentalDomain", "ModularJ", "Solutions"], topics: ["modular_j"] },
|
|
527
|
+
{ id: "fungrim:4448f1", match: ["JacobiTheta", 4, ["Add", "_n", "_z"], "_tau"], replace: ["JacobiTheta", 4, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
528
|
+
{ id: "fungrim:447541", match: ["Apply", ["Derivative", ["Function", ["Block", ["AGM", 1, "x"]], "x"], "_n"], 1], replace: ["Multiply", ["Divide", ["Multiply", ["Power", -1, "_n"], ["Factorial", "_n"]], ["Power", 8, "_n"]], ["SloaneA", { str: "060691" }, "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["AGM", "Derivative", "Factorial", "SloaneA"], topics: ["agm"] },
|
|
529
|
+
{ id: "fungrim:4491b8", match: ["Apply", ["Derivative", ["Function", ["Block", ["Power", "ExponentialE", "_z"]], "_z"], "_n"], "_z"], replace: ["Exp", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Exp"], topics: ["exp"] },
|
|
530
|
+
{ id: "fungrim:44a529", match: ["Multiply", 256, ["Divide", ["Power", ["Add", ["Negate", ["ModularLambda", "_tau"]], ["Power", ["ModularLambda", "_tau"], 2], 1], 3], ["Multiply", ["Power", ["Add", ["Negate", ["ModularLambda", "_tau"]], 1], 2], ["Power", ["ModularLambda", "_tau"], 2]]]], replace: ["ModularJ", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularJ", "ModularLambda"], topics: ["modular_lambda"] },
|
|
531
|
+
{ id: "fungrim:44ae4a", match: ["Conjugate", "ImaginaryUnit"], replace: ["Negate", "ImaginaryUnit"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Conjugate"], topics: ["imaginary_unit"] },
|
|
532
|
+
{ id: "fungrim:44d300", match: ["CarlsonRJ", 1, 2, 2, 4], replace: ["Divide", ["Multiply", ["Subtract", 9, ["Multiply", 4, ["Sqrt", 3]]], "Pi"], 24], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
533
|
+
{ id: "fungrim:45740a", match: ["Sinc", ["Multiply", ["Rational", 1, 6], "Pi"]], replace: ["Divide", 3, "Pi"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sinc"], topics: ["sinc"] },
|
|
534
|
+
{ id: "fungrim:45a969", match: ["Digamma", ["Rational", 2, 3]], replace: ["Subtract", ["Subtract", ["Divide", ["Multiply", ["Sqrt", 3], "Pi"], 6], "EulerGamma"], ["Divide", ["Multiply", 3, ["Ln", 3]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma", "Ln"], topics: ["digamma_function"] },
|
|
535
|
+
{ id: "fungrim:45b157", match: ["EllipticK", 1], replace: "PositiveInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK"], topics: ["legendre_elliptic"] },
|
|
536
|
+
{ id: "fungrim:46c021", match: ["Multiply", ["Rational", 1, 2], ["Add", "_b", 1], ["AGM", 1, ["Divide", ["Multiply", 2, ["Sqrt", "_b"]], ["Add", "_b", 1]]]], replace: ["AGM", 1, "_b"], guards: [{ k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
537
|
+
{ id: "fungrim:46f244", match: ["Multiply", 2, ["JacobiTheta", 4, 0, ["Multiply", 2, "_tau"]], ["JacobiTheta", 1, 0, ["Multiply", 2, "_tau"], 1]], replace: ["Multiply", ["JacobiTheta", 1, 0, "_tau", 1], ["JacobiTheta", 2, 0, "_tau"]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
538
|
+
{ id: "fungrim:471485", match: ["Binomial", "_n", ["Add", "_m", "_n"]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_m", t: "integer" }, { k: "cmp", wc: "_m", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial"], topics: ["factorials"] },
|
|
539
|
+
{ id: "fungrim:47331d", match: ["Abs", ["Add", ["Negate", ["Arctan", "_x"]], ["Arctan", ["Add", "_x", "_y"]]]], replace: ["Arctan2", ["Abs", "_y"], ["Add", 1, ["Multiply", "_x", ["Add", "_x", "_y"]]]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Arctan", "Arctan2"], topics: ["atan"] },
|
|
540
|
+
{ id: "fungrim:474c51", match: ["JacobiTheta", 2, 0, "_tau", ["Add", ["Multiply", 2, "_r"], 1]], replace: 0, guards: [{ k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
541
|
+
{ id: "fungrim:476642", match: ["Multiply", ["JacobiTheta", 3, 0, ["Multiply", ["Rational", 1, 2], "_tau"]], ["JacobiTheta", 4, 0, ["Multiply", ["Rational", 1, 2], "_tau"]]], replace: ["Power", ["JacobiTheta", 4, 0, "_tau"], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
542
|
+
{ id: "fungrim:47d430", match: ["Set", ["DirichletCharacter", "_q", "ell"], ["Element", "ell", ["Range", 1, ["Add", ["Max", "_q", 2], -1]], ["Equal", ["GCD", "ell", "_q"], 1]]], replace: ["DirichletGroup", "_q"], guards: [{ k: "type", wc: "_q", t: "integer" }, { k: "cmp", wc: "_q", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DirichletCharacter", "DirichletGroup", "GCD", "Max"], topics: ["dirichlet"] },
|
|
543
|
+
{ id: "fungrim:47f4ba", match: ["Multiply", ["JacobiTheta", 3, 0, ["Add", ["Divide", "ImaginaryUnit", "_y"], 1]], ["Sqrt", ["Divide", 1, "_y"]]], replace: ["JacobiTheta", 2, 0, ["Multiply", "_y", "ImaginaryUnit"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
544
|
+
{ id: "fungrim:47f6dd", match: ["JacobiTheta", 2, ["Add", "_z", ["Rational", 1, 2]], "_tau"], replace: ["Negate", ["JacobiTheta", 1, "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
545
|
+
{ id: "fungrim:48333c", match: ["Multiply", ["Rational", 1, 2], ["Which", ["Or", ["And", ["LessEqual", 0, ["Real", "_x"]], ["Equal", ["Imaginary", "_x"], 0]], ["Less", ["Imaginary", "_x"], 0]], ["EllipticE", ["Add", "_c", 1]], "True", ["Add", ["EllipticE", ["Add", "_c", 1]], ["Multiply", 2, "ImaginaryUnit", ["Add", ["Negate", ["EllipticE", ["Negate", "_c"]]], ["EllipticK", ["Negate", "_c"]]]]]], ["Sqrt", "_x"]], replace: ["CarlsonRG", 0, "_x", ["Negate", ["Multiply", "_c", "_x"]]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG", "EllipticE", "EllipticK", "Imaginary", "Real"], topics: ["carlson_elliptic"] },
|
|
546
|
+
{ id: "fungrim:483e7e", match: ["JacobiTheta", 3, 0, ["Multiply", 5, "ImaginaryUnit"]], replace: ["Multiply", ["Divide", 1, ["Sqrt", ["Subtract", ["Multiply", 5, ["Sqrt", 5]], 10]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
547
|
+
{ id: "fungrim:48765b", match: ["ChebyshevU", 0, "_x"], replace: 1, guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
548
|
+
{ id: "fungrim:4877f2", match: ["ModularLambda", ["Divide", "ImaginaryUnit", 2]], replace: ["Subtract", ["Multiply", 12, ["Sqrt", 2]], 16], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularLambda"], topics: ["modular_lambda"] },
|
|
549
|
+
{ id: "fungrim:48ac55", match: ["Gamma", ["Rational", 3, 2]], replace: ["Divide", ["Sqrt", "Pi"], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma"], topics: ["gamma"] },
|
|
550
|
+
{ id: "fungrim:4948ea", match: ["Add", ["Power", ["Sin", "_z"], 2], ["Power", ["Cos", "_z"], 2]], replace: 1, guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
551
|
+
{ id: "fungrim:499cfc", match: ["GCD", ["Power", "_p", "_m"], ["Power", "_q", "_n"]], replace: 1, guards: [{ k: "type", wc: "_p", t: "integer" }, { k: "eval", pred: ["IsPrime", "_p"] }, { k: "type", wc: "_q", t: "integer" }, { k: "eval", pred: ["IsPrime", "_q"] }, { k: "ne", lhs: "_p", rhs: "_q" }, { k: "type", wc: "_m", t: "integer" }, { k: "cmp", wc: "_m", op: "ge", bound: 0 }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
552
|
+
{ id: "fungrim:49d754", match: ["Multiply", ["Divide", ["Multiply", ["Sqrt", 3], "Pi"], ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3]], ["AiryAi", ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]], replace: ["BesselK", ["Divide", 1, 3], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "BesselK"], topics: ["bessel"] },
|
|
553
|
+
{ id: "fungrim:4a2403", match: ["CarlsonRD", -1, -1, -1], replace: "ImaginaryUnit", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
554
|
+
{ id: "fungrim:4a4739", match: ["Multiply", ["Divide", ["Power", 2, "_ell"], ["Gamma", ["Add", ["Multiply", 2, "_ell"], 2]]], ["Power", "ExponentialE", ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["Multiply", "Pi", "_eta"]], ["GammaLn", ["Add", "_ell", ["Multiply", "ImaginaryUnit", "_eta"], 1]], ["GammaLn", ["Add", "_ell", ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]], 1]]]]]], replace: ["CoulombC", "_ell", "_eta"], guards: [{ k: "type", wc: "_ell", t: "complex" }, { k: "type", wc: "_eta", t: "complex" }, { k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CoulombC", "Exp", "Gamma", "GammaLn"], topics: ["coulomb_wave"] },
|
|
555
|
+
{ id: "fungrim:4b040d", match: ["EllipticK", ["Multiply", ["Rational", 1, 8], ["Add", 4, ["Multiply", -3, ["Sqrt", 2]]]]], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", ["Multiply", 4, ["Power", 2, ["Divide", 1, 4]]], ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "Gamma"], topics: ["legendre_elliptic"] },
|
|
556
|
+
{ id: "fungrim:4b6ccb", match: ["Apply", ["Derivative", ["Function", ["Block", ["GammaLn", "_z"]], "_z"], 1], "_z"], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Digamma", "GammaLn"], topics: ["digamma_function"] },
|
|
557
|
+
{ id: "fungrim:4b83c6", match: ["ChebyshevT", ["Multiply", 2, "_n"], "_x"], replace: ["Subtract", ["Multiply", 2, ["Power", ["ChebyshevT", "_n", "_x"], 2]], 1], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
558
|
+
{ id: "fungrim:4becdd", match: ["Conjugate", ["Multiply", "ImaginaryUnit", ["CarlsonRC", "_x", ["Negate", "_y"]]]], replace: ["CarlsonRC", ["Negate", "_x"], "_y"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "Conjugate"], topics: ["carlson_elliptic"] },
|
|
559
|
+
{ id: "fungrim:4c1988", match: ["CarlsonRF", 0, 2, 4], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 8, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
560
|
+
{ id: "fungrim:4c1db8", match: ["CarlsonRJ", 1, -1, -1, 1], replace: ["Subtract", ["Subtract", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Ln", ["Add", 1, ["Sqrt", 2]]]], 4], ["Divide", 3, 2]], ["Divide", ["Multiply", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], "Pi"], "ImaginaryUnit"], 8]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Ln"], topics: ["carlson_elliptic"] },
|
|
561
|
+
{ id: "fungrim:4c1e1e", match: ["Ln", ["Power", "ExponentialE", "_z"]], replace: "_z", guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "im", op: "gt", bound: ["Negate", "Pi"] }, { k: "part-cmp", wc: "_z", part: "im", op: "le", bound: "Pi" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Ln"], topics: ["log"] },
|
|
562
|
+
{ id: "fungrim:4c462b", match: ["Negate", ["Multiply", "ImaginaryUnit", ["JacobiTheta", 4, ["Add", ["Multiply", ["Rational", 1, 2], "_tau"], "_z"], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]]], replace: ["JacobiTheta", 1, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
563
|
+
{ id: "fungrim:4c7aeb", match: ["Multiply", ["Sin", "_x"], ["ChebyshevU", "_n", ["Cos", "_x"]]], replace: ["Sin", ["Multiply", "_n", "_x"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU", "Cos", "Sin"], topics: ["chebyshev"] },
|
|
564
|
+
{ id: "fungrim:4c882a", match: ["CarlsonRJ", "_x", "_x", "_x", "_x"], replace: ["Power", "_x", ["Negate", ["Divide", 3, 2]]], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
565
|
+
{ id: "fungrim:4c8873", match: ["JacobiTheta", 3, 0, ["Add", 1, "ImaginaryUnit"]], replace: ["Multiply", ["Power", 2, ["Negate", ["Divide", 1, 4]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
566
|
+
{ id: "fungrim:4cd504", match: ["CarlsonRF", 1, 1, 2], replace: ["Ln", ["Add", 1, ["Sqrt", 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Ln"], topics: ["carlson_elliptic"] },
|
|
567
|
+
{ id: "fungrim:4cf1e9", match: ["Hypergeometric2F0", "_a", ["Add", "_a", ["Negate", "_b"], 1], ["Negate", ["Divide", 1, "_z"]]], replace: ["HypergeometricUStar", "_a", "_b", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric2F0", "HypergeometricUStar"], topics: ["confluent_hypergeometric"] },
|
|
568
|
+
{ id: "fungrim:4cf228", match: ["JacobiTheta", 2, "_z", ["Add", ["Multiply", 4, "_n"], "_tau"]], replace: ["Multiply", ["Power", -1, "_n"], ["JacobiTheta", 2, "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
569
|
+
{ id: "fungrim:4cf4e4", match: ["Power", "ExponentialE", ["Divide", ["Multiply", 2, "ImaginaryUnit", "Pi", ["DiscreteLog", "_ell", ["ConreyGenerator", "_p"], ["Power", "_p", "_e_var"]], ["DiscreteLog", "_n", ["ConreyGenerator", "_p"], ["Power", "_p", "_e_var"]]], ["Totient", ["Power", "_p", "_e_var"]]]], replace: ["DirichletCharacter", ["Power", "_p", "_e_var"], "_ell", "_n"], guards: [{ k: "type", wc: "_p", t: "integer" }, { k: "eval", pred: ["IsPrime", "_p"] }, { k: "cmp", wc: "_p", op: "ge", bound: 3 }, { k: "type", wc: "_e_var", t: "integer" }, { k: "cmp", wc: "_e_var", op: "gt", bound: 0 }, { k: "type", wc: "_ell", t: "integer" }, { k: "cmp", wc: "_ell", op: "ge", bound: 1 }, { k: "cmp", wc: "_ell", op: "le", bound: ["Subtract", ["Power", "_p", "_e_var"], 1] }, { k: "type", wc: "_n", t: "integer" }, { k: "eval", pred: ["Equal", ["GCD", "_ell", ["Power", "_p", "_e_var"]], ["GCD", "_n", ["Power", "_p", "_e_var"]], 1] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ConreyGenerator", "DirichletCharacter", "DiscreteLog", "Exp", "Totient"], topics: ["dirichlet"] },
|
|
570
|
+
{ id: "fungrim:4cfeac", match: ["Multiply", ["Divide", 1, ["Multiply", ["Factorial", "_n"], ["Power", 2, "_n"]]], ["Apply", ["Derivative", ["Function", ["Block", ["Power", ["Add", ["Power", "t", 2], -1], "_n"]], "t"], "_n"], "_z"]], replace: ["LegendrePolynomial", "_n", "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Factorial", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
571
|
+
{ id: "fungrim:4d1f6b", match: ["Add", ["HurwitzZeta", "_s", ["Rational", 1, 6]], ["HurwitzZeta", "_s", ["Rational", 5, 6]]], replace: ["Multiply", ["Multiply", ["Subtract", ["Power", 2, "_s"], 1], ["Subtract", ["Power", 3, "_s"], 1]], ["Zeta", "_s"]], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "ne", lhs: "_s", rhs: 1 }], purpose: "expand", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
572
|
+
{ id: "fungrim:4d26ec", match: ["Add", ["Multiply", 16, ["Sum", ["Divide", ["Multiply", ["Power", "n", 3], ["Power", -1, "n"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", "n"]]], ["Add", ["Negate", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", "n"]]], 1]], ["Limits", "n", 1, "PositiveInfinity"]]], 1], replace: ["Power", ["JacobiTheta", 4, 0, "_tau"], 8], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta", "Sum"], topics: ["jacobi_theta"] },
|
|
573
|
+
{ id: "fungrim:4d2c10", match: ["CarlsonRD", 1, 2, 2], replace: ["Subtract", ["Divide", ["Multiply", 3, "Pi"], 8], ["Divide", 3, 4]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
574
|
+
{ id: "fungrim:4d3127", match: ["Multiply", ["LCM", "_a", "_b"], ["GCD", "_a", "_b"]], replace: ["Abs", ["Multiply", "_a", "_b"]], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "GCD", "LCM"], topics: ["gcd"] },
|
|
575
|
+
{ id: "fungrim:4d6416", match: ["Power", "ExponentialE", ["Multiply", "_b", ["Ln", "_a"]]], replace: ["Power", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "ne", lhs: "_a", rhs: 0 }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Ln"], topics: ["powers"] },
|
|
576
|
+
{ id: "fungrim:4d65e5", match: ["Add", ["Multiply", ["Rational", 1, 2], ["AiryBi", 0], ["Hypergeometric0F1", ["Rational", 5, 3], ["Multiply", ["Rational", 1, 9], ["Power", "_z", 3]]], ["Power", "_z", 2]], ["Multiply", ["Hypergeometric0F1", ["Rational", 1, 3], ["Multiply", ["Rational", 1, 9], ["Power", "_z", 3]]], ["Apply", ["Derivative", ["Function", ["Block", ["AiryBi", "_z"]], "_z"], 1], 0]]], replace: ["Apply", ["Derivative", ["Function", ["AiryBi", "_z"], "_z"], 1], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryBi", "Derivative", "Hypergeometric0F1"], topics: ["airy"] },
|
|
577
|
+
{ id: "fungrim:4d7098", match: ["CarlsonRG", 1, 1, 2], replace: ["Add", ["Divide", ["Sqrt", 2], 2], ["Divide", ["Ln", ["Add", 1, ["Sqrt", 2]]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRG", "Ln"], topics: ["carlson_elliptic"] },
|
|
578
|
+
{ id: "fungrim:4da2cd", match: ["Add", ["Multiply", 256, ["Divide", ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 16], ["Power", ["DedekindEta", "_tau"], 8]]], ["Divide", ["Power", ["DedekindEta", "_tau"], 16], ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 8]]], replace: ["EisensteinE", 4, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
579
|
+
{ id: "fungrim:4dabda", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 4], "Pi"], 2], replace: ["Divide", ["Multiply", ["Sqrt", 2], ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma", "IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
580
|
+
{ id: "fungrim:4dd87c", match: ["HurwitzZeta", 3, 2], replace: ["Subtract", ["Zeta", 3], 1], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
581
|
+
{ id: "fungrim:4dfd41", match: ["Negate", ["Multiply", ["Divide", ["Cos", "_z"], "_z"], ["Sqrt", ["Divide", ["Multiply", 2, "_z"], "Pi"]]]], replace: ["BesselY", ["Divide", 1, 2], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselY", "Cos"], topics: ["bessel"] },
|
|
582
|
+
{ id: "fungrim:4e21c7", match: ["CarlsonRJ", ["Multiply", "_lamda", "_x"], ["Multiply", "_lamda", "_y"], ["Multiply", "_lamda", "_z"], ["Multiply", "_lamda", "_w"]], replace: ["Multiply", ["Power", "_lamda", ["Negate", ["Divide", 3, 2]]], ["CarlsonRJ", "_x", "_y", "_z", "_w"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_w", t: "complex" }, { k: "type", wc: "_lamda", t: "real" }, { k: "cmp", wc: "_lamda", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
583
|
+
{ id: "fungrim:4e4380", match: ["Multiply", ["Which", ["And", ["NotEqual", "_z", 0], ["NotEqual", "_z", "_y"]], ["Divide", ["Multiply", 3, ["Add", ["Negate", ["Multiply", ["Divide", "_z", "_y"], ["EllipticK", ["Add", ["Divide", ["Negate", "_z"], "_y"], 1]]]], ["EllipticE", ["Add", ["Divide", ["Negate", "_z"], "_y"], 1]]]], ["Multiply", ["Divide", "_z", "_y"], ["Add", ["Divide", ["Negate", "_z"], "_y"], 1]]], ["Equal", "_z", "_y"], ["Multiply", ["Rational", 3, 4], "Pi"], ["Equal", "_z", 0], "ComplexInfinity"], ["Power", "_y", ["Rational", -3, 2]]], replace: ["CarlsonRD", 0, "_y", "_z"], guards: [{ k: "type", wc: "_y", t: "complex" }, { k: "ne", lhs: "_y", rhs: 0 }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["Less", ["Abs", ["Subtract", ["Argument", "_y"], ["Argument", "_z"]]], "Pi"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "EllipticE", "EllipticK"], topics: ["carlson_elliptic"] },
|
|
584
|
+
{ id: "fungrim:4eac3f", match: ["Add", ["CarlsonRJ", ["Add", "_lamda", "_x"], ["Add", "_lamda", "_y"], "_lamda", ["Add", "_lamda", "_w"]], ["CarlsonRJ", ["Add", ["Divide", ["Multiply", "_x", "_y"], "_lamda"], "_x"], ["Add", ["Divide", ["Multiply", "_x", "_y"], "_lamda"], "_y"], ["Divide", ["Multiply", "_x", "_y"], "_lamda"], ["Add", ["Divide", ["Multiply", "_x", "_y"], "_lamda"], "_w"]]], replace: ["Subtract", ["CarlsonRJ", "_x", "_y", 0, "_w"], ["Multiply", 3, ["CarlsonRC", ["Multiply", ["Power", "_w", 2], ["Add", ["Add", ["Add", "_lamda", ["Divide", ["Multiply", "_x", "_y"], "_lamda"]], "_x"], "_y"]], ["Multiply", ["Multiply", "_w", ["Add", "_w", "_lamda"]], ["Add", "_w", ["Divide", ["Multiply", "_x", "_y"], "_lamda"]]]]]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_w", t: "real" }, { k: "cmp", wc: "_w", op: "gt", bound: 0 }, { k: "type", wc: "_lamda", t: "complex" }, { k: "eval", pred: ["NotElement", "_lamda", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
585
|
+
{ id: "fungrim:4ec333", match: ["Count", ["Set", "k", ["Element", "k", "Integers", ["Divides", "_n", ["Fibonacci", "k"]]]]], replace: ["Count", "Integers"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "ne", lhs: "_n", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Divides", "Fibonacci"], topics: ["fibonacci"] },
|
|
586
|
+
{ id: "fungrim:4ed6a8", match: ["Sqrt", ["Multiply", ["Rational", 1, 2], ["Add", ["Real", "_z"], ["Abs", "_z"]]]], replace: ["Real", ["Sqrt", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Real"], topics: ["sqrt"] },
|
|
587
|
+
{ id: "fungrim:4f0049", match: ["Abs", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]], replace: ["Sqrt", ["Add", ["Power", "_x", 2], ["Power", "_y", 2]]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs"], topics: ["complex_parts"] },
|
|
588
|
+
{ id: "fungrim:4f20ff", match: ["Multiply", "_n", ["Factorial", ["Add", "_n", -1]]], replace: ["Factorial", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Factorial"], topics: ["factorials"] },
|
|
589
|
+
{ id: "fungrim:4f5575", match: ["Add", ["Divide", -1, ["Multiply", 2, "_z"]], ["Ln", "_z"], ["Negate", ["Integrate", ["Function", ["Block", ["Multiply", ["Add", ["Divide", -1, "t"], ["Divide", 1, ["Add", ["Power", "ExponentialE", "t"], -1]], ["Rational", 1, 2]], ["Power", "ExponentialE", ["Negate", ["Multiply", "_z", "t"]]]]], "_z", "t"], ["Limits", "t", 0, "PositiveInfinity"]]]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Exp", "Integrate", "Ln"], topics: ["digamma_function"] },
|
|
590
|
+
{ id: "fungrim:4f939e", match: ["JacobiTheta", 4, ["Negate", "_z"], "_tau"], replace: ["JacobiTheta", 4, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
591
|
+
{ id: "fungrim:4fa169", match: ["SloaneA", "'A000720'", "_n"], replace: ["PrimePi", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["PrimePi", "SloaneA"], topics: ["integer_sequences", "prime_numbers"] },
|
|
592
|
+
{ id: "fungrim:4fb391", match: ["Multiply", ["Divide", "_z", ["Multiply", 2, "_nu"]], ["Add", ["Negate", ["BesselI", ["Add", "_nu", 1], "_z"]], ["BesselI", ["Add", "_nu", -1], "_z"]]], replace: ["BesselI", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "ne", lhs: "_nu", rhs: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI"], topics: ["bessel"] },
|
|
593
|
+
{ id: "fungrim:500c0a", match: ["Multiply", ["Divide", "ImaginaryUnit", 2], ["Ln", ["Divide", ["Add", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]], 1], ["Add", ["Multiply", "ImaginaryUnit", "_z"], 1]]]], replace: ["Arctan", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", ["Negate", "_z"], "ImaginaryUnit"], ["Interval", 1, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Ln"], topics: ["atan"] },
|
|
594
|
+
{ id: "fungrim:503d4d", match: ["Arctan", ["Divide", ["Add", "_x", ["Negate", "_y"]], ["Add", ["Multiply", "_x", "_y"], 1]]], replace: ["Subtract", ["Arctan", "_x"], ["Arctan", "_y"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "part-cmp", wc: "_x", part: "abs", op: "lt", bound: 1 }, { k: "part-cmp", wc: "_y", part: "abs", op: "lt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan"], topics: ["atan"] },
|
|
595
|
+
{ id: "fungrim:504717", match: ["Multiply", ["Hypergeometric2F1Regularized", ["Add", ["Negate", "_a"], "_c"], "_b", "_c", ["Divide", "_z", ["Add", "_z", -1]]], ["Power", ["Add", ["Negate", "_z"], 1], ["Negate", "_b"]]], replace: ["Hypergeometric2F1Regularized", "_a", "_b", "_c", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", 1, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric2F1Regularized"], topics: ["gauss_hypergeometric"] },
|
|
596
|
+
{ id: "fungrim:506d0c", match: ["Sin", ["Add", ["Multiply", "Pi", "_k"], ["Multiply", ["Rational", 1, 2], "Pi"]]], replace: ["Power", -1, "_k"], guards: [{ k: "type", wc: "_k", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
597
|
+
{ id: "fungrim:508e2c", match: ["Add", ["Negate", ["Multiply", ["Sin", "_b"], ["Cos", "_a"]]], ["Multiply", ["Sin", "_a"], ["Cos", "_b"]]], replace: ["Sin", ["Subtract", "_a", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
598
|
+
{ id: "fungrim:50f72f", match: ["Apply", ["Derivative", ["Function", ["Block", ["Sinc", "_z"]], "_z"], 1], "_z"], replace: ["Negate", ["Multiply", ["Divide", "_z", 3], ["Hypergeometric0F1", ["Divide", 5, 2], ["Negate", ["Divide", ["Power", "_z", 2], 4]]]]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Hypergeometric0F1", "Sinc"], topics: ["sinc"] },
|
|
599
|
+
{ id: "fungrim:51206a", match: ["StieltjesGamma", "_n", 1], replace: ["StieltjesGamma", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["StieltjesGamma"], topics: ["riemann_zeta"] },
|
|
600
|
+
{ id: "fungrim:5174ea", match: ["AGM", 1, ["Negate", "ImaginaryUnit"]], replace: ["Divide", ["Multiply", ["Multiply", ["Sqrt", 2], ["Subtract", 1, "ImaginaryUnit"]], ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["AGM", "Gamma"], topics: ["agm"] },
|
|
601
|
+
{ id: "fungrim:51a946", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 2], "Pi"], 0], replace: ["Divide", "Pi", 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
602
|
+
{ id: "fungrim:51b241", match: ["Add", ["Negate", ["Multiply", "_z", ["Add", ["Multiply", "_C", ["AiryAi", "_z"]], ["Multiply", "_D_var", ["AiryBi", "_z"]]]]], ["Apply", ["Derivative", ["Function", ["Block", ["Add", ["Multiply", "_C", ["AiryAi", "_z"]], ["Multiply", "_D_var", ["AiryBi", "_z"]]]], "_z"], 2], "_z"]], replace: 0, guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_C", t: "complex" }, { k: "type", wc: "_D_var", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "AiryBi", "Derivative"], topics: ["airy"] },
|
|
603
|
+
{ id: "fungrim:51fd98", match: ["Divide", ["Multiply", ["BernoulliB", ["Add", "_n", 1]], ["Power", -1, "_n"]], ["Add", "_n", 1]], replace: ["Zeta", ["Negate", "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "Zeta"], topics: ["riemann_zeta"] },
|
|
604
|
+
{ id: "fungrim:522f54", match: ["CarlsonRJ", 0, 1, 1, 2], replace: ["Divide", ["Multiply", 3, "Pi"], ["Add", 4, ["Multiply", 2, ["Sqrt", 2]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
605
|
+
{ id: "fungrim:52302f", match: ["JacobiTheta", 3, 0, ["Divide", "ImaginaryUnit", 3]], replace: ["Multiply", ["Power", ["Add", ["Multiply", 2, ["Sqrt", 3]], 3], ["Divide", 1, 4]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
606
|
+
{ id: "fungrim:5261e3", match: ["Add", ["GammaLn", "_z"], ["LogBarnesG", "_z"]], replace: ["LogBarnesG", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GammaLn", "LogBarnesG"], topics: ["barnes_g"] },
|
|
607
|
+
{ id: "fungrim:52d827", match: ["Power", "ExponentialE", ["Conjugate", "_z"]], replace: ["Conjugate", ["Exp", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "Exp"], topics: ["exp"] },
|
|
608
|
+
{ id: "fungrim:52ea5f", match: ["Multiply", ["Divide", ["Gamma", ["Add", ["Negate", "_s"], 1]], ["Power", ["Multiply", 2, "Pi"], ["Add", ["Negate", "_s"], 1]]], ["Add", ["Multiply", ["HurwitzZeta", ["Add", ["Negate", "_s"], 1], ["Add", ["Divide", ["Ln", ["Negate", "_z"]], ["Multiply", 2, "ImaginaryUnit", "Pi"]], ["Rational", 1, 2]]], ["Power", "ImaginaryUnit", ["Add", ["Negate", "_s"], 1]]], ["Multiply", ["HurwitzZeta", ["Add", ["Negate", "_s"], 1], ["Add", ["Divide", ["Multiply", -1, ["Ln", ["Negate", "_z"]]], ["Multiply", 2, "ImaginaryUnit", "Pi"]], ["Rational", 1, 2]]], ["Power", "ImaginaryUnit", ["Add", "_s", -1]]]]], replace: ["PolyLog", "_s", "_z"], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Set", 0, 1]] }, { k: "eval", pred: ["NotElement", "_s", "NonNegativeIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "HurwitzZeta", "Ln", "PolyLog"], topics: ["hurwitz_zeta"] },
|
|
609
|
+
{ id: "fungrim:53026a", match: ["Multiply", ["Power", "ExponentialE", ["HurwitzZeta", 0, "_z", 1]], ["Sqrt", ["Multiply", 2, "Pi"]]], replace: ["Gamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Gamma", "HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
610
|
+
{ id: "fungrim:532f31", match: ["HurwitzZeta", 1, "_a"], replace: "ComplexInfinity", guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
611
|
+
{ id: "fungrim:534335", match: ["CarlsonRJ", 1, 1, -1, -1], replace: ["Add", ["Negate", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], "Pi"], 8]], ["Multiply", ["Subtract", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Ln", ["Add", 1, ["Sqrt", 2]]]], 4], ["Divide", 3, 2]], "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Ln"], topics: ["carlson_elliptic"] },
|
|
612
|
+
{ id: "fungrim:5384f3", match: ["JacobiTheta", 3, 0, ["Add", 1, ["Multiply", 6, "ImaginaryUnit"]]], replace: ["Multiply", ["Divide", ["Power", ["Add", ["Add", 1, ["Sqrt", 3]], ["Multiply", ["Sqrt", 2], ["Power", 27, ["Divide", 1, 4]]]], ["Divide", 1, 3]], ["Multiply", ["Multiply", ["Power", 2, ["Divide", 11, 24]], ["Power", 3, ["Divide", 3, 8]]], ["Power", ["Subtract", ["Sqrt", 3], 1], ["Divide", 1, 6]]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
613
|
+
{ id: "fungrim:538c8c", match: ["Divide", ["EllipticK", ["Add", ["Negate", "_c"], 1]], ["Sqrt", "_x"]], replace: ["CarlsonRF", 0, "_x", ["Multiply", "_c", "_x"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "EllipticK"], topics: ["carlson_elliptic"] },
|
|
614
|
+
{ id: "fungrim:53d869", match: ["EllipticK", ["Add", ["Negate", "_x"], 1]], replace: ["CarlsonRF", 0, 1, "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "EllipticK"], topics: ["carlson_elliptic"] },
|
|
615
|
+
{ id: "fungrim:53fcdd", match: ["EisensteinE", 4, "ImaginaryUnit"], replace: ["Divide", ["Multiply", 3, ["Power", ["Gamma", ["Divide", 1, 4]], 8]], ["Multiply", 64, ["Power", "Pi", 6]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinE", "Gamma"], topics: ["eisenstein"] },
|
|
616
|
+
{ id: "fungrim:53fef4", match: ["Multiply", ["Rational", 1, 2], ["Add", ["JacobiTheta", 3, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]]], replace: ["JacobiTheta", 3, ["Multiply", 2, "_z"], ["Multiply", 4, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
617
|
+
{ id: "fungrim:540931", match: ["Which", ["Equal", "_p", 40487], 10, ["Equal", "_p", 6692367337], 7, "True", ["Min", ["Set", "a", ["Element", "a", "PositiveIntegers", ["Equal", ["Count", ["Set", ["Mod", ["Power", "a", "k"], "_p"], ["Element", "k", "NonNegativeIntegers"]]], ["Add", "_p", -1]]]]]], replace: ["ConreyGenerator", "_p"], guards: [{ k: "type", wc: "_p", t: "integer" }, { k: "eval", pred: ["IsPrime", "_p"] }, { k: "cmp", wc: "_p", op: "ge", bound: 3 }, { k: "cmp", wc: "_p", op: "lt", bound: ["Power", 10, 12] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ConreyGenerator", "Min", "Mod"], topics: ["dirichlet"] },
|
|
618
|
+
{ id: "fungrim:541e2e", match: ["Multiply", ["BarnesG", ["Add", "_x", 1]], ["Power", -1, ["Add", ["Floor", ["Multiply", ["Rational", 1, 2], ["Add", "_x", -1]]], 1]], ["Power", "ExponentialE", ["Multiply", ["Divide", 1, ["Multiply", 2, "Pi"]], ["Imaginary", ["PolyLog", 2, ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_x"]]]]]], ["Power", ["Divide", ["Abs", ["Sin", ["Multiply", "Pi", "_x"]]], "Pi"], "_x"]], replace: ["BarnesG", ["Subtract", 1, "_x"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "eval", pred: ["NotElement", "_x", ["Range", "NegativeInfinity", -1]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "BarnesG", "Exp", "Floor", "Imaginary", "PolyLog", "Sin"], topics: ["barnes_g"] },
|
|
619
|
+
{ id: "fungrim:54340e", match: ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", ["Argument", "_z"]]], replace: ["Sign", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Argument", "Exp", "Sign"], topics: ["complex_parts"] },
|
|
620
|
+
{ id: "fungrim:545e8b", match: ["CarlsonRD", 1, 1, -1], replace: ["Add", ["Negate", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], "Pi"], 8]], ["Multiply", ["Subtract", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Ln", ["Add", 1, ["Sqrt", 2]]]], 4], ["Divide", 3, 2]], "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD", "Ln"], topics: ["carlson_elliptic"] },
|
|
621
|
+
{ id: "fungrim:54aaf1", match: ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi"]], replace: -1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Exp"], topics: ["exp"] },
|
|
622
|
+
{ id: "fungrim:54bce2", match: ["Multiply", ["BesselJ", "_n", "_z"], ["Power", -1, "_n"]], replace: ["BesselJ", ["Negate", "_n"], "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ"], topics: ["bessel"] },
|
|
623
|
+
{ id: "fungrim:54daa9", match: ["Multiply", "_z", ["Hypergeometric0F1", ["Rational", 3, 2], ["Multiply", ["Rational", -1, 4], ["Power", "_z", 2]]]], replace: ["Sin", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric0F1", "Sin"], topics: ["sine"] },
|
|
624
|
+
{ id: "fungrim:54f420", match: ["Add", ["Multiply", ["Divide", 2, ["Power", 4, "_n"]], ["Sum", ["Multiply", ["Cos", ["Multiply", 2, "_z", ["Add", "_n", ["Negate", "k"]]]], ["Binomial", ["Multiply", 2, "_n"], "k"], ["Power", -1, ["Add", "_n", "k"]]], ["Limits", "k", 0, ["Add", "_n", -1]]]], ["Multiply", ["Binomial", ["Multiply", 2, "_n"], "_n"], ["Power", 4, ["Negate", "_n"]]]], replace: ["Power", ["Sin", "_z"], ["Multiply", 2, "_n"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial", "Cos", "Sin", "Sum"], topics: ["sine"] },
|
|
625
|
+
{ id: "fungrim:554ac2", match: ["Add", ["Negate", ["Sum", ["Divide", 1, ["Add", "_z", ["Negate", "k"]]], ["Limits", "k", 1, "_n"]]], ["Digamma", "_z"]], replace: ["Digamma", ["Subtract", "_z", "_n"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "eval", pred: ["NotElement", ["Subtract", "_z", "_n"], "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Sum"], topics: ["digamma_function"] },
|
|
626
|
+
{ id: "fungrim:554b2e", match: ["GCD", 1, 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["GCD"], topics: ["gcd"] },
|
|
627
|
+
{ id: "fungrim:557b19", match: ["Multiply", ["JacobiTheta", 2, 0, "_tau"], ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"]], replace: ["Multiply", 2, ["Power", ["DedekindEta", "_tau"], 3]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
628
|
+
{ id: "fungrim:55cd70", match: ["CarlsonRJ", 0, 0, 0, 0], replace: "ComplexInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
629
|
+
{ id: "fungrim:55d23d", match: ["Add", ["Negate", ["Multiply", ["Add", ["Negate", "_m"], 1], ["EllipticK", "_m"]]], ["EllipticE", "_m"]], replace: ["Multiply", ["Divide", ["Multiply", "_m", ["Subtract", 1, "_m"]], 3], ["CarlsonRD", 0, 1, ["Subtract", 1, "_m"]]], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "EllipticE", "EllipticK"], topics: ["carlson_elliptic", "legendre_elliptic"] },
|
|
630
|
+
{ id: "fungrim:563d18", match: ["JacobiTheta", 1, ["Add", "_z", ["Rational", 1, 2]], "_tau"], replace: ["JacobiTheta", 2, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
631
|
+
{ id: "fungrim:56667c", match: ["Sin", ["Multiply", ["Rational", 3, 2], "Pi"]], replace: -1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sin"], topics: ["sine"] },
|
|
632
|
+
{ id: "fungrim:5679f2", match: ["Multiply", ["Divide", ["Sin", "_z"], "_z"], ["Sqrt", ["Divide", ["Multiply", 2, "_z"], "Pi"]]], replace: ["BesselY", ["Negate", ["Divide", 1, 2]], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselY", "Sin"], topics: ["bessel"] },
|
|
633
|
+
{ id: "fungrim:56d1bc", match: ["CarlsonRC", -1, 0], replace: ["Negate", ["Multiply", "ImaginaryUnit", "PositiveInfinity"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
634
|
+
{ id: "fungrim:56d710", match: ["Multiply", ["Gamma", "_z"], ["RisingFactorial", "_z", "_n"]], replace: ["Gamma", ["Add", "_z", "_n"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "RisingFactorial"], topics: ["gamma"] },
|
|
635
|
+
{ id: "fungrim:56d7fe", match: ["Divide", ["Multiply", ["GCD", "_m", "_n"], ["Totient", "_m"], ["Totient", "_n"]], ["Totient", ["GCD", "_m", "_n"]]], replace: ["Totient", ["Multiply", "_m", "_n"]], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "cmp", wc: "_m", op: "gt", bound: 0 }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD", "Totient"], topics: ["totient"] },
|
|
636
|
+
{ id: "fungrim:570399", match: ["EisensteinG", 2, "ImaginaryUnit"], replace: "Pi", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinG"], topics: ["eisenstein"] },
|
|
637
|
+
{ id: "fungrim:5745bd", match: ["Fibonacci", ["Multiply", 2, "_n"]], replace: ["Subtract", ["Subtract", ["Power", ["Fibonacci", ["Add", "_n", 2]], 2], ["Power", ["Fibonacci", ["Add", "_n", 1]], 2]], ["Multiply", 2, ["Power", ["Fibonacci", "_n"], 2]]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
638
|
+
{ id: "fungrim:575b8f", match: ["HurwitzZeta", 2, 1], replace: ["Divide", ["Power", "Pi", 2], 6], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
639
|
+
{ id: "fungrim:5781de", match: ["Divide", ["Multiply", ["LCM", "_a", "_b"], ["Abs", ["Add", "_a", "_b"]]], ["Abs", "_a"]], replace: ["LCM", ["Add", "_a", "_b"], "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "ne", lhs: "_a", rhs: 0 }, { k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
640
|
+
{ id: "fungrim:584a61", match: ["Multiply", "_x", ["CarlsonRC", ["Add", ["Negate", ["Power", "_x", 2]], ["Power", "_y", 2]], ["Power", "_y", 2]]], replace: ["Arcsin", ["Divide", "_x", "_y"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "ge", bound: ["Negate", "_y"] }, { k: "cmp", wc: "_x", op: "le", bound: "_y" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arcsin", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
641
|
+
{ id: "fungrim:58d91f", match: ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_nu", "_z"]], "_z"], 1], "_z"], replace: ["Divide", ["Add", ["BesselI", ["Subtract", "_nu", 1], "_z"], ["BesselI", ["Add", "_nu", 1], "_z"]], 2], guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Derivative"], topics: ["bessel"] },
|
|
642
|
+
{ id: "fungrim:59184e", match: ["Multiply", ["JacobiTheta", 2, 0, ["Multiply", ["Rational", 1, 2], "_tau"]], ["JacobiTheta", 1, 0, ["Multiply", ["Rational", 1, 2], "_tau"], 1]], replace: ["Multiply", ["Multiply", 2, ["JacobiTheta", 1, 0, "_tau", 1]], ["JacobiTheta", 4, 0, "_tau"]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
643
|
+
{ id: "fungrim:593e63", match: ["Which", ["Equal", "_n", 0], 1, ["NotEqual", "_n", 0], 0], replace: ["Sinc", ["Multiply", "Pi", "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sinc"], topics: ["sinc"] },
|
|
644
|
+
{ id: "fungrim:59a5d6", match: ["Which", ["Equal", ["Real", "_z"], 0], ["Sign", ["Imaginary", "_z"]], "True", ["Sign", ["Real", "_z"]]], replace: ["Csgn", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Csgn", "Imaginary", "Real", "Sign"], topics: ["complex_parts"] },
|
|
645
|
+
{ id: "fungrim:59f8e1", match: ["JacobiTheta", 1, ["Negate", "_z"], "_tau"], replace: ["Negate", ["JacobiTheta", 1, "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
646
|
+
{ id: "fungrim:59fab1", match: ["AGM", "_a", "_b"], replace: ["AGM", "_b", "_a"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
647
|
+
{ id: "fungrim:59fd23", match: ["Multiply", 2, ["JacobiTheta", 2, 0, "_tau"], ["JacobiTheta", 3, 0, "_tau"]], replace: ["Power", ["JacobiTheta", 2, 0, ["Divide", "_tau", 2]], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
648
|
+
{ id: "fungrim:5a11eb", match: ["Which", ["Less", 0, "_x"], ["Ln", ["BarnesG", "_x"]], "True", ["Add", ["Ln", ["Abs", ["BarnesG", "_x"]]], ["Multiply", ["Rational", 1, 2], "ImaginaryUnit", "Pi", ["Add", ["Floor", "_x"], -1], ["Floor", "_x"]]]], replace: ["LogBarnesG", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "eval", pred: ["NotElement", "_x", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "BarnesG", "Floor", "Ln", "LogBarnesG"], topics: ["barnes_g"] },
|
|
649
|
+
{ id: "fungrim:5a3ebf", match: ["Add", ["Negate", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 4]], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 4]], replace: ["Subtract", ["Power", ["JacobiTheta", 4, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 4]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
650
|
+
{ id: "fungrim:5a8f57", match: ["Multiply", ["Rational", 3, 4], "Pi", ["CarlsonHypergeometricR", ["Rational", -3, 2], ["List", ["Rational", 1, 2], ["Rational", 1, 2], 1], ["List", "_y", "_z", "_w"]]], replace: ["CarlsonRJ", 0, "_y", "_z", "_w"], guards: [{ k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["NotElement", "_y", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_w", t: "complex" }, { k: "eval", pred: ["NotElement", "_w", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonHypergeometricR", "CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
651
|
+
{ id: "fungrim:5ab6bf", match: ["CarlsonRF", ["Negate", "_x"], ["Negate", "_y"], ["Negate", "_z"]], replace: ["Negate", ["Multiply", "ImaginaryUnit", ["CarlsonRF", "_x", "_y", "_z"]]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "ge", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "real" }, { k: "cmp", wc: "_z", op: "ge", bound: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
652
|
+
{ id: "fungrim:5aceb9", match: ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_nu", "_z"]], "_z"], 1], "_z"], replace: ["Divide", ["Subtract", ["BesselJ", ["Subtract", "_nu", 1], "_z"], ["BesselJ", ["Add", "_nu", 1], "_z"]], 2], guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Derivative"], topics: ["bessel"] },
|
|
653
|
+
{ id: "fungrim:5ada5f", match: ["Which", ["Less", "_x", "_y"], ["Divide", ["Arctan", ["Sqrt", ["Add", ["Divide", "_y", "_x"], -1]]], ["Sqrt", ["Add", ["Negate", "_x"], "_y"]]], ["Equal", "_x", "_y"], ["Sqrt", ["Divide", 1, "_x"]], ["Less", "_y", "_x"], ["Divide", ["Artanh", ["Sqrt", ["Add", ["Divide", ["Negate", "_y"], "_x"], 1]]], ["Sqrt", ["Add", "_x", ["Negate", "_y"]]]]], replace: ["CarlsonRC", "_x", "_y"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Artanh", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
654
|
+
{ id: "fungrim:5b108e", match: ["ModularJ", ["Multiply", ["Rational", 1, 2], ["Add", 1, ["Multiply", ["Sqrt", 43], "ImaginaryUnit"]]]], replace: ["Negate", ["Power", 960, 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
655
|
+
{ id: "fungrim:5b414d", match: ["FallingFactorial", "_z", 0], replace: 1, guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["FallingFactorial"], topics: ["factorials"] },
|
|
656
|
+
{ id: "fungrim:5b9c02", match: ["ModularLambda", "_tau"], replace: ["Divide", ["Power", ["JacobiTheta", 2, 0, "_tau"], 4], ["Power", ["JacobiTheta", 3, 0, "_tau"], 4]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta", "ModularLambda"], topics: ["jacobi_theta", "modular_lambda"] },
|
|
657
|
+
{ id: "fungrim:5babc2", match: ["Multiply", ["Add", ["Negate", "_z"], ["Multiply", ["Add", "_z", -1], ["Digamma", "_z"]], ["Multiply", ["Rational", 1, 2], ["Add", 1, ["Ln", ["Multiply", 2, "Pi"]]]]], ["BarnesG", "_z"]], replace: ["Apply", ["Derivative", ["Function", ["BarnesG", "_z"], "_z"], 1], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BarnesG", "Derivative", "Digamma", "Ln"], topics: ["barnes_g"] },
|
|
658
|
+
{ id: "fungrim:5bd0ec", match: ["ChebyshevT", "_n", ["Multiply", ["Rational", 1, 2], ["Add", "_x", ["Divide", 1, "_x"]]]], replace: ["Divide", ["Add", ["Power", "_x", "_n"], ["Power", "_x", ["Negate", "_n"]]], 2], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }, { k: "ne", lhs: "_x", rhs: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
659
|
+
{ id: "fungrim:5bdba2", match: ["Negate", ["Divide", ["BernoulliPolynomial", ["Add", "_n", 1], "_a"], ["Add", "_n", 1]]], replace: ["HurwitzZeta", ["Negate", "_n"], "_a"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_a", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliPolynomial", "HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
660
|
+
{ id: "fungrim:5c178f", match: ["CarlsonRF", 0, -1, -2], replace: ["Negate", ["Multiply", ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", ["Multiply", 2, "Pi"]]]], "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
661
|
+
{ id: "fungrim:5c2b08", match: ["CarlsonRC", 0, 0], replace: "ComplexInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
662
|
+
{ id: "fungrim:5c6f10", match: ["CarlsonRJ", "_x", "_x", "_x", "_w"], replace: ["CarlsonRD", "_w", "_w", "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_w", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRD", "CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
663
|
+
{ id: "fungrim:5cb57e", match: ["Add", ["Multiply", ["Fibonacci", "_m"], ["Fibonacci", ["Add", ["Negate", "_m"], "_n", -1]]], ["Multiply", ["Fibonacci", ["Add", "_m", 1]], ["Fibonacci", ["Add", ["Negate", "_m"], "_n"]]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
664
|
+
{ id: "fungrim:5cdae6", match: ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["Power", -1, "_n"]], replace: ["JacobiTheta", 1, ["Add", "_z", "_n"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
665
|
+
{ id: "fungrim:5d0c95", match: ["Multiply", ["Rational", 1, 2], ["Which", ["NotEqual", "_y", 0], ["Add", ["Multiply", "_y", ["CarlsonRC", "_x", "_y"]], ["Sqrt", "_x"]], ["Equal", "_y", 0], ["Sqrt", "_x"]]], replace: ["CarlsonRG", "_x", "_y", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
666
|
+
{ id: "fungrim:5d2c01", match: ["EllipticE", 2], replace: ["Multiply", ["Divide", ["Multiply", ["Sqrt", 2], ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Add", 1, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticE", "Gamma"], topics: ["legendre_elliptic"] },
|
|
667
|
+
{ id: "fungrim:5d41b1", match: ["JacobiTheta", 3, ["Add", "_z", ["Rational", 1, 2]], "_tau"], replace: ["JacobiTheta", 4, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
668
|
+
{ id: "fungrim:5d8804", match: ["Divide", "Pi", ["Multiply", 2, ["Sqrt", ["Add", ["Negate", "_n"], 1]]]], replace: ["EllipticPi", "_n", 0], guards: [{ k: "type", wc: "_n", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticPi"], topics: ["legendre_elliptic"] },
|
|
669
|
+
{ id: "fungrim:5d9c43", match: ["Multiply", ["Divide", ["Cosh", "_z"], "_z"], ["Sqrt", ["Divide", ["Multiply", 2, "_z"], "Pi"]]], replace: ["BesselI", ["Negate", ["Divide", 1, 2]], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Cosh"], topics: ["bessel"] },
|
|
670
|
+
{ id: "fungrim:5dd24a", match: ["Multiply", 16, ["Divide", ["Multiply", ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 16], ["Power", ["DedekindEta", ["Multiply", ["Rational", 1, 2], "_tau"]], 8]], ["Power", ["DedekindEta", "_tau"], 24]]], replace: ["ModularLambda", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
671
|
+
{ id: "fungrim:5f09f4", match: ["Add", ["ChebyshevU", ["Add", "_n", -1], ["Add", ["Multiply", 2, ["Power", "_x", 2]], -1]], ["ChebyshevT", "_n", ["Add", ["Multiply", 2, ["Power", "_x", 2]], -1]]], replace: ["ChebyshevU", ["Multiply", 2, "_n"], "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU"], topics: ["chebyshev"] },
|
|
672
|
+
{ id: "fungrim:5f84d9", match: ["Add", ["Multiply", 2, "_k", ["EllipticPi", "_n", "_m"]], ["IncompleteEllipticPi", "_n", "_phi", "_m"]], replace: ["IncompleteEllipticPi", "_n", ["Add", "_phi", ["Multiply", "_k", "Pi"]], "_m"], guards: [{ k: "type", wc: "_n", t: "complex" }, { k: "type", wc: "_phi", t: "complex" }, { k: "type", wc: "_m", t: "complex" }, { k: "type", wc: "_k", t: "integer" }, { k: "ne", lhs: "_n", rhs: 1 }, { k: "ne", lhs: "_m", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticPi", "IncompleteEllipticPi"], topics: ["legendre_elliptic"] },
|
|
673
|
+
{ id: "fungrim:5fb5e2", match: ["GCD", "_a", 2], replace: ["Add", 1, ["Divide", ["Add", 1, ["Power", -1, "_a"]], 2]], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
674
|
+
{ id: "fungrim:5fc688", match: ["Sin", ["Multiply", ["Rational", 1, 4], "Pi"]], replace: ["Divide", ["Sqrt", 2], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sin"], topics: ["sine"] },
|
|
675
|
+
{ id: "fungrim:5fe58d", match: ["Divide", ["Multiply", 2, ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]], ["Multiply", ["JacobiTheta", 2, 0, "_tau"], ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"]]], replace: ["JacobiTheta", 1, ["Multiply", 2, "_z"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
676
|
+
{ id: "fungrim:6018a4", match: ["NPartition", 4], replace: 5, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["NPartition"], topics: ["partitions"] },
|
|
677
|
+
{ id: "fungrim:603a49", match: ["Erfi", ["Negate", "_z"]], replace: ["Negate", ["Erfi", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Erfi"], topics: ["error_functions"] },
|
|
678
|
+
{ id: "fungrim:60772e", match: ["Negate", ["Multiply", "ImaginaryUnit", ["Ln", ["Sign", "_z"]]]], replace: ["Argument", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Argument", "Ln", "Sign"], topics: ["complex_parts"] },
|
|
679
|
+
{ id: "fungrim:60c2ec", match: ["Conjugate", ["RiemannZetaZero", "_n"]], replace: ["RiemannZetaZero", ["Negate", "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "ne", lhs: "_n", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Conjugate", "RiemannZetaZero"], topics: ["riemann_zeta"] },
|
|
680
|
+
{ id: "fungrim:60c6da", match: ["Add", ["Divide", 1, ["Add", "_s", -1]], ["Sum", ["Multiply", ["Divide", ["Power", -1, "n"], ["Factorial", "n"]], ["StieltjesGamma", "n", "_a"], ["Power", ["Add", "_s", -1], "n"]], ["Limits", "n", 0, "PositiveInfinity"]]], replace: ["HurwitzZeta", "_s", "_a"], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Factorial", "HurwitzZeta", "StieltjesGamma", "Sum"], topics: ["hurwitz_zeta", "riemann_zeta"] },
|
|
681
|
+
{ id: "fungrim:60dc3e", match: ["SloaneA", "'A000110'", "_n"], replace: ["BellNumber", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BellNumber", "SloaneA"], topics: ["bell_numbers", "integer_sequences"] },
|
|
682
|
+
{ id: "fungrim:612b21", match: ["Apply", ["Derivative", ["Function", ["Block", ["Sin", "_z"]], "_z"], "_r"], "_z"], replace: ["Sin", ["Add", "_z", ["Divide", ["Multiply", "Pi", "_r"], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Sin"], topics: ["sine"] },
|
|
683
|
+
{ id: "fungrim:61375f", match: ["Multiply", ["ChebyshevU", ["Add", "_n", -1], "_x"], ["Sqrt", ["Add", ["Power", "_x", 2], -1]]], replace: ["Multiply", ["Divide", 1, 2], ["Subtract", ["Power", ["Add", "_x", ["Sqrt", ["Subtract", ["Power", "_x", 2], 1]]], "_n"], ["Power", ["Subtract", "_x", ["Sqrt", ["Subtract", ["Power", "_x", 2], 1]]], "_n"]]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
684
|
+
{ id: "fungrim:616bcb", match: ["Multiply", ["Divide", ["Sqrt", 2], 2], ["Sqrt", "_z"]], replace: ["Sqrt", ["Divide", "_z", 2]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: [], topics: ["sqrt"] },
|
|
685
|
+
{ id: "fungrim:61784f", match: ["Imaginary", "ImaginaryUnit"], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Imaginary"], topics: ["imaginary_unit"] },
|
|
686
|
+
{ id: "fungrim:618a54", match: ["EllipticPi", 0, 0], replace: ["Divide", "Pi", 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticPi"], topics: ["legendre_elliptic"] },
|
|
687
|
+
{ id: "fungrim:61c002", match: ["Which", ["And", ["NotEqual", "_z", 0], ["NotEqual", "_z", 1]], ["Divide", ["Multiply", 3, ["Add", ["Negate", ["Multiply", "_z", ["EllipticK", ["Add", ["Negate", "_z"], 1]]]], ["EllipticE", ["Add", ["Negate", "_z"], 1]]]], ["Multiply", "_z", ["Add", ["Negate", "_z"], 1]]], ["Equal", "_z", 1], ["Multiply", ["Rational", 3, 4], "Pi"], ["Equal", "_z", 0], "ComplexInfinity"], replace: ["CarlsonRD", 0, 1, "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "EllipticE", "EllipticK"], topics: ["carlson_elliptic"] },
|
|
688
|
+
{ id: "fungrim:61f98d", match: ["CarlsonRC", "_x", "_y"], replace: ["CarlsonRF", "_x", "_y", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
689
|
+
{ id: "fungrim:621a9b", match: ["Multiply", ["Divide", ["Cos", "_z"], "_z"], ["Sqrt", ["Divide", ["Multiply", 2, "_z"], "Pi"]]], replace: ["BesselJ", ["Negate", ["Divide", 1, 2]], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Cos"], topics: ["bessel"] },
|
|
690
|
+
{ id: "fungrim:627c9c", match: ["Power", "ExponentialE", ["Multiply", ["Rational", 1, 2], ["Ln", "_z"]]], replace: ["Sqrt", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Ln"], topics: ["sqrt"] },
|
|
691
|
+
{ id: "fungrim:62b0c4", match: ["CarlsonRJ", 0, -1, 1, 1], replace: ["Subtract", ["Multiply", ["Divide", ["Multiply", 3, ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Multiply", 8, ["Sqrt", ["Multiply", 2, "Pi"]]]], ["Subtract", 1, "ImaginaryUnit"]], ["Multiply", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Power", "Pi", ["Divide", 3, 2]]], ["Multiply", 2, ["Power", ["Gamma", ["Divide", 1, 4]], 2]]], ["Add", 1, "ImaginaryUnit"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Gamma"], topics: ["carlson_elliptic"] },
|
|
692
|
+
{ id: "fungrim:62c6c9", match: ["Gamma", ["Add", "_n", 1]], replace: ["Factorial", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Factorial", "Gamma"], topics: ["factorials", "gamma"] },
|
|
693
|
+
{ id: "fungrim:62de01", match: ["MultiZetaValue", 2, 2], replace: ["Multiply", ["Divide", 3, 4], ["Zeta", 4]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["MultiZetaValue", "Zeta"], topics: ["multiple_zeta_values"] },
|
|
694
|
+
{ id: "fungrim:62f23c", match: ["Add", ["Multiply", ["Add", ["Negate", ["Power", "_nu", 2]], ["Power", "_z", 2]], ["BesselY", "_nu", "_z"]], ["Multiply", ["Apply", ["Derivative", ["Function", ["Block", ["BesselY", "_nu", "_z"]], "_z"], 2], "_z"], ["Power", "_z", 2]], ["Multiply", "_z", ["Apply", ["Derivative", ["Function", ["Block", ["BesselY", "_nu", "_z"]], "_z"], 1], "_z"]]], replace: 0, guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselY", "Derivative"], topics: ["bessel"] },
|
|
695
|
+
{ id: "fungrim:62f7d5", match: ["Count", ["DirichletGroup", "_q"]], replace: ["Totient", "_q"], guards: [{ k: "type", wc: "_q", t: "integer" }, { k: "cmp", wc: "_q", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DirichletGroup", "Totient"], topics: ["dirichlet"] },
|
|
696
|
+
{ id: "fungrim:62ffb3", match: ["DedekindEta", ["Multiply", 6, "ImaginaryUnit"]], replace: ["Multiply", ["Multiply", ["Divide", 1, ["Power", 6, ["Divide", 3, 8]]], ["Power", ["Subtract", ["Divide", ["Subtract", 5, ["Sqrt", 3]], 2], ["Divide", ["Power", 3, ["Divide", 3, 4]], ["Sqrt", 2]]], ["Divide", 1, 6]]], ["DedekindEta", "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta"], topics: ["dedekind_eta"] },
|
|
697
|
+
{ id: "fungrim:630eca", match: ["EllipticK", 2], replace: ["Multiply", ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", ["Multiply", 2, "Pi"]]]], ["Subtract", 1, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "Gamma"], topics: ["legendre_elliptic"] },
|
|
698
|
+
{ id: "fungrim:632063", match: ["Arctan", ["Conjugate", "_z"]], replace: ["Conjugate", ["Arctan", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", "ImaginaryUnit", "_z"], ["Union", ["Interval", ["Open", "NegativeInfinity"], ["Open", -1]], ["Interval", ["Open", 1], ["Open", "PositiveInfinity"]]]] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Arctan", "Conjugate"], topics: ["atan"] },
|
|
699
|
+
{ id: "fungrim:632d1c", match: ["Max", ["Set", ["Sinc", "x"], ["Element", "x", "RealNumbers"]]], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Max", "Sinc"], topics: ["sinc"] },
|
|
700
|
+
{ id: "fungrim:63644d", match: ["CarlsonRD", 0, 2, 1], replace: ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD", "Gamma"], topics: ["carlson_elliptic"] },
|
|
701
|
+
{ id: "fungrim:6395ee", match: ["Add", ["Multiply", ["Rational", 1, 4], ["Power", "_z", 2]], ["Multiply", "_z", ["GammaLn", "_z"]], ["Negate", ["Ln", "ConstGlaisher"]], ["Multiply", ["Rational", -1, 2], ["Ln", "_z"], ["BernoulliPolynomial", 2, "_z"]], ["Negate", ["Integrate", ["Function", ["Block", ["Multiply", ["Divide", ["Power", "ExponentialE", ["Negate", ["Multiply", "_z", "x"]]], ["Power", "x", 2]], ["Add", ["Multiply", ["Rational", -1, 12], "x"], ["Divide", -1, "x"], ["Divide", 1, ["Add", ["Negate", ["Power", "ExponentialE", ["Negate", "x"]]], 1]], ["Rational", -1, 2]]]], "_z", "x"], ["Limits", "x", 0, "PositiveInfinity"]]]], replace: ["LogBarnesG", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliPolynomial", "ConstGlaisher", "Exp", "GammaLn", "Integrate", "Ln", "LogBarnesG"], topics: ["barnes_g"] },
|
|
702
|
+
{ id: "fungrim:639d91", match: ["Multiply", ["Add", "_z", -1], ["Gamma", ["Add", "_z", -1]]], replace: ["Gamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Range", "NegativeInfinity", 1]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma"], topics: ["gamma"] },
|
|
703
|
+
{ id: "fungrim:6419ac", match: ["Multiply", ["Hypergeometric3F2", 1, "_a", "_a", ["Add", "_a", 1], ["Add", "_a", 1], 1], ["Power", "_a", -2]], replace: ["HurwitzZeta", 2, "_a"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Hypergeometric3F2"], topics: ["hurwitz_zeta"] },
|
|
704
|
+
{ id: "fungrim:6430cc", match: ["Multiply", "Pi", ["Add", ["Divide", "_z", ["Multiply", ["Gamma", ["Add", ["Multiply", "ImaginaryUnit", "_z"], 1]], ["Gamma", ["Add", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]], 1]]]], ["Divide", 1, ["Multiply", ["Gamma", ["Add", ["Multiply", "ImaginaryUnit", "_z"], ["Rational", 1, 2]]], ["Gamma", ["Add", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]], ["Rational", 1, 2]]]]]]], replace: ["Exp", ["Multiply", "Pi", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Gamma"], topics: ["gamma"] },
|
|
705
|
+
{ id: "fungrim:645e30", match: ["Arctan", 0], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
706
|
+
{ id: "fungrim:64a808", match: ["CarlsonRJ", 0, 1, 1, 1], replace: ["Divide", ["Multiply", 3, "Pi"], 4], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
707
|
+
{ id: "fungrim:64b65d", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Negate", ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
708
|
+
{ id: "fungrim:64d87a", match: ["CarlsonRJ", ["Negate", "_x"], ["Negate", "_y"], ["Negate", "_z"], ["Negate", "_w"]], replace: ["Multiply", "ImaginaryUnit", ["CarlsonRJ", "_x", "_y", "_z", "_w"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "real" }, { k: "cmp", wc: "_z", op: "gt", bound: 0 }, { k: "type", wc: "_w", t: "real" }, { k: "cmp", wc: "_w", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
709
|
+
{ id: "fungrim:64f0a5", match: ["Which", ["Not", ["IsOdd", "_n"]], ["JacobiTheta", 4, "_z", "_tau"], ["IsOdd", "_n"], ["JacobiTheta", 3, "_z", "_tau"]], replace: ["JacobiTheta", 4, "_z", ["Add", "_tau", "_n"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "IsEven", "IsOdd", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
710
|
+
{ id: "fungrim:651a4a", match: ["Multiply", ["Hypergeometric2F1Regularized", ["Add", ["Negate", "_a"], "_c"], ["Add", ["Negate", "_b"], "_c"], "_c", "_z"], ["Power", ["Add", ["Negate", "_z"], 1], ["Add", ["Negate", "_a"], ["Negate", "_b"], "_c"]]], replace: ["Hypergeometric2F1Regularized", "_a", "_b", "_c", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric2F1Regularized"], topics: ["gauss_hypergeometric"] },
|
|
711
|
+
{ id: "fungrim:6520e7", match: ["Multiply", 2, ["CarlsonRG", 0, ["Add", ["Negate", "_m"], 1], 1]], replace: ["EllipticE", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG", "EllipticE"], topics: ["carlson_elliptic", "legendre_elliptic"] },
|
|
712
|
+
{ id: "fungrim:655a2b", match: ["CarlsonRJ", "_x", "_y", "_z", "_w"], replace: ["CarlsonRJ", "_z", "_y", "_x", "_w"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_w", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
713
|
+
{ id: "fungrim:65647f", match: ["Multiply", ["Add", ["Divide", ["Negate", ["Sinh", "_z"]], ["Power", "_z", 2]], ["Divide", ["Cosh", "_z"], "_z"]], ["Sqrt", ["Divide", ["Multiply", 2, "_z"], "Pi"]]], replace: ["BesselI", ["Divide", 3, 2], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Cosh", "Sinh"], topics: ["bessel"] },
|
|
714
|
+
{ id: "fungrim:65693e", match: ["Multiply", ["Divide", ["Multiply", ["RisingFactorial", "_a", ["Add", "_n", 1]], ["RisingFactorial", "_b", ["Add", "_n", 1]], ["Power", "_z", ["Add", "_n", 1]]], ["Factorial", ["Add", "_n", 1]]], ["Hypergeometric2F1", ["Add", "_a", "_n", 1], ["Add", "_b", "_n", 1], ["Add", "_n", 2], "_z"]], replace: ["Hypergeometric2F1Regularized", "_a", "_b", ["Negate", "_n"], "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Factorial", "Hypergeometric2F1", "Hypergeometric2F1Regularized", "RisingFactorial"], topics: ["gauss_hypergeometric"] },
|
|
715
|
+
{ id: "fungrim:6572c5", match: ["Divide", ["Abs", ["Multiply", "_a", "_b"]], ["LCM", "_a", "_b"]], replace: ["GCD", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "ne", lhs: "_a", rhs: 0 }, { k: "ne", lhs: "_b", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "GCD", "LCM"], topics: ["gcd"] },
|
|
716
|
+
{ id: "fungrim:6582c4", match: ["Apply", ["Derivative", ["Function", ["Block", ["ChebyshevT", "_n", "_x"]], "_x"], "_r"], "_x"], replace: ["Multiply", ["Divide", ["Sqrt", "Pi"], ["Power", ["Subtract", "_x", 1], "_r"]], ["Hypergeometric3F2Regularized", 1, ["Negate", "_n"], "_n", ["Divide", 1, 2], ["Subtract", 1, "_r"], ["Divide", ["Subtract", 1, "_x"], 2]]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }, { k: "type", wc: "_x", t: "complex" }, { k: "ne", lhs: "_x", rhs: -1 }, { k: "ne", lhs: "_x", rhs: 1 }], purpose: "expand", target: "simplify", class: "identity", heads: ["ChebyshevT", "Derivative", "Hypergeometric3F2Regularized"], topics: ["chebyshev"] },
|
|
717
|
+
{ id: "fungrim:659ce8", match: ["Divide", ["Multiply", ["Gamma", "_c"], ["Gamma", ["Add", ["Negate", "_a"], ["Negate", "_b"], "_c"]]], ["Multiply", ["Gamma", ["Add", ["Negate", "_a"], "_c"]], ["Gamma", ["Add", ["Negate", "_b"], "_c"]]]], replace: ["Hypergeometric2F1", "_a", "_b", "_c", 1], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "eval", pred: ["NotElement", "_c", "NonPositiveIntegers"] }, { k: "eval", pred: ["Greater", ["Real", ["Subtract", ["Subtract", "_c", "_a"], "_b"]], 0] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Hypergeometric2F1"], topics: ["gauss_hypergeometric"] },
|
|
718
|
+
{ id: "fungrim:65bbd6", match: ["Abs", "ImaginaryUnit"], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Abs"], topics: ["imaginary_unit"] },
|
|
719
|
+
{ id: "fungrim:661054", match: ["Add", ["Negate", ["Multiply", "EulerGamma", "_z"]], ["Sum", ["Multiply", ["Divide", ["Zeta", "k"], "k"], ["Power", ["Negate", "_z"], "k"]], ["Limits", "k", 2, "PositiveInfinity"]]], replace: ["GammaLn", ["Add", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "abs", op: "lt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GammaLn", "Sum", "Zeta"], topics: ["gamma"] },
|
|
720
|
+
{ id: "fungrim:664b4c", match: ["ModularJ", "_tau"], replace: ["Power", ["Add", ["Power", ["Divide", ["DedekindEta", "_tau"], ["DedekindEta", ["Multiply", 2, "_tau"]]], 8], ["Multiply", ["Power", 2, 8], ["Power", ["Divide", ["DedekindEta", ["Multiply", 2, "_tau"]], ["DedekindEta", "_tau"]], 16]]], 3], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["DedekindEta", "HH", "ModularJ"], topics: ["modular_j"] },
|
|
721
|
+
{ id: "fungrim:6674bb", match: ["CarlsonRF", -1, -1, -1], replace: ["Negate", "ImaginaryUnit"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
722
|
+
{ id: "fungrim:6678af", match: ["ModularLambda", ["Add", "_tau", 2]], replace: ["ModularLambda", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
723
|
+
{ id: "fungrim:669765", match: ["JacobiTheta", 3, 0, ["Multiply", 6, "ImaginaryUnit"]], replace: ["Multiply", ["Divide", ["Power", ["Add", ["Subtract", ["Add", ["Add", ["Add", -4, ["Multiply", 3, ["Sqrt", 2]]], ["Power", 3, ["Divide", 5, 4]]], ["Multiply", 2, ["Sqrt", 3]]], ["Power", 3, ["Divide", 3, 4]]], ["Multiply", ["Multiply", 2, ["Sqrt", 2]], ["Power", 3, ["Divide", 3, 4]]]], ["Divide", 1, 3]], ["Multiply", ["Multiply", 2, ["Power", 3, ["Divide", 3, 8]]], ["Power", ["Multiply", ["Subtract", ["Sqrt", 2], 1], ["Subtract", ["Sqrt", 3], 1]], ["Divide", 1, 6]]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
724
|
+
{ id: "fungrim:66eb8b", match: ["Divide", ["Multiply", 2, ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]], ["JacobiTheta", 2, 0, ["Multiply", ["Rational", 1, 2], "_tau"]]], replace: ["JacobiTheta", 1, "_z", ["Divide", "_tau", 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
725
|
+
{ id: "fungrim:674afa", match: ["Multiply", ["Divide", ["Power", -1, "_n"], ["Power", 4, "_n"]], ["Binomial", ["Multiply", 2, "_n"], "_n"]], replace: ["LegendrePolynomial", ["Multiply", 2, "_n"], 0], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
726
|
+
{ id: "fungrim:675f23", match: ["JacobiTheta", 3, 0, ["Add", 1, ["Multiply", 12, "ImaginaryUnit"]]], replace: ["Multiply", ["Divide", ["Multiply", ["Multiply", ["Power", 2, ["Negate", ["Divide", 19, 48]]], ["Power", 3, ["Negate", ["Divide", 3, 8]]]], ["Power", ["Add", ["Add", ["Subtract", 2, ["Multiply", 3, ["Sqrt", 2]]], ["Power", 3, ["Divide", 5, 4]]], ["Power", 3, ["Divide", 3, 4]]], ["Divide", 1, 3]]], ["Multiply", ["Multiply", ["Power", ["Subtract", ["Sqrt", 2], 1], ["Divide", 1, 12]], ["Power", ["Add", ["Sqrt", 3], 1], ["Divide", 1, 6]]], ["Power", ["Add", ["Subtract", -1, ["Sqrt", 3]], ["Multiply", ["Sqrt", 2], ["Power", 3, ["Divide", 3, 4]]]], ["Divide", 1, 3]]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
727
|
+
{ id: "fungrim:67c0be", match: ["Multiply", 2, ["Arctan", ["Divide", "_z", ["Add", ["Sqrt", ["Add", ["Power", "_z", 2], 1]], 1]]]], replace: ["Arctan", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan"], topics: ["atan"] },
|
|
728
|
+
{ id: "fungrim:67c262", match: ["Divide", 1, "ImaginaryUnit"], replace: ["Negate", "ImaginaryUnit"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["imaginary_unit"] },
|
|
729
|
+
{ id: "fungrim:67e015", match: ["CarlsonRF", 0, ["Divide", ["Power", ["Gamma", ["Rational", 1, 4]], 4], ["Multiply", 16, "Pi"]], ["Divide", ["Power", ["Gamma", ["Rational", 1, 4]], 4], ["Multiply", 32, "Pi"]]], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
730
|
+
{ id: "fungrim:685126", match: ["Add", ["Multiply", 2, "_k", ["EllipticK", "_m"]], ["IncompleteEllipticF", "_phi", "_m"]], replace: ["IncompleteEllipticF", ["Add", "_phi", ["Multiply", "_k", "Pi"]], "_m"], guards: [{ k: "type", wc: "_phi", t: "complex" }, { k: "type", wc: "_m", t: "complex" }, { k: "type", wc: "_k", t: "integer" }, { k: "ne", lhs: "_m", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticK", "IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
731
|
+
{ id: "fungrim:685892", match: ["Multiply", ["Divide", 1, ["Multiply", 2, ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3]]], ["Add", ["Multiply", 3, ["AiryAi", ["Negate", ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]]], ["Multiply", ["Sqrt", 3], ["AiryBi", ["Negate", ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]]]]], replace: ["BesselJ", ["Negate", ["Divide", 1, 3]], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "AiryBi", "BesselJ"], topics: ["bessel"] },
|
|
732
|
+
{ id: "fungrim:686524", match: ["Add", ["Sum", ["Add", ["Divide", 1, ["Add", "n", 1]], ["Divide", -1, ["Add", "_z", "n"]]], ["Limits", "n", 0, "PositiveInfinity"]], ["Negate", "EulerGamma"]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Sum"], topics: ["digamma_function"] },
|
|
733
|
+
{ id: "fungrim:686ce0", match: ["Divide", ["Multiply", ["JacobiTheta", 3, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]], ["JacobiTheta", 4, 0, ["Multiply", 2, "_tau"]]], replace: ["JacobiTheta", 4, ["Multiply", 2, "_z"], ["Multiply", 2, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
734
|
+
{ id: "fungrim:687b4d", match: ["Add", ["StieltjesGamma", "_n", "_a"], ["Divide", ["Negate", ["Power", ["Ln", "_a"], "_n"]], "_a"]], replace: ["StieltjesGamma", "_n", ["Add", "_a", 1]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Ln", "StieltjesGamma"], topics: ["riemann_zeta"] },
|
|
735
|
+
{ id: "fungrim:68b73d", match: ["Divide", 1, "Pi"], replace: ["Multiply", ["Divide", ["Multiply", 2, ["Sqrt", 3]], 9], ["Hypergeometric2F1", ["Negate", ["Divide", 1, 3]], ["Divide", 1, 3], 1, 1]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Hypergeometric2F1"], topics: ["pi"] },
|
|
736
|
+
{ id: "fungrim:69348a", match: ["Zeta", ["Conjugate", "_s"]], replace: ["Conjugate", ["Zeta", "_s"]], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "ne", lhs: "_s", rhs: 1 }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "Zeta"], topics: ["riemann_zeta"] },
|
|
737
|
+
{ id: "fungrim:699c83", match: ["Ln", "ExponentialE"], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Ln"], topics: ["log"] },
|
|
738
|
+
{ id: "fungrim:69b32e", match: ["Divide", ["Add", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]], ["JacobiTheta", 3, 0, ["Multiply", ["Rational", 1, 2], "_tau"]]], replace: ["JacobiTheta", 3, "_z", ["Divide", "_tau", 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
739
|
+
{ id: "fungrim:69c5ef", match: ["Sin", ["Multiply", ["Rational", 1, 2], "Pi"]], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sin"], topics: ["sine"] },
|
|
740
|
+
{ id: "fungrim:69d0a3", match: ["AGM", 1, "ImaginaryUnit"], replace: ["Divide", ["Multiply", ["Multiply", ["Sqrt", 2], ["Add", 1, "ImaginaryUnit"]], ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["AGM", "Gamma"], topics: ["agm"] },
|
|
741
|
+
{ id: "fungrim:6a11ce", match: ["Add", ["Multiply", "GoldenRatio", ["Fibonacci", "_n"]], ["Fibonacci", ["Add", "_n", -1]]], replace: ["Power", "GoldenRatio", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["golden_ratio"] },
|
|
742
|
+
{ id: "fungrim:6a24ab", match: ["Multiply", ["ChebyshevT", "_n", "_x"], ["Power", -1, "_n"]], replace: ["ChebyshevT", "_n", ["Negate", "_x"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
743
|
+
{ id: "fungrim:6a6a09", match: ["Add", ["Multiply", "ImaginaryUnit", ["BesselY", "_nu", "_z"]], ["BesselJ", "_nu", "_z"]], replace: ["HankelH1", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "BesselY", "HankelH1"], topics: ["bessel"] },
|
|
744
|
+
{ id: "fungrim:6a7704", match: ["Multiply", ["JacobiTheta", 4, ["Add", ["Multiply", ["Rational", 1, 2], "_tau"], "_z", ["Rational", 1, 2]], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]], replace: ["JacobiTheta", 2, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
745
|
+
{ id: "fungrim:6a8889", match: ["Sin", ["Add", ["Multiply", 2, "Pi", "_k"], "_z"]], replace: ["Sin", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_k", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
746
|
+
{ id: "fungrim:6a894d", match: ["Abs", ["Conjugate", "_z"]], replace: ["Abs", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Conjugate"], topics: ["complex_parts"] },
|
|
747
|
+
{ id: "fungrim:6ade92", match: ["JacobiTheta", 3, 0, ["Multiply", 45, "ImaginaryUnit"]], replace: ["Multiply", ["Divide", ["Add", ["Add", 3, ["Sqrt", 5]], ["Multiply", ["Add", ["Add", ["Sqrt", 3], ["Sqrt", 5]], ["Power", 60, ["Divide", 1, 4]]], ["Power", ["Add", 2, ["Sqrt", 3]], ["Divide", 1, 3]]]], ["Multiply", 3, ["Sqrt", ["Add", 10, ["Multiply", 10, ["Sqrt", 5]]]]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
748
|
+
{ id: "fungrim:6af603", match: ["SloaneA", "'A000793'", "_n"], replace: ["LandauG", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LandauG", "SloaneA"], topics: ["integer_sequences", "landau_function"] },
|
|
749
|
+
{ id: "fungrim:6b2078", match: ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 4]]], replace: ["JacobiTheta", 1, "_z", ["Add", "_tau", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
750
|
+
{ id: "fungrim:6c3523", match: ["Add", ["Negate", ["Multiply", ["Sum", ["Power", ["Add", ["Multiply", 2, "k"], 1], ["Negate", "_s"]], ["Limits", "k", 0, ["Add", "_n", -1]]], ["Power", 2, "_s"]]], ["Multiply", ["Add", ["Power", 2, "_s"], -1], ["Zeta", "_s"]]], replace: ["HurwitzZeta", "_s", ["Add", ["Divide", 1, 2], "_n"]], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Sum", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
751
|
+
{ id: "fungrim:6c3ba9", match: ["Add", ["Negate", ["Cos", "_z"]], ["Sin", "_z"]], replace: ["Multiply", ["Sqrt", 2], ["Sin", ["Subtract", "_z", ["Divide", "Pi", 4]]]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
752
|
+
{ id: "fungrim:6c4567", match: ["CarlsonRF", 0, ["Rational", 1, 2], 1], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
753
|
+
{ id: "fungrim:6c6d3e", match: ["Which", ["Element", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]], ["LogBarnesG", "_z"], "True", ["Conjugate", ["LogBarnesG", "_z"]]], replace: ["LogBarnesG", ["Conjugate", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Conjugate", "LogBarnesG"], topics: ["barnes_g"] },
|
|
754
|
+
{ id: "fungrim:6c71c0", match: ["EisensteinE", 6, ["Power", "ExponentialE", ["Divide", ["Multiply", 2, "ImaginaryUnit", "Pi"], 3]]], replace: ["Divide", ["Multiply", 27, ["Power", ["Gamma", ["Divide", 1, 3]], 18]], ["Multiply", 512, ["Power", "Pi", 12]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinE", "Exp", "Gamma"], topics: ["eisenstein"] },
|
|
755
|
+
{ id: "fungrim:6cbce8", match: ["JacobiTheta", 3, 0, ["Add", 1, ["Multiply", 4, "ImaginaryUnit"]]], replace: ["Multiply", ["Multiply", ["Power", 2, ["Negate", ["Divide", 7, 16]]], ["Power", ["Add", ["Sqrt", 2], 1], ["Divide", 1, 4]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
756
|
+
{ id: "fungrim:6cd4a1", match: ["Multiply", ["Divide", ["Power", -1, "_n"], ["Power", 4, "_n"]], ["Hypergeometric2F1", ["Negate", "_n"], ["Add", "_n", ["Rational", 1, 2]], ["Rational", 1, 2], ["Power", "_z", 2]], ["Binomial", ["Multiply", 2, "_n"], "_n"]], replace: ["LegendrePolynomial", ["Multiply", 2, "_n"], "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial", "Hypergeometric2F1", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
757
|
+
{ id: "fungrim:6cf802", match: ["Add", ["Multiply", ["Divide", ["Gamma", ["Add", "_b", -1]], ["Gamma", "_a"]], ["Hypergeometric1F1", ["Add", "_a", ["Negate", "_b"], 1], ["Add", ["Negate", "_b"], 2], "_z"], ["Power", "_z", ["Add", ["Negate", "_b"], 1]]], ["Multiply", ["Divide", ["Gamma", ["Add", ["Negate", "_b"], 1]], ["Gamma", ["Add", "_a", ["Negate", "_b"], 1]]], ["Hypergeometric1F1", "_a", "_b", "_z"]]], replace: ["HypergeometricU", "_a", "_b", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "eval", pred: ["NotElement", "_b", "Integers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Hypergeometric1F1", "HypergeometricU"], topics: ["confluent_hypergeometric"] },
|
|
758
|
+
{ id: "fungrim:6d0a95", match: ["Multiply", ["Power", "ExponentialE", ["Negate", "_z"]], ["Power", "ExponentialE", ["Sum", ["Add", ["Multiply", ["Add", "_z", "n", ["Rational", -1, 2]], ["Ln", ["Divide", ["Add", "_z", "n"], ["Add", "_z", "n", -1]]]], -1], ["Limits", "n", 1, "PositiveInfinity"]]], ["Power", "_z", ["Add", "_z", ["Rational", -1, 2]]], ["Sqrt", ["Multiply", 2, "Pi"]]], replace: ["Gamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Gamma", "Ln", "Sum"], topics: ["gamma"] },
|
|
759
|
+
{ id: "fungrim:6d2880", match: ["EisensteinE", 8, "_tau"], replace: ["Multiply", ["Divide", 1, 2], ["Add", ["Add", ["Power", ["JacobiTheta", 2, 0, "_tau"], 16], ["Power", ["JacobiTheta", 3, 0, "_tau"], 16]], ["Power", ["JacobiTheta", 4, 0, "_tau"], 16]]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["EisensteinE", "HH", "JacobiTheta"], topics: ["eisenstein"] },
|
|
760
|
+
{ id: "fungrim:6d437c", match: ["Add", ["Negate", ["Fibonacci", ["Add", "_n", 1]]], ["Fibonacci", ["Add", "_n", 2]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
761
|
+
{ id: "fungrim:6d918c", match: ["Negate", ["Multiply", "ImaginaryUnit", ["JacobiTheta", 1, ["Add", ["Multiply", ["Rational", 1, 2], "_tau"], "_z"], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]]], replace: ["JacobiTheta", 4, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
762
|
+
{ id: "fungrim:6dda7a", match: ["Add", ["CarlsonRD", "_y", "_z", "_x"], ["CarlsonRD", "_z", "_x", "_y"], ["CarlsonRD", "_x", "_y", "_z"]], replace: ["Divide", 3, ["Multiply", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Sqrt", "_z"]]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_x", rhs: 0 }, { k: "ne", lhs: "_y", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
763
|
+
{ id: "fungrim:6e69fc", match: ["Add", ["Negate", ["Sum", ["Power", "k", ["Negate", "_s"]], ["Limits", "k", 1, ["Add", "_n", -1]]]], ["Zeta", "_s"]], replace: ["HurwitzZeta", "_s", "_n"], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Sum", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
764
|
+
{ id: "fungrim:6e9544", match: ["CarlsonRJ", 1, 1, 2, 4], replace: ["Subtract", ["Ln", ["Add", 1, ["Sqrt", 2]]], ["Divide", ["Multiply", ["Sqrt", 2], "Pi"], 8]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Ln"], topics: ["carlson_elliptic"] },
|
|
765
|
+
{ id: "fungrim:6f3fec", match: ["Imaginary", ["Digamma", ["Add", ["Multiply", "ImaginaryUnit", "_y"], ["Rational", 1, 2]]]], replace: ["Multiply", ["Divide", "Pi", 2], ["Tanh", ["Multiply", "Pi", "_y"]]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "ne", lhs: "_y", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Imaginary", "Tanh"], topics: ["digamma_function"] },
|
|
766
|
+
{ id: "fungrim:6f63dd", match: ["Divide", ["Sqrt", ["Negate", "_z"]], ["Sqrt", ["Add", "_c", ["Negate", "_z"]]]], replace: ["Sqrt", ["Divide", "_z", ["Subtract", "_z", "_c"]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "ge", bound: 0 }, { k: "ne", lhs: ["Subtract", "_z", "_c"], rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: [], topics: ["sqrt"] },
|
|
767
|
+
{ id: "fungrim:6f8e14", match: ["Add", ["Multiply", ["Rational", 1, 4], ["Power", "_z", 2]], ["Negate", ["Multiply", ["Add", ["Multiply", ["Rational", 1, 2], "_z", ["Add", "_z", 1]], ["Rational", 1, 12]], ["Ln", "_z"]]], ["Multiply", "_z", ["GammaLn", ["Add", "_z", 1]]], ["Negate", ["Ln", "ConstGlaisher"]], ["Sum", ["Divide", ["BernoulliB", ["Add", ["Multiply", 2, "n"], 2]], ["Multiply", 2, "n", ["Add", ["Multiply", 2, "n"], 1], ["Add", ["Multiply", 2, "n"], 2], ["Power", "_z", ["Multiply", 2, "n"]]]], ["Limits", "n", 1, ["Add", "_N_var", -1]]], ["LogBarnesGRemainder", "_N_var", "_z"]], replace: ["LogBarnesG", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_N_var", t: "integer" }, { k: "cmp", wc: "_N_var", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "ConstGlaisher", "GammaLn", "Ln", "LogBarnesG", "LogBarnesGRemainder", "Sum"], topics: ["barnes_g"] },
|
|
768
|
+
{ id: "fungrim:6fad93", match: ["Add", ["Multiply", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]], ["Multiply", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]]], replace: ["Multiply", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
769
|
+
{ id: "fungrim:6fd925", match: ["Tuple", ["Abs", "_b"], 0, ["Sign", "_b"]], replace: ["XGCD", 0, "_b"], guards: [{ k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Sign", "XGCD"], topics: ["gcd"] },
|
|
770
|
+
{ id: "fungrim:7009cc", match: ["LCM", "_a", ["GCD", "_a", "_b"]], replace: ["Abs", "_a"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "GCD", "LCM"], topics: ["gcd"] },
|
|
771
|
+
{ id: "fungrim:706783", match: ["Arctan", ["Sqrt", 3]], replace: ["Divide", "Pi", 3], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
772
|
+
{ id: "fungrim:70878b", match: ["Add", ["Multiply", ["Fibonacci", "_m"], ["Fibonacci", "_n"]], ["Multiply", ["Fibonacci", ["Add", "_m", -1]], ["Fibonacci", ["Add", "_n", -1]]]], replace: ["Fibonacci", ["Subtract", ["Add", "_m", "_n"], 1]], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
773
|
+
{ id: "fungrim:70a705", match: ["StieltjesGamma", 1, ["Rational", 1, 2]], replace: ["Subtract", ["Subtract", ["StieltjesGamma", 1], ["Multiply", ["Multiply", 2, "EulerGamma"], ["Ln", 2]]], ["Power", ["Ln", 2], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Ln", "StieltjesGamma"], topics: ["riemann_zeta"] },
|
|
774
|
+
{ id: "fungrim:70ec9f", match: ["Apply", ["Derivative", ["Function", ["Block", ["AiryBi", "_z"]], "_z"], 2], "_z"], replace: ["Multiply", "_z", ["AiryBi", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryBi", "Derivative"], topics: ["airy"] },
|
|
775
|
+
{ id: "fungrim:7131cd", match: ["JacobiTheta", 4, ["Multiply", 2, "_z"], "_tau"], replace: ["Divide", ["Subtract", ["Power", ["JacobiTheta", 3, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 4]], ["Power", ["JacobiTheta", 4, 0, "_tau"], 3]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
776
|
+
{ id: "fungrim:7137a2", match: ["Divide", ["Add", ["Negate", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]], ["Multiply", 2, ["JacobiTheta", 3, 0, ["Multiply", 2, "_tau"]]]], replace: ["JacobiTheta", 2, ["Multiply", 2, "_z"], ["Multiply", 2, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
777
|
+
{ id: "fungrim:713966", match: ["EllipticK", ["Conjugate", "_m"]], replace: ["Conjugate", ["EllipticK", "_m"]], guards: [{ k: "type", wc: "_m", t: "complex" }, { k: "eval", pred: ["NotElement", "_m", ["Interval", ["Open", 1], ["Open", "PositiveInfinity"]]] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "EllipticK"], topics: ["legendre_elliptic"] },
|
|
778
|
+
{ id: "fungrim:713b6b", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 1, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Negate", ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 3, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
779
|
+
{ id: "fungrim:718f3a", match: ["Which", ["Less", "_x", "_y"], ["Divide", ["Arccos", ["Sqrt", ["Divide", "_x", "_y"]]], ["Sqrt", ["Add", ["Negate", "_x"], "_y"]]], ["Equal", "_x", "_y"], ["Sqrt", ["Divide", 1, "_x"]], ["Less", "_y", "_x"], ["Divide", ["Arcosh", ["Sqrt", ["Divide", "_x", "_y"]]], ["Sqrt", ["Add", "_x", ["Negate", "_y"]]]]], replace: ["CarlsonRC", "_x", "_y"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arccos", "Arcosh", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
780
|
+
{ id: "fungrim:71a0ff", match: ["Multiply", ["Rational", 1, 4], "Pi", ["Divide", ["Add", "_a", "_b"], ["EllipticK", ["Power", ["Divide", ["Add", "_a", ["Negate", "_b"]], ["Add", "_a", "_b"]], 2]]]], replace: ["AGM", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "ne", lhs: "_b", rhs: 0 }, { k: "eval", pred: ["NotElement", ["Divide", "_a", "_b"], ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM", "EllipticK"], topics: ["agm", "legendre_elliptic"] },
|
|
781
|
+
{ id: "fungrim:71d5ee", match: ["Multiply", ["JacobiTheta", 2, ["Add", ["Multiply", ["Rational", 1, 2], "_tau"], "_z"], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]], replace: ["JacobiTheta", 3, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
782
|
+
{ id: "fungrim:720766", match: ["GCD", "_a", 1], replace: 1, guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
783
|
+
{ id: "fungrim:729215", match: ["Add", ["Multiply", -4, ["Power", ["Sin", "_z"], 3]], ["Multiply", 3, ["Sin", "_z"]]], replace: ["Sin", ["Multiply", 3, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
784
|
+
{ id: "fungrim:7295b5", match: ["Arctan", "NegativeInfinity"], replace: ["Negate", ["Divide", "Pi", 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
785
|
+
{ id: "fungrim:729b70", match: ["Real", ["Sin", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]]], replace: ["Multiply", ["Sin", "_x"], ["Cosh", "_y"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cosh", "Real", "Sin"], topics: ["sine"] },
|
|
786
|
+
{ id: "fungrim:72b5bd", match: ["Hypergeometric2F1", 1, ["Rational", 1, 2], ["Rational", 3, 2], ["Add", ["Negate", "_x"], 1]], replace: ["CarlsonRC", 1, "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "Hypergeometric2F1"], topics: ["carlson_elliptic"] },
|
|
787
|
+
{ id: "fungrim:72ccda", match: ["Divide", ["Multiply", ["BernoulliB", ["Multiply", 2, "_n"]], ["Power", -1, ["Add", "_n", 1]], ["Power", ["Multiply", 2, "Pi"], ["Multiply", 2, "_n"]]], ["Multiply", 2, ["Factorial", ["Multiply", 2, "_n"]]]], replace: ["Zeta", ["Multiply", 2, "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "Factorial", "Zeta"], topics: ["riemann_zeta"] },
|
|
788
|
+
{ id: "fungrim:72eb69", match: ["WeierstrassZeta", ["Negate", "_z"], "_tau"], replace: ["Negate", ["WeierstrassZeta", "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "eval", pred: ["NotElement", "_z", ["Lattice", 1, "_tau"]] }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "Lattice", "WeierstrassZeta"], topics: ["weierstrass_elliptic"] },
|
|
789
|
+
{ id: "fungrim:72f583", match: ["JacobiTheta", 3, 0, ["Multiply", 7, "ImaginaryUnit"]], replace: ["Multiply", ["Sqrt", ["Multiply", ["Divide", ["Add", ["Sqrt", ["Add", 13, ["Sqrt", 7]]], ["Sqrt", ["Add", 7, ["Multiply", 3, ["Sqrt", 7]]]]], 14], ["Power", 28, ["Divide", 1, 8]]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
790
|
+
{ id: "fungrim:7314c4", match: ["Multiply", ["Rational", 3, 4], "Pi", ["CarlsonHypergeometricR", ["Rational", -3, 2], ["List", ["Rational", 1, 2], ["Rational", 1, 2], ["Rational", 1, 2], ["Rational", 1, 2]], ["List", "_y", "_z", "_w", "_w"]]], replace: ["CarlsonRJ", 0, "_y", "_z", "_w"], guards: [{ k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["NotElement", "_y", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_w", t: "complex" }, { k: "eval", pred: ["NotElement", "_w", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonHypergeometricR", "CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
791
|
+
{ id: "fungrim:7348e3", match: ["Multiply", ["Which", ["Or", ["And", ["LessEqual", 0, ["Real", "_x"]], ["Equal", ["Imaginary", "_x"], 0]], ["Less", ["Imaginary", "_x"], 0]], ["Artanh", ["Sqrt", ["Add", "_c", 1]]], "True", ["Add", ["Artanh", ["Sqrt", ["Add", "_c", 1]]], ["Multiply", "ImaginaryUnit", "Pi"]]], ["Sqrt", ["Divide", 1, ["Multiply", "_x", ["Add", "_c", 1]]]]], replace: ["CarlsonRC", "_x", ["Negate", ["Multiply", "_c", "_x"]]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Artanh", "CarlsonRC", "Imaginary", "Real"], topics: ["carlson_elliptic"] },
|
|
792
|
+
{ id: "fungrim:735409", match: ["Argument", "ImaginaryUnit"], replace: ["Divide", "Pi", 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Argument"], topics: ["complex_parts", "imaginary_unit"] },
|
|
793
|
+
{ id: "fungrim:7377c8", match: ["Add", ["Multiply", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselK", "_nu", "_z"]], "_z"], ["Add", "_r", 4]], "_z"], ["Factorial", ["Add", "_r", 4]]], ["Add", ["Power", "_r", 2], ["Multiply", 7, "_r"], 12], ["Power", "_z", 2]], ["Multiply", "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselK", "_nu", "_z"]], "_z"], ["Add", "_r", 3]], "_z"], ["Factorial", ["Add", "_r", 3]]], ["Add", ["Multiply", 2, ["Power", "_r", 2]], ["Multiply", 11, "_r"], 15]], ["Multiply", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselK", "_nu", "_z"]], "_z"], ["Add", "_r", 2]], "_z"], ["Factorial", ["Add", "_r", 2]]], ["Add", ["Negate", ["Power", "_nu", 2]], ["Negate", ["Power", "_z", 2]], ["Multiply", "_r", ["Add", "_r", 4]], 4]], ["Multiply", -2, "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselK", "_nu", "_z"]], "_z"], ["Add", "_r", 1]], "_z"], ["Factorial", ["Add", "_r", 1]]]], ["Divide", ["Negate", ["Apply", ["Derivative", ["Function", ["Block", ["BesselK", "_nu", "_z"]], "_z"], "_r"], "_z"]], ["Factorial", "_r"]]], replace: 0, guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK", "Derivative", "Factorial"], topics: ["bessel"] },
|
|
794
|
+
{ id: "fungrim:737805", match: ["Multiply", ["JacobiTheta", 3, ["Multiply", ["Rational", 1, 2], ["Add", "_tau", 1]], ["Multiply", 3, "_tau"]], ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi", "_tau"], 12]]], replace: ["DedekindEta", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Exp", "HH", "JacobiTheta"], topics: ["dedekind_eta", "jacobi_theta"] },
|
|
795
|
+
{ id: "fungrim:737f2b", match: ["Set", "tau", ["Element", "tau", "HH", ["Or", ["And", ["Less", ["Rational", 1, 2], ["Min", ["Abs", ["Add", "tau", ["Rational", -1, 2]]], ["Abs", ["Add", "_z", ["Rational", 1, 2]]]]], ["Element", ["Real", "tau"], ["Interval", ["Open", -1], ["Open", 1]]]], ["Equal", ["Real", "tau"], -1], ["Equal", ["Abs", ["Add", "tau", ["Rational", 1, 2]]], ["Rational", 1, 2]]]]], replace: "ModularLambdaFundamentalDomain", guards: [], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "HH", "Min", "ModularLambdaFundamentalDomain", "Real"], topics: ["modular_lambda"] },
|
|
796
|
+
{ id: "fungrim:74274a", match: ["Add", ["Multiply", ["CoulombG", "_ell", "_eta", "_z"], ["Apply", ["Derivative", ["Function", ["Block", ["CoulombF", "_ell", "_eta", "_z"]], "_z"], 1], "_z"]], ["Negate", ["Multiply", ["CoulombF", "_ell", "_eta", "_z"], ["Apply", ["Derivative", ["Function", ["Block", ["CoulombG", "_ell", "_eta", "_z"]], "_z"], 1], "_z"]]]], replace: 1, guards: [{ k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CoulombF", "CoulombG", "Derivative"], topics: ["coulomb_wave"] },
|
|
797
|
+
{ id: "fungrim:742943", match: ["Add", ["Multiply", ["Sin", "_b"], ["Cos", "_a"]], ["Multiply", ["Sin", "_a"], ["Cos", "_b"]]], replace: ["Sin", ["Add", "_a", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
798
|
+
{ id: "fungrim:748131", match: ["CarlsonRD", 0, 0, 1], replace: "PositiveInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
799
|
+
{ id: "fungrim:75231e", match: ["Min", ["Set", "a", ["Element", "a", "PositiveIntegers", ["And", ["Equal", ["Count", ["Set", ["Mod", ["Power", "a", "k"], "_p"], ["Element", "k", "NonNegativeIntegers"]]], ["Add", "_p", -1]], ["Equal", ["Count", ["Set", ["Mod", ["Power", "a", "k"], ["Power", "_p", 2]], ["Element", "k", "NonNegativeIntegers"]]], ["Multiply", "_p", ["Add", "_p", -1]]]]]]], replace: ["ConreyGenerator", "_p"], guards: [{ k: "type", wc: "_p", t: "integer" }, { k: "eval", pred: ["IsPrime", "_p"] }, { k: "cmp", wc: "_p", op: "ge", bound: 3 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ConreyGenerator", "Min", "Mod"], topics: ["dirichlet"] },
|
|
800
|
+
{ id: "fungrim:752619", match: ["Add", ["Multiply", 2, ["EllipticE", "_m"]], ["Negate", ["EllipticK", "_m"]]], replace: ["Multiply", ["Divide", "Pi", 2], ["Hypergeometric2F1", ["Negate", ["Divide", 1, 2]], ["Divide", 3, 2], 1, "_m"]], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticE", "EllipticK", "Hypergeometric2F1"], topics: ["legendre_elliptic"] },
|
|
801
|
+
{ id: "fungrim:7527f1", match: ["Add", ["Negate", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2]], ["Power", ["JacobiTheta", 3, 0, "_tau"], 2]], replace: ["Power", ["JacobiTheta", 4, 0, ["Divide", "_tau", 2]], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
802
|
+
{ id: "fungrim:755655", match: ["Sin", ["Multiply", "ImaginaryUnit", "_z"]], replace: ["Multiply", "ImaginaryUnit", ["Sinh", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Sin", "Sinh"], topics: ["sine"] },
|
|
803
|
+
{ id: "fungrim:75eacb", match: ["ChebyshevU", 1, "_x"], replace: ["Multiply", 2, "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
804
|
+
{ id: "fungrim:75f9bf", match: ["Digamma", 3], replace: ["Subtract", ["Divide", 3, 2], "EulerGamma"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma"], topics: ["digamma_function"] },
|
|
805
|
+
{ id: "fungrim:768c77", match: ["Which", ["NotEqual", "_z", 0], ["Add", ["Divide", ["Negate", ["Sin", "_z"]], ["Power", "_z", 2]], ["Divide", ["Cos", "_z"], "_z"]], ["Equal", "_z", 0], 0], replace: ["Apply", ["Derivative", ["Function", ["Sinc", "_z"], "_z"], 1], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Derivative", "Sin", "Sinc"], topics: ["sinc"] },
|
|
806
|
+
{ id: "fungrim:771801", match: ["Which", ["NotEqual", "_x", "_y"], ["Multiply", ["Divide", 3, ["Add", ["Negate", "_x"], "_y"]], ["Add", ["CarlsonRC", "_y", "_x"], ["Negate", ["Sqrt", ["Divide", 1, "_y"]]]]], ["Equal", "_x", "_y"], ["Power", "_x", ["Rational", -3, 2]]], replace: ["CarlsonRD", "_x", "_x", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
807
|
+
{ id: "fungrim:772c88", match: ["JacobiTheta", 3, "_z", ["Add", ["Multiply", 2, "_n"], "_tau"]], replace: ["JacobiTheta", 3, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
808
|
+
{ id: "fungrim:774d37", match: ["Add", ["Ln", "_z"], ["GammaLn", "_z"]], replace: ["GammaLn", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GammaLn", "Ln"], topics: ["gamma"] },
|
|
809
|
+
{ id: "fungrim:775637", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 4, "_z", "_tau"], ["JacobiTheta", 2, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"]], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
810
|
+
{ id: "fungrim:77d6bf", match: ["Multiply", ["Add", ["Multiply", "ImaginaryUnit", ["Sin", "_b"]], ["Cos", "_b"]], ["Power", "ExponentialE", "_a"]], replace: ["Exp", ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Exp", "Sin"], topics: ["exp"] },
|
|
811
|
+
{ id: "fungrim:77e519", match: ["Multiply", ["Rational", 1, 2], "Pi", ["Sign", "_y"]], replace: ["Arctan2", "_y", 0], guards: [{ k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan2", "Sign"], topics: ["atan"] },
|
|
812
|
+
{ id: "fungrim:78131f", match: ["CarlsonRJ", 0, -1, -1, 1], replace: ["Negate", ["Multiply", ["Divide", ["Multiply", 3, "Pi"], 4], ["Add", 1, "ImaginaryUnit"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
813
|
+
{ id: "fungrim:78f1f4", match: ["Multiply", "_z", ["Gamma", "_z"]], replace: ["Gamma", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma"], topics: ["gamma"] },
|
|
814
|
+
{ id: "fungrim:78f5bb", match: ["Negate", ["ChebyshevU", ["Add", "_n", -2], "_x"]], replace: ["ChebyshevU", ["Negate", "_n"], "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
815
|
+
{ id: "fungrim:794106", match: ["Divide", ["Add", ["Multiply", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]], ["Multiply", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]]], ["Multiply", ["JacobiTheta", 3, 0, "_tau"], ["Power", ["JacobiTheta", 2, 0, "_tau"], 2]]], replace: ["JacobiTheta", 3, ["Multiply", 2, "_z"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
816
|
+
{ id: "fungrim:7954ad", match: ["Arcsin", ["Divide", "_z", ["Sqrt", ["Add", ["Power", "_z", 2], 1]]]], replace: ["Arctan", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", "ImaginaryUnit", "_z"], ["Union", ["Interval", ["Open", "NegativeInfinity"], -1], ["Interval", 1, ["Open", "PositiveInfinity"]]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arcsin", "Arctan"], topics: ["atan"] },
|
|
817
|
+
{ id: "fungrim:799b5e", match: ["JacobiTheta", 3, 0, ["Multiply", ["Sqrt", 6], "ImaginaryUnit"]], replace: ["Sqrt", ["Multiply", ["Divide", 2, "Pi"], ["EllipticK", ["Multiply", ["Power", ["Subtract", 2, ["Sqrt", 3]], 2], ["Power", ["Subtract", ["Sqrt", 2], ["Sqrt", 3]], 2]]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
818
|
+
{ id: "fungrim:7a168a", match: ["CarlsonRF", ["Multiply", "_lamda", "_x"], ["Multiply", "_lamda", "_y"], ["Multiply", "_lamda", "_z"]], replace: ["Multiply", ["Power", "_lamda", ["Negate", ["Divide", 1, 2]]], ["CarlsonRF", "_x", "_y", "_z"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_lamda", t: "real" }, { k: "cmp", wc: "_lamda", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
819
|
+
{ id: "fungrim:7a1799", match: ["Multiply", ["Rational", 1, 2], ["Add", ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["Power", -1, "_a"]], 1]], 1], ["Abs", ["Multiply", "_a", ["Add", "_a", -2]]]], replace: ["LCM", "_a", ["Subtract", "_a", 2]], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
820
|
+
{ id: "fungrim:7a9dad", match: ["Multiply", "_x", ["CarlsonRC", ["Power", "_y", 2], ["Add", ["Power", "_x", 2], ["Power", "_y", 2]]]], replace: ["Arctan", ["Divide", "_x", "_y"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_x", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
821
|
+
{ id: "fungrim:7ac286", match: ["Multiply", ["Divide", ["Power", "ExponentialE", ["Negate", "_z"]], "_z"], ["Sqrt", ["Multiply", ["Rational", 1, 2], "Pi", "_z"]]], replace: ["BesselK", ["Negate", ["Divide", 1, 2]], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK", "Exp"], topics: ["bessel"] },
|
|
822
|
+
{ id: "fungrim:7ae3ed", match: ["Add", ["Multiply", ["Divide", 1, "Pi"], ["Integrate", ["Function", ["Block", ["Multiply", ["Cos", ["Multiply", "_nu", "t"]], ["Power", "ExponentialE", ["Multiply", "_z", ["Cos", "t"]]]]], "_nu", "_z", "t"], ["Limits", "t", 0, "Pi"]]], ["Negate", ["Multiply", ["Divide", ["Sin", ["Multiply", "Pi", "_nu"]], "Pi"], ["Integrate", ["Function", ["Block", ["Power", "ExponentialE", ["Add", ["Negate", ["Multiply", "_nu", "t"]], ["Negate", ["Multiply", "_z", ["Cosh", "t"]]]]]], "_nu", "_z", "t"], ["Limits", "t", 0, "PositiveInfinity"]]]]], replace: ["BesselI", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Cos", "Cosh", "Exp", "Integrate", "Sin"], topics: ["bessel"] },
|
|
823
|
+
{ id: "fungrim:7b0abf", match: ["GCD", ["Fibonacci", "_n"], ["Fibonacci", ["Add", "_n", 1]]], replace: 1, guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci", "GCD"], topics: ["fibonacci"] },
|
|
824
|
+
{ id: "fungrim:7b27cd", match: ["Count", ["Set", "k", ["Element", "k", ["Range", 1, "_n"], ["Equal", ["GCD", "_n", "k"], 1]]]], replace: ["Totient", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD", "Totient"], topics: ["gcd"] },
|
|
825
|
+
{ id: "fungrim:7b2c26", match: ["Add", ["Negate", ["Multiply", ["Add", ["Negate", ["Power", "_x", 2]], 1], ["ChebyshevU", ["Add", "_n", -2], "_x"]]], ["Multiply", "_x", ["ChebyshevT", ["Add", "_n", -1], "_x"]]], replace: ["ChebyshevT", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU"], topics: ["chebyshev"] },
|
|
826
|
+
{ id: "fungrim:7b362f", match: ["AGM", 1, ["Sqrt", 2]], replace: ["Divide", 1, ["Power", ["JacobiTheta", 4, 0, "ImaginaryUnit"], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["AGM", "JacobiTheta"], topics: ["agm"] },
|
|
827
|
+
{ id: "fungrim:7b62e4", match: ["Add", ["Multiply", -12, ["Sum", ["Divide", 1, ["Add", ["Cos", ["Multiply", 2, "Pi", "_tau", "m"]], -1]], ["Limits", "m", 1, "PositiveInfinity"]]], 1], replace: ["EisensteinE", 2, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "EisensteinE", "HH", "Sum"], topics: ["eisenstein"] },
|
|
828
|
+
{ id: "fungrim:7c00e6", match: ["Add", ["Negate", ["Multiply", ["Divide", ["Multiply", 4, "_k"], ["BernoulliB", ["Multiply", 2, "_k"]]], ["Sum", ["Multiply", ["DivisorSigma", ["Add", ["Multiply", 2, "_k"], -1], "n"], ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau", "n"]]], ["Limits", "n", 1, "PositiveInfinity"]]]], 1], replace: ["EisensteinE", ["Multiply", 2, "_k"], "_tau"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "DivisorSigma", "EisensteinE", "Exp", "HH", "Sum"], topics: ["eisenstein"] },
|
|
829
|
+
{ id: "fungrim:7c50d1", match: ["Multiply", ["Divide", ["Multiply", ["Sqrt", 2], ["Power", "Pi", ["Rational", 3, 2]]], ["Multiply", 2, ["Power", ["Gamma", ["Rational", 1, 4]], 2]]], ["Which", ["Or", ["And", ["LessEqual", 0, ["Real", "_x"]], ["Equal", ["Imaginary", "_x"], 0]], ["Less", ["Imaginary", "_x"], 0]], ["Add", 1, "ImaginaryUnit"], "True", ["Add", 1, ["Negate", "ImaginaryUnit"]]], ["Sqrt", "_x"]], replace: ["CarlsonRG", 0, "_x", ["Negate", "_x"]], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG", "Gamma", "Imaginary", "Real"], topics: ["carlson_elliptic"] },
|
|
830
|
+
{ id: "fungrim:7cbe17", match: ["Which", ["NotEqual", "_x", 0], ["Multiply", "PositiveInfinity", ["Sign", ["Sqrt", ["Divide", 1, "_x"]]]], ["Equal", "_x", 0], "ComplexInfinity"], replace: ["CarlsonRC", "_x", 0], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "Sign"], topics: ["carlson_elliptic"] },
|
|
831
|
+
{ id: "fungrim:7cc3d3", match: ["DedekindEta", ["Multiply", 7, "ImaginaryUnit"]], replace: ["Multiply", ["Multiply", ["Divide", 1, ["Sqrt", 7]], ["Power", ["Add", ["Add", ["Negate", ["Divide", 7, 2]], ["Sqrt", 7]], ["Multiply", ["Divide", 1, 2], ["Sqrt", ["Add", -7, ["Multiply", 4, ["Sqrt", 7]]]]]], ["Divide", 1, 4]]], ["DedekindEta", "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta"], topics: ["dedekind_eta"] },
|
|
832
|
+
{ id: "fungrim:7cda09", match: ["Apply", ["Derivative", ["Function", ["Block", ["EisensteinE", 2, "_tau"]], "_tau"], 1], "_tau"], replace: ["Multiply", ["Multiply", ["Multiply", 2, "Pi"], "ImaginaryUnit"], ["Divide", ["Subtract", ["Power", ["EisensteinE", 2, "_tau"], 2], ["EisensteinE", 4, "_tau"]], 12]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
833
|
+
{ id: "fungrim:7cddc6", match: ["Multiply", ["Rational", 1, 2], ["EllipticE", ["Add", ["Divide", ["Negate", "_y"], "_x"], 1]], ["Sqrt", "_x"]], replace: ["CarlsonRG", 0, "_x", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["Less", ["Abs", ["Subtract", ["Argument", "_x"], ["Argument", "_y"]]], "Pi"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG", "EllipticE"], topics: ["carlson_elliptic"] },
|
|
834
|
+
{ id: "fungrim:7d111e", match: ["ChebyshevU", ["Add", ["Multiply", 2, "_n"], 1], 0], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
835
|
+
{ id: "fungrim:7d7c65", match: ["JacobiTheta", 2, 0, "ImaginaryUnit"], replace: ["Multiply", ["Power", 2, ["Negate", ["Divide", 1, 4]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
836
|
+
{ id: "fungrim:7dab87", match: ["Negate", ["Divide", ["BernoulliB", ["Add", "_n", 1]], ["Add", "_n", 1]]], replace: ["HurwitzZeta", ["Negate", "_n"], 0], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
837
|
+
{ id: "fungrim:7dd050", match: ["Arctan", ["Add", 2, ["Negate", ["Sqrt", 3]]]], replace: ["Divide", "Pi", 12], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
838
|
+
{ id: "fungrim:7ded8f", match: ["CarlsonHypergeometricR", ["Rational", -1, 2], ["List", ["Rational", 1, 2], 1], ["List", "_x", "_y"]], replace: ["CarlsonRC", "_x", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "eval", pred: ["NotElement", "_x", ["Interval", ["Open", "NegativeInfinity"], ["Open", 0]]] }, { k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["NotElement", "_y", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonHypergeometricR", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
839
|
+
{ id: "fungrim:7e0002", match: ["Divide", ["Add", ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]], ["Multiply", 2, ["JacobiTheta", 3, 0, ["Multiply", 2, "_tau"]]]], replace: ["JacobiTheta", 3, ["Multiply", 2, "_z"], ["Multiply", 2, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
840
|
+
{ id: "fungrim:7e882c", match: ["ChebyshevT", "_m", ["ChebyshevT", "_n", "_x"]], replace: ["ChebyshevT", ["Multiply", "_m", "_n"], "_x"], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
841
|
+
{ id: "fungrim:7ea1ad", match: ["CarlsonRC", -1, 1], replace: ["Subtract", ["Divide", ["Multiply", "Pi", ["Sqrt", 2]], 4], ["Multiply", ["Divide", ["Multiply", ["Sqrt", 2], ["Ln", ["Add", 1, ["Sqrt", 2]]]], 2], "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC", "Ln"], topics: ["carlson_elliptic"] },
|
|
842
|
+
{ id: "fungrim:7ec4f0", match: ["Digamma", ["Rational", 1, 4]], replace: ["Subtract", ["Subtract", ["Negate", ["Divide", "Pi", 2]], "EulerGamma"], ["Multiply", 3, ["Ln", 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma", "Ln"], topics: ["digamma_function"] },
|
|
843
|
+
{ id: "fungrim:7ef291", match: ["NPartition", 3], replace: 3, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["NPartition"], topics: ["partitions"] },
|
|
844
|
+
{ id: "fungrim:7ef2c7", match: ["Add", ["Multiply", 2, ["Fibonacci", ["Add", "_n", -2]]], ["Fibonacci", ["Add", "_n", -3]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
845
|
+
{ id: "fungrim:7efe21", match: ["Multiply", ["HypergeometricUStar", ["Add", "_nu", ["Rational", 1, 2]], ["Add", ["Multiply", 2, "_nu"], 1], ["Multiply", 2, "_z"]], ["Power", "ExponentialE", ["Negate", "_z"]], ["Power", ["Divide", ["Multiply", 2, "_z"], "Pi"], ["Rational", -1, 2]]], replace: ["BesselK", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK", "Exp", "HypergeometricUStar"], topics: ["bessel"] },
|
|
846
|
+
{ id: "fungrim:7f355d", match: ["Add", ["Erfc", "_z"], ["Erf", "_z"]], replace: 1, guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Erf", "Erfc"], topics: ["error_functions"] },
|
|
847
|
+
{ id: "fungrim:7f8a58", match: ["CarlsonRJ", 0, 1, 2, ["Sqrt", 2]], replace: ["Divide", ["Multiply", 3, ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Multiply", 16, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Gamma"], topics: ["carlson_elliptic"] },
|
|
848
|
+
{ id: "fungrim:7f9273", match: ["JacobiTheta", 3, 0, ["Divide", "ImaginaryUnit", 4]], replace: ["Multiply", ["Multiply", ["Multiply", ["Divide", ["Add", 1, ["Power", 2, ["Negate", ["Divide", 1, 4]]]], ["Sqrt", ["Add", 1, ["Sqrt", 2]]]], ["Sqrt", ["Divide", ["Add", ["Sqrt", 2], 1], 2]]], ["Power", 2, ["Divide", 1, 2]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
849
|
+
{ id: "fungrim:805c7a", match: ["Min", ["Set", "m", ["Element", "m", "PositiveIntegers", ["And", ["Divides", "_a", "m"], ["Divides", "_b", "m"]]]]], replace: ["LCM", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "ne", lhs: "_a", rhs: 0 }, { k: "type", wc: "_b", t: "integer" }, { k: "ne", lhs: "_b", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Divides", "LCM", "Min"], topics: ["gcd"] },
|
|
850
|
+
{ id: "fungrim:80f20f", match: ["GCD", "_a", ["Add", "_a", -2]], replace: ["Add", 1, ["Divide", ["Add", 1, ["Power", -1, "_a"]], 2]], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
851
|
+
{ id: "fungrim:812707", match: ["Multiply", ["Power", "ExponentialE", "_a"], ["Power", "ExponentialE", "_b"]], replace: ["Exp", ["Add", "_a", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp"], topics: ["exp"] },
|
|
852
|
+
{ id: "fungrim:81550a", match: ["JacobiTheta", 4, 0, ["Add", ["Multiply", "ImaginaryUnit", "_y"], 1]], replace: ["JacobiTheta", 3, 0, ["Multiply", "_y", "ImaginaryUnit"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
853
|
+
{ id: "fungrim:81eec6", match: ["Multiply", ["Hypergeometric0F1Regularized", ["Add", "_nu", 1], ["Multiply", ["Rational", 1, 4], ["Power", "_z", 2]]], ["Power", ["Multiply", ["Rational", 1, 2], "_z"], "_nu"]], replace: ["BesselI", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "cmp", wc: "_nu", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Hypergeometric0F1Regularized"], topics: ["bessel"] },
|
|
854
|
+
{ id: "fungrim:81f7db", match: ["IncompleteEllipticF", ["Multiply", ["Rational", -1, 2], "Pi"], "_m"], replace: ["Negate", ["EllipticK", "_m"]], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["EllipticK", "IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
855
|
+
{ id: "fungrim:81ffcd", match: ["Apply", ["Derivative", ["Function", ["Block", ["BesselK", 0, "_z"]], "_z"], 1], "_z"], replace: ["Negate", ["BesselK", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK", "Derivative"], topics: ["bessel"] },
|
|
856
|
+
{ id: "fungrim:82288c", match: ["ChebyshevT", "_n", ["Add", ["Multiply", 2, ["Power", "_x", 2]], -1]], replace: ["ChebyshevT", ["Multiply", 2, "_n"], "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
857
|
+
{ id: "fungrim:829185", match: ["Multiply", ["BernoulliB", "_n"], ["Power", -1, "_n"]], replace: ["BernoulliPolynomial", "_n", 1], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "BernoulliPolynomial"], topics: ["bernoulli_numbers"] },
|
|
858
|
+
{ id: "fungrim:82b410", match: ["Add", ["LogBarnesG", ["Add", "_z", 1]], ["Which", ["Or", ["And", ["Less", ["Real", "_z"], 1], ["Equal", ["Imaginary", "_z"], 0]], ["Less", 0, ["Imaginary", "_z"]], ["Less", 0, ["Real", "_z"], 1]], ["Add", ["Multiply", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 2], ["Add", ["Power", "_z", 2], ["Negate", "_z"], ["Rational", 1, 6]]], ["Negate", ["Multiply", "_z", ["Add", ["GammaLn", "_z"], ["GammaLn", ["Add", ["Negate", "_z"], 1]]]]], ["Negate", ["Multiply", ["Divide", "ImaginaryUnit", ["Multiply", 2, "Pi"]], ["PolyLog", 2, ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_z"]]]]]], ["Or", ["And", ["Less", -1, ["Real", "_z"]], ["Equal", ["Imaginary", "_z"], 0]], ["Less", ["Imaginary", "_z"], 0], ["Less", -1, ["Real", "_z"], 0]], ["Negate", ["Add", ["Multiply", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 2], ["Add", ["Power", ["Negate", "_z"], 2], "_z", ["Rational", 1, 6]]], ["Multiply", "_z", ["Add", ["GammaLn", ["Negate", "_z"]], ["GammaLn", ["Add", "_z", 1]]]], ["Negate", ["Multiply", ["Divide", "ImaginaryUnit", ["Multiply", 2, "Pi"]], ["PolyLog", 2, ["Power", "ExponentialE", ["Multiply", -2, "ImaginaryUnit", "Pi", "_z"]]]]]]]]], replace: ["LogBarnesG", ["Subtract", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "Integers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "GammaLn", "Imaginary", "LogBarnesG", "PolyLog", "Real"], topics: ["barnes_g"] },
|
|
859
|
+
{ id: "fungrim:82c83f", match: ["Sin", ["Conjugate", "_z"]], replace: ["Conjugate", ["Sin", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "Sin"], topics: ["sine"] },
|
|
860
|
+
{ id: "fungrim:83065e", match: ["Apply", ["Derivative", ["Function", ["Block", ["HurwitzZeta", "_s", "_a"]], "_a"], 1], "_a"], replace: ["Negate", ["Multiply", "_s", ["HurwitzZeta", ["Add", "_s", 1], "_a"]]], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "eval", pred: ["NotElement", "_s", ["Set", 0, 1]] }, { k: "type", wc: "_a", t: "complex" }, { k: "part-cmp", wc: "_a", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
861
|
+
{ id: "fungrim:8356db", match: ["JacobiTheta", 3, 0, ["Multiply", 9, "ImaginaryUnit"]], replace: ["Multiply", ["Divide", ["Add", 1, ["Power", ["Multiply", 2, ["Add", ["Sqrt", 3], 1]], ["Divide", 1, 3]]], 3], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
862
|
+
{ id: "fungrim:83abff", match: ["Apply", ["Derivative", ["Function", ["Block", ["Sqrt", "_z"]], "_z"], "_r"], "_z"], replace: ["Multiply", ["Multiply", ["Power", -1, "_r"], ["RisingFactorial", ["Negate", ["Divide", 1, 2]], "_r"]], ["Power", "_z", ["Subtract", "_r", ["Divide", 1, 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "RisingFactorial"], topics: ["sqrt"] },
|
|
863
|
+
{ id: "fungrim:8415c7", match: ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["Gamma", "_z"]], "_z"], 1], "_z"], ["Gamma", "_z"]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Digamma", "Gamma"], topics: ["digamma_function"] },
|
|
864
|
+
{ id: "fungrim:844561", match: ["Add", ["Negate", ["Multiply", "_x", ["ChebyshevU", ["Add", "_n", -1], "_x"]]], ["ChebyshevU", "_n", "_x"]], replace: ["ChebyshevT", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU"], topics: ["chebyshev"] },
|
|
865
|
+
{ id: "fungrim:8472cc", match: ["Negate", ["Multiply", ["Add", ["Divide", ["Sin", "_z"], "_z"], ["Divide", ["Cos", "_z"], ["Power", "_z", 2]]], ["Sqrt", ["Divide", ["Multiply", 2, "_z"], "Pi"]]]], replace: ["BesselY", ["Divide", 3, 2], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselY", "Cos", "Sin"], topics: ["bessel"] },
|
|
866
|
+
{ id: "fungrim:848d97", match: ["Add", ["Negate", ["Multiply", ["Divide", ["Multiply", 4, "_k"], ["BernoulliB", ["Multiply", 2, "_k"]]], ["Sum", ["Divide", ["Multiply", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau", "n"]], ["Power", "n", ["Add", ["Multiply", 2, "_k"], -1]]], ["Add", ["Negate", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau", "n"]]], 1]], ["Limits", "n", 1, "PositiveInfinity"]]]], 1], replace: ["EisensteinE", ["Multiply", 2, "_k"], "_tau"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "EisensteinE", "Exp", "HH", "Sum"], topics: ["eisenstein"] },
|
|
867
|
+
{ id: "fungrim:849751", match: ["Negate", ["Conjugate", ["Multiply", "ImaginaryUnit", ["CarlsonRJ", "_x", "_y", "_z", ["Negate", "_w"]]]]], replace: ["CarlsonRJ", ["Negate", "_x"], ["Negate", "_y"], ["Negate", "_z"], "_w"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "real" }, { k: "cmp", wc: "_z", op: "gt", bound: 0 }, { k: "type", wc: "_w", t: "real" }, { k: "cmp", wc: "_w", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRJ", "Conjugate"], topics: ["carlson_elliptic"] },
|
|
868
|
+
{ id: "fungrim:84b888", match: ["AGMSequence", 0, "_a", "_b"], replace: ["Tuple", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["AGMSequence"], topics: ["agm"] },
|
|
869
|
+
{ id: "fungrim:84ea08", match: ["CarlsonRD", 0, 1, 1], replace: ["Divide", ["Multiply", 3, "Pi"], 4], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
870
|
+
{ id: "fungrim:84f403", match: ["CarlsonRG", 0, 1, 2], replace: ["Add", ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 8, ["Sqrt", ["Multiply", 2, "Pi"]]]], ["Divide", ["Power", "Pi", ["Divide", 3, 2]], ["Multiply", ["Sqrt", 2], ["Power", ["Gamma", ["Divide", 1, 4]], 2]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRG", "Gamma"], topics: ["carlson_elliptic"] },
|
|
871
|
+
{ id: "fungrim:8519dd", match: ["CarlsonRF", 0, ["Divide", ["Power", ["Gamma", ["Rational", 1, 4]], 4], ["Multiply", 32, "Pi"]], ["Divide", ["Negate", ["Power", ["Gamma", ["Rational", 1, 4]], 4]], ["Multiply", 32, "Pi"]]], replace: ["Subtract", 1, "ImaginaryUnit"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
872
|
+
{ id: "fungrim:8547ab", match: ["Multiply", ["Rational", 1, 2], ["Add", ["CoulombH", 1, "_ell", "_eta", "_z"], ["CoulombH", -1, "_ell", "_eta", "_z"]]], replace: ["CoulombG", "_ell", "_eta", "_z"], guards: [{ k: "type", wc: "_ell", t: "complex" }, { k: "type", wc: "_eta", t: "complex" }, { k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CoulombG", "CoulombH"], topics: ["coulomb_wave"] },
|
|
873
|
+
{ id: "fungrim:856317", match: ["MultiZetaValue", 2, 3], replace: ["Subtract", ["Multiply", ["Divide", 9, 2], ["Zeta", 5]], ["Multiply", ["Multiply", 2, ["Zeta", 2]], ["Zeta", 3]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["MultiZetaValue", "Zeta"], topics: ["multiple_zeta_values"] },
|
|
874
|
+
{ id: "fungrim:859445", match: ["Multiply", "_z", ["Divide", ["Power", -1, "_n"], ["Power", 4, "_n"]], ["Add", ["Multiply", 2, "_n"], 1], ["Hypergeometric2F1", ["Negate", "_n"], ["Add", "_n", ["Rational", 3, 2]], ["Rational", 3, 2], ["Power", "_z", 2]], ["Binomial", ["Multiply", 2, "_n"], "_n"]], replace: ["LegendrePolynomial", ["Add", ["Multiply", 2, "_n"], 1], "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial", "Hypergeometric2F1", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
875
|
+
{ id: "fungrim:85b2ff", match: ["Divide", ["Power", ["DedekindEta", ["Multiply", ["Rational", 1, 2], ["Add", "_tau", 1]]], 2], ["DedekindEta", ["Add", "_tau", 1]]], replace: ["JacobiTheta", 3, 0, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
876
|
+
{ id: "fungrim:85eebc", match: ["LegendrePolynomial", ["Add", ["Multiply", 2, "_n"], 1], 0], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
877
|
+
{ id: "fungrim:8621f6", match: ["Multiply", ["GCD", "_r", "_c"], ["GCD", "_s", "_c"]], replace: ["GCD", ["Multiply", "_r", "_s"], "_c"], guards: [{ k: "type", wc: "_r", t: "integer" }, { k: "type", wc: "_s", t: "integer" }, { k: "type", wc: "_c", t: "integer" }, { k: "eval", pred: ["Equal", ["GCD", "_r", "_s"], 1] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
878
|
+
{ id: "fungrim:8654a3", match: ["LambertW", ["Multiply", "_x", ["Power", "ExponentialE", "_x"]]], replace: "_x", guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "ge", bound: -1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "LambertW"], topics: ["lambertw"] },
|
|
879
|
+
{ id: "fungrim:868061", match: ["HurwitzZeta", 2, ["Rational", 1, 2]], replace: ["Divide", ["Power", "Pi", 2], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
880
|
+
{ id: "fungrim:86b3ec", match: ["Multiply", ["Gamma", "_z"], ["BarnesG", "_z"]], replace: ["BarnesG", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BarnesG", "Gamma"], topics: ["barnes_g"] },
|
|
881
|
+
{ id: "fungrim:871996", match: ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], replace: ["Multiply", ["Multiply", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 12], ["DedekindEta", "_tau"]], ["EisensteinE", 2, "_tau"]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Derivative", "EisensteinE", "HH"], topics: ["dedekind_eta"] },
|
|
882
|
+
{ id: "fungrim:87e9ed", match: ["DedekindEta", ["Multiply", 2, "ImaginaryUnit"]], replace: ["Divide", ["DedekindEta", "ImaginaryUnit"], ["Power", 2, ["Divide", 3, 8]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta"], topics: ["dedekind_eta"] },
|
|
883
|
+
{ id: "fungrim:888581", match: ["Divide", ["Multiply", ["Gamma", "_a"], ["Gamma", "_b"]], ["Gamma", ["Add", "_a", "_b"]]], replace: ["Beta", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Beta", "Gamma"], topics: ["beta_function", "gamma"] },
|
|
884
|
+
{ id: "fungrim:88aeb6", match: ["Multiply", ["ChebyshevU", "_n", "_x"], ["Power", -1, "_n"]], replace: ["ChebyshevU", "_n", ["Negate", "_x"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
885
|
+
{ id: "fungrim:89985a", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Negate", ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"]], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
886
|
+
{ id: "fungrim:89bed3", match: ["Digamma", ["Rational", 1, 2]], replace: ["Subtract", ["Negate", ["Multiply", 2, ["Ln", 2]]], "EulerGamma"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma", "Ln"], topics: ["digamma_function"] },
|
|
887
|
+
{ id: "fungrim:8a316c", match: ["Add", ["Multiply", 8, ["Sum", ["Divide", ["Multiply", 2, "n", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau", "n"]]], ["Add", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau", "n"]], 1]], ["Limits", "n", 0, "PositiveInfinity"]]], ["Multiply", 8, ["Sum", ["Divide", ["Multiply", ["Add", ["Multiply", 2, "n"], 1], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]]], ["Add", ["Negate", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]]], 1]], ["Limits", "n", 0, "PositiveInfinity"]]], 1], replace: ["Power", ["JacobiTheta", 3, 0, "_tau"], 4], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta", "Sum"], topics: ["jacobi_theta"] },
|
|
888
|
+
{ id: "fungrim:8a34d1", match: ["Add", ["Multiply", 2, ["Sum", ["Multiply", ["Cos", ["Multiply", 2, "Pi", "_z", "n"]], ["Power", -1, "n"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Power", "n", 2]]]], ["Limits", "n", 1, "PositiveInfinity"]]], 1], replace: ["JacobiTheta", 4, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Exp", "HH", "JacobiTheta", "Sum"], topics: ["jacobi_theta"] },
|
|
889
|
+
{ id: "fungrim:8a548e", match: ["Matrix", ["List", ["List", ["Fibonacci", ["Add", "_n", 1]], ["Fibonacci", "_n"]], ["List", ["Fibonacci", "_n"], ["Fibonacci", ["Add", "_n", -1]]]]], replace: ["Power", ["Matrix", ["List", ["List", 1, 1], ["List", 1, 0]]], "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
890
|
+
{ id: "fungrim:8a785a", match: ["Add", ["Multiply", 2, "_x", ["ChebyshevT", ["Add", "_n", 1], "_x"]], ["Negate", ["ChebyshevT", ["Add", "_n", 2], "_x"]]], replace: ["ChebyshevT", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
891
|
+
{ id: "fungrim:8ae153", match: ["StieltjesGamma", 0, 1], replace: "EulerGamma", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["StieltjesGamma"], topics: ["riemann_zeta"] },
|
|
892
|
+
{ id: "fungrim:8b4be6", match: ["IncompleteEllipticF", ["Multiply", ["Rational", 1, 4], "Pi"], 2], replace: ["Divide", ["Multiply", ["Sqrt", 2], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Multiply", 8, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma", "IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
893
|
+
{ id: "fungrim:8b4f7f", match: ["Add", ["Multiply", "_n", ["Power", "_x", ["Add", "_n", -1]]], ["BernoulliPolynomial", "_n", "_x"]], replace: ["BernoulliPolynomial", "_n", ["Add", "_x", 1]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliPolynomial"], topics: ["bernoulli_numbers"] },
|
|
894
|
+
{ id: "fungrim:8b6264", match: ["Apply", ["Derivative", ["Function", ["Block", ["BesselY", 0, "_z"]], "_z"], 1], "_z"], replace: ["Negate", ["BesselY", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselY", "Derivative"], topics: ["bessel"] },
|
|
895
|
+
{ id: "fungrim:8b7991", match: ["BarnesG", ["Rational", 1, 2]], replace: ["Divide", ["Multiply", ["Power", 2, ["Divide", 1, 24]], ["Exp", ["Divide", 1, 8]]], ["Multiply", ["Power", "Pi", ["Divide", 1, 4]], ["Power", "ConstGlaisher", ["Divide", 3, 2]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["BarnesG", "ConstGlaisher", "Exp"], topics: ["barnes_g"] },
|
|
896
|
+
{ id: "fungrim:8b825c", match: ["JacobiTheta", 4, ["Multiply", 2, "_z"], "_tau"], replace: ["Divide", ["Subtract", ["Power", ["JacobiTheta", 4, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 4]], ["Power", ["JacobiTheta", 4, 0, "_tau"], 3]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
897
|
+
{ id: "fungrim:8bb972", match: ["CarlsonRF", 0, 1, 1], replace: ["Divide", "Pi", 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
898
|
+
{ id: "fungrim:8bbb6f", match: ["Add", ["HurwitzZeta", "_s", ["Rational", 1, 4]], ["HurwitzZeta", "_s", ["Rational", 3, 4]]], replace: ["Multiply", ["Multiply", ["Power", 2, "_s"], ["Subtract", ["Power", 2, "_s"], 1]], ["Zeta", "_s"]], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "ne", lhs: "_s", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
899
|
+
{ id: "fungrim:8be138", match: ["Power", "ImaginaryUnit", 3], replace: ["Negate", "ImaginaryUnit"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["imaginary_unit"] },
|
|
900
|
+
{ id: "fungrim:8be46c", match: ["ModularJ", ["Multiply", 3, "ImaginaryUnit"]], replace: ["Multiply", ["Multiply", 64, ["Power", ["Add", 2, ["Sqrt", 3]], 2]], ["Power", ["Add", 21, ["Multiply", 20, ["Sqrt", 3]]], 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
901
|
+
{ id: "fungrim:8c1ee5", match: ["Sign", ["Sqrt", "_z"]], replace: ["Sqrt", ["Sign", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Sign"], topics: ["sqrt"] },
|
|
902
|
+
{ id: "fungrim:8c21f5", match: ["Binomial", "_n", "_n"], replace: 1, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial"], topics: ["factorials"] },
|
|
903
|
+
{ id: "fungrim:8c368f", match: ["Digamma", ["Rational", 1, 8]], replace: ["Subtract", ["Subtract", ["Subtract", ["Negate", ["Multiply", ["Divide", "Pi", 2], ["Add", ["Sqrt", 2], 1]]], "EulerGamma"], ["Multiply", 4, ["Ln", 2]]], ["Divide", ["Subtract", ["Ln", ["Add", 2, ["Sqrt", 2]]], ["Ln", ["Subtract", 2, ["Sqrt", 2]]]], ["Sqrt", 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma", "Ln"], topics: ["digamma_function"] },
|
|
904
|
+
{ id: "fungrim:8c4ab4", match: ["Which", ["CongruentMod", "_n", 0, 4], ["JacobiTheta", 4, 0, "ImaginaryUnit"], ["CongruentMod", "_n", 2, 4], ["JacobiTheta", 3, 0, "ImaginaryUnit"], "True", ["Multiply", ["JacobiTheta", 3, 0, "ImaginaryUnit"], ["Power", 2, ["Rational", -7, 16]], ["Root", ["Add", 1, ["Sqrt", 2]], 4]]], replace: ["JacobiTheta", 4, ["Divide", "_n", 4], "ImaginaryUnit"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CongruentMod", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
905
|
+
{ id: "fungrim:8c96a5", match: ["Add", ["Multiply", ["Rational", 1, 2], "_z", ["Add", ["Negate", "_z"], 1]], ["Multiply", ["Rational", 1, 2], "_z", ["Ln", ["Multiply", 2, "Pi"]]], ["Multiply", "_z", ["GammaLn", "_z"]], ["Negate", ["Integrate", ["Function", ["Block", ["GammaLn", "x"]], "x"], ["Limits", "x", 0, "_z"]]]], replace: ["LogBarnesG", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], -1]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GammaLn", "Integrate", "Ln", "LogBarnesG"], topics: ["barnes_g"] },
|
|
906
|
+
{ id: "fungrim:8c9ba1", match: ["Which", ["Less", 1, "_c"], ["Divide", ["Arctan", ["Sqrt", ["Add", "_c", -1]]], ["Sqrt", ["Multiply", "_x", ["Add", "_c", -1]]]], ["Equal", "_c", 1], ["Sqrt", ["Divide", 1, "_x"]], ["Less", "_c", 1], ["Divide", ["Artanh", ["Sqrt", ["Add", ["Negate", "_c"], 1]]], ["Sqrt", ["Multiply", "_x", ["Add", ["Negate", "_c"], 1]]]]], replace: ["CarlsonRC", "_x", ["Multiply", "_c", "_x"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Artanh", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
907
|
+
{ id: "fungrim:8cac46", match: ["Argument", ["Multiply", "_c", "_z"]], replace: ["Argument", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Argument"], topics: ["complex_parts"] },
|
|
908
|
+
{ id: "fungrim:8d0629", match: ["Multiply", ["Which", ["NotEqual", "_y", "_z"], ["Divide", ["Multiply", 3, ["Add", ["Negate", ["EllipticE", ["Add", ["Divide", ["Negate", "_y"], "_z"], 1]]], ["EllipticK", ["Add", ["Divide", ["Negate", "_y"], "_z"], 1]]]], ["Add", ["Divide", ["Negate", "_y"], "_z"], 1]], ["Equal", "_y", "_z"], ["Multiply", ["Rational", 3, 4], "Pi"]], ["Power", "_z", ["Rational", -3, 2]]], replace: ["CarlsonRD", 0, "_y", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["Less", ["Abs", ["Subtract", ["Argument", "_y"], ["Argument", "_z"]]], "Pi"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "EllipticE", "EllipticK"], topics: ["carlson_elliptic"] },
|
|
909
|
+
{ id: "fungrim:8d6a1d", match: ["JacobiTheta", 4, ["Add", ["Multiply", "_n", "_tau"], "_m", "_z"], "_tau"], replace: ["Multiply", ["Multiply", ["Power", -1, "_n"], ["Exp", ["Negate", ["Multiply", ["Multiply", "Pi", "ImaginaryUnit"], ["Add", ["Multiply", "_tau", ["Power", "_n", 2]], ["Multiply", ["Multiply", 2, "_n"], "_z"]]]]]], ["JacobiTheta", 4, "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
910
|
+
{ id: "fungrim:8d90e9", match: ["LCM", "_a", 1], replace: ["Abs", "_a"], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
911
|
+
{ id: "fungrim:8db61e", match: ["Add", ["Negate", ["Multiply", ["Fibonacci", "_n"], ["Fibonacci", ["Add", "_i_var", "_j", "_n"]]]], ["Multiply", ["Fibonacci", ["Add", "_i_var", "_n"]], ["Fibonacci", ["Add", "_j", "_n"]]]], replace: ["Multiply", ["Multiply", ["Power", -1, "_n"], ["Fibonacci", "_i_var"]], ["Fibonacci", "_j"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_i_var", t: "integer" }, { k: "type", wc: "_j", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
912
|
+
{ id: "fungrim:8dc1c9", match: ["LCM", ["GCD", "_a", "_b"], ["GCD", "_a", "_c"]], replace: ["GCD", "_a", ["LCM", "_b", "_c"]], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "type", wc: "_c", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD", "LCM"], topics: ["gcd"] },
|
|
913
|
+
{ id: "fungrim:8e5c81", match: ["EllipticE", ["Conjugate", "_m"]], replace: ["Conjugate", ["EllipticE", "_m"]], guards: [{ k: "type", wc: "_m", t: "complex" }, { k: "eval", pred: ["NotElement", "_m", ["Interval", ["Open", 1], ["Open", "PositiveInfinity"]]] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "EllipticE"], topics: ["legendre_elliptic"] },
|
|
914
|
+
{ id: "fungrim:8e6189", match: ["CarlsonRF", ["Multiply", ["Rational", 1, 4], ["Add", "_x", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]]], ["Multiply", ["Rational", 1, 4], ["Add", "_y", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]]], ["Multiply", ["Rational", 1, 4], ["Add", "_z", ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_y"]], ["Multiply", ["Sqrt", "_x"], ["Sqrt", "_z"]], ["Multiply", ["Sqrt", "_y"], ["Sqrt", "_z"]]]]], replace: ["CarlsonRF", "_x", "_y", "_z"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
915
|
+
{ id: "fungrim:8e6867", match: ["Real", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]], replace: "_x", guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Real"], topics: ["complex_parts"] },
|
|
916
|
+
{ id: "fungrim:8e80c6", match: ["Multiply", "_b", ["AGM", 1, ["Divide", 1, "_b"]]], replace: ["AGM", 1, "_b"], guards: [{ k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
917
|
+
{ id: "fungrim:8e8a59", match: ["Apply", ["Derivative", ["Function", ["Block", ["LambertW", "z"]], "z"], "_r"], 0], replace: ["Power", ["Negate", "_r"], ["Subtract", "_r", 1]], guards: [{ k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "LambertW"], topics: ["lambertw"] },
|
|
918
|
+
{ id: "fungrim:8eed2c", match: ["SloaneA", "'A000041'", "_n"], replace: ["NPartition", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["NPartition", "SloaneA"], topics: ["integer_sequences", "partitions"] },
|
|
919
|
+
{ id: "fungrim:8f176c", match: ["AGM", "_a", 0], replace: 0, guards: [{ k: "type", wc: "_a", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
920
|
+
{ id: "fungrim:8f43ab", match: ["JacobiTheta", 1, 0, "_tau"], replace: 0, guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
921
|
+
{ id: "fungrim:8f4e31", match: ["Add", ["Multiply", ["Rational", 1, 3], "_n", ["CarlsonRJ", ["Power", ["Cos", "_phi"], 2], ["Add", ["Negate", ["Multiply", "_m", ["Power", ["Sin", "_phi"], 2]]], 1], 1, ["Add", ["Negate", ["Multiply", "_n", ["Power", ["Sin", "_phi"], 2]]], 1]], ["Power", ["Sin", "_phi"], 3]], ["Multiply", ["Sin", "_phi"], ["CarlsonRF", ["Power", ["Cos", "_phi"], 2], ["Add", ["Negate", ["Multiply", "_m", ["Power", ["Sin", "_phi"], 2]]], 1], 1]]], replace: ["IncompleteEllipticPi", "_n", "_phi", "_m"], guards: [{ k: "type", wc: "_n", t: "complex" }, { k: "type", wc: "_phi", t: "complex" }, { k: "type", wc: "_m", t: "complex" }, { k: "part-cmp", wc: "_phi", part: "re", op: "ge", bound: ["Divide", ["Negate", "Pi"], 2] }, { k: "part-cmp", wc: "_phi", part: "re", op: "le", bound: ["Divide", "Pi", 2] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "CarlsonRJ", "Cos", "IncompleteEllipticPi", "Sin"], topics: ["carlson_elliptic", "legendre_elliptic"] },
|
|
922
|
+
{ id: "fungrim:8f5d76", match: ["Multiply", 2, ["CarlsonRC", ["Add", "_x", "_y", ["Multiply", 2, ["Sqrt", "_x"], ["Sqrt", "_y"]]], ["Add", "_y", "_y", ["Multiply", 2, ["Sqrt", "_x"], ["Sqrt", "_y"]]]]], replace: ["CarlsonRC", "_x", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
923
|
+
{ id: "fungrim:8fbf69", match: ["Apply", ["Derivative", ["Function", ["Block", ["Arctan", "_z"]], "_z"], 1], "_z"], replace: ["Divide", 1, ["Add", 1, ["Power", "_z", 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", "ImaginaryUnit", "_z"], ["Union", ["Interval", ["Open", "NegativeInfinity"], -1], ["Interval", 1, ["Open", "PositiveInfinity"]]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Derivative"], topics: ["atan"] },
|
|
924
|
+
{ id: "fungrim:9001e6", match: ["ChebyshevU", -1, "_x"], replace: 0, guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
925
|
+
{ id: "fungrim:903962", match: ["Divide", ["ModularLambda", "_tau"], ["Add", ["ModularLambda", "_tau"], -1]], replace: ["Negate", ["Divide", ["Power", ["JacobiTheta", 2, 0, "_tau"], 4], ["Power", ["JacobiTheta", 4, 0, "_tau"], 4]]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta", "ModularLambda"], topics: ["jacobi_theta", "modular_lambda"] },
|
|
926
|
+
{ id: "fungrim:90631b", match: ["Multiply", ["Divide", ["Factorial", ["Add", "_n", -1]], ["Power", ["Add", ["Power", "_z", 2], 1], ["Multiply", ["Rational", 1, 2], ["Add", "_n", 1]]]], ["ChebyshevU", ["Add", "_n", -1], ["Negate", ["Divide", "_z", ["Sqrt", ["Add", ["Power", "_z", 2], 1]]]]]], replace: ["Apply", ["Derivative", ["Function", ["Arctan", "_z"], "_z"], "_n"], "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", "ImaginaryUnit", "_z"], ["Union", ["Interval", ["Open", "NegativeInfinity"], -1], ["Interval", 1, ["Open", "PositiveInfinity"]]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "ChebyshevU", "Derivative", "Factorial"], topics: ["atan"] },
|
|
927
|
+
{ id: "fungrim:9093a3", match: ["ChebyshevT", ["Negate", "_n"], "_x"], replace: ["ChebyshevT", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
928
|
+
{ id: "fungrim:90ac58", match: ["Add", ["Multiply", ["Divide", ["Power", ["Negate", "_z"], ["Negate", "_a"]], ["Multiply", ["Gamma", "_b"], ["Gamma", ["Add", ["Negate", "_a"], "_c"]]]], ["Hypergeometric2F1Regularized", "_a", ["Add", "_a", ["Negate", "_c"], 1], ["Add", "_a", ["Negate", "_b"], 1], ["Divide", 1, "_z"]]], ["Negate", ["Multiply", ["Divide", ["Power", ["Negate", "_z"], ["Negate", "_b"]], ["Multiply", ["Gamma", "_a"], ["Gamma", ["Add", ["Negate", "_b"], "_c"]]]], ["Hypergeometric2F1Regularized", "_b", ["Add", "_b", ["Negate", "_c"], 1], ["Add", ["Negate", "_a"], "_b", 1], ["Divide", 1, "_z"]]]]], replace: ["Multiply", ["Divide", ["Sin", ["Multiply", "Pi", ["Subtract", "_b", "_a"]]], "Pi"], ["Hypergeometric2F1Regularized", "_a", "_b", "_c", "_z"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", 0, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Hypergeometric2F1Regularized", "Sin"], topics: ["gauss_hypergeometric"] },
|
|
929
|
+
{ id: "fungrim:90af98", match: ["CarlsonRF", 0, 0, -1], replace: ["Negate", ["Multiply", "ImaginaryUnit", "PositiveInfinity"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
930
|
+
{ id: "fungrim:90c290", match: ["Hypergeometric2F1", ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_n"], 1]], ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_n"], 2]], ["Add", ["Negate", "_n"], 1], -4], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci", "Hypergeometric2F1"], topics: ["fibonacci"] },
|
|
931
|
+
{ id: "fungrim:90c66a", match: ["Which", ["NotEqual", "_z", 0], ["Add", ["Divide", ["Multiply", -2, ["Cos", "_z"]], ["Power", "_z", 2]], ["Multiply", ["Add", ["Divide", -1, "_z"], ["Divide", 2, ["Power", "_z", 3]]], ["Sin", "_z"]]], ["Equal", "_z", 0], ["Rational", -1, 3]], replace: ["Apply", ["Derivative", ["Function", ["Sinc", "_z"], "_z"], 2], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Derivative", "Sin", "Sinc"], topics: ["sinc"] },
|
|
932
|
+
{ id: "fungrim:921ef0", match: ["DedekindEtaEpsilon", "_a", "_b", "_c", "_d"], replace: ["Exp", ["Multiply", ["Multiply", "Pi", "ImaginaryUnit"], ["Subtract", ["Subtract", ["Divide", ["Add", "_a", "_d"], ["Multiply", 12, "_c"]], ["DedekindSum", "_d", "_c"]], ["Divide", 1, 4]]]], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "type", wc: "_c", t: "integer" }, { k: "type", wc: "_d", t: "integer" }, { k: "eval", pred: ["Equal", ["Subtract", ["Multiply", "_a", "_d"], ["Multiply", "_b", "_c"]], 1] }, { k: "cmp", wc: "_c", op: "gt", bound: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["DedekindEtaEpsilon", "DedekindSum", "Exp"], topics: ["dedekind_eta"] },
|
|
933
|
+
{ id: "fungrim:9227bf", match: ["Divide", ["EllipticE", "_m"], ["Add", ["Negate", "_m"], 1]], replace: ["EllipticPi", "_m", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticE", "EllipticPi"], topics: ["legendre_elliptic"] },
|
|
934
|
+
{ id: "fungrim:925e5b", match: ["Negate", ["Cos", ["Add", "_z", ["Multiply", ["Rational", 1, 2], "Pi"]]]], replace: ["Sin", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
935
|
+
{ id: "fungrim:925fdf", match: ["Add", ["Multiply", ["Add", ["Negate", ["Power", "_z", 2]], 1], ["Apply", ["Derivative", ["Function", ["Block", ["LegendrePolynomial", "_n", "_z"]], "_z"], 1], "_z"]], ["Multiply", "_n", "_z", ["LegendrePolynomial", "_n", "_z"]], ["Negate", ["Multiply", "_n", ["LegendrePolynomial", ["Add", "_n", -1], "_z"]]]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
936
|
+
{ id: "fungrim:931201", match: ["Divide", ["Add", ["Multiply", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]], ["Multiply", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]]], ["Multiply", ["JacobiTheta", 4, 0, "_tau"], ["Power", ["JacobiTheta", 2, 0, "_tau"], 2]]], replace: ["JacobiTheta", 4, ["Multiply", 2, "_z"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
937
|
+
{ id: "fungrim:936694", match: ["Add", ["Multiply", 32, ["Power", ["Add", ["Multiply", -3, ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 1], "_tau"], 2]], ["Multiply", ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 0], "_tau"], ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 2], "_tau"]]], 3]], ["Multiply", ["Power", "Pi", 2], ["Power", ["Add", ["Multiply", -3, ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 1], "_tau"], 2]], ["Multiply", ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 0], "_tau"], ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 2], "_tau"]]], 2], ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 0], "_tau"], 10]], ["Power", ["Add", ["Multiply", 30, ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 1], "_tau"], 3]], ["Multiply", ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 3], "_tau"], ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 0], "_tau"], 2]], ["Multiply", -15, ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 0], "_tau"], ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 1], "_tau"], ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", 0, "_tau"]], "_tau"], 2], "_tau"]]], 2]], replace: 0, guards: [{ k: "member", wc: "_j", set: ["Set", 1, 2, 3, 4] }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
938
|
+
{ id: "fungrim:9395fc", match: ["Hypergeometric2F1", ["Negate", "_n"], ["Add", "_n", 1], 1, ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_z"], 1]]], replace: ["LegendrePolynomial", "_n", "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric2F1", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
939
|
+
{ id: "fungrim:9417f4", match: ["HurwitzZeta", 3, ["Rational", 1, 2]], replace: ["Multiply", 7, ["Zeta", 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
940
|
+
{ id: "fungrim:9448f2", match: ["Divide", ["Power", ["DedekindEta", ["Multiply", ["Rational", 1, 2], "_tau"]], 2], ["DedekindEta", "_tau"]], replace: ["JacobiTheta", 4, 0, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
941
|
+
{ id: "fungrim:945be9", match: ["Tuple", ["Abs", "_a"], 0, ["Sign", "_a"]], replace: ["XGCD", "_a", "_a"], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Sign", "XGCD"], topics: ["gcd"] },
|
|
942
|
+
{ id: "fungrim:94db18", match: ["Erf", ["Negate", "_z"]], replace: ["Negate", ["Erf", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Erf"], topics: ["error_functions"] },
|
|
943
|
+
{ id: "fungrim:94db60", match: ["Sqrt", ["Divide", ["Multiply", "Pi", "_y"], ["Sinh", ["Multiply", "Pi", "_y"]]]], replace: ["Abs", ["Gamma", ["Add", 1, ["Multiply", "_y", "ImaginaryUnit"]]]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "ne", lhs: "_y", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Gamma", "Sinh"], topics: ["gamma"] },
|
|
944
|
+
{ id: "fungrim:94f646", match: ["Add", ["Negate", ["EllipticE", "_m"]], ["EllipticK", "_m"]], replace: ["Multiply", ["Divide", "_m", 3], ["CarlsonRD", 0, ["Subtract", 1, "_m"], 1]], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRD", "EllipticE", "EllipticK"], topics: ["carlson_elliptic", "legendre_elliptic"] },
|
|
945
|
+
{ id: "fungrim:9500d3", match: ["LCM", ["Multiply", "_a", "_n"], ["Multiply", "_b", "_n"]], replace: ["Multiply", ["Abs", "_n"], ["LCM", "_a", "_b"]], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
946
|
+
{ id: "fungrim:951017", match: ["ModularJ", ["Multiply", ["Rational", 1, 2], ["Add", 1, ["Multiply", ["Sqrt", 67], "ImaginaryUnit"]]]], replace: ["Negate", ["Power", 5280, 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
947
|
+
{ id: "fungrim:951f86", match: ["HurwitzZeta", 2, ["Rational", 3, 4]], replace: ["Subtract", ["Power", "Pi", 2], ["Multiply", 8, "CatalanConstant"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
948
|
+
{ id: "fungrim:954066", match: ["Negate", ["Cos", ["Multiply", 2, "_z"]]], replace: ["Subtract", ["Power", ["Sin", "_z"], 2], ["Power", ["Cos", "_z"], 2]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
949
|
+
{ id: "fungrim:958a3f", match: ["EllipticE", 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticE"], topics: ["legendre_elliptic"] },
|
|
950
|
+
{ id: "fungrim:95988c", match: ["Negate", ["JacobiTheta", 2, ["Add", "_z", ["Rational", 1, 2]], "_tau"]], replace: ["JacobiTheta", 1, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
951
|
+
{ id: "fungrim:959a25", match: ["GCD", ["Mod", "_a", "_b"], "_b"], replace: ["GCD", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "ne", lhs: "_b", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD", "Mod"], topics: ["gcd"] },
|
|
952
|
+
{ id: "fungrim:95e508", match: ["Divide", ["Add", ["Negate", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]], ["JacobiTheta", 4, 0, ["Multiply", ["Rational", 1, 2], "_tau"]]], replace: ["JacobiTheta", 4, "_z", ["Divide", "_tau", 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
953
|
+
{ id: "fungrim:95e561", match: ["Add", ["Negate", ["Multiply", ["Add", ["Power", "_nu", 2], ["Power", "_z", 2]], ["BesselI", "_nu", "_z"]]], ["Multiply", ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_nu", "_z"]], "_z"], 2], "_z"], ["Power", "_z", 2]], ["Multiply", "_z", ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_nu", "_z"]], "_z"], 1], "_z"]]], replace: 0, guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Derivative"], topics: ["bessel"] },
|
|
954
|
+
{ id: "fungrim:95e9e4", match: ["JacobiTheta", 3, 0, ["Multiply", 4, "ImaginaryUnit"]], replace: ["Multiply", ["Divide", ["Add", 1, ["Power", 2, ["Negate", ["Divide", 1, 4]]]], 2], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
955
|
+
{ id: "fungrim:95f771", match: ["Add", ["Multiply", ["Rational", 1, 2], "_z", ["Add", ["Negate", "_z"], 1]], ["Multiply", ["Rational", 1, 2], "_z", ["Ln", ["Multiply", 2, "Pi"]]], ["Integrate", ["Function", ["Block", ["Multiply", "x", ["Digamma", "x"]]], "x"], ["Limits", "x", 0, "_z"]]], replace: ["LogBarnesG", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], -1]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Integrate", "Ln", "LogBarnesG"], topics: ["barnes_g"] },
|
|
956
|
+
{ id: "fungrim:967bbb", match: ["Digamma", ["Rational", 5, 6]], replace: ["Subtract", ["Subtract", ["Subtract", ["Divide", ["Multiply", ["Sqrt", 3], "Pi"], 2], "EulerGamma"], ["Multiply", 2, ["Ln", 2]]], ["Divide", ["Multiply", 3, ["Ln", 3]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma", "Ln"], topics: ["digamma_function"] },
|
|
957
|
+
{ id: "fungrim:96af56", match: ["Apply", ["Derivative", ["Function", ["Block", ["Power", "ExponentialE", "_z"]], "_z"], 1], "_z"], replace: ["Exp", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Exp"], topics: ["exp"] },
|
|
958
|
+
{ id: "fungrim:973b2c", match: ["RisingFactorial", "_z", 1], replace: "_z", guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["RisingFactorial"], topics: ["factorials"] },
|
|
959
|
+
{ id: "fungrim:9789ee", match: ["Multiply", ["Sin", ["Multiply", "_x", ["Add", ["Multiply", 2, "_n"], 1]]], ["Power", -1, "_n"]], replace: ["ChebyshevT", ["Add", ["Multiply", 2, "_n"], 1], ["Sin", "_x"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "Sin"], topics: ["chebyshev"] },
|
|
960
|
+
{ id: "fungrim:97ba8d", match: ["Power", "ExponentialE", ["Add", ["Multiply", "ImaginaryUnit", "Pi", "_n"], "_z"]], replace: ["Multiply", ["Power", -1, "_n"], ["Exp", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp"], topics: ["exp"] },
|
|
961
|
+
{ id: "fungrim:980014", match: ["CarlsonRD", 0, 0, 0], replace: "ComplexInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
962
|
+
{ id: "fungrim:98688d", match: ["Multiply", ["Divide", ["Multiply", 2, "_z", ["Power", "ExponentialE", ["Negate", ["Power", "_z", 2]]]], ["Sqrt", "Pi"]], ["Hypergeometric1F1", 1, ["Rational", 3, 2], ["Power", "_z", 2]]], replace: ["Erf", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Erf", "Exp", "Hypergeometric1F1"], topics: ["error_functions"] },
|
|
963
|
+
{ id: "fungrim:98703d", match: ["Multiply", ["Rational", 1, 2], ["Divide", "Pi", ["Sin", ["Multiply", "Pi", "_nu"]]], ["Add", ["Multiply", ["Hypergeometric0F1Regularized", ["Add", ["Negate", "_nu"], 1], ["Multiply", ["Rational", 1, 4], ["Power", "_z", 2]]], ["Power", ["Multiply", ["Rational", 1, 2], "_z"], ["Negate", "_nu"]]], ["Negate", ["Multiply", ["Hypergeometric0F1Regularized", ["Add", "_nu", 1], ["Multiply", ["Rational", 1, 4], ["Power", "_z", 2]]], ["Power", ["Multiply", ["Rational", 1, 2], "_z"], "_nu"]]]]], replace: ["BesselK", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "eval", pred: ["NotElement", "_nu", "Integers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK", "Hypergeometric0F1Regularized", "Sin"], topics: ["bessel"] },
|
|
964
|
+
{ id: "fungrim:98efc1", match: ["Multiply", ["Abs", "_a"], ["Abs", "_b"]], replace: ["Abs", ["Multiply", "_a", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs"], topics: ["complex_parts"] },
|
|
965
|
+
{ id: "fungrim:98f642", match: ["Digamma", ["Rational", 1, 3]], replace: ["Subtract", ["Subtract", ["Negate", ["Divide", ["Multiply", ["Sqrt", 3], "Pi"], 6]], "EulerGamma"], ["Divide", ["Multiply", 3, ["Ln", 3]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma", "Ln"], topics: ["digamma_function"] },
|
|
966
|
+
{ id: "fungrim:990145", match: ["CarlsonRG", "_x", "_x", "_x"], replace: ["Sqrt", "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
967
|
+
{ id: "fungrim:99c0b3", match: ["Multiply", ["Sqrt", "_z"], ["Sqrt", ["Add", ["Negate", ["Multiply", "_c", "_z"]], 1]]], replace: ["Sqrt", ["Subtract", "_z", ["Multiply", "_c", ["Power", "_z", 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: [], topics: ["sqrt"] },
|
|
968
|
+
{ id: "fungrim:9a2054", match: ["Multiply", 2, ["JacobiTheta", 2, 0, ["Multiply", 2, "_tau"]], ["JacobiTheta", 3, 0, ["Multiply", 2, "_tau"]]], replace: ["Power", ["JacobiTheta", 2, 0, "_tau"], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
969
|
+
{ id: "fungrim:9a95a5", match: ["CarlsonRF", 0, 0, 1], replace: "PositiveInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
970
|
+
{ id: "fungrim:9aa62c", match: ["ModularJ", ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 3]]], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Exp", "ModularJ"], topics: ["modular_j"] },
|
|
971
|
+
{ id: "fungrim:9ad254", match: ["Multiply", ["Divide", ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]]], ["Gamma", ["Add", "_nu", 1]]], ["Hypergeometric1F1", ["Add", "_nu", ["Rational", 1, 2]], ["Add", ["Multiply", 2, "_nu"], 1], ["Multiply", 2, "ImaginaryUnit", "_z"]], ["Power", ["Multiply", ["Rational", 1, 2], "_z"], "_nu"]], replace: ["BesselJ", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "cmp", wc: "_nu", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Exp", "Gamma", "Hypergeometric1F1"], topics: ["bessel"] },
|
|
972
|
+
{ id: "fungrim:9b0385", match: ["EllipticPi", ["Rational", 1, 2], ["Rational", 1, 2]], replace: ["Add", ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", "Pi"]]], ["Divide", ["Multiply", 2, ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticPi", "Gamma"], topics: ["legendre_elliptic"] },
|
|
973
|
+
{ id: "fungrim:9b0388", match: ["CarlsonRF", "_x", "_x", "_x"], replace: ["Divide", 1, ["Sqrt", "_x"]], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
974
|
+
{ id: "fungrim:9b0994", match: ["Arctan", ["Negate", "ImaginaryUnit"]], replace: ["Multiply", ["Negate", "ImaginaryUnit"], "PositiveInfinity"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
975
|
+
{ id: "fungrim:9b2f38", match: ["Add", ["Multiply", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_nu", "_z"]], "_z"], ["Add", "_r", 4]], "_z"], ["Factorial", ["Add", "_r", 4]]], ["Add", ["Power", "_r", 2], ["Multiply", 7, "_r"], 12], ["Power", "_z", 2]], ["Multiply", "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_nu", "_z"]], "_z"], ["Add", "_r", 3]], "_z"], ["Factorial", ["Add", "_r", 3]]], ["Add", ["Multiply", 2, ["Power", "_r", 2]], ["Multiply", 11, "_r"], 15]], ["Multiply", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_nu", "_z"]], "_z"], ["Add", "_r", 2]], "_z"], ["Factorial", ["Add", "_r", 2]]], ["Add", ["Negate", ["Power", "_nu", 2]], ["Power", "_z", 2], ["Multiply", "_r", ["Add", "_r", 4]], 4]], ["Multiply", 2, "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_nu", "_z"]], "_z"], ["Add", "_r", 1]], "_z"], ["Factorial", ["Add", "_r", 1]]]], ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_nu", "_z"]], "_z"], "_r"], "_z"], ["Factorial", "_r"]]], replace: 0, guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Derivative", "Factorial"], topics: ["bessel"] },
|
|
976
|
+
{ id: "fungrim:9b7f05", match: ["LegendrePolynomial", 3, "_z"], replace: ["Multiply", ["Divide", 1, 2], ["Subtract", ["Multiply", 5, ["Power", "_z", 3]], ["Multiply", 3, "_z"]]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
977
|
+
{ id: "fungrim:9b8c9f", match: ["DedekindEta", "ImaginaryUnit"], replace: ["Divide", ["Gamma", ["Divide", 1, 4]], ["Multiply", 2, ["Power", "Pi", ["Divide", 3, 4]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta", "Gamma"], topics: ["dedekind_eta"] },
|
|
978
|
+
{ id: "fungrim:9bdf22", match: ["LegendrePolynomial", 0, "_z"], replace: 1, guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
979
|
+
{ id: "fungrim:9bfd88", match: ["Multiply", ["Rational", 3, 4], "Pi", ["Hypergeometric2F1", ["Rational", 1, 2], ["Rational", 3, 2], 2, ["Add", ["Negate", "_x"], 1]]], replace: ["CarlsonRD", 0, "_x", 1], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "Hypergeometric2F1"], topics: ["carlson_elliptic"] },
|
|
980
|
+
{ id: "fungrim:9c1e9a", match: ["JacobiTheta", 3, "_z", ["Add", "_tau", 1]], replace: ["JacobiTheta", 4, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
981
|
+
{ id: "fungrim:9c93bb", match: ["Abs", ["Gamma", "ImaginaryUnit"]], replace: ["Sqrt", ["Divide", "Pi", ["Sinh", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Abs", "Gamma", "Sinh"], topics: ["imaginary_unit"] },
|
|
982
|
+
{ id: "fungrim:9cc0f2", match: ["Sin", ["Add", ["Negate", "_z"], "Pi"]], replace: ["Sin", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
983
|
+
{ id: "fungrim:9ccaef", match: ["Add", ["Multiply", ["Rational", 1, 3], "_n", ["CarlsonRJ", 0, ["Add", ["Negate", "_m"], 1], 1, ["Add", ["Negate", "_n"], 1]]], ["CarlsonRF", 0, ["Add", ["Negate", "_m"], 1], 1]], replace: ["EllipticPi", "_n", "_m"], guards: [{ k: "type", wc: "_n", t: "complex" }, { k: "type", wc: "_m", t: "complex" }, { k: "ne", lhs: "_m", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "CarlsonRJ", "EllipticPi"], topics: ["carlson_elliptic", "legendre_elliptic"] },
|
|
984
|
+
{ id: "fungrim:9ce413", match: ["DedekindEta", ["Multiply", 3, "ImaginaryUnit"]], replace: ["Divide", ["DedekindEta", "ImaginaryUnit"], ["Multiply", ["Power", 3, ["Divide", 3, 8]], ["Power", ["Add", 2, ["Sqrt", 3]], ["Divide", 1, 12]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta"], topics: ["dedekind_eta"] },
|
|
985
|
+
{ id: "fungrim:9d0839", match: ["SloaneA", "'A000040'", "_n"], replace: ["PrimeNumber", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["PrimeNumber", "SloaneA"], topics: ["integer_sequences", "prime_numbers"] },
|
|
986
|
+
{ id: "fungrim:9d3147", match: ["Multiply", ["HypergeometricU", ["Add", "_a", ["Negate", "_b"], 1], ["Add", ["Negate", "_b"], 2], "_z"], ["Power", "_z", ["Add", ["Negate", "_b"], 1]]], replace: ["HypergeometricU", "_a", "_b", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HypergeometricU"], topics: ["confluent_hypergeometric"] },
|
|
987
|
+
{ id: "fungrim:9d84d8", match: ["AGM", ["Add", "_b", 1], ["Add", ["Negate", "_b"], 1]], replace: ["AGM", 1, ["Sqrt", ["Subtract", 1, ["Power", "_b", 2]]]], guards: [{ k: "type", wc: "_b", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
988
|
+
{ id: "fungrim:9d98f8", match: ["Negate", ["Multiply", ["Divide", "_z", ["Multiply", 2, "_nu"]], ["Add", ["Negate", ["BesselK", ["Add", "_nu", 1], "_z"]], ["BesselK", ["Add", "_nu", -1], "_z"]]]], replace: ["BesselK", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "ne", lhs: "_nu", rhs: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK"], topics: ["bessel"] },
|
|
989
|
+
{ id: "fungrim:9dec3e", match: ["Negate", ["Multiply", "ImaginaryUnit", ["Ln", ["Sign", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]]]]], replace: ["Arctan2", "_y", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }, { k: "ne", lhs: ["Add", "_x", ["Multiply", "_y", "ImaginaryUnit"]], rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan2", "Ln", "Sign"], topics: ["atan"] },
|
|
990
|
+
{ id: "fungrim:9dec73", match: ["Sqrt", "PositiveInfinity"], replace: "PositiveInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["sqrt"] },
|
|
991
|
+
{ id: "fungrim:9e1f83", match: ["Multiply", ["EisensteinE", 4, "_tau"], ["EisensteinE", 10, "_tau"]], replace: ["EisensteinE", 14, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
992
|
+
{ id: "fungrim:9e30e7", match: ["CarlsonRG", 0, 1, -1], replace: ["Multiply", ["Divide", ["Multiply", ["Sqrt", 2], ["Power", "Pi", ["Divide", 3, 2]]], ["Multiply", 2, ["Power", ["Gamma", ["Divide", 1, 4]], 2]]], ["Add", 1, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRG", "Gamma"], topics: ["carlson_elliptic"] },
|
|
993
|
+
{ id: "fungrim:9ea739", match: ["EisensteinG", 2, ["Power", "ExponentialE", ["Divide", ["Multiply", 2, "ImaginaryUnit", "Pi"], 3]]], replace: ["Divide", ["Multiply", 2, "Pi"], ["Sqrt", 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinG", "Exp"], topics: ["eisenstein"] },
|
|
994
|
+
{ id: "fungrim:9f2b18", match: ["CarlsonRJ", 0, 1, 2, 1], replace: ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Gamma"], topics: ["carlson_elliptic"] },
|
|
995
|
+
{ id: "fungrim:9f32fe", match: ["Add", ["Sum", ["Divide", 1, ["Add", "_z", "k"]], ["Limits", "k", 0, ["Add", "_n", -1]]], ["Digamma", "_z"]], replace: ["Digamma", ["Add", "_z", "_n"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Sum"], topics: ["digamma_function"] },
|
|
996
|
+
{ id: "fungrim:9f3474", match: ["EllipticE", -1], replace: ["Multiply", ["Sqrt", 2], ["Add", ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 8, ["Sqrt", "Pi"]]], ["Divide", ["Power", "Pi", ["Divide", 3, 2]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticE", "Gamma"], topics: ["legendre_elliptic"] },
|
|
997
|
+
{ id: "fungrim:9fbe4f", match: ["Add", ["Multiply", "_k", ["Stirling", "_n", "_k"]], ["Stirling", "_n", ["Add", "_k", -1]]], replace: ["Stirling", ["Add", "_n", 1], "_k"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Stirling"], topics: ["stirling_numbers"] },
|
|
998
|
+
{ id: "fungrim:a01b6e", match: ["Zeta", 2], replace: ["Divide", ["Power", "Pi", 2], 6], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Zeta"], topics: ["riemann_zeta"] },
|
|
999
|
+
{ id: "fungrim:a044e1", match: ["Multiply", ["Rational", 1, 2], "Pi", ["Add", ["Floor", "_x"], -1], ["Floor", "_x"]], replace: ["Imaginary", ["LogBarnesG", "_x"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "lt", bound: 0 }, { k: "eval", pred: ["NotElement", "_x", "Integers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Floor", "Imaginary", "LogBarnesG"], topics: ["barnes_g"] },
|
|
1000
|
+
{ id: "fungrim:a047eb", match: ["Multiply", ["Hypergeometric1F1Regularized", ["Add", ["Negate", "_a"], "_b"], "_b", ["Negate", "_z"]], ["Power", "ExponentialE", "_z"]], replace: ["Hypergeometric1F1Regularized", "_a", "_b", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Hypergeometric1F1Regularized"], topics: ["confluent_hypergeometric"] },
|
|
1001
|
+
{ id: "fungrim:a0552b", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 4, "_z", "_tau"], ["JacobiTheta", 1, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Negate", ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"]], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1002
|
+
{ id: "fungrim:a07d28", match: ["Which", ["Equal", "_q", 1], ["Rational", -1, 2], "True", 0], replace: ["DirichletL", 0, ["DirichletCharacter", "_q", 1]], guards: [{ k: "type", wc: "_q", t: "integer" }, { k: "cmp", wc: "_q", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DirichletCharacter", "DirichletL"], topics: ["dirichlet"] },
|
|
1003
|
+
{ id: "fungrim:a091d1", match: ["CarlsonRJ", -1, -1, -1, -1], replace: "ImaginaryUnit", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1004
|
+
{ id: "fungrim:a0a1ee", match: ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["JacobiTheta", 4, "_z", "_tau"]], ["JacobiTheta", 3, "_z", "_tau"]]], replace: ["JacobiTheta", 2, ["Multiply", 2, "_z"], ["Multiply", 4, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1005
|
+
{ id: "fungrim:a0c85d", match: ["Add", ["WeierstrassZeta", ["Multiply", ["Rational", 1, 2], "_tau"], "_tau"], ["WeierstrassZeta", "_z", "_tau"]], replace: ["WeierstrassZeta", ["Add", "_z", "_tau"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "eval", pred: ["NotElement", "_z", ["Lattice", 1, "_tau"]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "Lattice", "WeierstrassZeta"], topics: ["weierstrass_elliptic"] },
|
|
1006
|
+
{ id: "fungrim:a0d93c", match: ["Argument", ["Power", "ExponentialE", "_z"]], replace: ["Imaginary", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "im", op: "gt", bound: ["Negate", "Pi"] }, { k: "part-cmp", wc: "_z", part: "im", op: "le", bound: "Pi" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Argument", "Exp", "Imaginary"], topics: ["exp"] },
|
|
1007
|
+
{ id: "fungrim:a0dff6", match: ["Multiply", ["Rational", 1, 8], ["Add", ["Multiply", -54, ["Power", ["Multiply", ["JacobiTheta", 2, 0, "_tau"], ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"]], 8]], ["Power", ["Add", ["Power", ["JacobiTheta", 2, 0, "_tau"], 8], ["Power", ["JacobiTheta", 3, 0, "_tau"], 8], ["Power", ["JacobiTheta", 4, 0, "_tau"], 8]], 3]]], replace: ["Power", ["EisensteinE", 6, "_tau"], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH", "JacobiTheta"], topics: ["eisenstein"] },
|
|
1008
|
+
{ id: "fungrim:a0ff0b", match: ["Apply", ["Derivative", ["Function", ["Block", ["BesselK", "_nu", "_z"]], "_z"], 1], "_z"], replace: ["Negate", ["Divide", ["Add", ["BesselK", ["Subtract", "_nu", 1], "_z"], ["BesselK", ["Add", "_nu", 1], "_z"]], 2]], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK", "Derivative"], topics: ["bessel"] },
|
|
1009
|
+
{ id: "fungrim:a104b0", match: ["Add", ["Multiply", ["Fibonacci", "_n"], ["Fibonacci", ["Add", "_m", -1]]], ["Multiply", ["Fibonacci", "_m"], ["Fibonacci", ["Add", "_n", 1]]]], replace: ["Fibonacci", ["Add", "_m", "_n"]], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
1010
|
+
{ id: "fungrim:a1414f", match: ["CarlsonRJ", 1, 2, 2, 1], replace: ["Subtract", 3, ["Divide", ["Multiply", 3, "Pi"], 4]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1011
|
+
{ id: "fungrim:a14442", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 2], "Pi", "_k"], "_m"], replace: ["Multiply", "_k", ["EllipticE", "_m"]], guards: [{ k: "type", wc: "_m", t: "complex" }, { k: "type", wc: "_k", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticE", "IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1012
|
+
{ id: "fungrim:a15c03", match: ["CarlsonRC", 2, 1], replace: ["Ln", ["Add", 1, ["Sqrt", 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC", "Ln"], topics: ["carlson_elliptic"] },
|
|
1013
|
+
{ id: "fungrim:a17386", match: ["Multiply", ["Rational", 1, 8], ["Add", ["Multiply", 35, ["Power", "_z", 4]], ["Multiply", -30, ["Power", "_z", 2]], 3]], replace: ["LegendrePolynomial", 4, "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
1014
|
+
{ id: "fungrim:a18b77", match: ["Multiply", ["Divide", "ImaginaryUnit", 2], ["Add", ["Negate", ["Ln", ["Add", ["Multiply", "ImaginaryUnit", "_z"], 1]]], ["Ln", ["Add", ["Negate", ["Multiply", "ImaginaryUnit", "_z"]], 1]]]], replace: ["Arctan", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Ln"], topics: ["atan"] },
|
|
1015
|
+
{ id: "fungrim:a19141", match: ["JacobiTheta", 3, 0, "_tau", ["Add", ["Multiply", 2, "_r"], 1]], replace: 0, guards: [{ k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1016
|
+
{ id: "fungrim:a1a3d4", match: ["Multiply", ["Divide", ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 3], ["Multiply", ["DedekindEta", "_tau"], ["DedekindEta", ["Multiply", 4, "_tau"]]]], ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 24]]], replace: ["DedekindEta", ["Add", "_tau", ["Divide", 1, 2]]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Exp", "HH"], topics: ["dedekind_eta"] },
|
|
1017
|
+
{ id: "fungrim:a1d2d7", match: ["BernoulliPolynomial", "_n", 0], replace: ["BernoulliB", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["BernoulliB", "BernoulliPolynomial"], topics: ["bernoulli_numbers"] },
|
|
1018
|
+
{ id: "fungrim:a203e9", match: ["Add", ["CarlsonRD", "_lamda", ["Add", "_lamda", "_x"], ["Add", "_lamda", "_y"]], ["CarlsonRD", ["Divide", ["Multiply", "_x", "_y"], "_lamda"], ["Add", ["Divide", ["Multiply", "_x", "_y"], "_lamda"], "_x"], ["Add", ["Divide", ["Multiply", "_x", "_y"], "_lamda"], "_y"]]], replace: ["Subtract", ["CarlsonRD", 0, "_x", "_y"], ["Divide", 3, ["Multiply", "_y", ["Sqrt", ["Add", ["Add", ["Add", "_x", "_y"], "_lamda"], ["Divide", ["Multiply", "_x", "_y"], "_lamda"]]]]]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_lamda", t: "complex" }, { k: "eval", pred: ["NotElement", "_lamda", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
1019
|
+
{ id: "fungrim:a222ed", match: ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", "_z", "_tau"]], "_z"], "_r"], "_z"], replace: ["JacobiTheta", "_j", "_z", "_tau", "_r"], guards: [{ k: "member", wc: "_j", set: ["Set", 1, 2, 3, 4] }, { k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1020
|
+
{ id: "fungrim:a255e1", match: ["Divide", ["Multiply", ["JacobiTheta", 2, ["Add", "_z", ["Rational", 1, 8]], "_tau"], ["JacobiTheta", 2, ["Add", "_z", ["Rational", 3, 8]], "_tau"], ["JacobiTheta", 2, ["Add", ["Negate", "_z"], ["Rational", 1, 8]], "_tau"], ["JacobiTheta", 2, ["Add", ["Negate", "_z"], ["Rational", 3, 8]], "_tau"]], ["Multiply", ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"], ["JacobiTheta", 3, ["Rational", 1, 4], "_tau"]]], replace: ["JacobiTheta", 2, ["Multiply", 4, "_z"], ["Multiply", 4, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1021
|
+
{ id: "fungrim:a2675b", match: ["Add", ["Negate", ["Divide", 1, "_z"]], ["Sum", ["Multiply", ["Zeta", ["Add", "n", 1]], ["Power", -1, ["Add", "n", 1]], ["Power", "_z", "n"]], ["Limits", "n", 1, "PositiveInfinity"]], ["Negate", "EulerGamma"]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "abs", op: "lt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Sum", "Zeta"], topics: ["digamma_function"] },
|
|
1022
|
+
{ id: "fungrim:a26ac7", match: ["Gamma", "_z"], replace: ["Exp", ["GammaLn", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Exp", "Gamma", "GammaLn"], topics: ["gamma"] },
|
|
1023
|
+
{ id: "fungrim:a2a294", match: ["Multiply", ["Add", ["Divide", ["Negate", ["Cos", "_z"]], "_z"], ["Divide", ["Sin", "_z"], ["Power", "_z", 2]]], ["Sqrt", ["Divide", ["Multiply", 2, "_z"], "Pi"]]], replace: ["BesselJ", ["Divide", 3, 2], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Cos", "Sin"], topics: ["bessel"] },
|
|
1024
|
+
{ id: "fungrim:a2a30d", match: ["Sin", ["Negate", "_z"]], replace: ["Negate", ["Sin", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
1025
|
+
{ id: "fungrim:a2d208", match: ["Arctan", "ImaginaryUnit"], replace: ["Multiply", "ImaginaryUnit", "PositiveInfinity"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
1026
|
+
{ id: "fungrim:a2e9dd", match: ["Multiply", ["Rational", 1, 2], ["EllipticE", ["Add", ["Negate", "_c"], 1]], ["Sqrt", "_x"]], replace: ["CarlsonRG", 0, "_x", ["Multiply", "_c", "_x"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG", "EllipticE"], topics: ["carlson_elliptic"] },
|
|
1027
|
+
{ id: "fungrim:a35b3c", match: ["ModularLambda", "ImaginaryUnit"], replace: ["Divide", 1, 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularLambda"], topics: ["modular_lambda"] },
|
|
1028
|
+
{ id: "fungrim:a39534", match: ["Power", "ImaginaryUnit", "ImaginaryUnit"], replace: ["Exp", ["Negate", ["Divide", "Pi", 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Exp"], topics: ["imaginary_unit"] },
|
|
1029
|
+
{ id: "fungrim:a3a253", match: ["Add", "_z", ["Multiply", -2, "ImaginaryUnit", "Pi", ["Ceil", ["Add", ["Divide", ["Imaginary", "_z"], ["Multiply", 2, "Pi"]], ["Rational", -1, 2]]]]], replace: ["Ln", ["Exp", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Ceil", "Exp", "Imaginary", "Ln"], topics: ["log"] },
|
|
1030
|
+
{ id: "fungrim:a4109c", match: ["EisensteinG", 6, "ImaginaryUnit"], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinE", "EisensteinG"], topics: ["eisenstein"] },
|
|
1031
|
+
{ id: "fungrim:a46d91", match: ["ChebyshevT", ["Multiply", 2, "_n"], 0], replace: ["Power", -1, "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
1032
|
+
{ id: "fungrim:a498dd", match: ["ModularJ", ["Multiply", ["Rational", 1, 2], ["Add", 1, ["Multiply", ["Sqrt", 11], "ImaginaryUnit"]]]], replace: ["Negate", ["Power", 32, 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
1033
|
+
{ id: "fungrim:a4cc3b", match: ["Add", ["Integrate", ["Function", ["Block", ["Divide", ["Add", ["Negate", ["Power", "t", ["Add", "_z", -1]]], 1], ["Add", ["Negate", "t"], 1]]], "_z", "t"], ["Limits", "t", 0, 1]], ["Negate", "EulerGamma"]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Integrate"], topics: ["digamma_function"] },
|
|
1034
|
+
{ id: "fungrim:a4cc5a", match: ["Add", ["Multiply", ["Add", ["Multiply", "_a", ["Add", ["Power", "_a", 2], ["Negate", ["Power", "_b", 2]]], ["Apply", ["Derivative", ["Function", ["Block", ["AGM", "_a", "_b"]], "_a"], 2], "_a"]], ["Multiply", ["Add", ["Multiply", 3, ["Power", "_a", 2]], ["Negate", ["Power", "_b", 2]]], ["Apply", ["Derivative", ["Function", ["Block", ["AGM", "_a", "_b"]], "_a"], 1], "_a"]]], ["AGM", "_a", "_b"]], ["Multiply", 2, "_a", ["Add", ["Negate", ["Power", "_a", 2]], ["Power", "_b", 2]], ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["AGM", "_a", "_b"]], "_a"], 1], "_a"], 2]], ["Negate", ["Multiply", "_a", ["Power", ["AGM", "_a", "_b"], 2]]]], replace: 0, guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "ne", lhs: "_b", rhs: 0 }, { k: "eval", pred: ["NotElement", ["Divide", "_a", "_b"], ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM", "Derivative"], topics: ["agm"] },
|
|
1035
|
+
{ id: "fungrim:a4eb86", match: ["Apply", ["Derivative", ["Function", ["Block", ["Arctan", "_z"]], "_z"], 2], "_z"], replace: ["Negate", ["Divide", ["Multiply", 2, "_z"], ["Power", ["Add", 1, ["Power", "_z", 2]], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", "ImaginaryUnit", "_z"], ["Union", ["Interval", ["Open", "NegativeInfinity"], -1], ["Interval", 1, ["Open", "PositiveInfinity"]]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Derivative"], topics: ["atan"] },
|
|
1036
|
+
{ id: "fungrim:a4eecf", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"]], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1037
|
+
{ id: "fungrim:a51a4b", match: ["Add", ["Multiply", ["Add", ["Divide", "_eta", ["Add", "_ell", 1]], ["Divide", ["Add", "_ell", 1], "_z"]], ["CoulombF", "_ell", "_eta", "_z"]], ["Negate", ["Multiply", ["Divide", ["Multiply", ["Sqrt", ["Add", "_ell", ["Multiply", "ImaginaryUnit", "_eta"], 1]], ["Sqrt", ["Add", "_ell", ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]], 1]]], ["Add", "_ell", 1]], ["CoulombF", ["Add", "_ell", 1], "_eta", "_z"]]]], replace: ["Apply", ["Derivative", ["Function", ["CoulombF", "_ell", "_eta", "_z"], "_z"], 1], "_z"], guards: [{ k: "type", wc: "_ell", t: "complex" }, { k: "ne", lhs: "_ell", rhs: -1 }, { k: "type", wc: "_eta", t: "complex" }, { k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CoulombF", "Derivative"], topics: ["coulomb_wave"] },
|
|
1038
|
+
{ id: "fungrim:a59981", match: ["Multiply", ["Divide", ["Sinh", "_z"], "_z"], ["Sqrt", ["Divide", ["Multiply", 2, "_z"], "Pi"]]], replace: ["BesselI", ["Divide", 1, 2], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Sinh"], topics: ["bessel"] },
|
|
1039
|
+
{ id: "fungrim:a5c258", match: ["JacobiTheta", 4, "_z", ["Add", "_tau", 1]], replace: ["JacobiTheta", 3, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1040
|
+
{ id: "fungrim:a5e52e", match: ["MultiZetaValue", 3, 2], replace: ["Subtract", ["Multiply", ["Multiply", 3, ["Zeta", 2]], ["Zeta", 3]], ["Multiply", ["Divide", 11, 2], ["Zeta", 5]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["MultiZetaValue", "Zeta"], topics: ["multiple_zeta_values"] },
|
|
1041
|
+
{ id: "fungrim:a6667d", match: ["Apply", ["Derivative", ["Function", ["Block", ["Sin", "_z"]], "_z"], ["Add", "_r", 2]], "_z"], replace: ["Negate", ["Apply", ["Derivative", ["Function", ["Sin", "_z"], "_z"], "_r"], "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["Derivative", "Sin"], topics: ["sine"] },
|
|
1042
|
+
{ id: "fungrim:a6776b", match: ["Which", ["LessEqual", 0, "_x"], 0, ["Less", "_x", 0], "Pi"], replace: ["Arctan2", 0, "_x"], guards: [{ k: "type", wc: "_x", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan2"], topics: ["atan"] },
|
|
1043
|
+
{ id: "fungrim:a68f0e", match: ["Divide", ["Multiply", ["RisingFactorial", "_n", "_r"], ["RisingFactorial", ["Add", "_n", ["Negate", "_r"], 1], "_r"]], ["Factorial2", ["Add", ["Multiply", 2, "_r"], -1]]], replace: ["Apply", ["Derivative", ["Function", ["ChebyshevT", "_n", "x"], "x"], "_r"], 1], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "Derivative", "Factorial2", "RisingFactorial"], topics: ["chebyshev"] },
|
|
1044
|
+
{ id: "fungrim:a691b3", match: ["EisensteinE", 2, "ImaginaryUnit"], replace: ["Divide", 3, "Pi"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinE"], topics: ["eisenstein"] },
|
|
1045
|
+
{ id: "fungrim:a6bdf5", match: ["Negate", ["StieltjesGamma", 0, "_z"]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "StieltjesGamma"], topics: ["digamma_function"] },
|
|
1046
|
+
{ id: "fungrim:a6c07e", match: ["IncompleteEllipticE", 0, 0], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1047
|
+
{ id: "fungrim:a7095f", match: ["Divide", 1, "Pi"], replace: ["Multiply", ["Divide", 1, 2], ["Hypergeometric2F1", ["Divide", 1, 2], ["Negate", ["Divide", 1, 2]], 1, 1]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Hypergeometric2F1"], topics: ["pi"] },
|
|
1048
|
+
{ id: "fungrim:a787eb", match: ["Multiply", ["Gamma", "_z"], ["Gamma", ["Add", "_z", ["Rational", 1, 2]]]], replace: ["Multiply", ["Multiply", ["Power", 2, ["Subtract", 1, ["Multiply", 2, "_z"]]], ["Sqrt", "Pi"]], ["Gamma", ["Multiply", 2, "_z"]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", 2, "_z"], "NonPositiveIntegers"] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Gamma"], topics: ["gamma"] },
|
|
1049
|
+
{ id: "fungrim:a7ac51", match: ["LegendrePolynomial", "_n", 1], replace: 1, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
1050
|
+
{ id: "fungrim:a7b330", match: ["FallingFactorial", "_z", 1], replace: "_z", guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["FallingFactorial"], topics: ["factorials"] },
|
|
1051
|
+
{ id: "fungrim:a839d5", match: ["CarlsonRC", ["Multiply", "_lamda", "_x"], ["Multiply", "_lamda", "_y"]], replace: ["Multiply", ["Power", "_lamda", ["Negate", ["Divide", 1, 2]]], ["CarlsonRC", "_x", "_y"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_lamda", t: "real" }, { k: "cmp", wc: "_lamda", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1052
|
+
{ id: "fungrim:a85994", match: ["Negate", ["Divide", ["Ln", ["Add", ["Negate", "_z"], 1]], "_z"]], replace: ["Hypergeometric2F1", 1, 1, 2, "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "ne", lhs: "_z", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric2F1", "Ln"], topics: ["gauss_hypergeometric"] },
|
|
1053
|
+
{ id: "fungrim:a891da", match: ["Conjugate", ["JacobiTheta", "_j", "_z", ["Negate", ["Conjugate", "_tau"]]]], replace: ["JacobiTheta", "_j", ["Conjugate", "_z"], "_tau"], guards: [{ k: "member", wc: "_j", set: ["Set", 1, 2, 3, 4] }, { k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Conjugate", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1054
|
+
{ id: "fungrim:a8b41c", match: ["Argument", -1], replace: "Pi", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Argument"], topics: ["complex_parts"] },
|
|
1055
|
+
{ id: "fungrim:a8f2ac", match: ["Add", ["Fibonacci", "_n"], ["Fibonacci", ["Add", "_n", -1]]], replace: ["Fibonacci", ["Add", "_n", 1]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
1056
|
+
{ id: "fungrim:a90f35", match: ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 2]], replace: "ImaginaryUnit", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Exp"], topics: ["exp"] },
|
|
1057
|
+
{ id: "fungrim:a91f8d", match: ["IncompleteEllipticF", ["Multiply", ["Rational", 1, 6], "Pi"], 1], replace: ["Divide", ["Ln", 3], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticF", "Ln"], topics: ["legendre_elliptic"] },
|
|
1058
|
+
{ id: "fungrim:a92c1a", match: ["Add", ["Multiply", 30, ["Sum", ["Divide", ["Add", ["Power", ["Cos", ["Multiply", "Pi", "_tau", "m"]], 2], 1], ["Power", ["Sin", ["Multiply", "Pi", "_tau", "m"]], 4]], ["Limits", "m", 1, "PositiveInfinity"]]], 1], replace: ["EisensteinE", 4, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "EisensteinE", "HH", "Sin", "Sum"], topics: ["eisenstein"] },
|
|
1059
|
+
{ id: "fungrim:a9337b", match: ["DirichletL", "_s", ["DirichletCharacter", 1, 1]], replace: ["Zeta", "_s"], guards: [{ k: "type", wc: "_s", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DirichletCharacter", "DirichletL", "Zeta"], topics: ["dirichlet"] },
|
|
1060
|
+
{ id: "fungrim:a94b43", match: ["Divide", ["Add", ["Multiply", ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]], ["Negate", ["Multiply", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]]]], ["Multiply", ["JacobiTheta", 3, 0, "_tau"], ["Power", ["JacobiTheta", 4, 0, "_tau"], 2]]], replace: ["JacobiTheta", 3, ["Multiply", 2, "_z"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1061
|
+
{ id: "fungrim:a95b7e", match: ["WeierstrassP", ["Add", ["Multiply", "_n", "_tau"], "_m", "_z"], "_tau"], replace: ["WeierstrassP", "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "eval", pred: ["NotElement", "_z", ["Lattice", 1, "_tau"]] }, { k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "Lattice", "WeierstrassP"], topics: ["weierstrass_elliptic"] },
|
|
1062
|
+
{ id: "fungrim:a98234", match: ["BernoulliB", ["Add", ["Multiply", 2, "_n"], 3]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB"], topics: ["bernoulli_numbers"] },
|
|
1063
|
+
{ id: "fungrim:a997f2", match: ["ModularJ", ["Add", "_tau", 1]], replace: ["ModularJ", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularJ"], topics: ["modular_j"] },
|
|
1064
|
+
{ id: "fungrim:a9c825", match: ["Divide", ["Multiply", 2, ["Power", ["DedekindEta", ["Multiply", 2, "_tau"]], 2]], ["DedekindEta", "_tau"]], replace: ["JacobiTheta", 2, 0, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1065
|
+
{ id: "fungrim:a9cdda", match: ["Divide", ["Multiply", 2, ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"]], ["JacobiTheta", 2, 0, ["Multiply", ["Rational", 1, 2], "_tau"]]], replace: ["JacobiTheta", 2, "_z", ["Divide", "_tau", 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1066
|
+
{ id: "fungrim:a9ecff", match: ["Arctan", ["Add", -1, ["Sqrt", 2]]], replace: ["Divide", "Pi", 8], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
1067
|
+
{ id: "fungrim:a9f190", match: ["CarlsonRJ", 1, 1, 2, 2], replace: ["Subtract", ["Multiply", 3, ["Ln", ["Add", 1, ["Sqrt", 2]]]], ["Divide", ["Multiply", 3, ["Sqrt", 2]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Ln"], topics: ["carlson_elliptic"] },
|
|
1068
|
+
{ id: "fungrim:aa1b8e", match: ["IncompleteEllipticE", ["Negate", "_phi"], "_m"], replace: ["Negate", ["IncompleteEllipticE", "_phi", "_m"]], guards: [{ k: "type", wc: "_phi", t: "complex" }, { k: "type", wc: "_m", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1069
|
+
{ id: "fungrim:aa47cd", match: ["Digamma", ["Conjugate", "_z"]], replace: ["Conjugate", ["Digamma", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "Digamma"], topics: ["digamma_function"] },
|
|
1070
|
+
{ id: "fungrim:aaa244", match: ["GCD", ["Fibonacci", "_n"], ["Fibonacci", ["Add", "_n", 2]]], replace: 1, guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci", "GCD"], topics: ["fibonacci"] },
|
|
1071
|
+
{ id: "fungrim:aaa582", match: ["Divide", ["Add", ["Multiply", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]], ["Negate", ["Multiply", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]]]], ["Multiply", ["JacobiTheta", 2, 0, "_tau"], ["Power", ["JacobiTheta", 3, 0, "_tau"], 2]]], replace: ["JacobiTheta", 2, ["Multiply", 2, "_z"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1072
|
+
{ id: "fungrim:aac129", match: ["IncompleteEllipticF", ["Multiply", ["Rational", 1, 6], "Pi"], 4], replace: ["Divide", ["EllipticK", ["Divide", 1, 4]], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
1073
|
+
{ id: "fungrim:aadf90", match: ["ChebyshevU", ["Add", "_n", -1], ["Rational", 3, 2]], replace: ["Fibonacci", ["Multiply", 2, "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU", "Fibonacci"], topics: ["fibonacci"] },
|
|
1074
|
+
{ id: "fungrim:ab563e", match: ["Add", ["Multiply", ["Power", -1, ["Add", "_m", "_n"]], ["Power", ["Fibonacci", "_m"], 2]], ["Multiply", ["Fibonacci", ["Add", "_m", "_n"]], ["Fibonacci", ["Add", ["Negate", "_m"], "_n"]]]], replace: ["Power", ["Fibonacci", "_n"], 2], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_m", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
1075
|
+
{ id: "fungrim:ab5af3", match: ["Divide", "Pi", ["Multiply", 2, ["Sqrt", "_x"]]], replace: ["CarlsonRF", 0, "_x", "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
1076
|
+
{ id: "fungrim:abadc7", match: ["Multiply", ["Divide", ["Multiply", 2, "_z"], ["Sqrt", "Pi"]], ["Hypergeometric1F1", ["Rational", 1, 2], ["Rational", 3, 2], ["Negate", ["Power", "_z", 2]]]], replace: ["Erf", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Erf", "Hypergeometric1F1"], topics: ["error_functions"] },
|
|
1077
|
+
{ id: "fungrim:abaf91", match: ["Abs", ["Sin", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]]], replace: ["Sqrt", ["Add", ["Power", ["Sin", "_x"], 2], ["Power", ["Sinh", "_y"], 2]]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Sin", "Sinh"], topics: ["sine"] },
|
|
1078
|
+
{ id: "fungrim:abbe42", match: ["Add", ["Multiply", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]], ["Multiply", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]]], replace: ["Multiply", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1079
|
+
{ id: "fungrim:abc1e7", match: ["JacobiTheta", 1, "_z", ["Add", ["Multiply", 8, "_n"], "_tau"]], replace: ["JacobiTheta", 1, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1080
|
+
{ id: "fungrim:ac54c7", match: ["Abs", ["Sqrt", "_z"]], replace: ["Sqrt", ["Abs", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Abs"], topics: ["sqrt"] },
|
|
1081
|
+
{ id: "fungrim:ac8d3c", match: ["HurwitzZeta", 2, 2], replace: ["Subtract", ["Divide", ["Power", "Pi", 2], 6], 1], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
1082
|
+
{ id: "fungrim:acda23", match: ["Conjugate", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]], replace: ["Subtract", "_x", ["Multiply", "_y", "ImaginaryUnit"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Conjugate"], topics: ["complex_parts"] },
|
|
1083
|
+
{ id: "fungrim:ace837", match: ["IncompleteEllipticF", ["Multiply", ["Rational", 1, 2], "Pi"], -1], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", ["Multiply", 2, "Pi"]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma", "IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
1084
|
+
{ id: "fungrim:acee1a", match: ["DedekindEta", ["Add", "_tau", 24]], replace: ["DedekindEta", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "HH"], topics: ["dedekind_eta"] },
|
|
1085
|
+
{ id: "fungrim:ad04bd", match: ["ArgMin", ["Function", ["Block", ["Sin", "x"]], "x"], "RealNumbers"], replace: ["Set", ["Multiply", "Pi", ["Subtract", ["Multiply", 2, "n"], ["Divide", 1, 2]]], ["Element", "n", "Integers"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ArgMin", "Sin"], topics: ["sine"] },
|
|
1086
|
+
{ id: "fungrim:ad0d7a", match: ["Multiply", ["Divide", ["Sqrt", 5], 5], ["Add", ["Power", "GoldenRatio", "_n"], ["Negate", ["Multiply", ["Cos", ["Multiply", "Pi", "_n"]], ["Power", "GoldenRatio", ["Negate", "_n"]]]]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Fibonacci"], topics: ["fibonacci"] },
|
|
1087
|
+
{ id: "fungrim:ad228f", match: ["ModularJ", "ImaginaryUnit"], replace: 1728, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularJ"], topics: ["modular_j"] },
|
|
1088
|
+
{ id: "fungrim:ad6b74", match: ["Sin", ["Multiply", ["Rational", 1, 6], "Pi"]], replace: ["Divide", 1, 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sin"], topics: ["sine"] },
|
|
1089
|
+
{ id: "fungrim:ad6c1c", match: ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["Cos", ["Add", "_a", "_b"]]], ["Cos", ["Add", "_a", ["Negate", "_b"]]]]], replace: ["Multiply", ["Sin", "_a"], ["Sin", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
1090
|
+
{ id: "fungrim:ad96f4", match: ["Sqrt", ["Divide", 1, "_x"]], replace: ["CarlsonRC", "_x", "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1091
|
+
{ id: "fungrim:ad9caa", match: ["Add", ["Multiply", ["Add", ["Negate", ["Power", "_nu", 2]], ["Power", "_z", 2]], ["BesselJ", "_nu", "_z"]], ["Multiply", ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_nu", "_z"]], "_z"], 2], "_z"], ["Power", "_z", 2]], ["Multiply", "_z", ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", "_nu", "_z"]], "_z"], 1], "_z"]]], replace: 0, guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Derivative"], topics: ["bessel"] },
|
|
1092
|
+
{ id: "fungrim:ada157", match: ["Digamma", 2], replace: ["Subtract", 1, "EulerGamma"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma"], topics: ["digamma_function"] },
|
|
1093
|
+
{ id: "fungrim:adaf5a", match: ["Multiply", ["EisensteinE", 4, "_tau"], ["EisensteinE", 6, "_tau"]], replace: ["EisensteinE", 10, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
1094
|
+
{ id: "fungrim:adbc1a", match: ["Add", ["Multiply", "ImaginaryUnit", ["Sin", "_z"]], ["Cos", "_z"]], replace: ["Exp", ["Multiply", "ImaginaryUnit", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Exp", "Sin"], topics: ["sine"] },
|
|
1095
|
+
{ id: "fungrim:adf5e2", match: ["Add", ["Multiply", "Pi", ["Cot", ["Multiply", "Pi", "_z"]]], ["Digamma", "_z"]], replace: ["Digamma", ["Subtract", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "Integers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cot", "Digamma"], topics: ["digamma_function"] },
|
|
1096
|
+
{ id: "fungrim:ae3110", match: ["Multiply", ["Divide", ["Power", "ExponentialE", ["Negate", ["Power", "_z", 2]]], ["Multiply", "_z", ["Sqrt", "Pi"]]], ["HypergeometricUStar", ["Rational", 1, 2], ["Rational", 1, 2], ["Power", "_z", 2]]], replace: ["Erfc", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Erfc", "Exp", "HypergeometricUStar"], topics: ["error_functions"] },
|
|
1097
|
+
{ id: "fungrim:ae76a3", match: ["Multiply", ["ChebyshevU", ["Add", "_n", -1], ["Negate", ["Divide", "ImaginaryUnit", 2]]], ["Power", "ImaginaryUnit", ["Add", "_n", -1]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU", "Fibonacci"], topics: ["fibonacci"] },
|
|
1098
|
+
{ id: "fungrim:af0dfc", match: ["Add", ["Multiply", ["Rational", -1, 3], ["Add", ["Power", ["JacobiTheta", 2, 0, "_tau"], 4], ["Power", ["JacobiTheta", 3, 0, "_tau"], 4]], ["Power", "Pi", 2]], ["Power", ["Multiply", "Pi", ["Divide", ["JacobiTheta", 4, "_z", "_tau"], ["JacobiTheta", 1, "_z", "_tau"]], ["JacobiTheta", 2, 0, "_tau"], ["JacobiTheta", 3, 0, "_tau"]], 2]], replace: ["WeierstrassP", "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "eval", pred: ["NotElement", "_z", ["Lattice", 1, "_tau"]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta", "Lattice", "WeierstrassP"], topics: ["jacobi_theta", "weierstrass_elliptic"] },
|
|
1099
|
+
{ id: "fungrim:af23f7", match: ["HurwitzZeta", "_s", 1], replace: ["Zeta", "_s"], guards: [{ k: "type", wc: "_s", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
1100
|
+
{ id: "fungrim:af2ea9", match: ["Apply", ["Derivative", ["Function", ["Block", ["EisensteinE", 4, "_tau"]], "_tau"], 1], "_tau"], replace: ["Multiply", ["Multiply", ["Multiply", 2, "Pi"], "ImaginaryUnit"], ["Divide", ["Subtract", ["Multiply", ["EisensteinE", 2, "_tau"], ["EisensteinE", 4, "_tau"]], ["EisensteinE", 6, "_tau"]], 3]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Derivative", "EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
1101
|
+
{ id: "fungrim:af31ae", match: ["Apply", ["Derivative", ["Function", ["Block", ["LogBarnesG", "_z"]], "_z"], 1], "_z"], replace: ["Add", ["Subtract", ["Multiply", ["Subtract", "_z", 1], ["Digamma", "_z"]], "_z"], ["Divide", ["Add", ["Ln", ["Multiply", 2, "Pi"]], 1], 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Digamma", "Ln", "LogBarnesG"], topics: ["barnes_g"] },
|
|
1102
|
+
{ id: "fungrim:af512f", match: ["LCM", 0, 0], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["LCM"], topics: ["gcd"] },
|
|
1103
|
+
{ id: "fungrim:af7d3d", match: ["Multiply", ["Add", ["Power", 2, "_s"], -1], ["Zeta", "_s"]], replace: ["HurwitzZeta", "_s", ["Divide", 1, 2]], guards: [{ k: "type", wc: "_s", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
1104
|
+
{ id: "fungrim:afb22a", match: ["EllipticK", -1], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", ["Multiply", 2, "Pi"]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "Gamma"], topics: ["legendre_elliptic"] },
|
|
1105
|
+
{ id: "fungrim:afbd22", match: ["BesselI", ["Negate", "_n"], "_z"], replace: ["BesselI", "_n", "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI"], topics: ["bessel"] },
|
|
1106
|
+
{ id: "fungrim:b0049f", match: ["Arctan", ["Add", 2, ["Sqrt", 3]]], replace: ["Divide", ["Multiply", 5, "Pi"], 12], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
1107
|
+
{ id: "fungrim:b049dc", match: ["Multiply", ["Divide", 1, ["Sin", ["Multiply", "Pi", "_nu"]]], ["Add", ["Negate", ["Multiply", ["Hypergeometric0F1Regularized", ["Add", ["Negate", "_nu"], 1], ["Negate", ["Multiply", ["Rational", 1, 4], ["Power", "_z", 2]]]], ["Power", ["Multiply", ["Rational", 1, 2], "_z"], ["Negate", "_nu"]]]], ["Multiply", ["Cos", ["Multiply", "Pi", "_nu"]], ["Hypergeometric0F1Regularized", ["Add", "_nu", 1], ["Negate", ["Multiply", ["Rational", 1, 4], ["Power", "_z", 2]]]], ["Power", ["Multiply", ["Rational", 1, 2], "_z"], "_nu"]]]], replace: ["BesselY", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "eval", pred: ["NotElement", "_nu", "Integers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselY", "Cos", "Hypergeometric0F1Regularized", "Sin"], topics: ["bessel"] },
|
|
1108
|
+
{ id: "fungrim:b07652", match: ["CarlsonRJ", 1, 1, 1, 0], replace: "PositiveInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1109
|
+
{ id: "fungrim:b07750", match: ["Add", ["Multiply", 2, ["Zeta", ["Multiply", 2, "_k"]]], ["Multiply", 2, ["Sum", ["Sum", ["Power", ["Add", ["Multiply", "_tau", "m"], "n"], ["Multiply", -2, "_k"]], ["Element", "n", "Integers"]], ["Limits", "m", 1, "PositiveInfinity"]]]], replace: ["EisensteinG", ["Multiply", 2, "_k"], "_tau"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinG", "HH", "Sum", "Zeta"], topics: ["eisenstein"] },
|
|
1110
|
+
{ id: "fungrim:b0e1cb", match: ["ModularLambda", ["Power", "ExponentialE", ["Divide", ["Multiply", 2, "ImaginaryUnit", "Pi"], 3]]], replace: ["Negate", ["Exp", ["Divide", ["Multiply", ["Multiply", 2, "Pi"], "ImaginaryUnit"], 3]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Exp", "ModularLambda"], topics: ["modular_lambda"] },
|
|
1111
|
+
{ id: "fungrim:b0eb37", match: ["IncompleteEllipticF", ["Negate", "_phi"], "_m"], replace: ["Negate", ["IncompleteEllipticF", "_phi", "_m"]], guards: [{ k: "type", wc: "_phi", t: "complex" }, { k: "type", wc: "_m", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
1112
|
+
{ id: "fungrim:b136bd", match: ["Divide", ["Ln", ["Add", 1, ["Sqrt", 2]]], ["Sqrt", "_x"]], replace: ["CarlsonRC", ["Multiply", 2, "_x"], "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "Ln"], topics: ["carlson_elliptic"] },
|
|
1113
|
+
{ id: "fungrim:b18020", match: ["Sinc", 0], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sinc"], topics: ["sinc"] },
|
|
1114
|
+
{ id: "fungrim:b1a260", match: ["ArgMaxUnique", ["Function", ["Block", ["Sinc", "x"]], "x"], "RealNumbers"], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ArgMaxUnique", "Sinc"], topics: ["sinc"] },
|
|
1115
|
+
{ id: "fungrim:b1a2e1", match: ["Add", ["Divide", 1, ["Add", "_s", -1]], ["Sum", ["Multiply", ["Divide", ["Power", -1, "n"], ["Factorial", "n"]], ["StieltjesGamma", "n"], ["Power", ["Add", "_s", -1], "n"]], ["Limits", "n", 0, "PositiveInfinity"]]], replace: ["Zeta", "_s"], guards: [{ k: "type", wc: "_s", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Factorial", "StieltjesGamma", "Sum", "Zeta"], topics: ["riemann_zeta"] },
|
|
1116
|
+
{ id: "fungrim:b1c84e", match: ["CarlsonRJ", 1, 1, 1, 2], replace: ["Subtract", 3, ["Divide", ["Multiply", 3, "Pi"], 4]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1117
|
+
{ id: "fungrim:b1d07b", match: ["Divide", ["Add", ["Multiply", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]], ["Negate", ["Multiply", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]]]], ["Multiply", ["JacobiTheta", 2, 0, "_tau"], ["Power", ["JacobiTheta", 4, 0, "_tau"], 2]]], replace: ["JacobiTheta", 2, ["Multiply", 2, "_z"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1118
|
+
{ id: "fungrim:b25089", match: ["Multiply", ["Hypergeometric2F1Regularized", "_a", ["Add", ["Negate", "_b"], "_c"], "_c", ["Divide", "_z", ["Add", "_z", -1]]], ["Power", ["Add", ["Negate", "_z"], 1], ["Negate", "_a"]]], replace: ["Hypergeometric2F1Regularized", "_a", "_b", "_c", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", 1, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric2F1Regularized"], topics: ["gauss_hypergeometric"] },
|
|
1119
|
+
{ id: "fungrim:b2583f", match: ["NPartition", 2], replace: 2, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["NPartition"], topics: ["partitions"] },
|
|
1120
|
+
{ id: "fungrim:b2a880", match: ["Argument", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]], replace: ["Arctan2", "_y", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan2", "Argument"], topics: ["complex_parts"] },
|
|
1121
|
+
{ id: "fungrim:b2d723", match: ["LegendrePolynomial", "_n", ["Conjugate", "_z"]], replace: ["Conjugate", ["LegendrePolynomial", "_n", "_z"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
1122
|
+
{ id: "fungrim:b2e9d0", match: ["Apply", ["Derivative", ["Function", ["Block", ["AiryAi", "_z"]], "_z"], 2], "_z"], replace: ["Multiply", "_z", ["AiryAi", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "Derivative"], topics: ["airy"] },
|
|
1123
|
+
{ id: "fungrim:b2fdfe", match: ["Multiply", ["Rational", 1, 2], "Pi", ["Hypergeometric2F1", ["Rational", 1, 2], ["Rational", 1, 2], 1, ["Add", ["Negate", "_x"], 1]]], replace: ["CarlsonRF", 0, "_x", 1], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "Hypergeometric2F1"], topics: ["carlson_elliptic"] },
|
|
1124
|
+
{ id: "fungrim:b347d3", match: ["HurwitzZeta", 3, ["Rational", 3, 4]], replace: ["Subtract", ["Multiply", 28, ["Zeta", 3]], ["Power", "Pi", 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
1125
|
+
{ id: "fungrim:b36dba", match: ["GCD", ["Add", "_a", ["Negate", "_b"]], "_b"], replace: ["GCD", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
1126
|
+
{ id: "fungrim:b3c440", match: ["JacobiTheta", 1, 0, "_tau", ["Multiply", 2, "_r"]], replace: 0, guards: [{ k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1127
|
+
{ id: "fungrim:b3fc6d", match: ["JacobiTheta", 4, ["Add", "_z", ["Rational", 1, 2]], "_tau"], replace: ["JacobiTheta", 3, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1128
|
+
{ id: "fungrim:b41bdd", match: ["AGM", "_a", "_a"], replace: "_a", guards: [{ k: "type", wc: "_a", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
1129
|
+
{ id: "fungrim:b41d08", match: ["Sinc", ["Multiply", "ImaginaryUnit", "_z"]], replace: ["Divide", ["Sinh", "_z"], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["Sinc", "Sinh"], topics: ["sinc"] },
|
|
1130
|
+
{ id: "fungrim:b4355e", match: ["BarnesG", "_z"], replace: ["Exp", ["LogBarnesG", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["BarnesG", "Exp", "LogBarnesG"], topics: ["barnes_g"] },
|
|
1131
|
+
{ id: "fungrim:b464d3", match: ["Add", -1, ["Negate", "GoldenRatio"], ["Power", "GoldenRatio", 2]], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["golden_ratio"] },
|
|
1132
|
+
{ id: "fungrim:b46534", match: ["JacobiTheta", 2, ["Add", ["Multiply", 2, "_n"], "_z"], "_tau"], replace: ["JacobiTheta", 2, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1133
|
+
{ id: "fungrim:b468f3", match: ["CarlsonRJ", 0, 1, 1, -1], replace: ["Negate", ["Multiply", ["Divide", ["Multiply", 3, "Pi"], 4], ["Add", 1, "ImaginaryUnit"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1134
|
+
{ id: "fungrim:b478a1", match: ["CarlsonRG", "_x", "_y", "_z"], replace: ["CarlsonRG", "_z", "_y", "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1135
|
+
{ id: "fungrim:b4825b", match: ["Add", ["Digamma", ["Add", "_n", 1]], ["Negate", ["Divide", 1, "_z"]], ["Sum", ["Multiply", ["Add", ["Sum", ["Power", "j", ["Add", ["Negate", "k"], -1]], ["Limits", "j", 1, "_n"]], ["Multiply", ["Zeta", ["Add", "k", 1]], ["Power", -1, ["Add", "k", 1]]]], ["Power", "_z", "k"]], ["Limits", "k", 1, "PositiveInfinity"]]], replace: ["Digamma", ["Add", ["Negate", "_n"], "_z"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "abs", op: "lt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Sum", "Zeta"], topics: ["digamma_function"] },
|
|
1136
|
+
{ id: "fungrim:b4a735", match: ["Multiply", ["Rational", 1, 4], "Pi", ["CarlsonHypergeometricR", ["Rational", 1, 2], ["List", ["Rational", 1, 2], ["Rational", 1, 2]], ["List", "_y", "_z"]]], replace: ["CarlsonRG", 0, "_y", "_z"], guards: [{ k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["NotElement", "_y", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonHypergeometricR", "CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1137
|
+
{ id: "fungrim:b4ed44", match: ["HurwitzZeta", 3, 1], replace: ["Zeta", 3], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
1138
|
+
{ id: "fungrim:b510b6", match: ["Multiply", ["Divide", 1, ["Gamma", ["Add", ["Negate", "_z"], 1]]], ["Divide", "Pi", ["Sin", ["Multiply", "Pi", "_z"]]]], replace: ["Gamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "Integers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Sin"], topics: ["gamma"] },
|
|
1139
|
+
{ id: "fungrim:b52b6f", match: ["Multiply", 2, ["WeierstrassZeta", ["Rational", 1, 2], "_tau"]], replace: ["EisensteinG", 2, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinG", "HH", "WeierstrassZeta"], topics: ["eisenstein"] },
|
|
1140
|
+
{ id: "fungrim:b58070", match: ["JacobiTheta", 3, 0, ["Add", 1, ["Multiply", 2, "ImaginaryUnit"]]], replace: ["Multiply", ["Power", 2, ["Negate", ["Divide", 1, 8]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1141
|
+
{ id: "fungrim:b5bd5d", match: ["Apply", ["Derivative", ["Function", ["Block", ["Erf", "_z"]], "_z"], 1], "_z"], replace: ["Multiply", ["Divide", 2, ["Sqrt", "Pi"]], ["Exp", ["Negate", ["Power", "_z", 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Erf", "Exp"], topics: ["error_functions"] },
|
|
1142
|
+
{ id: "fungrim:b6017f", match: ["Add", ["Negate", ["Multiply", "_z", ["Ln", ["Multiply", 2, "Pi"]]]], ["LogBarnesG", ["Add", "_z", 1]], ["Integrate", ["Function", ["Block", ["Multiply", "Pi", "x", ["Cot", ["Multiply", "Pi", "x"]]]], "x"], ["Limits", "x", 0, "_z"]]], replace: ["LogBarnesG", ["Subtract", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Union", ["Interval", ["Open", "NegativeInfinity"], -1], ["Interval", 1, ["Open", "PositiveInfinity"]]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cot", "Integrate", "Ln", "LogBarnesG"], topics: ["barnes_g"] },
|
|
1143
|
+
{ id: "fungrim:b6111c", match: ["Divide", ["SloaneA", "'A027641'", "_n"], ["SloaneA", "'A027642'", "_n"]], replace: ["BernoulliB", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "SloaneA"], topics: ["bernoulli_numbers", "integer_sequences"] },
|
|
1144
|
+
{ id: "fungrim:b62aae", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 2], "Pi"], 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1145
|
+
{ id: "fungrim:b64782", match: ["Add", ["Multiply", ["Rational", 1, 4], ["Add", ["Multiply", 2, ["Ln", "_z"]], -3], ["Power", "_z", 2]], ["Multiply", ["Rational", 1, 2], "_z", ["Ln", ["Multiply", 2, "Pi"]]], ["Negate", ["Ln", "ConstGlaisher"]], ["Negate", ["Integrate", ["Function", ["Block", ["Divide", ["Multiply", "x", ["Ln", ["Add", ["Power", "_z", 2], ["Power", "x", 2]]]], ["Add", ["Power", "ExponentialE", ["Multiply", 2, "Pi", "x"]], -1]]], "_z", "x"], ["Limits", "x", 0, "PositiveInfinity"]]], ["Rational", 1, 12]], replace: ["LogBarnesG", ["Add", "_z", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ConstGlaisher", "Exp", "Integrate", "Ln", "LogBarnesG"], topics: ["barnes_g"] },
|
|
1146
|
+
{ id: "fungrim:b65d19", match: ["Imaginary", ["Arctan", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]]], replace: ["Multiply", ["Divide", 1, 4], ["Ln", ["Divide", ["Add", ["Power", "_x", 2], ["Power", ["Add", 1, "_y"], 2]], ["Add", ["Power", "_x", 2], ["Power", ["Subtract", 1, "_y"], 2]]]]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }, { k: "eval", pred: ["NotElement", ["Add", "_x", ["Multiply", "_y", "ImaginaryUnit"]], ["Set", ["Negate", "ImaginaryUnit"], "ImaginaryUnit"]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Imaginary", "Ln"], topics: ["atan"] },
|
|
1147
|
+
{ id: "fungrim:b66d1e", match: ["XGCD", "_a", -1], replace: ["Tuple", 1, 0, -1], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["XGCD"], topics: ["gcd"] },
|
|
1148
|
+
{ id: "fungrim:b6808d", match: ["Negate", ["Digamma", "_a"]], replace: ["StieltjesGamma", 0, "_a"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "StieltjesGamma"], topics: ["riemann_zeta"] },
|
|
1149
|
+
{ id: "fungrim:b6b014", match: ["Divide", ["Multiply", ["RisingFactorial", ["Add", "_n", 1], ["Add", "_r", 1]], ["RisingFactorial", ["Add", "_n", ["Negate", "_r"], 1], "_r"]], ["Factorial2", ["Add", ["Multiply", 2, "_r"], 1]]], replace: ["Apply", ["Derivative", ["Function", ["ChebyshevU", "_n", "x"], "x"], "_r"], 1], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU", "Derivative", "Factorial2", "RisingFactorial"], topics: ["chebyshev"] },
|
|
1150
|
+
{ id: "fungrim:b6d600", match: ["Multiply", ["Divide", "_z", ["Multiply", 2, "_nu"]], ["Add", ["BesselY", ["Add", "_nu", -1], "_z"], ["BesselY", ["Add", "_nu", 1], "_z"]]], replace: ["BesselY", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "ne", lhs: "_nu", rhs: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselY"], topics: ["bessel"] },
|
|
1151
|
+
{ id: "fungrim:b7174d", match: ["Multiply", "ImaginaryUnit", ["Divide", ["EllipticK", ["Add", ["Negate", ["ModularLambda", "_tau"]], 1]], ["EllipticK", ["ModularLambda", "_tau"]]]], replace: "_tau", guards: [{ k: "member", wc: "_tau", set: ["Union", ["Interior", "ModularLambdaFundamentalDomain"], ["Set", "_tau", ["Element", "_tau", "HH", ["Equal", ["Real", "_tau"], 1]]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticK", "HH", "Interior", "ModularLambda", "ModularLambdaFundamentalDomain"], topics: ["modular_lambda"] },
|
|
1152
|
+
{ id: "fungrim:b721b4", match: ["Add", ["Zeta", "_s"], -1], replace: ["HurwitzZeta", "_s", 2], guards: [{ k: "type", wc: "_s", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
1153
|
+
{ id: "fungrim:b760d1", match: ["Multiply", ["Rational", 1, 2], "Pi", ["Hypergeometric2F1", ["Rational", 1, 2], ["Rational", 1, 2], 1, "_m"]], replace: ["EllipticK", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticK", "Hypergeometric2F1"], topics: ["legendre_elliptic"] },
|
|
1154
|
+
{ id: "fungrim:b7a578", match: ["Divide", "Pi", ["Multiply", ["Gamma", ["Add", "_z", ["Rational", 1, 2]]], ["Gamma", ["Add", ["Negate", "_z"], ["Rational", 1, 2]]]]], replace: ["Cos", ["Multiply", "Pi", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Gamma"], topics: ["gamma"] },
|
|
1155
|
+
{ id: "fungrim:b7cfb3", match: ["Which", ["And", ["LessEqual", ["Multiply", ["Rational", -1, 2], "Pi"], ["Real", "_phi"], ["Multiply", ["Rational", 1, 2], "Pi"]], ["NotElement", "_phi", ["Set", ["Multiply", ["Rational", -1, 2], "Pi"], ["Multiply", ["Rational", 1, 2], "Pi"]]]], ["Ln", ["Divide", ["Add", ["Sin", "_phi"], 1], ["Cos", "_phi"]]], ["Element", "_phi", ["Set", ["Multiply", ["Rational", -1, 2], "Pi"], ["Multiply", ["Rational", 1, 2], "Pi"]]], ["Multiply", "PositiveInfinity", ["Sign", "_phi"]], "True", "ComplexInfinity"], replace: ["IncompleteEllipticF", "_phi", 1], guards: [{ k: "type", wc: "_phi", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "IncompleteEllipticF", "Ln", "Real", "Sign", "Sin"], topics: ["legendre_elliptic"] },
|
|
1156
|
+
{ id: "fungrim:b7d62b", match: ["Multiply", ["Cos", ["Imaginary", "_z"]], ["Power", "ExponentialE", ["Real", "_z"]]], replace: ["Real", ["Exp", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Exp", "Imaginary", "Real"], topics: ["exp"] },
|
|
1157
|
+
{ id: "fungrim:b83f63", match: ["Negate", ["Multiply", ["JacobiTheta", 4, "_z", "_tau"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", "_tau", ["Multiply", 2, "_z"]]]]]]], replace: ["JacobiTheta", 4, ["Add", "_z", "_tau"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1158
|
+
{ id: "fungrim:b891d1", match: ["CarlsonRJ", 0, 0, 1, 1], replace: "PositiveInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1159
|
+
{ id: "fungrim:b8fdcd", match: ["Multiply", ["ChebyshevU", ["Add", "_n", -1], "_x"], ["Sqrt", ["Add", ["Negate", ["Power", "_x", 2]], 1]]], replace: ["Sin", ["Multiply", "_n", ["Arccos", "_x"]]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arccos", "ChebyshevU", "Sin"], topics: ["chebyshev"] },
|
|
1160
|
+
{ id: "fungrim:b93d09", match: ["LambertW", ["Negate", ["Divide", 1, "ExponentialE"]]], replace: -1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["LambertW"], topics: ["lambertw"] },
|
|
1161
|
+
{ id: "fungrim:b95ffa", match: ["EllipticK", ["Add", -7, ["Multiply", 4, ["Sqrt", 3]]]], replace: ["Divide", ["Multiply", ["Sqrt", ["Add", 3, ["Multiply", 2, ["Sqrt", 3]]]], ["Power", ["Gamma", ["Divide", 1, 3]], 3]], ["Multiply", ["Power", 2, ["Divide", 10, 3]], "Pi"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "Gamma"], topics: ["legendre_elliptic"] },
|
|
1162
|
+
{ id: "fungrim:b96c9d", match: ["Multiply", ["Divide", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 1, 0, "_tau", 1]], ["Power", "ExponentialE", ["Negate", ["Multiply", ["Rational", 1, 6], ["Divide", ["JacobiTheta", 1, 0, "_tau", 3], ["JacobiTheta", 1, 0, "_tau", 1]], ["Power", "_z", 2]]]]], replace: ["WeierstrassSigma", "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta", "WeierstrassSigma"], topics: ["jacobi_theta", "weierstrass_elliptic"] },
|
|
1163
|
+
{ id: "fungrim:b978f0", match: ["JacobiTheta", 1, "_z", ["Add", ["Multiply", 2, "_n"], "_tau"]], replace: ["Multiply", ["Power", "ImaginaryUnit", "_n"], ["JacobiTheta", 1, "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1164
|
+
{ id: "fungrim:b9c650", match: ["JacobiTheta", 1, "_z", ["Add", ["Multiply", 4, "_n"], "_tau"]], replace: ["Multiply", ["Power", -1, "_n"], ["JacobiTheta", 1, "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1165
|
+
{ id: "fungrim:ba1965", match: ["IncompleteEllipticF", 0, 0], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
1166
|
+
{ id: "fungrim:ba6d81", match: ["Imaginary", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]], replace: "_y", guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Imaginary"], topics: ["complex_parts"] },
|
|
1167
|
+
{ id: "fungrim:ba7baf", match: ["IncompleteBeta", 0, "_a", "_b"], replace: 0, guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["IncompleteBeta"], topics: ["beta_function"] },
|
|
1168
|
+
{ id: "fungrim:bae475", match: ["Sin", ["Add", "_z", ["Multiply", ["Rational", 1, 2], "Pi"]]], replace: ["Cos", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
1169
|
+
{ id: "fungrim:bb4501", match: ["EllipticK", 0], replace: ["Divide", "Pi", 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK"], topics: ["legendre_elliptic"] },
|
|
1170
|
+
{ id: "fungrim:bb4f41", match: ["Divide", 1, ["Multiply", "_m", ["Binomial", ["Add", "_m", "_n", -1], "_m"]]], replace: ["Beta", "_m", "_n"], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "cmp", wc: "_m", op: "gt", bound: 0 }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Beta", "Binomial"], topics: ["beta_function"] },
|
|
1171
|
+
{ id: "fungrim:bbf003", match: ["Multiply", ["Divide", ["Multiply", 3, "Pi"], ["Multiply", 4, "_x"]], ["Hypergeometric2F1", ["Rational", 1, 2], ["Rational", 1, 2], 2, ["Add", ["Negate", "_x"], 1]]], replace: ["CarlsonRD", 0, 1, "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "Hypergeometric2F1"], topics: ["carlson_elliptic"] },
|
|
1172
|
+
{ id: "fungrim:bbfb6c", match: ["Divide", ["ModularLambda", "_tau"], ["Add", ["ModularLambda", "_tau"], -1]], replace: ["ModularLambda", ["Add", "_tau", 1]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
1173
|
+
{ id: "fungrim:bc2f88", match: ["Multiply", ["Add", ["Negate", ["Multiply", "ImaginaryUnit", ["Artanh", ["Sqrt", ["Divide", "_x", ["Add", "_x", "_y"]]]]]], ["Multiply", ["Rational", 1, 2], "Pi"]], ["Sqrt", ["Divide", 1, ["Add", "_x", "_y"]]]], replace: ["CarlsonRC", ["Negate", "_x"], "_y"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Artanh", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1174
|
+
{ id: "fungrim:bc4d0a", match: ["Multiply", ["Power", "ExponentialE", ["Negate", ["Multiply", "_d", ["Argument", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]]]], ["Power", ["Abs", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]], "_c"]], replace: ["Abs", ["Power", ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]], ["Add", "_c", ["Multiply", "_d", "ImaginaryUnit"]]]], guards: [{ k: "type", wc: "_a", t: "real" }, { k: "type", wc: "_b", t: "real" }, { k: "type", wc: "_c", t: "real" }, { k: "type", wc: "_d", t: "real" }, { k: "ne", lhs: ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]], rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Argument", "Exp"], topics: ["powers"] },
|
|
1175
|
+
{ id: "fungrim:bcc121", match: ["CarlsonRG", 0, 0, 0], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1176
|
+
{ id: "fungrim:bcd22f", match: ["Multiply", "_z", ["Conjugate", "_z"]], replace: ["Power", ["Abs", "_z"], 2], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Conjugate"], topics: ["complex_parts"] },
|
|
1177
|
+
{ id: "fungrim:bceed4", match: ["Multiply", ["Divide", ["Sqrt", 5], 5], ["Add", ["Multiply", ["Add", ["Negate", ["Cos", ["Multiply", "Pi", "_n"]]], 1], ["Cosh", ["Multiply", "_n", ["Ln", "GoldenRatio"]]]], ["Multiply", ["Add", ["Cos", ["Multiply", "Pi", "_n"]], 1], ["Sinh", ["Multiply", "_n", ["Ln", "GoldenRatio"]]]]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Cosh", "Fibonacci", "Ln", "Sinh"], topics: ["fibonacci"] },
|
|
1178
|
+
{ id: "fungrim:bd319e", match: ["Add", ["Multiply", "_z", ["Hypergeometric0F1", ["Rational", 4, 3], ["Multiply", ["Rational", 1, 9], ["Power", "_z", 3]]], ["Apply", ["Derivative", ["Function", ["Block", ["AiryBi", "_z"]], "_z"], 1], 0]], ["Multiply", ["AiryBi", 0], ["Hypergeometric0F1", ["Rational", 2, 3], ["Multiply", ["Rational", 1, 9], ["Power", "_z", 3]]]]], replace: ["AiryBi", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryBi", "Derivative", "Hypergeometric0F1"], topics: ["airy"] },
|
|
1179
|
+
{ id: "fungrim:bd7d8e", match: ["Multiply", ["Rational", 27, 4], ["Power", ["Multiply", ["JacobiTheta", 2, 0, "_tau"], ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"]], 8]], replace: ["Subtract", ["Power", ["EisensteinE", 4, "_tau"], 3], ["Power", ["EisensteinE", 6, "_tau"], 2]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH", "JacobiTheta"], topics: ["eisenstein"] },
|
|
1180
|
+
{ id: "fungrim:bdea17", match: ["Multiply", ["Add", "_a", "_b"], ["Beta", ["Add", "_a", 1], "_b"]], replace: ["Multiply", "_a", ["Beta", "_a", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Beta"], topics: ["beta_function"] },
|
|
1181
|
+
{ id: "fungrim:be2f32", match: ["DedekindEta", ["Multiply", 8, "ImaginaryUnit"]], replace: ["Multiply", ["Multiply", ["Divide", 1, ["Power", 2, ["Divide", 41, 32]]], ["Divide", ["Power", ["Subtract", ["Power", 2, ["Divide", 1, 4]], 1], ["Divide", 1, 2]], ["Power", ["Add", 1, ["Sqrt", 2]], ["Divide", 1, 8]]]], ["DedekindEta", "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta"], topics: ["dedekind_eta"] },
|
|
1182
|
+
{ id: "fungrim:be3e09", match: ["IncompleteEllipticE", 0, "_m"], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "identity", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1183
|
+
{ id: "fungrim:be533c", match: ["Multiply", ["Hypergeometric1F1", ["Add", ["Negate", "_a"], "_b"], "_b", ["Negate", "_z"]], ["Power", "ExponentialE", "_z"]], replace: ["Hypergeometric1F1", "_a", "_b", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Hypergeometric1F1"], topics: ["confluent_hypergeometric"] },
|
|
1184
|
+
{ id: "fungrim:be5652", match: ["ChebyshevT", 1, "_x"], replace: "_x", guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
1185
|
+
{ id: "fungrim:be9a45", match: ["ChebyshevU", "_n", -1], replace: ["Multiply", ["Power", -1, "_n"], ["Add", "_n", 1]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
1186
|
+
{ id: "fungrim:bf877e", match: ["Tuple", 1, ["Abs", ["Sign", ["Multiply", ["Add", "_b", -1], ["Add", "_b", 1]]]], ["Multiply", ["Add", ["Negate", ["Sign", ["Add", "_b", -1]]], ["Sign", ["Add", "_b", 1]]], ["Sign", "_b"]]], replace: ["XGCD", 1, "_b"], guards: [{ k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Sign", "XGCD"], topics: ["gcd"] },
|
|
1187
|
+
{ id: "fungrim:bfc13f", match: ["Add", ["Multiply", ["Rational", 1, 2], "Pi", ["Csgn", ["Divide", 1, "_z"]]], ["Negate", ["Arctan", "_z"]]], replace: ["Arctan", ["Divide", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", "ImaginaryUnit", "_z"], ["Union", ["Set", 0], ["Interval", ["Open", "NegativeInfinity"], -1], ["Interval", 1, ["Open", "PositiveInfinity"]]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Csgn"], topics: ["atan"] },
|
|
1188
|
+
{ id: "fungrim:bfc86e", match: ["Add", ["Negate", ["Erf", "_z"]], 1], replace: ["Erfc", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Erf", "Erfc"], topics: ["error_functions"] },
|
|
1189
|
+
{ id: "fungrim:bfe28b", match: ["Max", ["Set", ["Sin", "x"], ["Element", "x", "RealNumbers"]]], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Max", "Sin"], topics: ["sine"] },
|
|
1190
|
+
{ id: "fungrim:c0247f", match: ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", 0, "_z"]], "_z"], 1], "_z"], replace: ["BesselI", 1, "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Derivative"], topics: ["bessel"] },
|
|
1191
|
+
{ id: "fungrim:c05ed8", match: ["CarlsonRJ", 0, 1, 2, 2], replace: ["Subtract", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Multiply", 16, ["Sqrt", "Pi"]]], ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Power", "Pi", ["Divide", 3, 2]]], ["Multiply", 2, ["Power", ["Gamma", ["Divide", 1, 4]], 2]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Gamma"], topics: ["carlson_elliptic"] },
|
|
1192
|
+
{ id: "fungrim:c0ad12", match: ["IncompleteEllipticF", ["Multiply", ["Rational", 1, 2], "Pi"], 0], replace: ["Divide", "Pi", 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
1193
|
+
{ id: "fungrim:c0e088", match: ["Which", ["Not", ["IsOdd", "_n"]], ["Multiply", 2, ["Totient", "_n"]], ["IsOdd", "_n"], ["Totient", "_n"]], replace: ["Totient", ["Multiply", 2, "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["IsEven", "IsOdd", "Totient"], topics: ["totient"] },
|
|
1194
|
+
{ id: "fungrim:c12a41", match: ["Which", ["CongruentMod", "_n", 0, 4], 1, ["CongruentMod", "_n", 1, 4], "ImaginaryUnit", ["CongruentMod", "_n", 2, 4], -1, ["CongruentMod", "_n", 3, 4], ["Negate", "ImaginaryUnit"]], replace: ["Power", "ImaginaryUnit", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CongruentMod"], topics: ["imaginary_unit"] },
|
|
1195
|
+
{ id: "fungrim:c166ca", match: ["CarlsonRF", 1, 1, 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
1196
|
+
{ id: "fungrim:c18c95", match: ["Multiply", ["Divide", ["Multiply", 2, "ImaginaryUnit"], "Pi"], ["Add", ["Multiply", -6, ["WeierstrassZeta", ["Rational", 1, 2], "_tau"]], ["Multiply", 8, ["WeierstrassZeta", ["Rational", 1, 2], ["Multiply", 2, "_tau"]]], ["WeierstrassZeta", ["Rational", 1, 2], ["Multiply", ["Rational", 1, 2], "_tau"]]], ["ModularLambda", "_tau"]], replace: ["Apply", ["Derivative", ["Function", ["ModularLambda", "_tau"], "_tau"], 1], "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "ModularLambda", "WeierstrassZeta"], topics: ["modular_lambda"] },
|
|
1197
|
+
{ id: "fungrim:c28288", match: ["Add", ["Multiply", 2, "_k", ["EllipticE", "_m"]], ["IncompleteEllipticE", "_phi", "_m"]], replace: ["IncompleteEllipticE", ["Add", "_phi", ["Multiply", "_k", "Pi"]], "_m"], guards: [{ k: "type", wc: "_phi", t: "complex" }, { k: "type", wc: "_m", t: "complex" }, { k: "type", wc: "_k", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticE", "IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1198
|
+
{ id: "fungrim:c2dcfa", match: ["BernoulliPolynomial", "_n", ["Add", ["Negate", "_x"], 1]], replace: ["Multiply", ["Power", -1, "_n"], ["BernoulliPolynomial", "_n", "_x"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_x", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["BernoulliPolynomial"], topics: ["bernoulli_numbers"] },
|
|
1199
|
+
{ id: "fungrim:c331da", match: ["Ln", "ImaginaryUnit"], replace: ["Divide", ["Multiply", "Pi", "ImaginaryUnit"], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Ln"], topics: ["imaginary_unit", "log"] },
|
|
1200
|
+
{ id: "fungrim:c362e8", match: ["Negate", ["Multiply", ["Divide", ["Multiply", ["Sqrt", 3], "Pi"], ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]], ["Apply", ["Derivative", ["Function", ["Block", ["AiryAi", "w"]], "w"], 1], ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]]], replace: ["BesselK", ["Divide", 2, 3], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "BesselK", "Derivative"], topics: ["bessel"] },
|
|
1201
|
+
{ id: "fungrim:c3d8c2", match: ["Add", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2], ["Power", ["JacobiTheta", 4, 0, "_tau"], 2]], replace: ["Multiply", 2, ["Power", ["JacobiTheta", 3, 0, ["Multiply", 2, "_tau"]], 2]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1202
|
+
{ id: "fungrim:c40be0", match: ["GCD", "_a", 0], replace: ["Abs", "_a"], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "GCD"], topics: ["gcd"] },
|
|
1203
|
+
{ id: "fungrim:c423d2", match: ["Argument", 1], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Argument"], topics: ["complex_parts"] },
|
|
1204
|
+
{ id: "fungrim:c43533", match: ["Add", ["Multiply", "ImaginaryUnit", ["Argument", "_z"]], ["Ln", ["Abs", "_z"]]], replace: ["Ln", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Argument", "Ln"], topics: ["log"] },
|
|
1205
|
+
{ id: "fungrim:c4a892", match: ["GCD", ["LCM", "_a", "_b"], ["LCM", "_a", "_c"]], replace: ["LCM", "_a", ["GCD", "_b", "_c"]], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "type", wc: "_c", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD", "LCM"], topics: ["gcd"] },
|
|
1206
|
+
{ id: "fungrim:c4b16c", match: ["Multiply", ["JacobiTheta", 3, ["Multiply", "_tau", "_z"], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Power", "_z", 2]]], ["Sqrt", ["Divide", "_tau", "ImaginaryUnit"]]], replace: ["JacobiTheta", 3, "_z", ["Divide", -1, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1207
|
+
{ id: "fungrim:c4d78a", match: ["Multiply", ["Divide", 2, ["Sqrt", 5]], ["Sinh", ["Multiply", "_n", ["Add", ["Multiply", ["Rational", 1, 2], "ImaginaryUnit", "Pi"], ["Ln", "GoldenRatio"]]]], ["Power", ["Negate", "ImaginaryUnit"], "_n"]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci", "Ln", "Sinh"], topics: ["fibonacci"] },
|
|
1208
|
+
{ id: "fungrim:c52772", match: ["Sin", 0], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sin"], topics: ["sine"] },
|
|
1209
|
+
{ id: "fungrim:c580f4", match: ["Arccot", ["Divide", 1, "_z"]], replace: ["Arctan", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arccot", "Arctan"], topics: ["atan"] },
|
|
1210
|
+
{ id: "fungrim:c584c3", match: ["IncompleteEllipticF", ["Multiply", ["Rational", 1, 3], "Pi"], 1], replace: ["Ln", ["Add", 2, ["Sqrt", 3]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticF", "Ln"], topics: ["legendre_elliptic"] },
|
|
1211
|
+
{ id: "fungrim:c58f46", match: ["Conjugate", ["Sqrt", "_z"]], replace: ["Sqrt", ["Conjugate", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], ["Open", 0]]] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate"], topics: ["sqrt"] },
|
|
1212
|
+
{ id: "fungrim:c5a9cf", match: ["CarlsonRG", 0, 16, 16], replace: "Pi", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1213
|
+
{ id: "fungrim:c5bdcc", match: ["ArgMax", ["Function", ["Block", ["Sin", "x"]], "x"], "RealNumbers"], replace: ["Set", ["Multiply", "Pi", ["Add", ["Multiply", 2, "n"], ["Divide", 1, 2]]], ["Element", "n", "Integers"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ArgMax", "Sin"], topics: ["sine"] },
|
|
1214
|
+
{ id: "fungrim:c60033", match: ["JacobiTheta", 3, 0, ["Multiply", ["Sqrt", 6], "ImaginaryUnit"]], replace: ["Power", ["Multiply", ["Divide", ["Sqrt", 6], ["Multiply", 96, ["Power", "Pi", 3]]], ["Divide", ["Multiply", ["Multiply", ["Multiply", ["Gamma", ["Divide", 1, 24]], ["Gamma", ["Divide", 5, 24]]], ["Gamma", ["Divide", 7, 24]]], ["Gamma", ["Divide", 11, 24]]], ["Subtract", ["Subtract", ["Add", 18, ["Multiply", 12, ["Sqrt", 2]]], ["Multiply", 10, ["Sqrt", 3]]], ["Multiply", 7, ["Sqrt", 6]]]]], ["Divide", 1, 4]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1215
|
+
{ id: "fungrim:c62afa", match: ["Sin", ["Multiply", "Pi", "_k"]], replace: 0, guards: [{ k: "type", wc: "_k", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin"], topics: ["sine"] },
|
|
1216
|
+
{ id: "fungrim:c640bf", match: ["Multiply", ["RisingFactorial", ["Add", ["Negate", "_k"], "_z", 1], "_k"], ["Power", -1, "_k"]], replace: ["RisingFactorial", ["Negate", "_z"], "_k"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["RisingFactorial"], topics: ["factorials"] },
|
|
1217
|
+
{ id: "fungrim:c6631e", match: ["LCM", "_a", "_a"], replace: ["Abs", "_a"], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
1218
|
+
{ id: "fungrim:c6c108", match: ["Divide", 1, "Pi"], replace: ["Multiply", ["Divide", 1, 4], ["Hypergeometric2F1", ["Negate", ["Divide", 1, 2]], ["Negate", ["Divide", 1, 2]], 1, 1]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Hypergeometric2F1"], topics: ["pi"] },
|
|
1219
|
+
{ id: "fungrim:c6c92a", match: ["Arctan", ["Add", 1, ["Sqrt", 2]]], replace: ["Divide", ["Multiply", 3, "Pi"], 8], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
1220
|
+
{ id: "fungrim:c6d6e2", match: ["Add", ["Negate", ["Power", 2, "_s"]], ["Multiply", ["Add", ["Power", 2, "_s"], -1], ["Zeta", "_s"]]], replace: ["HurwitzZeta", "_s", ["Divide", 3, 2]], guards: [{ k: "type", wc: "_s", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
1221
|
+
{ id: "fungrim:c6e6b2", match: ["Add", ["Multiply", "_z", ["Sinc", "_z"]], ["Multiply", "_z", ["Apply", ["Derivative", ["Function", ["Block", ["Sinc", "_z"]], "_z"], 2], "_z"]], ["Multiply", 2, ["Apply", ["Derivative", ["Function", ["Block", ["Sinc", "_z"]], "_z"], 1], "_z"]]], replace: 0, guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Sinc"], topics: ["sinc"] },
|
|
1222
|
+
{ id: "fungrim:c70178", match: ["GCD", "_a", ["Add", "_a", -1]], replace: 1, guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
1223
|
+
{ id: "fungrim:c733f7", match: ["Divide", ["Gamma", ["Add", "_k", "_z"]], ["Gamma", "_z"]], replace: ["RisingFactorial", "_z", "_k"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }, { k: "eval", pred: ["NotElement", ["Add", "_z", "_k"], "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "RisingFactorial"], topics: ["factorials", "gamma"] },
|
|
1224
|
+
{ id: "fungrim:c743eb", match: ["Add", ["Multiply", 8, ["Sum", ["Divide", ["Multiply", ["Add", ["Multiply", 2, "n"], 1], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]]], ["Add", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]], 1]], ["Limits", "n", 0, "PositiveInfinity"]]], ["Multiply", 8, ["Sum", ["Divide", ["Multiply", ["Add", ["Multiply", 2, "n"], 1], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]]], ["Add", ["Negate", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]]], 1]], ["Limits", "n", 0, "PositiveInfinity"]]]], replace: ["Power", ["JacobiTheta", 2, 0, "_tau"], 4], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta", "Sum"], topics: ["jacobi_theta"] },
|
|
1225
|
+
{ id: "fungrim:c76e72", match: ["ChebyshevT", 0, "_x"], replace: 1, guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
1226
|
+
{ id: "fungrim:c76eaf", match: ["Add", ["Sum", ["Multiply", ["Zeta", ["Add", "n", 1]], ["Power", -1, ["Add", "n", 1]], ["Power", "_z", "n"]], ["Limits", "n", 1, "PositiveInfinity"]], ["Negate", "EulerGamma"]], replace: ["Digamma", ["Add", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "abs", op: "lt", bound: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Sum", "Zeta"], topics: ["digamma_function"] },
|
|
1227
|
+
{ id: "fungrim:c7b921", match: ["Sqrt", ["Divide", "Pi", ["Cosh", ["Multiply", "Pi", "_y"]]]], replace: ["Abs", ["Gamma", ["Add", ["Divide", 1, 2], ["Multiply", "_y", "ImaginaryUnit"]]]], guards: [{ k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Cosh", "Gamma"], topics: ["gamma"] },
|
|
1228
|
+
{ id: "fungrim:c85c2f", match: ["Which", ["NotEqual", "_x", "_y"], ["Multiply", ["Divide", 3, ["Multiply", 2, ["Add", ["Negate", "_x"], "_y"]]], ["Add", ["Divide", ["Negate", ["Sqrt", "_x"]], "_y"], ["CarlsonRC", "_x", "_y"]]], ["Equal", "_x", "_y"], ["Power", "_x", ["Rational", -3, 2]]], replace: ["CarlsonRD", "_x", "_y", "_y"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
1229
|
+
{ id: "fungrim:c8fcc7", match: ["Multiply", ["HypergeometricU", "_a", "_b", "_z"], ["Power", "_z", "_a"]], replace: ["HypergeometricUStar", "_a", "_b", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HypergeometricU", "HypergeometricUStar"], topics: ["confluent_hypergeometric"] },
|
|
1230
|
+
{ id: "fungrim:c92a6f", match: ["Divide", ["Add", ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]], ["JacobiTheta", 3, 0, ["Multiply", ["Rational", 1, 2], "_tau"]]], replace: ["JacobiTheta", 4, "_z", ["Divide", "_tau", 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1231
|
+
{ id: "fungrim:c92da4", match: ["Divide", ["IncompleteBeta", "_x", "_a", "_b"], ["Beta", "_a", "_b"]], replace: ["IncompleteBetaRegularized", "_x", "_a", "_b"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Add", "_a", "_b"], "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Beta", "IncompleteBeta", "IncompleteBetaRegularized"], topics: ["beta_function"] },
|
|
1232
|
+
{ id: "fungrim:c95c4f", match: ["LambertW", "ExponentialE"], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["LambertW"], topics: ["lambertw"] },
|
|
1233
|
+
{ id: "fungrim:c98bad", match: ["Set", "t", ["Element", "t", "ComplexNumbers", ["Less", ["Abs", ["Add", "_z", ["Negate", "t"]]], "_r"]]], replace: ["OpenDisk", "_z", "_r"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_r", t: "real" }, { k: "cmp", wc: "_r", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "OpenDisk"], topics: ["complex_plane"] },
|
|
1234
|
+
{ id: "fungrim:c9d117", match: ["DirichletL", 1, ["DirichletCharacter", 5, 4]], replace: ["Divide", ["Multiply", 2, ["Ln", "GoldenRatio"]], ["Sqrt", 5]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DirichletCharacter", "DirichletL", "Ln"], topics: ["dirichlet"] },
|
|
1235
|
+
{ id: "fungrim:c9ead2", match: ["Sinc", ["Multiply", ["Rational", 1, 4], "Pi"]], replace: ["Divide", ["Multiply", 2, ["Sqrt", 2]], "Pi"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sinc"], topics: ["sinc"] },
|
|
1236
|
+
{ id: "fungrim:ca9123", match: ["Add", ["Negate", ["Multiply", ["Divide", ["Multiply", ["Power", "_z", ["Add", "_a", ["Negate", "_c"]]], ["Power", ["Add", ["Negate", "_z"], 1], ["Add", ["Negate", "_a"], ["Negate", "_b"], "_c"]]], ["Multiply", ["Gamma", "_a"], ["Gamma", "_b"]]], ["Hypergeometric2F1Regularized", ["Add", ["Negate", "_a"], "_c"], ["Add", ["Negate", "_a"], 1], ["Add", ["Negate", "_a"], ["Negate", "_b"], "_c", 1], ["Add", ["Divide", -1, "_z"], 1]]]], ["Multiply", ["Divide", ["Power", "_z", ["Negate", "_a"]], ["Multiply", ["Gamma", ["Add", ["Negate", "_a"], "_c"]], ["Gamma", ["Add", ["Negate", "_b"], "_c"]]]], ["Hypergeometric2F1Regularized", "_a", ["Add", "_a", ["Negate", "_c"], 1], ["Add", "_a", "_b", ["Negate", "_c"], 1], ["Add", ["Divide", -1, "_z"], 1]]]], replace: ["Multiply", ["Divide", ["Sin", ["Multiply", "Pi", ["Subtract", ["Subtract", "_c", "_a"], "_b"]]], "Pi"], ["Hypergeometric2F1Regularized", "_a", "_b", "_c", "_z"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "eval", pred: ["NotElement", "_z", ["Interval", 1, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Hypergeometric2F1Regularized", "Sin"], topics: ["gauss_hypergeometric"] },
|
|
1237
|
+
{ id: "fungrim:cac83e", match: ["Add", ["Multiply", ["Divide", 1, "Pi"], ["Integrate", ["Function", ["Block", ["Cos", ["Add", ["Multiply", "_nu", "t"], ["Negate", ["Multiply", "_z", ["Sin", "t"]]]]]], "_nu", "_z", "t"], ["Limits", "t", 0, "Pi"]]], ["Negate", ["Multiply", ["Divide", ["Sin", ["Multiply", "Pi", "_nu"]], "Pi"], ["Integrate", ["Function", ["Block", ["Power", "ExponentialE", ["Add", ["Negate", ["Multiply", "_nu", "t"]], ["Negate", ["Multiply", "_z", ["Sinh", "t"]]]]]], "_nu", "_z", "t"], ["Limits", "t", 0, "PositiveInfinity"]]]]], replace: ["BesselJ", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Cos", "Exp", "Integrate", "Sin", "Sinh"], topics: ["bessel"] },
|
|
1238
|
+
{ id: "fungrim:caf706", match: ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", ["Imaginary", "_z"]]], replace: ["Sign", ["Exp", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Imaginary", "Sign"], topics: ["exp"] },
|
|
1239
|
+
{ id: "fungrim:caf8cf", match: ["Multiply", ["Cos", ["Add", ["Multiply", "_c", ["Argument", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]], ["Multiply", "_d", ["Ln", ["Abs", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]]]]], ["Power", "ExponentialE", ["Negate", ["Multiply", "_d", ["Argument", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]]]]], ["Power", ["Abs", ["Add", "_a", ["Multiply", "ImaginaryUnit", "_b"]]], "_c"]], replace: ["Real", ["Power", ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]], ["Add", "_c", ["Multiply", "_d", "ImaginaryUnit"]]]], guards: [{ k: "type", wc: "_a", t: "real" }, { k: "type", wc: "_b", t: "real" }, { k: "type", wc: "_c", t: "real" }, { k: "type", wc: "_d", t: "real" }, { k: "ne", lhs: ["Add", "_a", ["Multiply", "_b", "ImaginaryUnit"]], rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Argument", "Cos", "Exp", "Ln", "Real"], topics: ["powers"] },
|
|
1240
|
+
{ id: "fungrim:cb410e", match: ["Totient", "_p"], replace: ["Subtract", "_p", 1], guards: [{ k: "type", wc: "_p", t: "integer" }, { k: "eval", pred: ["IsPrime", "_p"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Totient"], topics: ["totient"] },
|
|
1241
|
+
{ id: "fungrim:cb493d", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 2, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 3, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1242
|
+
{ id: "fungrim:cb6c9c", match: ["JacobiTheta", 3, 0, ["Multiply", 5, "ImaginaryUnit"]], replace: ["Multiply", ["Divide", ["Sqrt", ["Add", 5, ["Multiply", 2, ["Sqrt", 5]]]], ["Power", 5, ["Divide", 3, 4]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1243
|
+
{ id: "fungrim:cb93ea", match: ["Add", ["Divide", "_z", ["Sqrt", ["Power", "_z", 2]]], ["Negate", ["Multiply", ["Divide", ["Power", "ExponentialE", ["Negate", ["Power", "_z", 2]]], ["Multiply", "_z", ["Sqrt", "Pi"]]], ["HypergeometricUStar", ["Rational", 1, 2], ["Rational", 1, 2], ["Power", "_z", 2]]]]], replace: ["Erf", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Erf", "Exp", "HypergeometricUStar"], topics: ["error_functions"] },
|
|
1244
|
+
{ id: "fungrim:cbfe21", match: ["Add", ["Multiply", 2, ["Fibonacci", ["Add", "_n", -4]]], ["Multiply", 3, ["Fibonacci", ["Add", "_n", -3]]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
1245
|
+
{ id: "fungrim:cc22bf", match: ["EllipticK", ["Rational", 1, 2]], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticK", "Gamma"], topics: ["legendre_elliptic"] },
|
|
1246
|
+
{ id: "fungrim:cc2ebb", match: ["Beta", "_a", "_b"], replace: ["Beta", "_b", "_a"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Beta"], topics: ["beta_function"] },
|
|
1247
|
+
{ id: "fungrim:cc579c", match: ["EisensteinE", 4, "_tau"], replace: ["Multiply", ["Divide", 1, 2], ["Add", ["Add", ["Power", ["JacobiTheta", 2, 0, "_tau"], 8], ["Power", ["JacobiTheta", 3, 0, "_tau"], 8]], ["Power", ["JacobiTheta", 4, 0, "_tau"], 8]]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH", "JacobiTheta"], topics: ["eisenstein", "jacobi_theta"] },
|
|
1248
|
+
{ id: "fungrim:cc6d21", match: ["Multiply", ["JacobiTheta", 3, "_z", "_tau"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]]], replace: ["JacobiTheta", 2, ["Add", "_z", ["Multiply", ["Divide", 1, 2], "_tau"]], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1249
|
+
{ id: "fungrim:ccb4d1", match: ["CarlsonRD", "_x", "_x", "_x"], replace: ["Power", "_x", ["Negate", ["Divide", 3, 2]]], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
1250
|
+
{ id: "fungrim:cd3013", match: ["NPartition", ["Negate", "_n"]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["NPartition"], topics: ["partitions"] },
|
|
1251
|
+
{ id: "fungrim:cd55cf", match: ["CarlsonRG", 0, 1, 1], replace: ["Divide", "Pi", 4], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1252
|
+
{ id: "fungrim:cd5f45", match: ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", "_tau", ["Multiply", 2, "_z"]]]]]], replace: ["JacobiTheta", 2, ["Add", "_z", "_tau"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1253
|
+
{ id: "fungrim:cd7877", match: ["SequenceLimitSuperior", ["Function", ["Block", ["Divide", ["Totient", "n"], "n"]], "n"], "PositiveInfinity"], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["SequenceLimitSuperior", "Totient"], topics: ["totient"] },
|
|
1254
|
+
{ id: "fungrim:cdb587", match: ["Multiply", ["Rational", 1, 4], "Pi", ["Sqrt", "_x"]], replace: ["CarlsonRG", 0, "_x", "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1255
|
+
{ id: "fungrim:cde93e", match: ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 4]]], replace: ["JacobiTheta", 2, "_z", ["Add", "_tau", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1256
|
+
{ id: "fungrim:cdee01", match: ["CarlsonRJ", 0, -1, -1, -1], replace: ["Multiply", ["Divide", ["Multiply", 3, "Pi"], 4], "ImaginaryUnit"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1257
|
+
{ id: "fungrim:ce2395", match: ["Multiply", "_a", ["AGM", 1, ["Divide", "_b", "_a"]]], replace: ["AGM", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "ne", lhs: "_a", rhs: 0 }, { k: "eval", pred: ["NotElement", ["Divide", "_b", "_a"], ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
1258
|
+
{ id: "fungrim:ce4df4", match: ["EllipticPi", 1, "_m"], replace: "ComplexInfinity", guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticPi"], topics: ["legendre_elliptic"] },
|
|
1259
|
+
{ id: "fungrim:ce5e03", match: ["Add", ["Multiply", "_x", ["ChebyshevU", ["Add", "_n", -1], "_x"]], ["ChebyshevT", "_n", "_x"]], replace: ["ChebyshevU", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU"], topics: ["chebyshev"] },
|
|
1260
|
+
{ id: "fungrim:ce66a9", match: ["BarnesG", ["Rational", 1, 4]], replace: ["Divide", ["Power", "ExponentialE", ["Subtract", ["Divide", 3, 32], ["Divide", "CatalanConstant", ["Multiply", 4, "Pi"]]]], ["Multiply", ["Power", "ConstGlaisher", ["Divide", 9, 8]], ["Power", ["Gamma", ["Divide", 1, 4]], ["Divide", 3, 4]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["BarnesG", "ConstGlaisher", "Gamma"], topics: ["barnes_g"] },
|
|
1261
|
+
{ id: "fungrim:ce6dd0", match: ["Multiply", ["Fibonacci", "_n"], ["Power", -1, ["Add", "_n", 1]]], replace: ["Fibonacci", ["Negate", "_n"]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
1262
|
+
{ id: "fungrim:ce9a39", match: ["Multiply", ["Add", "_n", 1], ["Hypergeometric2F1", ["Negate", "_n"], ["Add", "_n", 2], ["Rational", 3, 2], ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_x"], 1]]]], replace: ["ChebyshevU", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU", "Hypergeometric2F1"], topics: ["chebyshev"] },
|
|
1263
|
+
{ id: "fungrim:cebe1b", match: ["NPartition", 0], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["NPartition"], topics: ["partitions"] },
|
|
1264
|
+
{ id: "fungrim:cedcfc", match: ["Divide", ["Multiply", 32, ["Power", ["Add", ["Power", ["JacobiTheta", 2, 0, "_tau"], 8], ["Power", ["JacobiTheta", 3, 0, "_tau"], 8], ["Power", ["JacobiTheta", 4, 0, "_tau"], 8]], 3]], ["Power", ["Multiply", ["JacobiTheta", 2, 0, "_tau"], ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"]], 8]], replace: ["ModularJ", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta", "ModularJ"], topics: ["jacobi_theta", "modular_j"] },
|
|
1265
|
+
{ id: "fungrim:cf3c8e", match: ["JacobiTheta", 3, 0, ["Multiply", 2, "ImaginaryUnit"]], replace: ["Multiply", ["Divide", ["Sqrt", ["Add", ["Sqrt", 2], 2]], 2], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1266
|
+
{ id: "fungrim:cf5355", match: ["Add", ["Negate", ["Sum", ["Divide", ["BernoulliB", ["Multiply", 2, "n"]], ["Multiply", 2, "n", ["Power", "_z", ["Multiply", 2, "n"]]]], ["Limits", "n", 1, ["Add", "_N_var", -1]]]], ["Divide", -1, ["Multiply", 2, "_z"]], ["Ln", "_z"], ["Apply", ["Derivative", ["Function", ["Block", ["StirlingSeriesRemainder", "_N_var", "_z"]], "_z"], 1], "_z"]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_N_var", t: "integer" }, { k: "cmp", wc: "_N_var", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliB", "Derivative", "Digamma", "Ln", "StirlingSeriesRemainder", "Sum"], topics: ["digamma_function"] },
|
|
1267
|
+
{ id: "fungrim:cf5caa", match: ["CarlsonRF", 0, "ImaginaryUnit", ["Negate", "ImaginaryUnit"]], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
1268
|
+
{ id: "fungrim:cf64b3", match: ["Arctan2", ["Add", "_x", "_y"], ["Add", ["Negate", ["Multiply", "_x", "_y"]], 1]], replace: ["Add", ["Arctan", "_x"], ["Arctan", "_y"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Arctan2"], topics: ["atan"] },
|
|
1269
|
+
{ id: "fungrim:cf6e35", match: ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["Cos", ["Multiply", 2, "_z"]]], 1]], replace: ["Power", ["Sin", "_z"], 2], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
1270
|
+
{ id: "fungrim:cf7ee3", match: ["JacobiTheta", 3, 0, ["Add", ["Multiply", "ImaginaryUnit", "_y"], 1]], replace: ["JacobiTheta", 4, 0, ["Multiply", "_y", "ImaginaryUnit"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1271
|
+
{ id: "fungrim:cfb999", match: ["Add", ["Ln", "_z"], ["Integrate", ["Function", ["Block", ["Multiply", ["Add", ["Divide", -1, ["Add", ["Negate", ["Power", "ExponentialE", ["Negate", "t"]]], 1]], ["Divide", 1, "t"]], ["Power", "ExponentialE", ["Negate", ["Multiply", "_z", "t"]]]]], "_z", "t"], ["Limits", "t", 0, "PositiveInfinity"]]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Exp", "Integrate", "Ln"], topics: ["digamma_function"] },
|
|
1272
|
+
{ id: "fungrim:cfc5c3", match: ["Negate", ["Multiply", "ImaginaryUnit", ["Sinh", ["Multiply", "ImaginaryUnit", "_z"]]]], replace: ["Sin", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin", "Sinh"], topics: ["sine"] },
|
|
1273
|
+
{ id: "fungrim:d0505f", match: ["Add", ["Multiply", "ImaginaryUnit", ["Sin", ["Multiply", "_n", "_z"]]], ["Cos", ["Multiply", "_n", "_z"]]], replace: ["Power", ["Add", ["Cos", "_z"], ["Multiply", "ImaginaryUnit", ["Sin", "_z"]]], "_n"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
1274
|
+
{ id: "fungrim:d0c9ff", match: ["Multiply", ["Rational", 1, 2], "Pi", ["CarlsonHypergeometricR", ["Rational", -1, 2], ["List", ["Rational", 1, 2], ["Rational", 1, 2]], ["List", "_y", "_z"]]], replace: ["CarlsonRF", 0, "_y", "_z"], guards: [{ k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["NotElement", "_y", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonHypergeometricR", "CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
1275
|
+
{ id: "fungrim:d0d03b", match: ["Apply", ["Derivative", ["Function", ["Block", ["HurwitzZeta", "_s", "_a"]], "_s"], "_r"], "_s"], replace: ["HurwitzZeta", "_s", "_a", "_r"], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "ne", lhs: "_s", rhs: 1 }, { k: "type", wc: "_a", t: "complex" }, { k: "part-cmp", wc: "_a", part: "re", op: "gt", bound: 0 }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
1276
|
+
{ id: "fungrim:d0dfba", match: ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi", "_n"], 4]]], replace: ["JacobiTheta", 2, "_z", ["Add", "_tau", "_n"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1277
|
+
{ id: "fungrim:d11b7f", match: ["JacobiTheta", 2, "_z", ["Add", ["Multiply", 2, "_n"], "_tau"]], replace: ["Multiply", ["Power", "ImaginaryUnit", "_n"], ["JacobiTheta", 2, "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1278
|
+
{ id: "fungrim:d12aa0", match: ["SloaneA", "'A000142'", "_n"], replace: ["Factorial", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Factorial", "SloaneA"], topics: ["factorials", "integer_sequences"] },
|
|
1279
|
+
{ id: "fungrim:d15f11", match: ["JacobiTheta", 3, 0, "ImaginaryUnit"], replace: ["Divide", ["Power", "Pi", ["Divide", 1, 4]], ["Gamma", ["Divide", 3, 4]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1280
|
+
{ id: "fungrim:d16cb4", match: ["Divide", 1, ["Multiply", ["Gamma", ["Add", "_z", 1]], ["Gamma", ["Add", ["Negate", "_z"], 1]]]], replace: ["Sinc", ["Multiply", "Pi", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Sinc"], topics: ["gamma", "sinc"] },
|
|
1281
|
+
{ id: "fungrim:d1a0ec", match: ["Add", ["Multiply", "_x", ["Ln", ["Divide", ["Abs", ["Sin", ["Multiply", "Pi", "_x"]]], "Pi"]]], ["Multiply", ["Divide", 1, ["Multiply", 2, "Pi"]], ["Imaginary", ["PolyLog", 2, ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_x"]]]]], ["LogBarnesG", ["Add", "_x", 1]], ["Multiply", ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 2], ["Add", ["Floor", "_x"], 1], ["Sign", "_x"], ["Floor", "_x"]]], replace: ["LogBarnesG", ["Subtract", 1, "_x"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "eval", pred: ["NotElement", "_x", "Integers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Exp", "Floor", "Imaginary", "Ln", "LogBarnesG", "PolyLog", "Sign", "Sin"], topics: ["barnes_g"] },
|
|
1282
|
+
{ id: "fungrim:d1b3b5", match: ["Add", ["Sum", ["Divide", ["Multiply", ["RisingFactorial", "_a", "k"], ["RisingFactorial", ["Add", "_a", ["Negate", "_b"], 1], "k"]], ["Multiply", ["Factorial", "k"], ["Power", ["Negate", "_z"], "k"]]], ["Limits", "k", 0, ["Add", "_n", -1]]], ["HypergeometricUStarRemainder", "_n", "_a", "_b", "_z"]], replace: ["HypergeometricUStar", "_a", "_b", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Factorial", "HypergeometricUStar", "HypergeometricUStarRemainder", "RisingFactorial", "Sum"], topics: ["confluent_hypergeometric"] },
|
|
1283
|
+
{ id: "fungrim:d1cf0c", match: ["Set", "t", ["Element", "t", "ComplexNumbers", ["LessEqual", ["Abs", ["Add", "_z", ["Negate", "t"]]], "_r"]]], replace: ["ClosedDisk", "_z", "_r"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_r", t: "real" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "ClosedDisk"], topics: ["complex_plane"] },
|
|
1284
|
+
{ id: "fungrim:d1ea57", match: ["Multiply", ["Totient", ["LCM", "_m", "_n"]], ["Totient", ["GCD", "_m", "_n"]]], replace: ["Multiply", ["Totient", "_m"], ["Totient", "_n"]], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "cmp", wc: "_m", op: "ge", bound: 0 }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD", "LCM", "Totient"], topics: ["totient"] },
|
|
1285
|
+
{ id: "fungrim:d1ef91", match: ["Add", ["Multiply", 2, "_x", ["ChebyshevU", ["Add", "_n", -1], "_x"]], ["Negate", ["ChebyshevU", ["Add", "_n", -2], "_x"]]], replace: ["ChebyshevU", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
1286
|
+
{ id: "fungrim:d1f5c5", match: ["Multiply", ["Divide", ["Power", "ExponentialE", ["Negate", "_z"]], "_z"], ["Sqrt", ["Multiply", ["Rational", 1, 2], "Pi", "_z"]]], replace: ["BesselK", ["Divide", 1, 2], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK", "Exp"], topics: ["bessel"] },
|
|
1287
|
+
{ id: "fungrim:d2900f", match: ["DedekindEta", ["Multiply", 5, "ImaginaryUnit"]], replace: ["Divide", ["DedekindEta", "ImaginaryUnit"], ["Sqrt", ["Multiply", 5, "GoldenRatio"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta"], topics: ["dedekind_eta"] },
|
|
1288
|
+
{ id: "fungrim:d29148", match: ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["Power", -1, "_m"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", "_tau", ["Power", "_n", 2]], ["Multiply", 2, "_n", "_z"]]]]]], replace: ["JacobiTheta", 2, ["Add", "_z", ["Add", "_m", ["Multiply", "_n", "_tau"]]], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1289
|
+
{ id: "fungrim:d2adb6", match: ["IncompleteEllipticF", "_phi", 0], replace: "_phi", guards: [{ k: "type", wc: "_phi", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["IncompleteEllipticF"], topics: ["legendre_elliptic"] },
|
|
1290
|
+
{ id: "fungrim:d37d0f", match: ["Add", ["Multiply", ["Divide", ["Add", "_k", -1], ["Add", "_k", 1]], ["Add", ["Multiply", ["Rational", 1, 2], ["LambertWPuiseuxCoefficient", ["Add", "_k", -2]]], ["Multiply", ["Rational", 1, 4], ["Which", ["Equal", ["Add", "_k", -2], 0], 2, ["Equal", ["Add", "_k", -2], 1], -1, "True", ["Sum", ["Multiply", ["LambertWPuiseuxCoefficient", "j"], ["LambertWPuiseuxCoefficient", ["Add", "_k", ["Negate", "j"], -1]]], ["Limits", "j", 2, ["Add", "_k", -3]]]]]]], ["Multiply", ["Rational", -1, 2], ["Which", ["Equal", "_k", 0], 2, ["Equal", "_k", 1], -1, "True", ["Sum", ["Multiply", ["LambertWPuiseuxCoefficient", "j"], ["LambertWPuiseuxCoefficient", ["Add", "_k", ["Negate", "j"], 1]]], ["Limits", "j", 2, ["Add", "_k", -1]]]]], ["Divide", ["Negate", ["LambertWPuiseuxCoefficient", ["Add", "_k", -1]]], ["Add", "_k", 1]]], replace: ["LambertWPuiseuxCoefficient", "_k"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 2 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LambertWPuiseuxCoefficient", "Sum"], topics: ["lambertw"] },
|
|
1291
|
+
{ id: "fungrim:d38a03", match: ["Divide", "Pi", ["Multiply", ["Gamma", "_z"], ["Gamma", ["Add", ["Negate", "_z"], 1]]]], replace: ["Sin", ["Multiply", "Pi", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Sin"], topics: ["gamma", "sine"] },
|
|
1292
|
+
{ id: "fungrim:d38c27", match: ["CarlsonRC", 1, 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1293
|
+
{ id: "fungrim:d39c46", match: ["Multiply", ["Divide", 1, ["Multiply", 2, ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3]]], ["Add", ["Multiply", 3, ["AiryAi", ["Negate", ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]]], ["Multiply", ["Negate", ["Sqrt", 3]], ["AiryBi", ["Negate", ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]]]]], replace: ["BesselJ", ["Divide", 1, 3], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "AiryBi", "BesselJ"], topics: ["bessel"] },
|
|
1294
|
+
{ id: "fungrim:d40229", match: ["Divide", ["Sqrt", "_z"], ["Sqrt", ["Add", "_c", "_z"]]], replace: ["Sqrt", ["Divide", "_z", ["Add", "_z", "_c"]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "ge", bound: 0 }, { k: "ne", lhs: ["Add", "_z", "_c"], rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: [], topics: ["sqrt"] },
|
|
1295
|
+
{ id: "fungrim:d418d3", match: ["Arctan", "PositiveInfinity"], replace: ["Divide", "Pi", 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Arctan"], topics: ["atan"] },
|
|
1296
|
+
{ id: "fungrim:d41a95", match: ["Apply", ["Derivative", ["Function", ["Block", ["Divide", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"]]], "_z"], 1], "_z"], replace: ["Multiply", ["Multiply", "Pi", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2]], ["Divide", ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["JacobiTheta", 4, "_z", "_tau"]], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1297
|
+
{ id: "fungrim:d4852c", match: ["GCD", ["Multiply", "_a", "_n"], ["Multiply", "_b", "_n"]], replace: ["Multiply", ["Abs", "_n"], ["GCD", "_a", "_b"]], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "GCD"], topics: ["gcd"] },
|
|
1298
|
+
{ id: "fungrim:d4b0b6", match: ["Sin", ["Arctan", "_z"]], replace: ["Divide", "_z", ["Sqrt", ["Add", 1, ["Power", "_z", 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: ["Negate", "ImaginaryUnit"] }, { k: "ne", lhs: "_z", rhs: "ImaginaryUnit" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Sin"], topics: ["atan"] },
|
|
1299
|
+
{ id: "fungrim:d4b12e", match: ["Which", ["NotEqual", "_y", "_w"], ["Multiply", ["Divide", 3, ["Add", "_w", ["Negate", "_y"]]], ["Add", ["Negate", ["CarlsonRC", "_x", "_w"]], ["CarlsonRC", "_x", "_y"]]], ["And", ["NotEqual", "_x", "_y"], ["Equal", "_y", "_w"]], ["Multiply", ["Divide", 3, ["Multiply", 2, ["Add", ["Negate", "_x"], "_y"]]], ["Add", ["Divide", ["Negate", ["Sqrt", "_x"]], "_y"], ["CarlsonRC", "_x", "_y"]]], ["Equal", "_x", "_y", "_w"], ["Power", "_x", ["Rational", -3, 2]]], replace: ["CarlsonRJ", "_x", "_y", "_y", "_w"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_w", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1300
|
+
{ id: "fungrim:d5000a", match: ["Multiply", ["Cos", "_z"], ["Sinc", "_z"]], replace: ["Sinc", ["Multiply", 2, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sinc"], topics: ["sinc"] },
|
|
1301
|
+
{ id: "fungrim:d51efc", match: ["CarlsonRG", 1, 2, 2], replace: ["Add", ["Divide", "Pi", 4], ["Divide", 1, 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1302
|
+
{ id: "fungrim:d52bda", match: ["CarlsonRD", 0, -1, -1], replace: ["Multiply", ["Divide", ["Multiply", 3, "Pi"], 4], "ImaginaryUnit"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
1303
|
+
{ id: "fungrim:d56914", match: ["Multiply", ["Divide", "_z", ["Multiply", 2, "_nu"]], ["Add", ["BesselJ", ["Add", "_nu", -1], "_z"], ["BesselJ", ["Add", "_nu", 1], "_z"]]], replace: ["BesselJ", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "ne", lhs: "_nu", rhs: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ"], topics: ["bessel"] },
|
|
1304
|
+
{ id: "fungrim:d56eb6", match: ["EisensteinE", ["Multiply", 2, "_k"], ["Add", "_n", "_tau"]], replace: ["EisensteinE", ["Multiply", 2, "_k"], "_tau"], guards: [{ k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
1305
|
+
{ id: "fungrim:d59bd9", match: ["Multiply", 2, ["Sin", ["Multiply", ["Rational", 1, 2], ["Add", "_a", "_b"]]], ["Cos", ["Multiply", ["Rational", 1, 2], ["Add", "_a", ["Negate", "_b"]]]]], replace: ["Add", ["Sin", "_a"], ["Sin", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
1306
|
+
{ id: "fungrim:d5a29e", match: ["Multiply", "ImaginaryUnit", ["JacobiTheta", 4, "_z", "_tau"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]]], replace: ["JacobiTheta", 1, ["Add", "_z", ["Multiply", ["Divide", 1, 2], "_tau"]], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1307
|
+
{ id: "fungrim:d5b7e8", match: ["Negate", ["Multiply", ["Divide", 2, "Pi"], ["Add", ["Multiply", ["BesselK", "_n", ["Multiply", "ImaginaryUnit", "_z"]], ["Power", "ImaginaryUnit", "_n"]], ["Multiply", ["Add", ["Negate", ["Ln", "_z"]], ["Ln", ["Multiply", "ImaginaryUnit", "_z"]]], ["BesselJ", "_n", "_z"]]]]], replace: ["BesselY", "_n", "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "BesselK", "BesselY", "Ln"], topics: ["bessel"] },
|
|
1308
|
+
{ id: "fungrim:d5ff09", match: ["CarlsonRG", 0, 0, 1], replace: ["Divide", 1, 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1309
|
+
{ id: "fungrim:d651d1", match: ["Multiply", ["RisingFactorial", ["Multiply", ["Rational", 1, 2], "_z"], "_k"], ["RisingFactorial", ["Multiply", ["Rational", 1, 2], ["Add", "_z", 1]], "_k"], ["Power", 4, "_k"]], replace: ["RisingFactorial", "_z", ["Multiply", 2, "_k"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["RisingFactorial"], topics: ["factorials"] },
|
|
1310
|
+
{ id: "fungrim:d6d836", match: ["Divide", ["Add", "_a", "_b"], ["Multiply", 2, ["Hypergeometric2F1", ["Rational", 1, 2], ["Rational", 1, 2], 1, ["Power", ["Divide", ["Add", "_a", ["Negate", "_b"]], ["Add", "_a", "_b"]], 2]]]], replace: ["AGM", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "ne", lhs: "_b", rhs: 0 }, { k: "eval", pred: ["NotElement", ["Divide", "_a", "_b"], ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM", "Hypergeometric2F1"], topics: ["agm"] },
|
|
1311
|
+
{ id: "fungrim:d77f0a", match: ["LegendrePolynomial", 2, "_z"], replace: ["Multiply", ["Divide", 1, 2], ["Subtract", ["Multiply", 3, ["Power", "_z", 2]], 1]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
1312
|
+
{ id: "fungrim:d7d2a0", match: ["Gamma", ["Conjugate", "_z"]], replace: ["Conjugate", ["Gamma", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Conjugate", "Gamma"], topics: ["gamma"] },
|
|
1313
|
+
{ id: "fungrim:d81355", match: ["Apply", ["Derivative", ["Function", ["Block", ["Sin", "_z"]], "_z"], ["Add", "_r", 4]], "_z"], replace: ["Apply", ["Derivative", ["Function", ["Sin", "_z"], "_z"], "_r"], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "expand", target: "simplify", class: "identity", heads: ["Derivative", "Sin"], topics: ["sine"] },
|
|
1314
|
+
{ id: "fungrim:d829be", match: ["CarlsonRG", 0, 0, "_x"], replace: ["Divide", ["Sqrt", "_x"], 2], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1315
|
+
{ id: "fungrim:d83109", match: ["DirichletL", 1, ["DirichletCharacter", 3, 2]], replace: ["Divide", "Pi", ["Sqrt", 27]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DirichletCharacter", "DirichletL"], topics: ["dirichlet"] },
|
|
1316
|
+
{ id: "fungrim:d8791e", match: ["Sqrt", ["Power", "_z", 2]], replace: "_z", guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "arg", op: "gt", bound: ["Divide", ["Negate", "Pi"], 2] }, { k: "part-cmp", wc: "_z", part: "arg", op: "le", bound: ["Divide", "Pi", 2] }], purpose: "simplify", target: "simplify", class: "identity", heads: [], topics: ["sqrt"] },
|
|
1317
|
+
{ id: "fungrim:d88dd1", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 6], "Pi"], 1], replace: ["Divide", 1, 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1318
|
+
{ id: "fungrim:d8c274", match: ["Factorial", 0], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Factorial"], topics: ["factorials"] },
|
|
1319
|
+
{ id: "fungrim:d8c6d1", match: ["Which", ["Equal", ["GCD", "_n", "_q"], 1], 1, "True", 0], replace: ["DirichletCharacter", "_q", 1, "_n"], guards: [{ k: "type", wc: "_q", t: "integer" }, { k: "cmp", wc: "_q", op: "gt", bound: 0 }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DirichletCharacter", "GCD"], topics: ["dirichlet"] },
|
|
1320
|
+
{ id: "fungrim:d8d820", match: ["KeiperLiLambda", 1], replace: ["Subtract", ["Add", ["Divide", "EulerGamma", 2], 1], ["Divide", ["Ln", ["Multiply", 4, "Pi"]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["KeiperLiLambda", "Ln"], topics: ["riemann_zeta"] },
|
|
1321
|
+
{ id: "fungrim:d9765b", match: ["Multiply", ["CarlsonRC", ["Power", "_x", 2], ["Power", "_y", 2]], ["Sqrt", ["Add", ["Power", "_x", 2], ["Negate", ["Power", "_y", 2]]]]], replace: ["Arcosh", ["Divide", "_x", "_y"]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "ge", bound: "_y" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arcosh", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1322
|
+
{ id: "fungrim:d989cd", match: ["Negate", ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", "Pi", ["Add", "_tau", ["Multiply", 2, "_z"]]]]]]], replace: ["JacobiTheta", 1, ["Add", "_z", "_tau"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1323
|
+
{ id: "fungrim:d99808", match: ["HurwitzZeta", 0, "_a"], replace: ["Subtract", ["Divide", 1, 2], "_a"], guards: [{ k: "type", wc: "_a", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
1324
|
+
{ id: "fungrim:d9a187", match: ["Apply", ["DirichletCharacter", "_q", "_ell"], "_n"], replace: ["DirichletCharacter", "_q", "_ell", "_n"], guards: [{ k: "type", wc: "_q", t: "integer" }, { k: "cmp", wc: "_q", op: "gt", bound: 0 }, { k: "type", wc: "_ell", t: "integer" }, { k: "cmp", wc: "_ell", op: "ge", bound: 1 }, { k: "cmp", wc: "_ell", op: "le", bound: ["Subtract", ["Max", "_q", 2], 1] }, { k: "eval", pred: ["Equal", ["GCD", "_ell", "_q"], 1] }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DirichletCharacter"], topics: ["dirichlet"] },
|
|
1325
|
+
{ id: "fungrim:d9c818", match: ["Add", ["Divide", -1, ["Multiply", 2, "_z"]], ["Ln", "_z"], ["Multiply", -2, ["Integrate", ["Function", ["Block", ["Divide", "t", ["Multiply", ["Add", ["Power", "_z", 2], ["Power", "t", 2]], ["Add", ["Power", "ExponentialE", ["Multiply", 2, "Pi", "t"]], -1]]]], "_z", "t"], ["Limits", "t", 0, "PositiveInfinity"]]]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Exp", "Integrate", "Ln"], topics: ["digamma_function"] },
|
|
1326
|
+
{ id: "fungrim:da45c0", match: ["GCD", ["Fibonacci", "_m"], ["Fibonacci", "_n"]], replace: ["Fibonacci", ["GCD", "_m", "_n"]], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci", "GCD"], topics: ["fibonacci", "gcd"] },
|
|
1327
|
+
{ id: "fungrim:da58f7", match: ["Sin", ["Add", ["Negate", "_z"], ["Multiply", ["Rational", 1, 2], "Pi"]]], replace: ["Cos", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
1328
|
+
{ id: "fungrim:da71d3", match: ["Add", ["Multiply", ["Zeta", "_a"], ["Zeta", "_b"]], ["Negate", ["Zeta", ["Add", "_a", "_b"]]]], replace: ["Add", ["MultiZetaValue", "_a", "_b"], ["MultiZetaValue", "_b", "_a"]], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "cmp", wc: "_a", op: "ge", bound: 2 }, { k: "type", wc: "_b", t: "integer" }, { k: "cmp", wc: "_b", op: "ge", bound: 2 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["MultiZetaValue", "Zeta"], topics: ["multiple_zeta_values"] },
|
|
1329
|
+
{ id: "fungrim:da7fb1", match: ["Min", ["Set", ["Sinc", "x"], ["Element", "x", "RealNumbers"]]], replace: ["Sinc", ["BesselJZero", ["Divide", 3, 2], 1]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["BesselJZero", "Min", "Sinc"], topics: ["sinc"] },
|
|
1330
|
+
{ id: "fungrim:daef08", match: ["Which", ["LessEqual", 1, "_n"], ["Ln", ["BarnesG", "_n"]], ["LessEqual", "_n", 0], "NegativeInfinity"], replace: ["LogBarnesG", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BarnesG", "Ln", "LogBarnesG"], topics: ["barnes_g"] },
|
|
1331
|
+
{ id: "fungrim:db3eb9", match: ["Add", ["Multiply", ["Divide", 1, ["Multiply", ["Gamma", ["Add", ["Negate", "_a"], "_c"]], ["Gamma", ["Add", ["Negate", "_b"], "_c"]]]], ["Hypergeometric2F1Regularized", "_a", "_b", ["Add", "_a", "_b", ["Negate", "_c"], 1], ["Add", ["Negate", "_z"], 1]]], ["Negate", ["Multiply", ["Divide", ["Power", ["Add", ["Negate", "_z"], 1], ["Add", ["Negate", "_a"], ["Negate", "_b"], "_c"]], ["Multiply", ["Gamma", "_a"], ["Gamma", "_b"]]], ["Hypergeometric2F1Regularized", ["Add", ["Negate", "_a"], "_c"], ["Add", ["Negate", "_b"], "_c"], ["Add", ["Negate", "_a"], ["Negate", "_b"], "_c", 1], ["Add", ["Negate", "_z"], 1]]]]], replace: ["Multiply", ["Divide", ["Sin", ["Multiply", "Pi", ["Subtract", ["Subtract", "_c", "_a"], "_b"]]], "Pi"], ["Hypergeometric2F1Regularized", "_a", "_b", "_c", "_z"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], 0]] }, { k: "eval", pred: ["NotElement", "_z", ["Interval", 1, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Hypergeometric2F1Regularized", "Sin"], topics: ["gauss_hypergeometric"] },
|
|
1332
|
+
{ id: "fungrim:db4e29", match: ["Divide", ["Add", ["Negate", ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]], ["Multiply", 2, ["JacobiTheta", 2, 0, ["Multiply", 2, "_tau"]]]], replace: ["JacobiTheta", 2, ["Multiply", 2, "_z"], ["Multiply", 2, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1333
|
+
{ id: "fungrim:dbe634", match: ["CarlsonRD", 0, 1, 0], replace: "ComplexInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
1334
|
+
{ id: "fungrim:dbf388", match: ["Negate", ["Multiply", 4, "ImaginaryUnit", "Pi", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], ["DedekindEta", "_tau"]]]], replace: ["EisensteinG", 2, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Derivative", "EisensteinG", "HH"], topics: ["eisenstein"] },
|
|
1335
|
+
{ id: "fungrim:dc0823", match: ["LCM", ["Negate", "_a"], ["Negate", "_b"]], replace: ["LCM", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LCM"], topics: ["gcd"] },
|
|
1336
|
+
{ id: "fungrim:dc507f", match: ["BarnesG", ["Rational", 3, 4]], replace: ["Divide", ["Multiply", ["Power", "ExponentialE", ["Add", ["Divide", 3, 32], ["Divide", "CatalanConstant", ["Multiply", 4, "Pi"]]]], ["Power", ["Gamma", ["Divide", 1, 4]], ["Divide", 1, 4]]], ["Multiply", ["Multiply", ["Power", 2, ["Divide", 1, 8]], ["Power", "Pi", ["Divide", 1, 4]]], ["Power", "ConstGlaisher", ["Divide", 9, 8]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["BarnesG", "ConstGlaisher", "Gamma"], topics: ["barnes_g"] },
|
|
1337
|
+
{ id: "fungrim:dc7c83", match: ["Add", ["Multiply", -8, ["Sum", ["Divide", ["Multiply", ["Add", ["Multiply", 2, "n"], 1], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]]], ["Add", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Add", ["Multiply", 2, "n"], 1]]], 1]], ["Limits", "n", 0, "PositiveInfinity"]]], ["Multiply", 8, ["Sum", ["Divide", ["Multiply", 2, "n", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau", "n"]]], ["Add", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau", "n"]], 1]], ["Limits", "n", 0, "PositiveInfinity"]]], 1], replace: ["Power", ["JacobiTheta", 4, 0, "_tau"], 4], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta", "Sum"], topics: ["jacobi_theta"] },
|
|
1338
|
+
{ id: "fungrim:dc8251", match: ["ModularJ", "_tau"], replace: ["Divide", ["Power", ["EisensteinE", 4, "_tau"], 3], ["Power", ["DedekindEta", "_tau"], 24]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["DedekindEta", "EisensteinE", "HH", "ModularJ"], topics: ["modular_j"] },
|
|
1339
|
+
{ id: "fungrim:dcc1e5", match: ["Abs", ["Ln", "_z"]], replace: ["Sqrt", ["Add", ["Power", ["Ln", ["Abs", "_z"]], 2], ["Power", ["Argument", "_z"], 2]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Argument", "Ln"], topics: ["log"] },
|
|
1340
|
+
{ id: "fungrim:dd5f43", match: ["Which", ["CongruentMod", "_n", 0, 4], ["Multiply", ["JacobiTheta", 4, 0, "ImaginaryUnit"], ["Power", -1, ["Floor", ["Multiply", ["Rational", 1, 4], ["Add", "_n", 1]]]]], ["CongruentMod", "_n", 2, 4], 0, "True", ["Multiply", ["JacobiTheta", 3, 0, "ImaginaryUnit"], ["Power", -1, ["Floor", ["Multiply", ["Rational", 1, 4], ["Add", "_n", 1]]]], ["Power", 2, ["Rational", -7, 16]], ["Sqrt", ["Add", -1, ["Sqrt", 2]]], ["Root", ["Add", 1, ["Sqrt", 2]], 4]]], replace: ["JacobiTheta", 2, ["Divide", "_n", 4], "ImaginaryUnit"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CongruentMod", "Floor", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1341
|
+
{ id: "fungrim:dd67fb", match: ["EllipticPi", 0, "_m"], replace: ["EllipticK", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["EllipticK", "EllipticPi"], topics: ["legendre_elliptic"] },
|
|
1342
|
+
{ id: "fungrim:de0638", match: ["Negate", ["Multiply", "ImaginaryUnit", ["CarlsonRC", "_x", "_y"]]], replace: ["CarlsonRC", ["Negate", "_x"], ["Negate", "_y"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1343
|
+
{ id: "fungrim:de0968", match: ["Add", ["Negate", "_x"], ["Multiply", 2, ["ChebyshevT", "_n", "_x"], ["ChebyshevT", ["Add", "_n", 1], "_x"]]], replace: ["ChebyshevT", ["Add", ["Multiply", 2, "_n"], 1], "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
1344
|
+
{ id: "fungrim:de7918", match: ["Add", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2], ["Power", ["JacobiTheta", 3, 0, "_tau"], 2]], replace: ["Power", ["JacobiTheta", 3, 0, ["Divide", "_tau", 2]], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1345
|
+
{ id: "fungrim:de9800", match: ["Add", ["Multiply", ["AiryAi", "_z"], ["Apply", ["Derivative", ["Function", ["Block", ["AiryBi", "_z"]], "_z"], 1], "_z"]], ["Negate", ["Multiply", ["AiryBi", "_z"], ["Apply", ["Derivative", ["Function", ["Block", ["AiryAi", "_z"]], "_z"], 1], "_z"]]]], replace: ["Divide", 1, "Pi"], guards: [], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "AiryBi", "Derivative"], topics: ["airy"] },
|
|
1346
|
+
{ id: "fungrim:de9f42", match: ["Negate", ["Multiply", ["WeierstrassSigma", "_z", "_tau"], ["Power", "ExponentialE", ["Multiply", 2, ["Add", ["Multiply", ["Rational", 1, 2], "_tau"], "_z"], ["WeierstrassZeta", ["Multiply", ["Rational", 1, 2], "_tau"], "_tau"]]]]], replace: ["WeierstrassSigma", ["Add", "_z", "_tau"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "WeierstrassSigma", "WeierstrassZeta"], topics: ["weierstrass_elliptic"] },
|
|
1347
|
+
{ id: "fungrim:dec0d2", match: ["IncompleteEllipticE", ["Multiply", ["Rational", -1, 2], "Pi"], 1], replace: -1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1348
|
+
{ id: "fungrim:df5f38", match: ["Add", ["Multiply", -18, ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], 4]], ["Multiply", -28, ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 3], "_tau"], ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], ["Power", ["DedekindEta", "_tau"], 2]], ["Multiply", 12, ["DedekindEta", "_tau"], ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 2], "_tau"], ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 1], "_tau"], 2]], ["Multiply", ["Add", ["Multiply", 33, ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 2], "_tau"], 2]], ["Multiply", ["DedekindEta", "_tau"], ["Apply", ["Derivative", ["Function", ["Block", ["DedekindEta", "_tau"]], "_tau"], 4], "_tau"]]], ["Power", ["DedekindEta", "_tau"], 2]]], replace: 0, guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Derivative", "HH"], topics: ["dedekind_eta"] },
|
|
1349
|
+
{ id: "fungrim:e03b7c", match: ["EisensteinG", 4, "ImaginaryUnit"], replace: ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 8], ["Multiply", 960, ["Power", "Pi", 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EisensteinG", "Gamma"], topics: ["eisenstein"] },
|
|
1350
|
+
{ id: "fungrim:e03fa4", match: ["ChebyshevU", "_n", 1], replace: ["Add", "_n", 1], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU"], topics: ["chebyshev"] },
|
|
1351
|
+
{ id: "fungrim:e0425a", match: ["Power", "ImaginaryUnit", 4], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: [], topics: ["imaginary_unit"] },
|
|
1352
|
+
{ id: "fungrim:e04867", match: ["CarlsonRJ", 1, 1, 1, -1], replace: ["Subtract", ["Subtract", ["Divide", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], ["Ln", ["Add", 1, ["Sqrt", 2]]]], 4], ["Divide", 3, 2]], ["Divide", ["Multiply", ["Multiply", ["Multiply", 3, ["Sqrt", 2]], "Pi"], "ImaginaryUnit"], 8]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ", "Ln"], topics: ["carlson_elliptic"] },
|
|
1353
|
+
{ id: "fungrim:e05807", match: ["Add", ["Multiply", ["Add", "_z", -1], ["GammaLn", "_z"]], ["Negate", ["HurwitzZeta", -1, "_z", 1]], ["Apply", ["Derivative", ["Function", ["Block", ["Zeta", "s"]], "s"], 1], -1]], replace: ["LogBarnesG", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "GammaLn", "HurwitzZeta", "LogBarnesG", "Zeta"], topics: ["barnes_g", "hurwitz_zeta"] },
|
|
1354
|
+
{ id: "fungrim:e08bb4", match: ["Add", ["Negate", ["Power", ["JacobiTheta", 4, "_z", "_tau"], 4]], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 4]], replace: ["Subtract", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 4]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1355
|
+
{ id: "fungrim:e13fe9", match: ["Divide", ["Multiply", ["JacobiTheta", 1, "_z", "_tau"], ["JacobiTheta", 2, "_z", "_tau"]], ["JacobiTheta", 4, 0, ["Multiply", 2, "_tau"]]], replace: ["JacobiTheta", 1, ["Multiply", 2, "_z"], ["Multiply", 2, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1356
|
+
{ id: "fungrim:e15f43", match: ["Divide", "Pi", ["Multiply", 2, ["AGM", 1, ["Sqrt", ["Add", ["Negate", "_m"], 1]]]]], replace: ["EllipticK", "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM", "EllipticK"], topics: ["agm", "legendre_elliptic"] },
|
|
1357
|
+
{ id: "fungrim:e1797b", match: ["Multiply", ["Divide", ["Multiply", ["Add", "_n", 1], ["Sqrt", "Pi"]], ["Multiply", 2, ["Power", ["Add", "_x", -1], "_r"]]], ["Hypergeometric3F2Regularized", 1, ["Negate", "_n"], ["Add", "_n", 2], ["Rational", 3, 2], ["Add", ["Negate", "_r"], 1], ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_x"], 1]]]], replace: ["Apply", ["Derivative", ["Function", ["ChebyshevU", "_n", "_x"], "_x"], "_r"], "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }, { k: "type", wc: "_x", t: "complex" }, { k: "ne", lhs: "_x", rhs: -1 }, { k: "ne", lhs: "_x", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevU", "Derivative", "Hypergeometric3F2Regularized"], topics: ["chebyshev"] },
|
|
1358
|
+
{ id: "fungrim:e19e40", match: ["LCM", "_a", ["Add", "_a", -1]], replace: ["Multiply", "_a", ["Subtract", "_a", 1]], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["LCM"], topics: ["gcd"] },
|
|
1359
|
+
{ id: "fungrim:e1a3cb", match: ["Which", ["And", ["NotEqual", "_z", 0], ["NotEqual", "_w", 0]], ["Multiply", "PositiveInfinity", ["Sign", ["Divide", 1, ["Multiply", "_w", ["Sqrt", "_z"]]]]], "True", "ComplexInfinity"], replace: ["CarlsonRJ", 0, 0, "_z", "_w"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_w", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRJ", "Sign"], topics: ["carlson_elliptic"] },
|
|
1360
|
+
{ id: "fungrim:e1dd64", match: ["LambertW", ["Negate", ["Multiply", ["Rational", 1, 2], "Pi"]]], replace: ["Divide", ["Multiply", "ImaginaryUnit", "Pi"], 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["LambertW"], topics: ["lambertw"] },
|
|
1361
|
+
{ id: "fungrim:e20938", match: ["Divide", ["Add", ["Negate", ["CoulombF", ["Add", ["Negate", "_ell"], -1], "_eta", "_z"]], ["Multiply", ["Cos", ["Add", ["Negate", ["Multiply", "Pi", ["Add", "_ell", ["Rational", 1, 2]]]], ["Negate", ["CoulombSigma", ["Add", ["Negate", "_ell"], -1], "_eta"]], ["CoulombSigma", "_ell", "_eta"]]], ["CoulombF", "_ell", "_eta", "_z"]]], ["Sin", ["Add", ["Negate", ["Multiply", "Pi", ["Add", "_ell", ["Rational", 1, 2]]]], ["Negate", ["CoulombSigma", ["Add", ["Negate", "_ell"], -1], "_eta"]], ["CoulombSigma", "_ell", "_eta"]]]], replace: ["CoulombG", "_ell", "_eta", "_z"], guards: [{ k: "type", wc: "_ell", t: "complex" }, { k: "type", wc: "_eta", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", 2, "_ell"], "Integers"] }, { k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Add", ["Negate", "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Negate", "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "CoulombF", "CoulombG", "CoulombSigma", "Sin"], topics: ["coulomb_wave"] },
|
|
1362
|
+
{ id: "fungrim:e2161b", match: ["Sin", "Pi"], replace: 0, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sin"], topics: ["sine"] },
|
|
1363
|
+
{ id: "fungrim:e2288d", match: ["Multiply", ["Divide", ["Multiply", ["Sqrt", 2], ["Add", 1, "ImaginaryUnit"]], ["Multiply", 2, ["Sqrt", "_y"]]], ["JacobiTheta", 3, 0, ["Add", ["Divide", "ImaginaryUnit", "_y"], 1]]], replace: ["JacobiTheta", 2, 0, ["Add", 1, ["Multiply", "_y", "ImaginaryUnit"]]], guards: [{ k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1364
|
+
{ id: "fungrim:e233b0", match: ["Add", ["Multiply", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_nu", "_z"]], "_z"], ["Add", "_r", 4]], "_z"], ["Factorial", ["Add", "_r", 4]]], ["Add", ["Power", "_r", 2], ["Multiply", 7, "_r"], 12], ["Power", "_z", 2]], ["Multiply", "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_nu", "_z"]], "_z"], ["Add", "_r", 3]], "_z"], ["Factorial", ["Add", "_r", 3]]], ["Add", ["Multiply", 2, ["Power", "_r", 2]], ["Multiply", 11, "_r"], 15]], ["Multiply", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_nu", "_z"]], "_z"], ["Add", "_r", 2]], "_z"], ["Factorial", ["Add", "_r", 2]]], ["Add", ["Negate", ["Power", "_nu", 2]], ["Negate", ["Power", "_z", 2]], ["Multiply", "_r", ["Add", "_r", 4]], 4]], ["Multiply", -2, "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_nu", "_z"]], "_z"], ["Add", "_r", 1]], "_z"], ["Factorial", ["Add", "_r", 1]]]], ["Divide", ["Negate", ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_nu", "_z"]], "_z"], "_r"], "_z"]], ["Factorial", "_r"]]], replace: 0, guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Derivative", "Factorial"], topics: ["bessel"] },
|
|
1365
|
+
{ id: "fungrim:e2445d", match: ["Multiply", ["Sin", "_phi"], ["CarlsonRF", ["Power", ["Cos", "_phi"], 2], ["Add", ["Negate", ["Multiply", "_m", ["Power", ["Sin", "_phi"], 2]]], 1], 1]], replace: ["IncompleteEllipticF", "_phi", "_m"], guards: [{ k: "type", wc: "_phi", t: "complex" }, { k: "type", wc: "_m", t: "complex" }, { k: "part-cmp", wc: "_phi", part: "re", op: "ge", bound: ["Divide", ["Negate", "Pi"], 2] }, { k: "part-cmp", wc: "_phi", part: "re", op: "le", bound: ["Divide", "Pi", 2] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRF", "Cos", "IncompleteEllipticF", "Sin"], topics: ["carlson_elliptic", "legendre_elliptic"] },
|
|
1366
|
+
{ id: "fungrim:e2878f", match: ["Hypergeometric0F1", ["Rational", 3, 2], ["Negate", ["Multiply", ["Rational", 1, 4], ["Power", "_z", 2]]]], replace: ["Sinc", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Hypergeometric0F1", "Sinc"], topics: ["sinc"] },
|
|
1367
|
+
{ id: "fungrim:e2bc80", match: ["JacobiTheta", 3, 0, ["Add", 1, ["Multiply", 8, "ImaginaryUnit"]]], replace: ["Multiply", ["Multiply", ["Power", 2, ["Negate", ["Divide", 7, 8]]], ["Power", ["Add", ["Add", ["Add", 16, ["Multiply", 15, ["Power", 2, ["Divide", 1, 4]]]], ["Multiply", 12, ["Sqrt", 2]]], ["Multiply", 9, ["Power", 8, ["Divide", 1, 4]]]], ["Divide", 1, 8]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1368
|
+
{ id: "fungrim:e2efbf", match: ["Multiply", ["Rational", 1, 2], ["Add", ["Multiply", ["HypergeometricUStar", ["Add", "_ell", ["Multiply", "ImaginaryUnit", "_eta"], 1], ["Add", ["Multiply", 2, "_ell"], 2], ["Negate", ["Multiply", 2, "ImaginaryUnit", "_z"]]], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", ["Add", ["Multiply", ["Rational", -1, 2], "Pi", "_ell"], "_z", ["CoulombSigma", "_ell", "_eta"]]]], ["Power", ["Multiply", 2, "_z"], ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]]]], ["Multiply", ["HypergeometricUStar", ["Add", "_ell", ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]], 1], ["Add", ["Multiply", 2, "_ell"], 2], ["Multiply", 2, "ImaginaryUnit", "_z"]], ["Power", "ExponentialE", ["Negate", ["Multiply", "ImaginaryUnit", ["Add", ["Multiply", ["Rational", -1, 2], "Pi", "_ell"], "_z", ["CoulombSigma", "_ell", "_eta"]]]]], ["Power", ["Multiply", 2, "_z"], ["Multiply", "ImaginaryUnit", "_eta"]]]]], replace: ["CoulombG", "_ell", "_eta", "_z"], guards: [{ k: "type", wc: "_ell", t: "complex" }, { k: "type", wc: "_eta", t: "complex" }, { k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CoulombG", "CoulombSigma", "Exp", "HypergeometricUStar"], topics: ["coulomb_wave"] },
|
|
1369
|
+
{ id: "fungrim:e2fac7", match: ["Multiply", ["Sin", ["Imaginary", "_z"]], ["Power", "ExponentialE", ["Real", "_z"]]], replace: ["Imaginary", ["Exp", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Imaginary", "Real", "Sin"], topics: ["exp"] },
|
|
1370
|
+
{ id: "fungrim:e30d7e", match: ["CarlsonRF", 0, 1, ["Add", -16, ["Multiply", 12, ["Sqrt", 2]]]], replace: ["Divide", ["Multiply", ["Add", 2, ["Sqrt", 2]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], ["Multiply", 16, ["Sqrt", "Pi"]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
1371
|
+
{ id: "fungrim:e352ca", match: ["Tuple", ["Abs", "_a"], ["Sign", "_a"], 0], replace: ["XGCD", "_a", 0], guards: [{ k: "type", wc: "_a", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Sign", "XGCD"], topics: ["gcd"] },
|
|
1372
|
+
{ id: "fungrim:e3896e", match: ["AGM", 1, ["Divide", ["Sqrt", 2], 2]], replace: ["Divide", ["Multiply", 2, ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["AGM", "Gamma"], topics: ["agm"] },
|
|
1373
|
+
{ id: "fungrim:e39456", match: ["CarlsonRF", 0, 0, 0], replace: "ComplexInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
1374
|
+
{ id: "fungrim:e3e4c5", match: ["DedekindEta", ["Multiply", ["Sqrt", 3], "ImaginaryUnit"]], replace: ["Multiply", ["Divide", ["Power", 3, ["Divide", 1, 8]], ["Power", 2, ["Divide", 4, 3]]], ["Divide", ["Power", ["Gamma", ["Divide", 1, 3]], ["Divide", 3, 2]], "Pi"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["DedekindEta", "Gamma"], topics: ["dedekind_eta"] },
|
|
1375
|
+
{ id: "fungrim:e464ec", match: ["CarlsonRC", 0, 1], replace: ["Divide", "Pi", 2], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1376
|
+
{ id: "fungrim:e4e707", match: ["Add", ["Multiply", 2, ["Sum", ["Divide", ["Multiply", ["LiouvilleLambda", "n"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", "n"]]], ["Add", ["Negate", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", "n"]]], 1]], ["Limits", "n", 1, "PositiveInfinity"]]], 1], replace: ["JacobiTheta", 3, 0, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta", "LiouvilleLambda", "Sum"], topics: ["jacobi_theta"] },
|
|
1377
|
+
{ id: "fungrim:e56f77", match: ["JacobiTheta", 3, ["Add", "_n", "_z"], "_tau"], replace: ["JacobiTheta", 3, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1378
|
+
{ id: "fungrim:e60205", match: ["CarlsonRJ", 0, 1, 1, 0], replace: "ComplexInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1379
|
+
{ id: "fungrim:e60fd4", match: ["Multiply", ["EisensteinE", 6, "_tau"], ["Power", ["EisensteinE", 4, "_tau"], 2]], replace: ["EisensteinE", 14, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
1380
|
+
{ id: "fungrim:e65763", match: ["GCD", ["Add", "_a", "_b"], "_b"], replace: ["GCD", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
1381
|
+
{ id: "fungrim:e677fb", match: ["Apply", ["Derivative", ["Function", ["Block", ["WeierstrassZeta", "_z", "_tau"]], "_z"], 1], "_z"], replace: ["Negate", ["WeierstrassP", "_z", "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "eval", pred: ["NotElement", "_z", ["Lattice", 1, "_tau"]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "Lattice", "WeierstrassP", "WeierstrassZeta"], topics: ["weierstrass_elliptic"] },
|
|
1382
|
+
{ id: "fungrim:e68d11", match: ["Gamma", 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma"], topics: ["gamma"] },
|
|
1383
|
+
{ id: "fungrim:e69cf6", match: ["Multiply", 2, ["Sin", ["Multiply", ["Rational", 1, 2], ["Add", "_a", ["Negate", "_b"]]]], ["Cos", ["Multiply", ["Rational", 1, 2], ["Add", "_a", "_b"]]]], replace: ["Subtract", ["Sin", "_a"], ["Sin", "_b"]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
1384
|
+
{ id: "fungrim:e6d333", match: ["Divide", ["Add", ["Negate", ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 2]], ["JacobiTheta", 4, 0, ["Multiply", ["Rational", 1, 2], "_tau"]]], replace: ["JacobiTheta", 3, "_z", ["Divide", "_tau", 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1385
|
+
{ id: "fungrim:e6dc09", match: ["JacobiTheta", 2, ["Multiply", 2, "_z"], "_tau"], replace: ["Divide", ["Subtract", ["Power", ["JacobiTheta", 3, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 4]], ["Power", ["JacobiTheta", 2, 0, "_tau"], 3]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "expand", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1386
|
+
{ id: "fungrim:e722ca", match: ["Multiply", ["Sign", ["Imaginary", "_z"]], ["Sqrt", ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["Real", "_z"]], ["Abs", "_z"]]]]], replace: ["Imaginary", ["Sqrt", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], ["Open", 0]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "Imaginary", "Real", "Sign"], topics: ["sqrt"] },
|
|
1387
|
+
{ id: "fungrim:e72e96", match: ["Multiply", ["Divide", 1, ["Multiply", 2, ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]], ["Add", ["Multiply", 3, ["Apply", ["Derivative", ["Function", ["Block", ["AiryAi", "w"]], "w"], 1], ["Negate", ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]]], ["Multiply", ["Sqrt", 3], ["Apply", ["Derivative", ["Function", ["Block", ["AiryBi", "w"]], "w"], 1], ["Negate", ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]]]]], replace: ["BesselJ", ["Divide", 2, 3], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "AiryBi", "BesselJ", "Derivative"], topics: ["bessel"] },
|
|
1388
|
+
{ id: "fungrim:e74d86", match: ["Divide", ["Multiply", ["LCM", "_a", "_b"], ["Abs", ["Add", "_a", ["Negate", "_b"]]]], ["Abs", "_a"]], replace: ["LCM", ["Subtract", "_a", "_b"], "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "ne", lhs: "_a", rhs: 0 }, { k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
1389
|
+
{ id: "fungrim:e78084", match: ["RisingFactorial", "_z", 0], replace: 1, guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["RisingFactorial"], topics: ["factorials"] },
|
|
1390
|
+
{ id: "fungrim:e78989", match: ["FallingFactorial", ["Add", "_k", "_z", -1], "_k"], replace: ["RisingFactorial", "_z", "_k"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["FallingFactorial", "RisingFactorial"], topics: ["factorials"] },
|
|
1391
|
+
{ id: "fungrim:e84642", match: ["NPartition", 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["NPartition"], topics: ["partitions"] },
|
|
1392
|
+
{ id: "fungrim:e85dee", match: ["Add", ["Multiply", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselY", "_nu", "_z"]], "_z"], ["Add", "_r", 4]], "_z"], ["Factorial", ["Add", "_r", 4]]], ["Add", ["Power", "_r", 2], ["Multiply", 7, "_r"], 12], ["Power", "_z", 2]], ["Multiply", "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselY", "_nu", "_z"]], "_z"], ["Add", "_r", 3]], "_z"], ["Factorial", ["Add", "_r", 3]]], ["Add", ["Multiply", 2, ["Power", "_r", 2]], ["Multiply", 11, "_r"], 15]], ["Multiply", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselY", "_nu", "_z"]], "_z"], ["Add", "_r", 2]], "_z"], ["Factorial", ["Add", "_r", 2]]], ["Add", ["Negate", ["Power", "_nu", 2]], ["Power", "_z", 2], ["Multiply", "_r", ["Add", "_r", 4]], 4]], ["Multiply", 2, "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselY", "_nu", "_z"]], "_z"], ["Add", "_r", 1]], "_z"], ["Factorial", ["Add", "_r", 1]]]], ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["BesselY", "_nu", "_z"]], "_z"], "_r"], "_z"], ["Factorial", "_r"]]], replace: 0, guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselY", "Derivative", "Factorial"], topics: ["bessel"] },
|
|
1393
|
+
{ id: "fungrim:e89eb5", match: ["Apply", ["Derivative", ["Function", ["Block", ["BernoulliPolynomial", "_n", "_x"]], "_x"], 1], "_x"], replace: ["Multiply", "_n", ["BernoulliPolynomial", ["Subtract", "_n", 1], "_x"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliPolynomial", "Derivative"], topics: ["bernoulli_numbers"] },
|
|
1394
|
+
{ id: "fungrim:e8ce0b", match: ["Negate", ["Multiply", "ImaginaryUnit", ["JacobiTheta", 1, ["Multiply", "_tau", "_z"], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Power", "_z", 2]]], ["Sqrt", ["Divide", "_tau", "ImaginaryUnit"]]]], replace: ["JacobiTheta", 1, "_z", ["Divide", -1, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1395
|
+
{ id: "fungrim:e9465d", match: ["Divide", ["Sqrt", ["Power", "_z", 2]], "_z"], replace: ["Csgn", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Csgn"], topics: ["complex_parts"] },
|
|
1396
|
+
{ id: "fungrim:e98dd0", match: ["Multiply", ["Rational", 1, 4], "Pi", ["Hypergeometric2F1", ["Rational", -1, 2], ["Rational", 1, 2], 1, ["Add", ["Negate", "_x"], 1]]], replace: ["CarlsonRG", 0, "_x", 1], guards: [{ k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG", "Hypergeometric2F1"], topics: ["carlson_elliptic"] },
|
|
1397
|
+
{ id: "fungrim:e9c797", match: ["Which", ["NotEqual", "_n", 1], ["Multiply", "PositiveInfinity", ["Divide", 1, ["Add", ["Negate", "_n"], 1]]], ["Equal", "_n", 1], "ComplexInfinity"], replace: ["EllipticPi", "_n", 1], guards: [{ k: "type", wc: "_n", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EllipticPi"], topics: ["legendre_elliptic"] },
|
|
1398
|
+
{ id: "fungrim:e9d5a9", match: ["CarlsonRJ", 1, 1, 1, 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1399
|
+
{ id: "fungrim:e9f0c8", match: ["ModularLambda", ["Divide", "_tau", ["Add", ["Negate", "_tau"], 1]]], replace: ["Divide", 1, ["ModularLambda", "_tau"]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
1400
|
+
{ id: "fungrim:e9f966", match: ["Add", ["Beta", ["Add", "_a", 1], "_b"], ["Beta", "_a", ["Add", "_b", 1]]], replace: ["Beta", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Beta"], topics: ["beta_function"] },
|
|
1401
|
+
{ id: "fungrim:ea1d58", match: ["Multiply", "_b", ["AGM", 1, ["Divide", "_a", "_b"]]], replace: ["AGM", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "ne", lhs: "_b", rhs: 0 }, { k: "eval", pred: ["NotElement", ["Divide", "_a", "_b"], ["Interval", ["Open", "NegativeInfinity"], 0]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM"], topics: ["agm"] },
|
|
1402
|
+
{ id: "fungrim:ea2482", match: ["Digamma", 1], replace: ["Negate", "EulerGamma"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma"], topics: ["digamma_function"] },
|
|
1403
|
+
{ id: "fungrim:ea4754", match: ["Divide", 2, ["Multiply", ["Add", ["Negate", ["Power", ["LegendrePolynomialZero", "_n", "_k"], 2]], 1], ["Power", ["Apply", ["Derivative", ["Function", ["Block", ["LegendrePolynomial", "_n", "t"]], "t"], 1], ["LegendrePolynomialZero", "_n", "_k"]], 2]]], replace: ["GaussLegendreWeight", "_n", "_k"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 1 }, { k: "cmp", wc: "_k", op: "le", bound: "_n" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "GaussLegendreWeight", "LegendrePolynomial", "LegendrePolynomialZero"], topics: ["gaussian_quadrature", "legendre_polynomial"] },
|
|
1404
|
+
{ id: "fungrim:eac389", match: ["CarlsonRC", 1, 2], replace: ["Divide", "Pi", 4], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1405
|
+
{ id: "fungrim:eadca2", match: ["Add", ["Multiply", ["Add", "_n", -2], ["Apply", ["Derivative", ["Function", ["Block", ["Add", ["Multiply", "_C", ["AiryAi", "_z"]], ["Multiply", "_D_var", ["AiryBi", "_z"]]]], "_z"], ["Add", "_n", -3]], "_z"]], ["Multiply", "_z", ["Apply", ["Derivative", ["Function", ["Block", ["Add", ["Multiply", "_C", ["AiryAi", "_z"]], ["Multiply", "_D_var", ["AiryBi", "_z"]]]], "_z"], ["Add", "_n", -2]], "_z"]]], replace: ["Apply", ["Derivative", ["Function", ["Add", ["Multiply", "_C", ["AiryAi", "_z"]], ["Multiply", "_D_var", ["AiryBi", "_z"]]], "_z"], "_n"], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 3 }, { k: "type", wc: "_C", t: "complex" }, { k: "type", wc: "_D_var", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "AiryBi", "Derivative"], topics: ["airy"] },
|
|
1406
|
+
{ id: "fungrim:eb0661", match: ["AGM", 1, 1], replace: 1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["AGM"], topics: ["agm"] },
|
|
1407
|
+
{ id: "fungrim:eb1d4f", match: ["Which", ["NotEqual", "_y", 0], ["Divide", ["Arctan", ["Sqrt", "_y"]], ["Sqrt", "_y"]], ["Equal", "_y", 0], 1], replace: ["CarlsonRC", 1, ["Add", 1, "_y"]], guards: [{ k: "type", wc: "_y", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1408
|
+
{ id: "fungrim:eba27c", match: ["IncompleteEllipticE", ["Multiply", ["Rational", 1, 6], "Pi"], 4], replace: ["Subtract", ["Multiply", 2, ["EllipticE", ["Divide", 1, 4]]], ["Multiply", ["Divide", 3, 2], ["EllipticK", ["Divide", 1, 4]]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["EllipticE", "EllipticK", "IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1409
|
+
{ id: "fungrim:ebaa1a", match: ["CarlsonRF", "_x", "_x", "_y"], replace: ["CarlsonRC", "_y", "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRC", "CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
1410
|
+
{ id: "fungrim:ebc49c", match: ["Multiply", ["Add", ["HurwitzZeta", "_s", ["Multiply", ["Rational", 1, 2], "_a"]], ["HurwitzZeta", "_s", ["Multiply", ["Rational", 1, 2], ["Add", "_a", 1]]]], ["Power", 2, ["Negate", "_s"]]], replace: ["HurwitzZeta", "_s", "_a"], guards: [{ k: "type", wc: "_s", t: "complex" }, { k: "type", wc: "_a", t: "complex" }, { k: "ne", lhs: "_s", rhs: 1 }, { k: "part-cmp", wc: "_a", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta"], topics: ["hurwitz_zeta"] },
|
|
1411
|
+
{ id: "fungrim:ebc673", match: ["Add", ["Multiply", -4, "ImaginaryUnit", "Pi", ["Apply", ["Derivative", ["Function", ["Block", ["JacobiTheta", "_j", "_z", "_tau"]], "_tau"], 1], "_tau"]], ["JacobiTheta", "_j", "_z", "_tau", 2]], replace: 0, guards: [{ k: "member", wc: "_j", set: ["Set", 1, 2, 3, 4] }, { k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1412
|
+
{ id: "fungrim:ebfcd8", match: ["Spectrum", ["Matrix", ["List", ["List", 1, 1], ["List", 1, 0]]]], replace: ["Set", "GoldenRatio", ["Subtract", 1, "GoldenRatio"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Spectrum"], topics: ["golden_ratio"] },
|
|
1413
|
+
{ id: "fungrim:ec0205", match: ["Add", ["Negate", ["Erfc", "_z"]], 2], replace: ["Erfc", ["Negate", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Erfc"], topics: ["error_functions"] },
|
|
1414
|
+
{ id: "fungrim:ec5a44", match: ["ModularLambda", ["Divide", "_tau", ["Add", ["Multiply", 2, "_tau"], 1]]], replace: ["ModularLambda", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "ModularLambda"], topics: ["modular_lambda"] },
|
|
1415
|
+
{ id: "fungrim:ec7f2d", match: ["Multiply", ["Arccos", ["Sqrt", ["Divide", 1, ["Add", ["Power", "_z", 2], 1]]]], ["Csgn", "_z"]], replace: ["Arctan", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: ["Negate", "ImaginaryUnit"] }, { k: "ne", lhs: "_z", rhs: "ImaginaryUnit" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arccos", "Arctan", "Csgn"], topics: ["atan"] },
|
|
1416
|
+
{ id: "fungrim:eca4ce", match: ["Imaginary", ["Ln", ["Add", "_x", ["Multiply", "ImaginaryUnit", "_y"]]]], replace: ["Arctan2", "_y", "_x"], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "type", wc: "_y", t: "real" }, { k: "ne", lhs: ["Add", "_x", ["Multiply", "_y", "ImaginaryUnit"]], rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan2", "Imaginary", "Ln"], topics: ["atan"] },
|
|
1417
|
+
{ id: "fungrim:ecd36f", match: ["Multiply", ["Hypergeometric0F1Regularized", ["Add", "_nu", 1], ["Negate", ["Multiply", ["Rational", 1, 4], ["Power", "_z", 2]]]], ["Power", ["Multiply", ["Rational", 1, 2], "_z"], "_nu"]], replace: ["BesselJ", "_nu", "_z"], guards: [{ k: "type", wc: "_nu", t: "integer" }, { k: "cmp", wc: "_nu", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Hypergeometric0F1Regularized"], topics: ["bessel"] },
|
|
1418
|
+
{ id: "fungrim:ed0756", match: ["Negate", ["Multiply", "ImaginaryUnit", ["JacobiTheta", 3, ["Add", ["Multiply", ["Rational", 1, 2], "_tau"], "_z", ["Rational", 1, 2]], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", ["Add", ["Multiply", ["Rational", 1, 4], "_tau"], "_z"]]]]], replace: ["JacobiTheta", 1, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1419
|
+
{ id: "fungrim:ed2bf6", match: ["Divide", ["Add", ["Negate", ["GammaLn", ["Add", "_ell", ["Negate", ["Multiply", "ImaginaryUnit", "_eta"]], 1]]], ["GammaLn", ["Add", "_ell", ["Multiply", "ImaginaryUnit", "_eta"], 1]]], ["Multiply", 2, "ImaginaryUnit"]], replace: ["CoulombSigma", "_ell", "_eta"], guards: [{ k: "type", wc: "_ell", t: "complex" }, { k: "type", wc: "_eta", t: "complex" }, { k: "eval", pred: ["NotElement", ["Add", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Subtract", ["Add", 1, "_ell"], ["Multiply", "ImaginaryUnit", "_eta"]], "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CoulombSigma", "GammaLn"], topics: ["coulomb_wave"] },
|
|
1420
|
+
{ id: "fungrim:ed3ff9", match: ["JacobiTheta", 3, ["Multiply", 2, "_z"], "_tau"], replace: ["Divide", ["Add", ["Power", ["JacobiTheta", 2, "_z", "_tau"], 4], ["Power", ["JacobiTheta", 4, "_z", "_tau"], 4]], ["Power", ["JacobiTheta", 3, 0, "_tau"], 3]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1421
|
+
{ id: "fungrim:ed5222", match: ["Multiply", ["Rational", 1, 2], ["Add", ["ChebyshevT", ["Add", "_m", "_n"], "_x"], ["ChebyshevT", ["Abs", ["Add", "_m", ["Negate", "_n"]]], "_x"]]], replace: ["Multiply", ["ChebyshevT", "_m", "_x"], ["ChebyshevT", "_n", "_x"]], guards: [{ k: "type", wc: "_m", t: "integer" }, { k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "ChebyshevT"], topics: ["chebyshev"] },
|
|
1422
|
+
{ id: "fungrim:ed65c8", match: ["Set", "chi", ["Element", "chi", ["DirichletGroup", "_q"], ["ForAll", ["Element", "d", ["Range", 1, ["Subtract", "_q", 1]]], ["Implies", ["Divides", "d", "_q"], ["Exists", ["Element", "a", ["Range", 0, ["Subtract", "_q", 1]]], ["And", ["CongruentMod", "a", 1, "d"], ["Equal", ["GCD", "a", "_q"], 1], ["NotEqual", ["chi", "a"], 1]]]]]]], replace: ["PrimitiveDirichletCharacters", "_q"], guards: [{ k: "type", wc: "_q", t: "integer" }, { k: "cmp", wc: "_q", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CongruentMod", "DirichletGroup", "Divides", "GCD", "PrimitiveDirichletCharacters"], topics: ["dirichlet"] },
|
|
1423
|
+
{ id: "fungrim:ed8ba7", match: ["Multiply", ["JacobiTheta", 2, ["Multiply", "_tau", "_z"], "_tau"], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Power", "_z", 2]]], ["Sqrt", ["Divide", "_tau", "ImaginaryUnit"]]], replace: ["JacobiTheta", 4, "_z", ["Divide", -1, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1424
|
+
{ id: "fungrim:eda0f3", match: ["HurwitzZeta", 3, ["Rational", 1, 4]], replace: ["Add", ["Multiply", 28, ["Zeta", 3]], ["Power", "Pi", 3]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
1425
|
+
{ id: "fungrim:eda57d", match: ["CarlsonRD", 2, 2, 1], replace: ["Subtract", 3, ["Divide", ["Multiply", 3, "Pi"], 4]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
1426
|
+
{ id: "fungrim:edad97", match: ["HurwitzZeta", 3, ["Rational", 5, 6]], replace: ["Subtract", ["Multiply", 91, ["Zeta", 3]], ["Multiply", ["Multiply", 2, ["Sqrt", 3]], ["Power", "Pi", 3]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
1427
|
+
{ id: "fungrim:ee3dc5", match: ["Add", ["Multiply", ["Add", "_z", -1], ["Hypergeometric3F2", 1, 1, ["Add", ["Negate", "_z"], 2], 2, 2, 1]], ["Negate", "EulerGamma"]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Hypergeometric3F2"], topics: ["digamma_function"] },
|
|
1428
|
+
{ id: "fungrim:ee56b9", match: ["Divide", ["Multiply", ["Gamma", ["Add", "_z", ["Rational", 1, 2]]], ["Gamma", ["Add", ["Negate", "_z"], ["Rational", 1, 2]]]], ["Multiply", ["Gamma", "_z"], ["Gamma", ["Add", ["Negate", "_z"], 1]]]], replace: ["Tan", ["Multiply", "Pi", "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Tan"], topics: ["gamma"] },
|
|
1429
|
+
{ id: "fungrim:eec21a", match: ["Add", ["Ln", "_n"], ["Multiply", ["Divide", 1, "_n"], ["Sum", ["Digamma", ["Add", ["Divide", "k", "_n"], "_z"]], ["Limits", "k", 0, ["Add", "_n", -1]]]]], replace: ["Digamma", ["Multiply", "_n", "_z"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", ["Multiply", "_n", "_z"], "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Ln", "Sum"], topics: ["digamma_function"] },
|
|
1430
|
+
{ id: "fungrim:ef2c71", match: ["MultiZetaValue", 4, 2], replace: ["Subtract", ["Power", ["Zeta", 3], 2], ["Multiply", ["Divide", 4, 3], ["Zeta", 6]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["MultiZetaValue", "Zeta"], topics: ["multiple_zeta_values"] },
|
|
1431
|
+
{ id: "fungrim:ef8b17", match: ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", ["Zeta", ["Multiply", 2, "_s"]]], ["Power", ["Zeta", "_s"], 2]]], replace: ["MultiZetaValue", "_s", "_s"], guards: [{ k: "type", wc: "_s", t: "integer" }, { k: "cmp", wc: "_s", op: "ge", bound: 2 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["MultiZetaValue", "Zeta"], topics: ["multiple_zeta_values"] },
|
|
1432
|
+
{ id: "fungrim:efc7a4", match: ["IncompleteEllipticE", "_phi", 0], replace: "_phi", guards: [{ k: "type", wc: "_phi", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1433
|
+
{ id: "fungrim:f04e01", match: ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi", "_b"], 12]], replace: ["DedekindEtaEpsilon", 1, "_b", 0, 1], guards: [], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEtaEpsilon", "Exp"], topics: ["dedekind_eta"] },
|
|
1434
|
+
{ id: "fungrim:f07e9d", match: ["Which", ["NotEqual", "_z", 0], ["Multiply", "PositiveInfinity", ["Sign", ["Power", "_z", ["Rational", -3, 2]]]], "True", "ComplexInfinity"], replace: ["CarlsonRD", 0, 0, "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "Sign"], topics: ["carlson_elliptic"] },
|
|
1435
|
+
{ id: "fungrim:f0bcb5", match: ["Multiply", ["Add", ["EllipticE", ["Divide", 1, "_m"]], ["Negate", ["Multiply", ["Add", ["Divide", -1, "_m"], 1], ["EllipticK", ["Divide", 1, "_m"]]]]], ["Sqrt", "_m"]], replace: ["IncompleteEllipticE", ["Arcsin", ["Divide", 1, ["Sqrt", "_m"]]], "_m"], guards: [{ k: "type", wc: "_m", t: "complex" }, { k: "ne", lhs: "_m", rhs: 0 }, { k: "ne", lhs: "_m", rhs: 1 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arcsin", "EllipticE", "EllipticK", "IncompleteEllipticE"], topics: ["legendre_elliptic"] },
|
|
1436
|
+
{ id: "fungrim:f0d72c", match: ["Add", ["Multiply", "_n", ["StirlingCycle", "_n", "_k"]], ["StirlingCycle", "_n", ["Add", "_k", -1]]], replace: ["StirlingCycle", ["Add", "_n", 1], "_k"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["StirlingCycle"], topics: ["stirling_numbers"] },
|
|
1437
|
+
{ id: "fungrim:f0f53b", match: ["Apply", ["Derivative", ["Function", ["Block", ["ModularJ", "_tau"]], "_tau"], 1], "_tau"], replace: ["Multiply", ["Negate", ["Multiply", ["Multiply", 2, "Pi"], "ImaginaryUnit"]], ["Divide", ["EisensteinE", 14, "_tau"], ["Power", ["DedekindEta", "_tau"], 24]]], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "Derivative", "EisensteinE", "HH", "ModularJ"], topics: ["modular_j"] },
|
|
1438
|
+
{ id: "fungrim:f12569", match: ["Divide", ["Multiply", ["JacobiTheta", 1, ["Add", "_z", ["Rational", 1, 4]], "_tau"], ["JacobiTheta", 1, ["Add", ["Negate", "_z"], ["Rational", 1, 4]], "_tau"]], ["JacobiTheta", 4, 0, ["Multiply", 2, "_tau"]]], replace: ["JacobiTheta", 2, ["Multiply", 2, "_z"], ["Multiply", 2, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1439
|
+
{ id: "fungrim:f12e20", match: ["JacobiTheta", 3, 0, ["Multiply", 3, "ImaginaryUnit"]], replace: ["Multiply", ["Divide", ["Sqrt", ["Add", ["Sqrt", 3], 1]], ["Multiply", ["Power", 2, ["Divide", 1, 4]], ["Power", 3, ["Divide", 3, 8]]]], ["JacobiTheta", 3, 0, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1440
|
+
{ id: "fungrim:f14471", match: ["Multiply", ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"]], replace: ["Power", ["JacobiTheta", 4, 0, ["Multiply", 2, "_tau"]], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1441
|
+
{ id: "fungrim:f1817f", match: ["GCD", ["Negate", "_a"], ["Negate", "_b"]], replace: ["GCD", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "type", wc: "_b", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
1442
|
+
{ id: "fungrim:f183d0", match: ["Add", ["Sin", "_z"], ["Cos", "_z"]], replace: ["Multiply", ["Sqrt", 2], ["Sin", ["Add", "_z", ["Divide", "Pi", 4]]]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
1443
|
+
{ id: "fungrim:f19e0a", match: ["Sinc", ["Negate", "_z"]], replace: ["Sinc", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sinc"], topics: ["sinc"] },
|
|
1444
|
+
{ id: "fungrim:f1a29b", match: ["Divide", ["Add", "_z", ["Negate", ["Conjugate", "_z"]]], ["Multiply", 2, "ImaginaryUnit"]], replace: ["Imaginary", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Conjugate", "Imaginary"], topics: ["complex_parts"] },
|
|
1445
|
+
{ id: "fungrim:f1afc0", match: ["Apply", ["Derivative", ["Function", ["Block", ["BesselJ", 0, "_z"]], "_z"], 1], "_z"], replace: ["Negate", ["BesselJ", 1, "_z"]], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselJ", "Derivative"], topics: ["bessel"] },
|
|
1446
|
+
{ id: "fungrim:f1bd89", match: ["Add", ["Multiply", ["Add", ["Negate", ["Multiply", "_z", ["Add", "_a", "_b", 1]]], "_c"], ["Apply", ["Derivative", ["Function", ["Block", ["Hypergeometric2F1", "_a", "_b", "_c", "_z"]], "_z"], 1], "_z"]], ["Negate", ["Multiply", "_a", "_b", ["Hypergeometric2F1", "_a", "_b", "_c", "_z"]]], ["Multiply", "_z", ["Add", ["Negate", "_z"], 1], ["Apply", ["Derivative", ["Function", ["Block", ["Hypergeometric2F1", "_a", "_b", "_c", "_z"]], "_z"], 2], "_z"]]], replace: 0, guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "eval", pred: ["NotElement", "_c", "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", 1, ["Open", "PositiveInfinity"]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Hypergeometric2F1"], topics: ["gauss_hypergeometric"] },
|
|
1447
|
+
{ id: "fungrim:f1d31a", match: ["Factorial", ["Add", "_n", -1]], replace: ["Gamma", "_n"], guards: [{ k: "type", wc: "_n", t: "complex" }, { k: "eval", pred: ["NotElement", "_n", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Factorial", "Gamma"], topics: ["gamma"] },
|
|
1448
|
+
{ id: "fungrim:f1dd8a", match: ["CarlsonRF", 0, 1, -1], replace: ["Multiply", ["Divide", ["Power", ["Gamma", ["Divide", 1, 4]], 2], ["Multiply", 4, ["Sqrt", ["Multiply", 2, "Pi"]]]], ["Subtract", 1, "ImaginaryUnit"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRF", "Gamma"], topics: ["carlson_elliptic"] },
|
|
1449
|
+
{ id: "fungrim:f1fd51", match: ["CarlsonRJ", 0, 0, 0, 1], replace: "ComplexInfinity", guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1450
|
+
{ id: "fungrim:f29729", match: ["CarlsonRF", "_x", "_y", "_z"], replace: ["CarlsonRF", "_z", "_y", "_x"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["CarlsonRF"], topics: ["carlson_elliptic"] },
|
|
1451
|
+
{ id: "fungrim:f2e28a", match: ["Multiply", "Pi", ["JacobiTheta", 2, 0, "_tau"], ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"]], replace: ["JacobiTheta", 1, 0, "_tau", 1], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1452
|
+
{ id: "fungrim:f303c9", match: ["Add", ["Multiply", ["Add", ["Negate", ["Power", "_n", 2]], ["Power", "_r", 2], ["Multiply", 4, "_r"], 4], ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_n", "z"]], "z"], ["Add", "_r", 2]], 0]], ["Negate", ["Multiply", ["Add", "_r", 1], ["Add", "_r", 2], ["Apply", ["Derivative", ["Function", ["Block", ["BesselI", "_n", "z"]], "z"], "_r"], 0]]]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_r", t: "integer" }, { k: "cmp", wc: "_r", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselI", "Derivative"], topics: ["bessel"] },
|
|
1453
|
+
{ id: "fungrim:f35a37", match: ["Add", ["Multiply", 2, ["Floor", ["Add", ["Divide", ["Real", "_phi"], "Pi"], ["Rational", 1, 2]]]], ["Multiply", ["Sin", "_phi"], ["Power", -1, ["Floor", ["Add", ["Divide", ["Real", "_phi"], "Pi"], ["Rational", 1, 2]]]]]], replace: ["IncompleteEllipticE", "_phi", 1], guards: [{ k: "type", wc: "_phi", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Floor", "IncompleteEllipticE", "Real", "Sin"], topics: ["legendre_elliptic"] },
|
|
1454
|
+
{ id: "fungrim:f3b870", match: ["Add", ["HurwitzZeta", 0, "_z", 1], ["Multiply", ["Rational", 1, 2], ["Ln", ["Multiply", 2, "Pi"]]]], replace: ["GammaLn", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", "NonPositiveIntegers"] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GammaLn", "HurwitzZeta", "Ln"], topics: ["hurwitz_zeta"] },
|
|
1455
|
+
{ id: "fungrim:f3e75c", match: ["Add", ["Multiply", 2, ["Sum", ["Multiply", ["Cos", ["Multiply", 2, "Pi", "_z", "n"]], ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "Pi", "_tau", ["Power", "n", 2]]]], ["Limits", "n", 1, "PositiveInfinity"]]], 1], replace: ["JacobiTheta", 3, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Exp", "HH", "JacobiTheta", "Sum"], topics: ["jacobi_theta"] },
|
|
1456
|
+
{ id: "fungrim:f47947", match: ["CarlsonRD", 1, 1, 2], replace: ["Subtract", ["Multiply", 3, ["Ln", ["Add", 1, ["Sqrt", 2]]]], ["Divide", ["Multiply", 3, ["Sqrt", 2]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRD", "Ln"], topics: ["carlson_elliptic"] },
|
|
1457
|
+
{ id: "fungrim:f48f54", match: ["Add", ["Multiply", ["Rational", -1, 3], "_m", ["CarlsonRD", ["Power", ["Cos", "_phi"], 2], ["Add", ["Negate", ["Multiply", "_m", ["Power", ["Sin", "_phi"], 2]]], 1], 1], ["Power", ["Sin", "_phi"], 3]], ["Multiply", ["Sin", "_phi"], ["CarlsonRF", ["Power", ["Cos", "_phi"], 2], ["Add", ["Negate", ["Multiply", "_m", ["Power", ["Sin", "_phi"], 2]]], 1], 1]]], replace: ["IncompleteEllipticE", "_phi", "_m"], guards: [{ k: "type", wc: "_phi", t: "complex" }, { k: "type", wc: "_m", t: "complex" }, { k: "part-cmp", wc: "_phi", part: "re", op: "ge", bound: ["Divide", ["Negate", "Pi"], 2] }, { k: "part-cmp", wc: "_phi", part: "re", op: "le", bound: ["Divide", "Pi", 2] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD", "CarlsonRF", "Cos", "IncompleteEllipticE", "Sin"], topics: ["carlson_elliptic", "legendre_elliptic"] },
|
|
1458
|
+
{ id: "fungrim:f4b3fa", match: ["ChebyshevT", "_n", ["Cos", "_x"]], replace: ["Cos", ["Multiply", "_n", "_x"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "Cos"], topics: ["chebyshev"] },
|
|
1459
|
+
{ id: "fungrim:f4e249", match: ["Multiply", ["Divide", ["Multiply", 2, ["Factorial", "_n"]], ["Multiply", "ExponentialE", "Pi"]], ["Imaginary", ["Integrate", ["Function", ["Block", ["Multiply", ["Sin", ["Multiply", "_n", "x"]], ["Power", "ExponentialE", ["Power", "ExponentialE", ["Power", "ExponentialE", ["Multiply", "ImaginaryUnit", "x"]]]]]], "_n", "x"], ["Limits", "x", 0, "Pi"]]]], replace: ["BellNumber", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BellNumber", "Factorial", "Imaginary", "Integrate", "Sin"], topics: ["bell_numbers"] },
|
|
1460
|
+
{ id: "fungrim:f50c74", match: ["Which", ["Less", "_n", 0], 0, ["Equal", "_n", 0], 1, ["Equal", "_n", 1], ["Multiply", ["Rational", 1, 2], ["Add", -1, ["Ln", ["Multiply", 2, "Pi"]]]], ["LessEqual", 2, "_n"], ["Multiply", ["Add", ["Multiply", ["Add", ["HarmonicNumber", ["Add", "_n", -2]], -1, ["Negate", "EulerGamma"]], ["Add", "_n", -1]], ["Rational", 1, 2], ["Multiply", ["Rational", 1, 2], ["Ln", ["Multiply", 2, "Pi"]]]], ["BarnesG", "_n"]]], replace: ["Apply", ["Derivative", ["Function", ["BarnesG", "z"], "z"], 1], "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BarnesG", "Derivative", "HarmonicNumber", "Ln"], topics: ["barnes_g"] },
|
|
1461
|
+
{ id: "fungrim:f516e3", match: ["Arctan", ["Tan", "_theta"]], replace: "_theta", guards: [{ k: "type", wc: "_theta", t: "complex" }, { k: "part-cmp", wc: "_theta", part: "re", op: "gt", bound: ["Negate", ["Divide", "Pi", 2]] }, { k: "part-cmp", wc: "_theta", part: "re", op: "lt", bound: ["Divide", "Pi", 2] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arctan", "Tan"], topics: ["atan"] },
|
|
1462
|
+
{ id: "fungrim:f55f0a", match: ["Multiply", ["Hypergeometric2F1", ["Negate", ["Multiply", ["Rational", 1, 2], "_n"]], ["Multiply", ["Rational", 1, 2], ["Add", ["Negate", "_n"], 1]], ["Add", ["Negate", "_n"], ["Rational", 1, 2]], ["Power", "_z", -2]], ["Binomial", ["Multiply", 2, "_n"], "_n"], ["Power", ["Multiply", ["Rational", 1, 2], "_z"], "_n"]], replace: ["LegendrePolynomial", "_n", "_z"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Binomial", "Hypergeometric2F1", "LegendrePolynomial"], topics: ["legendre_polynomial"] },
|
|
1463
|
+
{ id: "fungrim:f5d489", match: ["IncompleteEllipticF", ["Multiply", ["Rational", 1, 4], "Pi"], 1], replace: ["Ln", ["Add", 1, ["Sqrt", 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["IncompleteEllipticF", "Ln"], topics: ["legendre_elliptic"] },
|
|
1464
|
+
{ id: "fungrim:f67fa2", match: ["Add", ["Ln", "_c"], ["Ln", "_z"]], replace: ["Ln", ["Multiply", "_c", "_z"]], guards: [{ k: "type", wc: "_c", t: "real" }, { k: "cmp", wc: "_c", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Ln"], topics: ["log"] },
|
|
1465
|
+
{ id: "fungrim:f68409", match: ["CarlsonRD", ["Negate", "_x"], ["Negate", "_y"], ["Negate", "_z"]], replace: ["Multiply", "ImaginaryUnit", ["CarlsonRD", "_x", "_y", "_z"]], guards: [{ k: "type", wc: "_x", t: "real" }, { k: "cmp", wc: "_x", op: "gt", bound: 0 }, { k: "type", wc: "_y", t: "real" }, { k: "cmp", wc: "_y", op: "gt", bound: 0 }, { k: "type", wc: "_z", t: "real" }, { k: "cmp", wc: "_z", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRD"], topics: ["carlson_elliptic"] },
|
|
1466
|
+
{ id: "fungrim:f697d5", match: ["Multiply", ["JacobiTheta", 2, "_z", "_tau"], ["Power", -1, "_n"]], replace: ["JacobiTheta", 2, ["Add", "_z", "_n"], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1467
|
+
{ id: "fungrim:f6d0c6", match: ["Negate", ["Multiply", ["Cos", ["Add", "_a", "_b"]], ["Cos", ["Add", "_a", ["Negate", "_b"]]]]], replace: ["Subtract", ["Power", ["Sin", "_a"], 2], ["Power", ["Cos", "_b"], 2]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Sin"], topics: ["sine"] },
|
|
1468
|
+
{ id: "fungrim:f7ab32", match: ["Apply", ["Derivative", ["Function", ["Block", ["Sin", "_z"]], "_z"], 1], "_z"], replace: ["Cos", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "Derivative", "Sin"], topics: ["sine"] },
|
|
1469
|
+
{ id: "fungrim:f7f84e", match: ["Add", ["Multiply", ["Divide", ["Power", ["Negate", "_z"], ["Negate", "_a"]], ["Gamma", ["Add", ["Negate", "_a"], "_b"]]], ["HypergeometricUStar", "_a", "_b", "_z"]], ["Multiply", ["Divide", ["Multiply", ["Power", "ExponentialE", "_z"], ["Power", "_z", ["Add", "_a", ["Negate", "_b"]]]], ["Gamma", "_a"]], ["HypergeometricUStar", ["Add", ["Negate", "_a"], "_b"], "_b", ["Negate", "_z"]]]], replace: ["Hypergeometric1F1Regularized", "_a", "_b", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp", "Gamma", "Hypergeometric1F1Regularized", "HypergeometricUStar"], topics: ["confluent_hypergeometric"] },
|
|
1470
|
+
{ id: "fungrim:f80439", match: ["Multiply", ["Add", ["Multiply", "_n", ["Power", "_x", ["Add", "_n", -1]]], ["BernoulliPolynomial", "_n", "_x"]], ["Power", -1, "_n"]], replace: ["BernoulliPolynomial", "_n", ["Negate", "_x"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BernoulliPolynomial"], topics: ["bernoulli_numbers"] },
|
|
1471
|
+
{ id: "fungrim:f826a6", match: ["Gamma", ["Rational", 1, 2]], replace: ["Sqrt", "Pi"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Gamma"], topics: ["gamma"] },
|
|
1472
|
+
{ id: "fungrim:f8a56f", match: ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi", "_z"], 2]], replace: ["Power", "ImaginaryUnit", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp"], topics: ["imaginary_unit"] },
|
|
1473
|
+
{ id: "fungrim:f8cd8f", match: ["Add", ["Multiply", 2, ["Sum", ["Divide", 1, ["Cos", ["Multiply", "Pi", "_tau", "n"]]], ["Limits", "n", 1, "PositiveInfinity"]]], 1], replace: ["Power", ["JacobiTheta", 3, 0, "_tau"], 2], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cos", "HH", "JacobiTheta", "Sum"], topics: ["jacobi_theta"] },
|
|
1474
|
+
{ id: "fungrim:f9190b", match: ["AGM", 1, ["Add", 3, ["Multiply", -2, ["Sqrt", 2]]]], replace: ["Divide", ["Multiply", 2, ["Subtract", 2, ["Sqrt", 2]], ["Power", "Pi", ["Divide", 3, 2]]], ["Power", ["Gamma", ["Divide", 1, 4]], 2]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["AGM", "Gamma"], topics: ["agm"] },
|
|
1475
|
+
{ id: "fungrim:f93bae", match: ["Digamma", ["Rational", 3, 4]], replace: ["Subtract", ["Subtract", ["Divide", "Pi", 2], "EulerGamma"], ["Multiply", 3, ["Ln", 2]]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Digamma", "Ln"], topics: ["digamma_function"] },
|
|
1476
|
+
{ id: "fungrim:f946a5", match: ["Add", ["Integrate", ["Function", ["Block", ["Divide", ["Add", ["Power", "ExponentialE", ["Negate", "t"]], ["Negate", ["Power", "ExponentialE", ["Negate", ["Multiply", "_z", "t"]]]]], ["Add", ["Negate", ["Power", "ExponentialE", ["Negate", "t"]]], 1]]], "_z", "t"], ["Limits", "t", 0, "PositiveInfinity"]], ["Negate", "EulerGamma"]], replace: ["Digamma", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "part-cmp", wc: "_z", part: "re", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Digamma", "Exp", "Integrate"], topics: ["digamma_function"] },
|
|
1477
|
+
{ id: "fungrim:f9ca94", match: ["CarlsonRG", ["Multiply", "_lamda", "_x"], ["Multiply", "_lamda", "_y"], ["Multiply", "_lamda", "_z"]], replace: ["Multiply", ["Power", "_lamda", ["Divide", 1, 2]], ["CarlsonRG", "_x", "_y", "_z"]], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "type", wc: "_y", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_lamda", t: "real" }, { k: "cmp", wc: "_lamda", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1478
|
+
{ id: "fungrim:f9f31d", match: ["Multiply", "PositiveInfinity", ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "_theta"], 2]]], replace: ["Sqrt", ["Multiply", ["Exp", ["Multiply", "ImaginaryUnit", "_theta"]], "PositiveInfinity"]], guards: [{ k: "type", wc: "_theta", t: "real" }, { k: "cmp", wc: "_theta", op: "gt", bound: ["Negate", "Pi"] }, { k: "cmp", wc: "_theta", op: "le", bound: "Pi" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Exp"], topics: ["sqrt"] },
|
|
1479
|
+
{ id: "fungrim:fa6ff7", match: ["AGM", ["Multiply", ["Rational", 1, 2], ["Add", "_a", "_b"]], ["Multiply", ["Which", ["Or", ["LessEqual", 0, ["Real", ["Divide", ["Add", "_a", "_b"], ["Multiply", 2, ["Sqrt", ["Multiply", "_a", "_b"]]]]]], ["Equal", ["Sqrt", ["Multiply", "_a", "_b"]], 0]], 1, "True", -1], ["Sqrt", ["Multiply", "_a", "_b"]]]], replace: ["AGM", "_a", "_b"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AGM", "Real"], topics: ["agm"] },
|
|
1480
|
+
{ id: "fungrim:fa7251", match: ["Add", ["Multiply", ["Power", ["JacobiTheta", 4, 0, "_tau"], 2], ["Power", ["JacobiTheta", 1, "_z", "_tau"], 2]], ["Multiply", ["Power", ["JacobiTheta", 3, 0, "_tau"], 2], ["Power", ["JacobiTheta", 2, "_z", "_tau"], 2]]], replace: ["Multiply", ["Power", ["JacobiTheta", 2, 0, "_tau"], 2], ["Power", ["JacobiTheta", 3, "_z", "_tau"], 2]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1481
|
+
{ id: "fungrim:fa9283", match: ["Divide", ["Sin", "_z"], "_z"], replace: ["Sinc", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Sin", "Sinc"], topics: ["sinc"] },
|
|
1482
|
+
{ id: "fungrim:fae9d3", match: ["Apply", ["Derivative", ["Function", ["Block", ["Erf", "_z"]], "_z"], "_n"], "_z"], replace: ["Multiply", ["Multiply", ["Multiply", ["Divide", 2, ["Sqrt", "Pi"]], ["Power", -1, ["Add", "_n", 1]]], ["HermitePolynomial", ["Subtract", "_n", 1], "_z"]], ["Exp", ["Negate", ["Power", "_z", 2]]]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Erf", "Exp", "HermitePolynomial"], topics: ["error_functions"] },
|
|
1483
|
+
{ id: "fungrim:faeed9", match: ["Add", ["Multiply", 2, "_x", ["ChebyshevT", ["Add", "_n", -1], "_x"]], ["Negate", ["ChebyshevT", ["Add", "_n", -2], "_x"]]], replace: ["ChebyshevT", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
1484
|
+
{ id: "fungrim:fb4b1b", match: ["JacobiTheta", 2, "_z", ["Add", ["Multiply", 8, "_n"], "_tau"]], replace: ["JacobiTheta", 2, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1485
|
+
{ id: "fungrim:fb55cb", match: ["JacobiTheta", 2, ["Negate", "_z"], "_tau"], replace: ["JacobiTheta", 2, "_z", "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1486
|
+
{ id: "fungrim:fbe121", match: ["Divide", ["Multiply", ["LCM", "_r", "_c"], ["LCM", "_s", "_c"]], ["Abs", "_c"]], replace: ["LCM", ["Multiply", "_r", "_s"], "_c"], guards: [{ k: "type", wc: "_r", t: "integer" }, { k: "type", wc: "_s", t: "integer" }, { k: "type", wc: "_c", t: "integer" }, { k: "eval", pred: ["Equal", ["GCD", "_r", "_s"], 1] }, { k: "ne", lhs: "_c", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Abs", "LCM"], topics: ["gcd"] },
|
|
1487
|
+
{ id: "fungrim:fbfb81", match: ["Imaginary", ["Ln", "_z"]], replace: ["Argument", "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Argument", "Imaginary", "Ln"], topics: ["log"] },
|
|
1488
|
+
{ id: "fungrim:fc3c44", match: ["Divide", ["Multiply", ["JacobiTheta", 4, "_z", "_tau"], ["JacobiTheta", 3, "_z", "_tau"], ["JacobiTheta", 4, ["Add", "_z", ["Rational", 1, 4]], "_tau"], ["JacobiTheta", 4, ["Add", ["Negate", "_z"], ["Rational", 1, 4]], "_tau"]], ["Multiply", ["JacobiTheta", 3, 0, "_tau"], ["JacobiTheta", 4, 0, "_tau"], ["JacobiTheta", 3, ["Rational", 1, 4], "_tau"]]], replace: ["JacobiTheta", 4, ["Multiply", 4, "_z"], ["Multiply", 4, "_tau"]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1489
|
+
{ id: "fungrim:fc4f6a", match: ["Which", ["CongruentMod", "_n", 1, 4], 1, ["CongruentMod", "_n", 3, 4], -1, "True", 0], replace: ["DirichletCharacter", 4, 3, "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CongruentMod", "DirichletCharacter"], topics: ["dirichlet"] },
|
|
1490
|
+
{ id: "fungrim:fc4fd1", match: ["Fibonacci", ["Add", ["Multiply", 2, "_n"], 1]], replace: ["Add", ["Power", ["Fibonacci", ["Add", "_n", 1]], 2], ["Power", ["Fibonacci", "_n"], 2]], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Fibonacci"], topics: ["fibonacci"] },
|
|
1491
|
+
{ id: "fungrim:fc5d42", match: ["ChebyshevT", "_n", 1], replace: 1, guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT"], topics: ["chebyshev"] },
|
|
1492
|
+
{ id: "fungrim:fc6fe0", match: ["Add", ["Negate", ["Power", 2, ["Negate", "_s"]]], ["Zeta", "_s"], -1], replace: ["HurwitzZeta", "_s", 3], guards: [{ k: "type", wc: "_s", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HurwitzZeta", "Zeta"], topics: ["hurwitz_zeta"] },
|
|
1493
|
+
{ id: "fungrim:fcab61", match: ["Multiply", ["Divide", 1, ["Factorial", "_n"]], ["Apply", ["Derivative", ["Function", ["Block", ["Ln", ["Multiply", 2, ["RiemannXi", ["Divide", "s", ["Add", "s", -1]]]]]], "s"], "_n"], 0]], replace: ["KeiperLiLambda", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Factorial", "KeiperLiLambda", "Ln", "RiemannXi"], topics: ["riemann_zeta"] },
|
|
1494
|
+
{ id: "fungrim:fd0e48", match: ["Multiply", ["Beta", "_a", "_b"], ["Beta", ["Add", "_a", "_b"], "_c"]], replace: ["Multiply", ["Beta", "_b", "_c"], ["Beta", "_a", ["Add", "_b", "_c"]]], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "eval", pred: ["NotElement", "_a", "NonPositiveIntegers"] }, { k: "type", wc: "_b", t: "complex" }, { k: "eval", pred: ["NotElement", "_b", "NonPositiveIntegers"] }, { k: "type", wc: "_c", t: "complex" }, { k: "eval", pred: ["NotElement", "_c", "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Add", "_a", "_b"], "NonPositiveIntegers"] }, { k: "eval", pred: ["NotElement", ["Add", "_b", "_c"], "NonPositiveIntegers"] }], purpose: "expand", target: "simplify", class: "identity", heads: ["Beta"], topics: ["beta_function"] },
|
|
1495
|
+
{ id: "fungrim:fd3017", match: ["CarlsonRJ", 0, 0, -1, 1], replace: ["Negate", ["Multiply", "ImaginaryUnit", "PositiveInfinity"]], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["CarlsonRJ"], topics: ["carlson_elliptic"] },
|
|
1496
|
+
{ id: "fungrim:fd732d", match: ["Multiply", ["Divide", 2, ["Sqrt", 5]], ["Which", ["Not", ["IsOdd", "_n"]], ["Sinh", ["Multiply", "_n", ["Ln", "GoldenRatio"]]], ["IsOdd", "_n"], ["Cosh", ["Multiply", "_n", ["Ln", "GoldenRatio"]]]]], replace: ["Fibonacci", "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Cosh", "Fibonacci", "IsEven", "IsOdd", "Ln", "Sinh"], topics: ["fibonacci"] },
|
|
1497
|
+
{ id: "fungrim:fd9add", match: ["Add", ["Negate", ["Multiply", ["Add", ["Power", "_nu", 2], ["Power", "_z", 2]], ["BesselK", "_nu", "_z"]]], ["Multiply", ["Apply", ["Derivative", ["Function", ["Block", ["BesselK", "_nu", "_z"]], "_z"], 2], "_z"], ["Power", "_z", 2]], ["Multiply", "_z", ["Apply", ["Derivative", ["Function", ["Block", ["BesselK", "_nu", "_z"]], "_z"], 1], "_z"]]], replace: 0, guards: [{ k: "type", wc: "_nu", t: "complex" }, { k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["BesselK", "Derivative"], topics: ["bessel"] },
|
|
1498
|
+
{ id: "fungrim:fda084", match: ["CarlsonHypergeometricR", ["Rational", 1, 2], ["List", ["Rational", 1, 2], ["Rational", 1, 2], ["Rational", 1, 2]], ["List", "_x", "_y", "_z"]], replace: ["CarlsonRG", "_x", "_y", "_z"], guards: [{ k: "type", wc: "_x", t: "complex" }, { k: "eval", pred: ["NotElement", "_x", ["Interval", ["Open", "NegativeInfinity"], ["Open", 0]]] }, { k: "type", wc: "_y", t: "complex" }, { k: "eval", pred: ["NotElement", "_y", ["Interval", ["Open", "NegativeInfinity"], ["Open", 0]]] }, { k: "type", wc: "_z", t: "complex" }, { k: "eval", pred: ["NotElement", "_z", ["Interval", ["Open", "NegativeInfinity"], ["Open", 0]]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonHypergeometricR", "CarlsonRG"], topics: ["carlson_elliptic"] },
|
|
1499
|
+
{ id: "fungrim:fda595", match: ["Multiply", ["Divide", ["Multiply", ["Sqrt", 3], "Pi"], ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3]], ["AiryAi", ["Power", ["Root", ["Multiply", ["Rational", 3, 2], "_z"], 3], 2]]], replace: ["BesselK", ["Negate", ["Divide", 1, 3]], "_z"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "ne", lhs: "_z", rhs: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["AiryAi", "BesselK"], topics: ["bessel"] },
|
|
1500
|
+
{ id: "fungrim:fda800", match: ["Cos", ["Multiply", "_n", ["Arccos", "_x"]]], replace: ["ChebyshevT", "_n", "_x"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Arccos", "ChebyshevT", "Cos"], topics: ["chebyshev"] },
|
|
1501
|
+
{ id: "fungrim:fdae67", match: ["GCD", ["Add", ["Power", "_n", "_a"], -1], ["Add", ["Power", "_n", "_b"], -1]], replace: ["Subtract", ["Power", "_n", ["GCD", "_a", "_b"]], 1], guards: [{ k: "type", wc: "_a", t: "integer" }, { k: "cmp", wc: "_a", op: "ge", bound: 0 }, { k: "type", wc: "_b", t: "integer" }, { k: "cmp", wc: "_b", op: "ge", bound: 0 }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["GCD"], topics: ["gcd"] },
|
|
1502
|
+
{ id: "fungrim:fdc94c", match: ["Sinc", ["Multiply", ["Rational", 1, 2], "Pi"]], replace: ["Divide", 2, "Pi"], guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Sinc"], topics: ["sinc"] },
|
|
1503
|
+
{ id: "fungrim:fdf80d", match: ["Add", ["ChebyshevT", "_n", "_x"], ["Multiply", ["ChebyshevU", ["Add", "_n", -1], "_x"], ["Sqrt", ["Add", ["Power", "_x", 2], -1]]]], replace: ["Power", ["Add", "_x", ["Sqrt", ["Subtract", ["Power", "_x", 2], 1]]], "_n"], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "type", wc: "_x", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["ChebyshevT", "ChebyshevU"], topics: ["chebyshev"] },
|
|
1504
|
+
{ id: "fungrim:fe1b96", match: ["Conjugate", ["JacobiTheta", "_j", ["Conjugate", "_z"], "_tau"]], replace: ["JacobiTheta", "_j", "_z", ["Negate", ["Conjugate", "_tau"]]], guards: [{ k: "member", wc: "_j", set: ["Set", 1, 2, 3, 4] }, { k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Conjugate", "HH", "JacobiTheta"], topics: ["jacobi_theta"] },
|
|
1505
|
+
{ id: "fungrim:fe2627", match: ["ModularLambda", ["Add", 1, "ImaginaryUnit"]], replace: -1, guards: [], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["ModularLambda"], topics: ["modular_lambda"] },
|
|
1506
|
+
{ id: "fungrim:fe6e74", match: ["Divide", ["Hypergeometric2F1", "_a", "_b", "_c", "_z"], ["Gamma", "_c"]], replace: ["Hypergeometric2F1Regularized", "_a", "_b", "_c", "_z"], guards: [{ k: "type", wc: "_a", t: "complex" }, { k: "type", wc: "_b", t: "complex" }, { k: "type", wc: "_c", t: "complex" }, { k: "eval", pred: ["NotElement", "_c", "NonPositiveIntegers"] }, { k: "type", wc: "_z", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Gamma", "Hypergeometric2F1", "Hypergeometric2F1Regularized"], topics: ["gauss_hypergeometric"] },
|
|
1507
|
+
{ id: "fungrim:fe9fb7", match: ["Multiply", ["Add", "_k", "_z"], ["RisingFactorial", "_z", "_k"]], replace: ["RisingFactorial", "_z", ["Add", "_k", 1]], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_k", t: "integer" }, { k: "cmp", wc: "_k", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["RisingFactorial"], topics: ["factorials"] },
|
|
1508
|
+
{ id: "fungrim:feb95e", match: ["Multiply", ["EisensteinE", 6, "_tau"], ["EisensteinE", 8, "_tau"]], replace: ["EisensteinE", 14, "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["EisensteinE", "HH"], topics: ["eisenstein"] },
|
|
1509
|
+
{ id: "fungrim:ff587a", match: ["Multiply", ["EulerQSeries", ["Power", "ExponentialE", ["Multiply", 2, "ImaginaryUnit", "Pi", "_tau"]]], ["Power", "ExponentialE", ["Divide", ["Multiply", "ImaginaryUnit", "Pi", "_tau"], 12]]], replace: ["DedekindEta", "_tau"], guards: [{ k: "member", wc: "_tau", set: "HH" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["DedekindEta", "EulerQSeries", "Exp", "HH"], topics: ["dedekind_eta"] },
|
|
1510
|
+
{ id: "fungrim:ff58cf", match: ["Which", ["NotEqual", "_y", 0], ["Divide", "Pi", ["Multiply", 2, ["Sqrt", "_y"]]], ["Equal", "_y", 0], "ComplexInfinity"], replace: ["CarlsonRC", 0, "_y"], guards: [{ k: "type", wc: "_y", t: "complex" }], purpose: "simplify", target: "simplify", class: "identity", heads: ["CarlsonRC"], topics: ["carlson_elliptic"] },
|
|
1511
|
+
{ id: "fungrim:ff5e82", match: ["Add", ["Multiply", "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["Sinc", "_z"]], "_z"], ["Add", "_n", 3]], "_z"], ["Factorial", ["Add", "_n", 3]]], ["Add", ["Power", "_n", 2], ["Multiply", 5, "_n"], 6]], ["Multiply", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["Sinc", "_z"]], "_z"], ["Add", "_n", 2]], "_z"], ["Factorial", ["Add", "_n", 2]]], ["Add", ["Power", "_n", 2], ["Multiply", 5, "_n"], 6]], ["Multiply", "_z", ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["Sinc", "_z"]], "_z"], ["Add", "_n", 1]], "_z"], ["Factorial", ["Add", "_n", 1]]]], ["Divide", ["Apply", ["Derivative", ["Function", ["Block", ["Sinc", "_z"]], "_z"], "_n"], "_z"], ["Factorial", "_n"]]], replace: 0, guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "ge", bound: 0 }], purpose: "simplify", target: "simplify", class: "identity", heads: ["Derivative", "Factorial", "Sinc"], topics: ["sinc"] },
|
|
1512
|
+
{ id: "fungrim:ff8254", match: ["DirichletL", "_s", ["DirichletCharacter", ["Power", 2, "_n"], 1]], replace: ["Multiply", ["Subtract", 1, ["Power", 2, ["Negate", "_s"]]], ["Zeta", "_s"]], guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }, { k: "type", wc: "_s", t: "complex" }], purpose: "expand", target: "simplify", class: "identity", heads: ["DirichletCharacter", "DirichletL", "Zeta"], topics: ["dirichlet"] },
|
|
1513
|
+
{ id: "fungrim:ffcc0f", match: ["Add", ["WeierstrassZeta", ["Rational", 1, 2], "_tau"], ["WeierstrassZeta", "_z", "_tau"]], replace: ["WeierstrassZeta", ["Add", "_z", 1], "_tau"], guards: [{ k: "type", wc: "_z", t: "complex" }, { k: "member", wc: "_tau", set: "HH" }, { k: "eval", pred: ["NotElement", "_z", ["Lattice", 1, "_tau"]] }], purpose: "simplify", target: "simplify", class: "identity", heads: ["HH", "Lattice", "WeierstrassZeta"], topics: ["weierstrass_elliptic"] },
|
|
1514
|
+
{ id: "fungrim:zeta-trivial-zeros", match: ["Zeta", ["Multiply", -2, "_n"]], replace: 0, guards: [{ k: "type", wc: "_n", t: "integer" }, { k: "cmp", wc: "_n", op: "gt", bound: 0 }], purpose: "simplify", target: "simplify", class: "specific-value", heads: ["Zeta"], topics: ["riemann_zeta"] }
|
|
1515
|
+
]
|
|
1516
|
+
};
|
|
1517
|
+
|
|
1518
|
+
// src/compute-engine/fungrim/loader.ts
|
|
1519
|
+
var FUNGRIM_CORE = fungrim_core_data_default;
|
|
1520
|
+
function collectWildcards(x, out = /* @__PURE__ */ new Set()) {
|
|
1521
|
+
if (typeof x === "string" && x.startsWith("_")) out.add(x);
|
|
1522
|
+
else if (Array.isArray(x)) for (const y of x) collectWildcards(y, out);
|
|
1523
|
+
return out;
|
|
1524
|
+
}
|
|
1525
|
+
function collectSymbols(x, out = /* @__PURE__ */ new Set()) {
|
|
1526
|
+
if (typeof x === "string") out.add(x);
|
|
1527
|
+
else if (Array.isArray(x)) for (const y of x) collectSymbols(y, out);
|
|
1528
|
+
return out;
|
|
1529
|
+
}
|
|
1530
|
+
function guardJson(g) {
|
|
1531
|
+
if (g.k === "type") return g.wc;
|
|
1532
|
+
if (g.k === "cmp" || g.k === "part-cmp") return [g.wc, g.bound];
|
|
1533
|
+
if (g.k === "member") return [g.wc, g.set];
|
|
1534
|
+
if (g.k === "ne") return [g.lhs, g.rhs];
|
|
1535
|
+
return g.pred;
|
|
1536
|
+
}
|
|
1537
|
+
var PART_TO_OPERATOR = {
|
|
1538
|
+
re: "Real",
|
|
1539
|
+
im: "Imaginary",
|
|
1540
|
+
abs: "Abs",
|
|
1541
|
+
arg: "Argument"
|
|
1542
|
+
};
|
|
1543
|
+
var CMP_TO_OPERATOR = {
|
|
1544
|
+
gt: "Greater",
|
|
1545
|
+
ge: "GreaterEqual",
|
|
1546
|
+
lt: "Less",
|
|
1547
|
+
le: "LessEqual"
|
|
1548
|
+
};
|
|
1549
|
+
function buildGuardClosures(ce, guards) {
|
|
1550
|
+
const boxGuardExpr = (x) => {
|
|
1551
|
+
try {
|
|
1552
|
+
const b = ce.box(x);
|
|
1553
|
+
if (b.isValid) return b;
|
|
1554
|
+
} catch {
|
|
1555
|
+
}
|
|
1556
|
+
return ce.box(x, { form: "raw" });
|
|
1557
|
+
};
|
|
1558
|
+
return guards.map((g) => {
|
|
1559
|
+
switch (g.k) {
|
|
1560
|
+
case "type": {
|
|
1561
|
+
if (g.t === "complex") {
|
|
1562
|
+
const pred = boxGuardExpr(["Element", g.wc, "ComplexNumbers"]);
|
|
1563
|
+
return (sub) => {
|
|
1564
|
+
const v = sub[g.wc];
|
|
1565
|
+
if (v === void 0) return false;
|
|
1566
|
+
if (v.type.matches("finite_complex")) return true;
|
|
1567
|
+
try {
|
|
1568
|
+
const r = pred.subs(sub).evaluate().json;
|
|
1569
|
+
if (r === "True") return true;
|
|
1570
|
+
if (r === "False") return false;
|
|
1571
|
+
return void 0;
|
|
1572
|
+
} catch {
|
|
1573
|
+
return void 0;
|
|
1574
|
+
}
|
|
1575
|
+
};
|
|
1576
|
+
}
|
|
1577
|
+
return (sub) => {
|
|
1578
|
+
const v = sub[g.wc];
|
|
1579
|
+
if (v === void 0) return false;
|
|
1580
|
+
if (g.t === "integer") return v.isInteger;
|
|
1581
|
+
if (g.t === "real") return v.isReal;
|
|
1582
|
+
return v.isRational;
|
|
1583
|
+
};
|
|
1584
|
+
}
|
|
1585
|
+
case "part-cmp": {
|
|
1586
|
+
const pred = boxGuardExpr([
|
|
1587
|
+
CMP_TO_OPERATOR[g.op],
|
|
1588
|
+
[PART_TO_OPERATOR[g.part], g.wc],
|
|
1589
|
+
g.bound
|
|
1590
|
+
]);
|
|
1591
|
+
return (sub) => {
|
|
1592
|
+
const v = sub[g.wc];
|
|
1593
|
+
if (v === void 0) return false;
|
|
1594
|
+
try {
|
|
1595
|
+
const inst = pred.subs(sub);
|
|
1596
|
+
const r = inst.evaluate().json;
|
|
1597
|
+
if (r === "True") return true;
|
|
1598
|
+
if (r === "False") return false;
|
|
1599
|
+
const rN = inst.N().json;
|
|
1600
|
+
if (rN === "True") return true;
|
|
1601
|
+
if (rN === "False") return false;
|
|
1602
|
+
return void 0;
|
|
1603
|
+
} catch {
|
|
1604
|
+
return void 0;
|
|
1605
|
+
}
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
case "member": {
|
|
1609
|
+
const pred = boxGuardExpr(["Element", g.wc, g.set]);
|
|
1610
|
+
return (sub) => {
|
|
1611
|
+
const v = sub[g.wc];
|
|
1612
|
+
if (v === void 0) return false;
|
|
1613
|
+
try {
|
|
1614
|
+
const r = pred.subs(sub).evaluate().json;
|
|
1615
|
+
if (r === "True") return true;
|
|
1616
|
+
if (r === "False") return false;
|
|
1617
|
+
return void 0;
|
|
1618
|
+
} catch {
|
|
1619
|
+
return void 0;
|
|
1620
|
+
}
|
|
1621
|
+
};
|
|
1622
|
+
}
|
|
1623
|
+
case "cmp": {
|
|
1624
|
+
const bound = boxGuardExpr(g.bound);
|
|
1625
|
+
const compare = (v, b) => g.op === "gt" ? v.isGreater(b) : g.op === "ge" ? v.isGreaterEqual(b) : g.op === "lt" ? v.isLess(b) : v.isLessEqual(b);
|
|
1626
|
+
return (sub) => {
|
|
1627
|
+
const v = sub[g.wc];
|
|
1628
|
+
if (v === void 0) return false;
|
|
1629
|
+
try {
|
|
1630
|
+
let b = bound.subs(sub);
|
|
1631
|
+
if (!b.isCanonical) b = b.canonical;
|
|
1632
|
+
let r = compare(v, b);
|
|
1633
|
+
if (r === void 0) r = compare(v.N(), b.N());
|
|
1634
|
+
return r;
|
|
1635
|
+
} catch {
|
|
1636
|
+
return void 0;
|
|
1637
|
+
}
|
|
1638
|
+
};
|
|
1639
|
+
}
|
|
1640
|
+
case "ne": {
|
|
1641
|
+
const lhs = boxGuardExpr(g.lhs);
|
|
1642
|
+
const rhs = boxGuardExpr(g.rhs);
|
|
1643
|
+
return (sub) => {
|
|
1644
|
+
try {
|
|
1645
|
+
const eq = lhs.subs(sub).isEqual(rhs.subs(sub));
|
|
1646
|
+
if (eq === void 0) return void 0;
|
|
1647
|
+
return eq === false;
|
|
1648
|
+
} catch {
|
|
1649
|
+
return void 0;
|
|
1650
|
+
}
|
|
1651
|
+
};
|
|
1652
|
+
}
|
|
1653
|
+
case "eval": {
|
|
1654
|
+
const pred = boxGuardExpr(g.pred);
|
|
1655
|
+
return (sub) => {
|
|
1656
|
+
try {
|
|
1657
|
+
const r = pred.subs(sub).evaluate().json;
|
|
1658
|
+
if (r === "True") return true;
|
|
1659
|
+
if (r === "False") return false;
|
|
1660
|
+
return void 0;
|
|
1661
|
+
} catch {
|
|
1662
|
+
return void 0;
|
|
1663
|
+
}
|
|
1664
|
+
};
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
});
|
|
1668
|
+
}
|
|
1669
|
+
function wildcardTypes(rule) {
|
|
1670
|
+
const types = {};
|
|
1671
|
+
for (const g of rule.guards)
|
|
1672
|
+
if (g.k === "type" && types[g.wc] === void 0) types[g.wc] = g.t;
|
|
1673
|
+
return types;
|
|
1674
|
+
}
|
|
1675
|
+
function boxCompiledRule(ce, rule, onGuardUndecided) {
|
|
1676
|
+
const wildcards = collectWildcards(rule.match);
|
|
1677
|
+
collectWildcards(rule.replace, wildcards);
|
|
1678
|
+
for (const g of rule.guards) collectWildcards(guardJson(g), wildcards);
|
|
1679
|
+
const types = wildcardTypes(rule);
|
|
1680
|
+
ce.pushScope();
|
|
1681
|
+
try {
|
|
1682
|
+
for (const wc of wildcards) {
|
|
1683
|
+
try {
|
|
1684
|
+
ce.declare(wc, types[wc] ?? "complex");
|
|
1685
|
+
} catch {
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
const match = ce.box(rule.match);
|
|
1689
|
+
if (!match.isValid)
|
|
1690
|
+
return { error: `invalid match: ${match.toString()}`.slice(0, 160) };
|
|
1691
|
+
const replace = ce.box(rule.replace);
|
|
1692
|
+
if (!replace.isValid)
|
|
1693
|
+
return { error: `invalid replace: ${replace.toString()}`.slice(0, 160) };
|
|
1694
|
+
const closures = buildGuardClosures(ce, rule.guards);
|
|
1695
|
+
let condition;
|
|
1696
|
+
if (closures.length > 0) {
|
|
1697
|
+
const id = rule.id;
|
|
1698
|
+
condition = (sub) => {
|
|
1699
|
+
for (const f of closures) {
|
|
1700
|
+
const r = f(sub);
|
|
1701
|
+
if (r === true) continue;
|
|
1702
|
+
if (r === void 0) onGuardUndecided?.(id, sub);
|
|
1703
|
+
return false;
|
|
1704
|
+
}
|
|
1705
|
+
return true;
|
|
1706
|
+
};
|
|
1707
|
+
}
|
|
1708
|
+
return {
|
|
1709
|
+
rule: {
|
|
1710
|
+
match,
|
|
1711
|
+
replace,
|
|
1712
|
+
...condition !== void 0 ? { condition } : {},
|
|
1713
|
+
id: rule.id,
|
|
1714
|
+
purpose: rule.purpose
|
|
1715
|
+
}
|
|
1716
|
+
};
|
|
1717
|
+
} catch (err) {
|
|
1718
|
+
return {
|
|
1719
|
+
error: String(err?.message ?? err).replace(/\s+/g, " ").slice(0, 160)
|
|
1720
|
+
};
|
|
1721
|
+
} finally {
|
|
1722
|
+
ce.popScope();
|
|
1723
|
+
}
|
|
1724
|
+
}
|
|
1725
|
+
var HOT_DISPATCH_HEADS = /* @__PURE__ */ new Set([
|
|
1726
|
+
"Multiply",
|
|
1727
|
+
"Add",
|
|
1728
|
+
"Subtract",
|
|
1729
|
+
"Negate",
|
|
1730
|
+
"Divide",
|
|
1731
|
+
"Power",
|
|
1732
|
+
"Sqrt",
|
|
1733
|
+
"Abs",
|
|
1734
|
+
"Sin",
|
|
1735
|
+
"Ln",
|
|
1736
|
+
"Arctan",
|
|
1737
|
+
"Which"
|
|
1738
|
+
]);
|
|
1739
|
+
var CROSS_HEAD_PATTERN_OPS = /* @__PURE__ */ new Set([
|
|
1740
|
+
"Divide",
|
|
1741
|
+
"Power"
|
|
1742
|
+
]);
|
|
1743
|
+
var FEATURE_OP_PREFIX = "f:";
|
|
1744
|
+
var FEATURE_SYM_PREFIX = "s:";
|
|
1745
|
+
var featureCache = /* @__PURE__ */ new WeakMap();
|
|
1746
|
+
var NO_FEATURES = /* @__PURE__ */ new Set();
|
|
1747
|
+
function featuresOf(expr) {
|
|
1748
|
+
const cached = featureCache.get(expr);
|
|
1749
|
+
if (cached !== void 0) return cached;
|
|
1750
|
+
let result;
|
|
1751
|
+
const sym = expr.symbol;
|
|
1752
|
+
if (sym !== void 0) {
|
|
1753
|
+
result = /* @__PURE__ */ new Set([FEATURE_SYM_PREFIX + sym]);
|
|
1754
|
+
} else {
|
|
1755
|
+
const ops = expr.ops;
|
|
1756
|
+
if (ops === void 0) {
|
|
1757
|
+
result = NO_FEATURES;
|
|
1758
|
+
} else {
|
|
1759
|
+
const out = /* @__PURE__ */ new Set([FEATURE_OP_PREFIX + expr.operator]);
|
|
1760
|
+
for (const op of ops) for (const f of featuresOf(op)) out.add(f);
|
|
1761
|
+
result = out;
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
featureCache.set(expr, result);
|
|
1765
|
+
return result;
|
|
1766
|
+
}
|
|
1767
|
+
function requiredFeatures(pattern) {
|
|
1768
|
+
const out = /* @__PURE__ */ new Set();
|
|
1769
|
+
const walk = (p) => {
|
|
1770
|
+
const sym = p.symbol;
|
|
1771
|
+
if (sym !== void 0) {
|
|
1772
|
+
if (!sym.startsWith("_")) out.add(FEATURE_SYM_PREFIX + sym);
|
|
1773
|
+
return;
|
|
1774
|
+
}
|
|
1775
|
+
const ops = p.ops;
|
|
1776
|
+
if (ops === void 0) return;
|
|
1777
|
+
const op = p.operator;
|
|
1778
|
+
if (!op.startsWith("_") && !CROSS_HEAD_PATTERN_OPS.has(op))
|
|
1779
|
+
out.add(FEATURE_OP_PREFIX + op);
|
|
1780
|
+
for (const x of ops) walk(x);
|
|
1781
|
+
};
|
|
1782
|
+
walk(pattern);
|
|
1783
|
+
return [...out];
|
|
1784
|
+
}
|
|
1785
|
+
function rankRequiredFeatures(features, bucketHead) {
|
|
1786
|
+
const rank = (f) => {
|
|
1787
|
+
if (f.startsWith(FEATURE_SYM_PREFIX)) return 1;
|
|
1788
|
+
return HOT_DISPATCH_HEADS.has(f.slice(FEATURE_OP_PREFIX.length)) ? 2 : 0;
|
|
1789
|
+
};
|
|
1790
|
+
return features.filter((f) => f !== FEATURE_OP_PREFIX + bucketHead).sort((a, b) => rank(a) - rank(b));
|
|
1791
|
+
}
|
|
1792
|
+
function wrapHotHeadRule(parts) {
|
|
1793
|
+
const { match, replace, condition, id, purpose } = parts;
|
|
1794
|
+
const head = match.ops ? match.operator : void 0;
|
|
1795
|
+
if (head === void 0 || head.startsWith("_") || !HOT_DISPATCH_HEADS.has(head))
|
|
1796
|
+
return parts;
|
|
1797
|
+
const required = rankRequiredFeatures(requiredFeatures(match), head);
|
|
1798
|
+
const replaceFn = (expr) => {
|
|
1799
|
+
const features = featuresOf(expr);
|
|
1800
|
+
for (let i = 0; i < required.length; i++)
|
|
1801
|
+
if (!features.has(required[i])) return void 0;
|
|
1802
|
+
const sub = expr.match(match, {
|
|
1803
|
+
useVariations: false,
|
|
1804
|
+
recursive: false,
|
|
1805
|
+
matchPermutations: true
|
|
1806
|
+
});
|
|
1807
|
+
if (sub === null) return void 0;
|
|
1808
|
+
if (condition !== void 0) {
|
|
1809
|
+
const conditionSub = {
|
|
1810
|
+
...Object.fromEntries(
|
|
1811
|
+
Object.entries(sub).map(([k, v]) => [k.slice(1), v])
|
|
1812
|
+
),
|
|
1813
|
+
...sub
|
|
1814
|
+
};
|
|
1815
|
+
try {
|
|
1816
|
+
if (!condition(conditionSub)) return void 0;
|
|
1817
|
+
} catch {
|
|
1818
|
+
return void 0;
|
|
1819
|
+
}
|
|
1820
|
+
}
|
|
1821
|
+
return { value: replace.subs(sub, { canonical: true }), because: id, purpose };
|
|
1822
|
+
};
|
|
1823
|
+
return { replace: replaceFn, operators: [head], id, purpose };
|
|
1824
|
+
}
|
|
1825
|
+
var loadedIdsByEngine = /* @__PURE__ */ new WeakMap();
|
|
1826
|
+
function loadIdentities(ce, options = {}) {
|
|
1827
|
+
const data = options.data ?? FUNGRIM_CORE;
|
|
1828
|
+
const topics = options.topics !== void 0 ? new Set(options.topics) : null;
|
|
1829
|
+
const classes = options.classes !== void 0 ? new Set(options.classes) : null;
|
|
1830
|
+
const purposes = options.purposes !== void 0 ? new Set(options.purposes) : null;
|
|
1831
|
+
const solve = options.solve === true;
|
|
1832
|
+
let alreadyLoaded = loadedIdsByEngine.get(ce);
|
|
1833
|
+
if (alreadyLoaded === void 0) {
|
|
1834
|
+
alreadyLoaded = /* @__PURE__ */ new Set();
|
|
1835
|
+
loadedIdsByEngine.set(ce, alreadyLoaded);
|
|
1836
|
+
}
|
|
1837
|
+
const report = {
|
|
1838
|
+
loaded: 0,
|
|
1839
|
+
byTarget: { simplify: 0, solve: 0, harmonization: 0 },
|
|
1840
|
+
byPurpose: { simplify: 0, transform: 0, expand: 0 },
|
|
1841
|
+
declared: [],
|
|
1842
|
+
skipped: [],
|
|
1843
|
+
compileLedger: { ...data.manifest.ledger }
|
|
1844
|
+
};
|
|
1845
|
+
const selected = [];
|
|
1846
|
+
for (const r of data.rules) {
|
|
1847
|
+
if (classes !== null && !classes.has(r.class)) {
|
|
1848
|
+
report.skipped.push({ id: r.id, reason: "filtered-class" });
|
|
1849
|
+
continue;
|
|
1850
|
+
}
|
|
1851
|
+
if (topics !== null && !r.topics.some((t) => topics.has(t))) {
|
|
1852
|
+
report.skipped.push({ id: r.id, reason: "filtered-topic" });
|
|
1853
|
+
continue;
|
|
1854
|
+
}
|
|
1855
|
+
if (purposes !== null && !purposes.has(r.purpose)) {
|
|
1856
|
+
report.skipped.push({ id: r.id, reason: "filtered-purpose" });
|
|
1857
|
+
continue;
|
|
1858
|
+
}
|
|
1859
|
+
if (r.target !== "simplify" && !solve) {
|
|
1860
|
+
report.skipped.push({ id: r.id, reason: "solve-disabled" });
|
|
1861
|
+
continue;
|
|
1862
|
+
}
|
|
1863
|
+
if (alreadyLoaded.has(r.id)) {
|
|
1864
|
+
report.skipped.push({ id: r.id, reason: "already-loaded" });
|
|
1865
|
+
continue;
|
|
1866
|
+
}
|
|
1867
|
+
selected.push(r);
|
|
1868
|
+
}
|
|
1869
|
+
const referenced = /* @__PURE__ */ new Set();
|
|
1870
|
+
for (const r of selected) {
|
|
1871
|
+
collectSymbols(r.match, referenced);
|
|
1872
|
+
collectSymbols(r.replace, referenced);
|
|
1873
|
+
for (const g of r.guards) collectSymbols(guardJson(g), referenced);
|
|
1874
|
+
}
|
|
1875
|
+
for (const name of Object.keys(data.declarations).sort()) {
|
|
1876
|
+
if (!referenced.has(name)) continue;
|
|
1877
|
+
if (ce.lookupDefinition(name) !== void 0) continue;
|
|
1878
|
+
try {
|
|
1879
|
+
ce.declare(name, data.declarations[name].signature);
|
|
1880
|
+
report.declared.push(name);
|
|
1881
|
+
} catch {
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
const ordered = [
|
|
1885
|
+
...selected.filter((r) => r.class === "specific-value"),
|
|
1886
|
+
...selected.filter((r) => r.class !== "specific-value")
|
|
1887
|
+
];
|
|
1888
|
+
const buckets = {
|
|
1889
|
+
simplify: [],
|
|
1890
|
+
solve: [],
|
|
1891
|
+
harmonization: []
|
|
1892
|
+
};
|
|
1893
|
+
for (const r of ordered) {
|
|
1894
|
+
const boxed = boxCompiledRule(ce, r, options.onGuardUndecided);
|
|
1895
|
+
if ("error" in boxed) {
|
|
1896
|
+
report.skipped.push({ id: r.id, reason: `box-error: ${boxed.error}` });
|
|
1897
|
+
continue;
|
|
1898
|
+
}
|
|
1899
|
+
buckets[r.target].push(
|
|
1900
|
+
r.target === "simplify" ? wrapHotHeadRule(boxed.rule) : boxed.rule
|
|
1901
|
+
);
|
|
1902
|
+
alreadyLoaded.add(r.id);
|
|
1903
|
+
report.loaded += 1;
|
|
1904
|
+
report.byTarget[r.target] += 1;
|
|
1905
|
+
report.byPurpose[r.purpose] += 1;
|
|
1906
|
+
}
|
|
1907
|
+
if (buckets.simplify.length > 0)
|
|
1908
|
+
ce.simplificationRules.push(...buckets.simplify);
|
|
1909
|
+
if (buckets.solve.length > 0) ce.solveRules.push(...buckets.solve);
|
|
1910
|
+
if (buckets.harmonization.length > 0)
|
|
1911
|
+
ce.harmonizationRules.push(...buckets.harmonization);
|
|
1912
|
+
return report;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
// src/identities.ts
|
|
1916
|
+
var version = "0.59.0";
|
|
1917
|
+
export {
|
|
1918
|
+
FUNGRIM_CORE,
|
|
1919
|
+
loadIdentities,
|
|
1920
|
+
version
|
|
1921
|
+
};
|