Linear.Quaternion:$ccosh from linear-1.19.1.3

Time bar (total: 1.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze12.0ms (1.1%)

Memory
-25.0MiB live, 12.8MiB allocated
Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%99.9%0.1%0%0%0%0
0%0%99.9%0.1%0%0%0%1
50%50%50%0.1%0%0%0%2
50%50%50%0.1%0%0%0%3
75%74.9%25%0.1%0%0%0%4
75%74.9%25%0.1%0%0%0%5
87.5%87.4%12.5%0.1%0%0%0%6
87.5%87.4%12.5%0.1%0%0%0%7
93.8%93.7%6.2%0.1%0%0%0%8
93.8%93.7%6.2%0.1%0%0%0%9
96.9%96.8%3.1%0.1%0%0%0%10
96.9%96.8%3.1%0.1%0%0%0%11
98.4%98.3%1.6%0.1%0%0%0%12
Compiler

Compiled 9 to 8 computations (11.1% saved)

sample815.0ms (74.9%)

Memory
42.0MiB live, 1 182.7MiB allocated
Samples
565.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 355.0ms
ival-sin: 194.0ms (54.6% of total)
ival-mult: 55.0ms (15.5% of total)
ival-div: 54.0ms (15.2% of total)
ival-sinh: 40.0ms (11.3% of total)
ival-assert: 7.0ms (2% of total)
ival-true: 6.0ms (1.7% of total)
Bogosity

explain75.0ms (6.9%)

Memory
-24.1MiB live, 139.0MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
320-2(-3.346616795397791e-227 -2.2559266909017383e-91)(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
00-0-(sinh.f64 y)
00-0-y
00-0-(*.f64 (sin.f64 x) (sinh.f64 y))
00-0-(sin.f64 x)
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)u/n300
(*.f64 (sin.f64 x) (sinh.f64 y))underflow30
Confusion
Predicted +Predicted -
+302
-0224
Precision
1.0
Recall
0.9375
Confusion?
Predicted +Predicted MaybePredicted -
+3002
-00224
Precision?
1.0
Recall?
0.9375
Freqs
test
numberfreq
0226
130
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
38.0ms512×0valid
Compiler

Compiled 65 to 28 computations (56.9% saved)

Precisions
Click to see histograms. Total time spent on operations: 24.0ms
ival-sin: 12.0ms (50.9% of total)
ival-div: 5.0ms (21.2% of total)
ival-mult: 3.0ms (12.7% of total)
ival-sinh: 3.0ms (12.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess3.0ms (0.2%)

Memory
5.4MiB live, 5.4MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Outputs
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Compiler

Compiled 7 to 6 computations (14.3% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 2 computations (-∞% saved)

prune0.0ms (0%)

Memory
1.0MiB live, 1.0MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
88.6%
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
egg-herbie
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
cost-diff0
(sinh.f64 y)
cost-diff0
(sin.f64 x)
cost-diff0
(*.f64 (sin.f64 x) (sinh.f64 y))
cost-diff0
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Calls
Call 1
Inputs
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
(*.f64 (sin.f64 x) (sinh.f64 y))
(sin.f64 x)
x
(sinh.f64 y)
y
Outputs
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
(*.f64 (sin.f64 x) (sinh.f64 y))
(sin.f64 x)
x
(sinh.f64 y)
y

localize29.0ms (2.7%)

Memory
-33.6MiB live, 36.6MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(sinh.f64 y)
accuracy0.0
(sin.f64 x)
accuracy0.0859375
(*.f64 (sin.f64 x) (sinh.f64 y))
accuracy7.29300408780988
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Samples
24.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 17.0ms
ival-sin: 12.0ms (70.2% of total)
ival-div: 2.0ms (11.7% of total)
ival-mult: 2.0ms (11.7% of total)
ival-sinh: 1.0ms (5.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series11.0ms (1%)

Memory
18.1MiB live, 18.1MiB allocated
Counts
4 → 27
Calls
Call 1
Inputs
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
(*.f64 (sin.f64 x) (sinh.f64 y))
(sin.f64 x)
(sinh.f64 y)
Outputs
(* 1/2 (- (exp y) (/ 1 (exp y))))
(+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y)))))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y))))))))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y)))))))))
(* 1/2 (* x (- (exp y) (/ 1 (exp y)))))
(* x (+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y))))))
(* x (+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y)))))))))
(* x (+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y))))))))))
x
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))
(* 1/2 (/ (* (sin x) (- (exp y) (/ 1 (exp y)))) x))
(* 1/2 (* (sin x) (- (exp y) (/ 1 (exp y)))))
(sin x)
(/ (* y (sin x)) x)
(* y (+ (* 1/6 (/ (* (pow y 2) (sin x)) x)) (/ (sin x) x)))
(* y (+ (* (pow y 2) (+ (* 1/120 (/ (* (pow y 2) (sin x)) x)) (* 1/6 (/ (sin x) x)))) (/ (sin x) x)))
(* y (+ (* (pow y 2) (+ (* 1/6 (/ (sin x) x)) (* (pow y 2) (+ (* 1/5040 (/ (* (pow y 2) (sin x)) x)) (* 1/120 (/ (sin x) x)))))) (/ (sin x) x)))
(* y (sin x))
(* y (+ (sin x) (* 1/6 (* (pow y 2) (sin x)))))
(* y (+ (sin x) (* (pow y 2) (+ (* 1/120 (* (pow y 2) (sin x))) (* 1/6 (sin x))))))
(* y (+ (sin x) (* (pow y 2) (+ (* 1/6 (sin x)) (* (pow y 2) (+ (* 1/5040 (* (pow y 2) (sin x))) (* 1/120 (sin x))))))))
y
(* y (+ 1 (* 1/6 (pow y 2))))
(* y (+ 1 (* (pow y 2) (+ 1/6 (* 1/120 (pow y 2))))))
(* y (+ 1 (* (pow y 2) (+ 1/6 (* (pow y 2) (+ 1/120 (* 1/5040 (pow y 2))))))))
Calls

6 calls:

TimeVariablePointExpression
3.0ms
y
@-inf
((/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)) (sin x) (sinh y))
2.0ms
y
@inf
((/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)) (sin x) (sinh y))
2.0ms
y
@0
((/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)) (sin x) (sinh y))
2.0ms
x
@inf
((/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)) (sin x) (sinh y))
1.0ms
x
@-inf
((/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)) (sin x) (sinh y))

simplify1.0ms (0.1%)

Memory
1.7MiB live, 1.7MiB allocated
Algorithm
egg-herbie
Counts
27 → 4
Calls
Call 1
Inputs
(* 1/2 (- (exp y) (/ 1 (exp y))))
(+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y)))))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y))))))))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y)))))))))
(* 1/2 (* x (- (exp y) (/ 1 (exp y)))))
(* x (+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y))))))
(* x (+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y)))))))))
(* x (+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y))))))))))
x
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))
(* 1/2 (/ (* (sin x) (- (exp y) (/ 1 (exp y)))) x))
(* 1/2 (* (sin x) (- (exp y) (/ 1 (exp y)))))
(sin x)
(/ (* y (sin x)) x)
(* y (+ (* 1/6 (/ (* (pow y 2) (sin x)) x)) (/ (sin x) x)))
(* y (+ (* (pow y 2) (+ (* 1/120 (/ (* (pow y 2) (sin x)) x)) (* 1/6 (/ (sin x) x)))) (/ (sin x) x)))
(* y (+ (* (pow y 2) (+ (* 1/6 (/ (sin x) x)) (* (pow y 2) (+ (* 1/5040 (/ (* (pow y 2) (sin x)) x)) (* 1/120 (/ (sin x) x)))))) (/ (sin x) x)))
(* y (sin x))
(* y (+ (sin x) (* 1/6 (* (pow y 2) (sin x)))))
(* y (+ (sin x) (* (pow y 2) (+ (* 1/120 (* (pow y 2) (sin x))) (* 1/6 (sin x))))))
(* y (+ (sin x) (* (pow y 2) (+ (* 1/6 (sin x)) (* (pow y 2) (+ (* 1/5040 (* (pow y 2) (sin x))) (* 1/120 (sin x))))))))
y
(* y (+ 1 (* 1/6 (pow y 2))))
(* y (+ 1 (* (pow y 2) (+ 1/6 (* 1/120 (pow y 2))))))
(* y (+ 1 (* (pow y 2) (+ 1/6 (* (pow y 2) (+ 1/120 (* 1/5040 (pow y 2))))))))
Outputs
(* 1/2 (- (exp y) (/ 1 (exp y))))
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
(+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y)))))
(*.f64 (sin.f64 x) (sinh.f64 y))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y))))))))
(sin.f64 x)
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y)))))))))
(sinh.f64 y)

rewrite0.0ms (0%)

Memory
0.6MiB live, 0.6MiB allocated
Counts
4 → 4
Calls
Call 1
Inputs
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
(*.f64 (sin.f64 x) (sinh.f64 y))
(sin.f64 x)
(sinh.f64 y)
Outputs
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
(*.f64 (sin.f64 x) (sinh.f64 y))
(sin.f64 x)
(sinh.f64 y)

eval1.0ms (0.1%)

Memory
1.5MiB live, 1.5MiB allocated
Compiler

Compiled 76 to 14 computations (81.6% saved)

prune1.0ms (0.1%)

Memory
2.6MiB live, 2.6MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New538
Fresh000
Picked011
Done000
Total549
Accuracy
99.9%
Counts
9 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
88.6%
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
25.1%
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
61.6%
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
3.0%
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
Compiler

Compiled 40 to 32 computations (20% saved)

simplify0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Algorithm
egg-herbie
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
cost-diff0
(sinh.f64 y)
cost-diff0
(sin.f64 x)
cost-diff0
(*.f64 (sin.f64 x) (sinh.f64 y))
cost-diff0
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
cost-diff0
(sinh.f64 y)
cost-diff0
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
cost-diff0
(sin.f64 x)
cost-diff0
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
Calls
Call 1
Inputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
(sin.f64 x)
x
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
(sinh.f64 y)
y
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
(*.f64 (sin.f64 x) (sinh.f64 y))
(sin.f64 x)
x
(sinh.f64 y)
y
Outputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
(sin.f64 x)
x
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
(sinh.f64 y)
y
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
(*.f64 (sin.f64 x) (sinh.f64 y))
(sin.f64 x)
x
(sinh.f64 y)
y

localize28.0ms (2.6%)

Memory
6.5MiB live, 44.7MiB allocated
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(sinh.f64 y)
accuracy0.0
(sin.f64 x)
accuracy0.0859375
(*.f64 (sin.f64 x) (sinh.f64 y))
accuracy47.917774279900726
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
accuracy0.0
(sinh.f64 y)
accuracy24.57659192861536
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
accuracy0.0
(sin.f64 x)
accuracy62.06001613346415
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
Samples
19.0ms256×0valid
Compiler

Compiled 90 to 20 computations (77.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 11.0ms
ival-sin: 6.0ms (55.2% of total)
ival-div: 2.0ms (18.4% of total)
ival-mult: 2.0ms (18.4% of total)
ival-sinh: 1.0ms (9.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series6.0ms (0.5%)

Memory
-29.5MiB live, 9.1MiB allocated
Counts
6 → 27
Calls
Call 1
Inputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
(sin.f64 x)
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
(sinh.f64 y)
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
(*.f64 (sin.f64 x) (sinh.f64 y))
Outputs
(* 1/2 (- (exp y) (/ 1 (exp y))))
(+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y)))))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y))))))))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y)))))))))
x
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))
(* 1/2 (* x (- (exp y) (/ 1 (exp y)))))
(* x (+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y))))))
(* x (+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y)))))))))
(* x (+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y))))))))))
(* 1/2 (/ (* (sin x) (- (exp y) (/ 1 (exp y)))) x))
(sin x)
(* 1/2 (* (sin x) (- (exp y) (/ 1 (exp y)))))
(/ (* y (sin x)) x)
(* y (+ (* 1/6 (/ (* (pow y 2) (sin x)) x)) (/ (sin x) x)))
(* y (+ (* (pow y 2) (+ (* 1/120 (/ (* (pow y 2) (sin x)) x)) (* 1/6 (/ (sin x) x)))) (/ (sin x) x)))
(* y (+ (* (pow y 2) (+ (* 1/6 (/ (sin x) x)) (* (pow y 2) (+ (* 1/5040 (/ (* (pow y 2) (sin x)) x)) (* 1/120 (/ (sin x) x)))))) (/ (sin x) x)))
y
(* y (+ 1 (* 1/6 (pow y 2))))
(* y (+ 1 (* (pow y 2) (+ 1/6 (* 1/120 (pow y 2))))))
(* y (+ 1 (* (pow y 2) (+ 1/6 (* (pow y 2) (+ 1/120 (* 1/5040 (pow y 2))))))))
(* y (sin x))
(* y (+ (sin x) (* 1/6 (* (pow y 2) (sin x)))))
(* y (+ (sin x) (* (pow y 2) (+ (* 1/120 (* (pow y 2) (sin x))) (* 1/6 (sin x))))))
(* y (+ (sin x) (* (pow y 2) (+ (* 1/6 (sin x)) (* (pow y 2) (+ (* 1/5040 (* (pow y 2) (sin x))) (* 1/120 (sin x))))))))
Calls

6 calls:

TimeVariablePointExpression
1.0ms
y
@0
((/ (* (sin x) (sinh y)) x) (sin x) (/ (* (sin x) (sinh y)) x) (sinh y) (/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)))
1.0ms
y
@inf
((/ (* (sin x) (sinh y)) x) (sin x) (/ (* (sin x) (sinh y)) x) (sinh y) (/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)))
1.0ms
y
@-inf
((/ (* (sin x) (sinh y)) x) (sin x) (/ (* (sin x) (sinh y)) x) (sinh y) (/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)))
1.0ms
x
@-inf
((/ (* (sin x) (sinh y)) x) (sin x) (/ (* (sin x) (sinh y)) x) (sinh y) (/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)))
1.0ms
x
@inf
((/ (* (sin x) (sinh y)) x) (sin x) (/ (* (sin x) (sinh y)) x) (sinh y) (/ (* (sin x) (sinh y)) x) (* (sin x) (sinh y)))

simplify1.0ms (0.1%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
egg-herbie
Counts
27 → 6
Calls
Call 1
Inputs
(* 1/2 (- (exp y) (/ 1 (exp y))))
(+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y)))))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y))))))))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y)))))))))
x
(* x (+ 1 (* -1/6 (pow x 2))))
(* x (+ 1 (* (pow x 2) (- (* 1/120 (pow x 2)) 1/6))))
(* x (+ 1 (* (pow x 2) (- (* (pow x 2) (+ 1/120 (* -1/5040 (pow x 2)))) 1/6))))
(* 1/2 (* x (- (exp y) (/ 1 (exp y)))))
(* x (+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y))))))
(* x (+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y)))))))))
(* x (+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y))))))))))
(* 1/2 (/ (* (sin x) (- (exp y) (/ 1 (exp y)))) x))
(sin x)
(* 1/2 (* (sin x) (- (exp y) (/ 1 (exp y)))))
(/ (* y (sin x)) x)
(* y (+ (* 1/6 (/ (* (pow y 2) (sin x)) x)) (/ (sin x) x)))
(* y (+ (* (pow y 2) (+ (* 1/120 (/ (* (pow y 2) (sin x)) x)) (* 1/6 (/ (sin x) x)))) (/ (sin x) x)))
(* y (+ (* (pow y 2) (+ (* 1/6 (/ (sin x) x)) (* (pow y 2) (+ (* 1/5040 (/ (* (pow y 2) (sin x)) x)) (* 1/120 (/ (sin x) x)))))) (/ (sin x) x)))
y
(* y (+ 1 (* 1/6 (pow y 2))))
(* y (+ 1 (* (pow y 2) (+ 1/6 (* 1/120 (pow y 2))))))
(* y (+ 1 (* (pow y 2) (+ 1/6 (* (pow y 2) (+ 1/120 (* 1/5040 (pow y 2))))))))
(* y (sin x))
(* y (+ (sin x) (* 1/6 (* (pow y 2) (sin x)))))
(* y (+ (sin x) (* (pow y 2) (+ (* 1/120 (* (pow y 2) (sin x))) (* 1/6 (sin x))))))
(* y (+ (sin x) (* (pow y 2) (+ (* 1/6 (sin x)) (* (pow y 2) (+ (* 1/5040 (* (pow y 2) (sin x))) (* 1/120 (sin x))))))))
Outputs
(* 1/2 (- (exp y) (/ 1 (exp y))))
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
(+ (* -1/12 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/2 (- (exp y) (/ 1 (exp y)))))
(sin.f64 x)
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* 1/240 (* (pow x 2) (- (exp y) (/ 1 (exp y))))))))
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
(+ (* 1/2 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/12 (- (exp y) (/ 1 (exp y)))) (* (pow x 2) (+ (* -1/10080 (* (pow x 2) (- (exp y) (/ 1 (exp y))))) (* 1/240 (- (exp y) (/ 1 (exp y)))))))))
(sinh.f64 y)
x
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
(* x (+ 1 (* -1/6 (pow x 2))))
(*.f64 (sin.f64 x) (sinh.f64 y))

rewrite0.0ms (0%)

Memory
0.7MiB live, 0.7MiB allocated
Counts
6 → 6
Calls
Call 1
Inputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
(sin.f64 x)
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
(sinh.f64 y)
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
(*.f64 (sin.f64 x) (sinh.f64 y))
Outputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
(sin.f64 x)
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
(sinh.f64 y)
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
(*.f64 (sin.f64 x) (sinh.f64 y))

eval2.0ms (0.1%)

Memory
3.4MiB live, 3.4MiB allocated
Compiler

Compiled 214 to 22 computations (89.7% saved)

prune3.0ms (0.3%)

Memory
5.4MiB live, 5.4MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New14014
Fresh000
Picked033
Done011
Total14418
Accuracy
99.9%
Counts
18 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
88.6%
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
25.1%
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
61.6%
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
3.0%
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
Compiler

Compiled 80 to 45 computations (43.8% saved)

regimes8.0ms (0.7%)

Memory
17.4MiB live, 17.4MiB allocated
Counts
4 → 3
Calls
Call 1
Inputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Outputs
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Calls

4 calls:

2.0ms
x
2.0ms
y
2.0ms
(sinh.f64 y)
2.0ms
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Results
AccuracySegmentsBranch
99.9%3x
88.6%1y
88.6%1(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
88.6%1(sinh.f64 y)
Compiler

Compiled 11 to 13 computations (-18.2% saved)

regimes8.0ms (0.7%)

Memory
-21.3MiB live, 17.5MiB allocated
Counts
3 → 2
Calls
Call 1
Inputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
Outputs
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
Calls

4 calls:

2.0ms
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
2.0ms
x
2.0ms
y
1.0ms
(sinh.f64 y)
Results
AccuracySegmentsBranch
61.6%1y
61.6%1(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
61.6%1(sinh.f64 y)
66.8%2x
Compiler

Compiled 11 to 13 computations (-18.2% saved)

regimes4.0ms (0.4%)

Memory
12.9MiB live, 12.9MiB allocated
Counts
2 → 1
Calls
Call 1
Inputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
Outputs
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
Calls

3 calls:

1.0ms
y
1.0ms
x
1.0ms
(sinh.f64 y)
Results
AccuracySegmentsBranch
61.6%1y
61.6%1(sinh.f64 y)
61.6%1x
Compiler

Compiled 4 to 7 computations (-75% saved)

regimes5.0ms (0.4%)

Memory
14.3MiB live, 14.3MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

Counts
1 → 1
Calls
Call 1
Inputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
Outputs
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
Calls

4 calls:

1.0ms
x
1.0ms
y
1.0ms
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
1.0ms
(sinh.f64 y)
Results
AccuracySegmentsBranch
3.0%1(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
3.0%1x
3.0%1y
3.0%1(sinh.f64 y)
Compiler

Compiled 11 to 13 computations (-18.2% saved)

bsearch14.0ms (1.2%)

Memory
-20.3MiB live, 20.4MiB allocated
Algorithm
binary-search
Stop Event
predicate-same
narrow-enough
Steps
TimeLeftRight
1.0ms
3.2833089931020466e-85
2.852420095733507e-78
11.0ms
-0.00015190501824681747
-2.736227091485565e-5
Samples
6.0ms112×0valid
Compiler

Compiled 129 to 123 computations (4.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 3.0ms
ival-div: 1.0ms (30.8% of total)
ival-mult: 1.0ms (30.8% of total)
ival-sin: 1.0ms (30.8% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)
ival-sinh: 0.0ms (0% of total)

bsearch18.0ms (1.6%)

Memory
-11.7MiB live, 26.1MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
16.0ms
2.760257755173581e-7
2.6854892020993884
Samples
7.0ms144×0valid
Compiler

Compiled 217 to 191 computations (12% saved)

Precisions
Click to see histograms. Total time spent on operations: 4.0ms
ival-sin: 2.0ms (48.6% of total)
ival-div: 1.0ms (24.3% of total)
ival-mult: 1.0ms (24.3% of total)
ival-sinh: 1.0ms (24.3% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

simplify5.0ms (0.4%)

Memory
11.2MiB live, 11.2MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(if (<=.f64 x #s(literal -8116567392432203/295147905179352825856 binary64)) (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) (if (<=.f64 x #s(literal 546812681195753/1093625362391505962186251113558810682676584715446606218212885303204976499599687961611756588511526912 binary64)) #s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y)) (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)))
(if (<=.f64 x #s(literal 7746191359077253/9007199254740992 binary64)) #s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y)) #s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y))))
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
Outputs
(if (<=.f64 x #s(literal -8116567392432203/295147905179352825856 binary64)) (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) (if (<=.f64 x #s(literal 546812681195753/1093625362391505962186251113558810682676584715446606218212885303204976499599687961611756588511526912 binary64)) #s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y)) (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)))
(if (<=.f64 x #s(literal 7746191359077253/9007199254740992 binary64)) #s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y)) #s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y))))
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))

soundness1.0ms (0.1%)

Memory
2.5MiB live, 2.5MiB allocated
Stop Event
done
Compiler

Compiled 79 to 22 computations (72.2% saved)

preprocess38.0ms (3.5%)

Memory
-2.2MiB live, 74.2MiB allocated
Compiler

Compiled 186 to 68 computations (63.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...