Linear.Quaternion:$ccosh from linear-1.19.1.3

Time bar (total: 1.1s)

start0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

analyze10.0ms (1%)

Memory
-26.6MiB live, 12.2MiB 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)

sample786.0ms (74.2%)

Memory
-14.0MiB live, 1 158.1MiB allocated
Samples
557.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 388.0ms
ival-sin: 219.0ms (56.5% of total)
ival-mult: 60.0ms (15.5% of total)
ival-div: 59.0ms (15.2% of total)
ival-sinh: 41.0ms (10.6% of total)
ival-true: 5.0ms (1.3% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain73.0ms (6.9%)

Memory
-6.0MiB live, 117.5MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
320-1(6.686751244100553e-28 -4.4668769182381193e-296)(/.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/n310
(*.f64 (sin.f64 x) (sinh.f64 y))underflow31
Confusion
Predicted +Predicted -
+311
-0224
Precision
1.0
Recall
0.96875
Confusion?
Predicted +Predicted MaybePredicted -
+3101
-00224
Precision?
1.0
Recall?
0.96875
Freqs
test
numberfreq
0225
131
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: 23.0ms
ival-sin: 11.0ms (47.1% of total)
ival-mult: 6.0ms (25.7% of total)
ival-div: 3.0ms (12.9% of total)
ival-sinh: 3.0ms (12.9% 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
0.7MiB live, 0.7MiB allocated
Alt Table
Click to see full alt table
StatusAccuracyProgram
88.3%
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Compiler

Compiled 7 to 6 computations (14.3% saved)

simplify0.0ms (0%)

Memory
0.9MiB live, 0.9MiB 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

localize24.0ms (2.3%)

Memory
8.0MiB live, 46.5MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(sin.f64 x)
accuracy0.00390625
(sinh.f64 y)
accuracy0.05859375
(*.f64 (sin.f64 x) (sinh.f64 y))
accuracy7.463030671065435
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Samples
19.0ms256×0valid
Compiler

Compiled 38 to 14 computations (63.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-sin: 6.0ms (58.1% of total)
ival-div: 2.0ms (19.4% of total)
ival-mult: 2.0ms (19.4% of total)
ival-sinh: 1.0ms (9.7% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series13.0ms (1.2%)

Memory
-17.8MiB live, 24.6MiB 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
5.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%)

Memory
0.9MiB live, 0.9MiB 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
4.1MiB live, 4.1MiB allocated
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New538
Fresh000
Picked011
Done000
Total549
Accuracy
100.0%
Counts
9 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
88.3%
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
30.5%
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
67.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

localize26.0ms (2.5%)

Memory
11.0MiB live, 48.8MiB allocated
Localize:

Found 8 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(sin.f64 x)
accuracy0.00390625
(sinh.f64 y)
accuracy0.05859375
(*.f64 (sin.f64 x) (sinh.f64 y))
accuracy44.45205009431509
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
accuracy0.00390625
(sinh.f64 y)
accuracy20.711310877718365
#s(approx (/ (* (sin x) (sinh y)) x) (sinh.f64 y))
accuracy0.0
(sin.f64 x)
accuracy62.05742384996888
#s(approx (/ (* (sin x) (sinh y)) x) (sin.f64 x))
Samples
20.0ms256×0valid
Compiler

Compiled 90 to 20 computations (77.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 10.0ms
ival-sin: 6.0ms (57.3% of total)
ival-div: 2.0ms (19.1% of total)
ival-mult: 2.0ms (19.1% of total)
ival-sinh: 1.0ms (9.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series5.0ms (0.4%)

Memory
11.0MiB live, 11.0MiB 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
@-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)))
0.0ms
x
@0
((/ (* (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.9MiB live, 0.9MiB 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
1.0MiB live, 1.0MiB 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))

eval1.0ms (0.1%)

Memory
4.6MiB live, 4.6MiB allocated
Compiler

Compiled 214 to 22 computations (89.7% saved)

prune4.0ms (0.4%)

Memory
-32.2MiB live, 6.1MiB allocated
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New14014
Fresh000
Picked033
Done011
Total14418
Accuracy
100.0%
Counts
18 → 4
Alt Table
Click to see full alt table
StatusAccuracyProgram
88.3%
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
30.5%
#s(approx (/ (* (sin x) (sinh y)) x) (*.f64 (sin.f64 x) (sinh.f64 y)))
67.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.8%)

Memory
17.7MiB live, 17.7MiB 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
y
2.0ms
x
2.0ms
(sinh.f64 y)
2.0ms
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Results
AccuracySegmentsBranch
100.0%3x
88.3%1y
88.3%1(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
88.3%1(sinh.f64 y)
Compiler

Compiled 11 to 13 computations (-18.2% saved)

regimes7.0ms (0.7%)

Memory
16.5MiB live, 16.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
x
2.0ms
y
2.0ms
(sinh.f64 y)
1.0ms
(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
Results
AccuracySegmentsBranch
67.6%1y
67.6%1(sinh.f64 y)
67.6%1(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
72.8%2x
Compiler

Compiled 11 to 13 computations (-18.2% saved)

regimes5.0ms (0.5%)

Memory
-26.9MiB live, 12.5MiB 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:

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

Compiled 4 to 7 computations (-75% saved)

regimes5.0ms (0.4%)

Memory
17.3MiB live, 17.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%1x
3.0%1(/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x)
3.0%1y
3.0%1(sinh.f64 y)
Compiler

Compiled 11 to 13 computations (-18.2% saved)

bsearch23.0ms (2.1%)

Memory
-11.4MiB live, 37.7MiB allocated
Algorithm
binary-search
Stop Event
predicate-same
predicate-same
Steps
TimeLeftRight
6.0ms
6.686751244100553e-28
1.098145439796759e-25
14.0ms
-47699.06162678352
-4.232951897320856e-9
Samples
13.0ms208×0valid
Compiler

Compiled 231 to 219 computations (5.2% saved)

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

bsearch19.0ms (1.8%)

Memory
-9.5MiB live, 29.6MiB allocated
Algorithm
binary-search
Stop Event
narrow-enough
Steps
TimeLeftRight
18.0ms
7.066056254468594e-6
1168285191788026600.0
Samples
11.0ms176×0valid
Compiler

Compiled 263 to 231 computations (12.2% saved)

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

simplify5.0ms (0.5%)

Memory
10.1MiB live, 10.1MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(if (<=.f64 x #s(literal -4533471823554859/302231454903657293676544 binary64)) (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) (if (<=.f64 x #s(literal 8711228593176025/87112285931760246646623899502532662132736 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 7926335344172073/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 -4533471823554859/302231454903657293676544 binary64)) (/.f64 (*.f64 (sin.f64 x) (sinh.f64 y)) x) (if (<=.f64 x #s(literal 8711228593176025/87112285931760246646623899502532662132736 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 7926335344172073/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
1.5MiB live, 1.5MiB allocated
Stop Event
done
Compiler

Compiled 79 to 22 computations (72.2% saved)

preprocess37.0ms (3.5%)

Memory
-17.5MiB live, 57.0MiB allocated
Compiler

Compiled 186 to 68 computations (63.4% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...