Linear.Quaternion:$ctanh from linear-1.19.1.3

Time bar (total: 1.2s)

start0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated

analyze71.0ms (6%)

Memory
0.6MiB live, 120.3MiB 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
0%0%99.9%0.1%0%0%0%2
0%0%99.9%0.1%0%0%0%3
25%25%74.9%0.1%0%0%0%4
25%25%74.9%0.1%0%0%0%5
37.5%37.4%62.4%0.1%0%0%0%6
56.3%56.2%43.7%0.1%0%0%0%7
56.3%56.2%43.7%0.1%0%0%0%8
65.6%65.5%34.3%0.1%0%0%0%9
76.6%76.5%23.4%0.1%0%0%0%10
76.6%76.5%23.4%0.1%0%0%0%11
82%81.9%17.9%0.1%0%0%0%12
Compiler

Compiled 10 to 9 computations (10% saved)

sample870.0ms (73.8%)

Memory
31.4MiB live, 1 197.3MiB allocated
Samples
590.0ms8 256×0valid
Precisions
Click to see histograms. Total time spent on operations: 384.0ms
ival-sin: 191.0ms (49.8% of total)
ival-div: 120.0ms (31.3% of total)
ival-mult: 63.0ms (16.4% of total)
ival-true: 6.0ms (1.6% of total)
ival-assert: 3.0ms (0.8% of total)
Bogosity

explain80.0ms (6.8%)

Memory
9.7MiB live, 124.7MiB allocated
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
90-0-(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
00-0-(sin.f64 y)
00-0-y
00-0-(*.f64 x (/.f64 (sin.f64 y) y))
00-0-(/.f64 (sin.f64 y) y)
00-0-z
00-0-x
Explanations
Click to see full explanations table
OperatorSubexpressionExplanationCount
/.f64(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)u/n90
(*.f64 x (/.f64 (sin.f64 y) y))underflow27
Confusion
Predicted +Predicted -
+90
-0247
Precision
1.0
Recall
1.0
Confusion?
Predicted +Predicted MaybePredicted -
+900
-00247
Precision?
1.0
Recall?
1.0
Freqs
test
numberfreq
0247
19
Total Confusion?
Predicted +Predicted MaybePredicted -
+100
-000
Precision?
1.0
Recall?
1.0
Samples
42.0ms512×0valid
Compiler

Compiled 81 to 32 computations (60.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 25.0ms
ival-sin: 11.0ms (44.7% of total)
ival-div: 9.0ms (36.6% of total)
ival-mult: 3.0ms (12.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

preprocess3.0ms (0.3%)

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

Compiled 8 to 7 computations (12.5% saved)

eval0.0ms (0%)

Memory
0.1MiB live, 0.1MiB allocated
Compiler

Compiled 0 to 3 computations (-∞% saved)

prune0.0ms (0%)

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

Compiled 8 to 7 computations (12.5% saved)

simplify0.0ms (0%)

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

Found 4 expressions of interest:

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

localize29.0ms (2.4%)

Memory
-10.1MiB live, 32.4MiB allocated
Localize:

Found 4 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(sin.f64 y)
accuracy0.08984375
(/.f64 (sin.f64 y) y)
accuracy0.08984375
(*.f64 x (/.f64 (sin.f64 y) y))
accuracy2.2274915118116314
(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
Samples
23.0ms256×0valid
Compiler

Compiled 48 to 16 computations (66.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 16.0ms
ival-div: 8.0ms (49.9% of total)
ival-sin: 6.0ms (37.4% of total)
ival-mult: 2.0ms (12.5% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series14.0ms (1.2%)

Memory
19.4MiB live, 19.4MiB allocated
Counts
4 → 20
Calls
Call 1
Inputs
(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
(*.f64 x (/.f64 (sin.f64 y) y))
(/.f64 (sin.f64 y) y)
(sin.f64 y)
Outputs
(/ (* x (sin y)) (* y z))
(/ (* x (sin y)) y)
(/ x z)
(+ (* -1/6 (/ (* x (pow y 2)) z)) (/ x z))
(+ (* (pow y 2) (+ (* -1/6 (/ x z)) (* 1/120 (/ (* x (pow y 2)) z)))) (/ x z))
(+ (* (pow y 2) (+ (* -1/6 (/ x z)) (* (pow y 2) (+ (* -1/5040 (/ (* x (pow y 2)) z)) (* 1/120 (/ x z)))))) (/ x z))
x
(+ x (* -1/6 (* x (pow y 2))))
(+ x (* (pow y 2) (+ (* -1/6 x) (* 1/120 (* x (pow y 2))))))
(+ x (* (pow y 2) (+ (* -1/6 x) (* (pow y 2) (+ (* -1/5040 (* x (pow y 2))) (* 1/120 x))))))
1
(+ 1 (* -1/6 (pow y 2)))
(+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6)))
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6)))
y
(* y (+ 1 (* -1/6 (pow y 2))))
(* y (+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6))))
(* y (+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6))))
(/ (sin y) y)
(sin y)
Calls

9 calls:

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

simplify0.0ms (0%)

Memory
0.9MiB live, 0.9MiB allocated
Algorithm
egg-herbie
Counts
20 → 4
Calls
Call 1
Inputs
(/ (* x (sin y)) (* y z))
(/ (* x (sin y)) y)
(/ x z)
(+ (* -1/6 (/ (* x (pow y 2)) z)) (/ x z))
(+ (* (pow y 2) (+ (* -1/6 (/ x z)) (* 1/120 (/ (* x (pow y 2)) z)))) (/ x z))
(+ (* (pow y 2) (+ (* -1/6 (/ x z)) (* (pow y 2) (+ (* -1/5040 (/ (* x (pow y 2)) z)) (* 1/120 (/ x z)))))) (/ x z))
x
(+ x (* -1/6 (* x (pow y 2))))
(+ x (* (pow y 2) (+ (* -1/6 x) (* 1/120 (* x (pow y 2))))))
(+ x (* (pow y 2) (+ (* -1/6 x) (* (pow y 2) (+ (* -1/5040 (* x (pow y 2))) (* 1/120 x))))))
1
(+ 1 (* -1/6 (pow y 2)))
(+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6)))
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6)))
y
(* y (+ 1 (* -1/6 (pow y 2))))
(* y (+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6))))
(* y (+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6))))
(/ (sin y) y)
(sin y)
Outputs
(/ (* x (sin y)) (* y z))
(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
(/ (* x (sin y)) y)
(*.f64 x (/.f64 (sin.f64 y) y))
(/ x z)
(/.f64 (sin.f64 y) y)
(+ (* -1/6 (/ (* x (pow y 2)) z)) (/ x z))
(sin.f64 y)

rewrite0.0ms (0%)

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

eval4.0ms (0.3%)

Memory
-35.5MiB live, 1.8MiB allocated
Compiler

Compiled 88 to 16 computations (81.8% saved)

prune1.0ms (0.1%)

Memory
3.6MiB live, 3.6MiB allocated
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New628
Fresh000
Picked011
Done000
Total639
Accuracy
96.5%
Counts
9 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.5%
(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
4.0%
#s(approx (/ (* x (/ (sin y) y)) z) (/.f64 (sin.f64 y) y))
3.5%
#s(approx (/ (* x (/ (sin y) y)) z) (sin.f64 y))
Compiler

Compiled 32 to 26 computations (18.8% saved)

simplify0.0ms (0%)

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

Found 5 expressions of interest:

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

localize24.0ms (2.1%)

Memory
15.0MiB live, 53.8MiB allocated
Localize:

Found 5 expressions of interest:

NewMetricScoreProgram
accuracy0.0
(sin.f64 y)
accuracy0.08984375
(/.f64 (sin.f64 y) y)
accuracy61.42995541428499
#s(approx (/ (* x (/ (sin y) y)) z) (/.f64 (sin.f64 y) y))
accuracy0.0
(sin.f64 y)
accuracy61.74464716683875
#s(approx (/ (* x (/ (sin y) y)) z) (sin.f64 y))
Samples
19.0ms256×0valid
Compiler

Compiled 62 to 20 computations (67.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 12.0ms
ival-sin: 6.0ms (51.7% of total)
ival-div: 3.0ms (25.9% of total)
ival-mult: 2.0ms (17.2% of total)
ival-true: 0.0ms (0% of total)
ival-assert: 0.0ms (0% of total)

series7.0ms (0.6%)

Memory
17.1MiB live, 17.1MiB allocated
Counts
4 → 15
Calls
Call 1
Inputs
#s(approx (/ (* x (/ (sin y) y)) z) (sin.f64 y))
(sin.f64 y)
#s(approx (/ (* x (/ (sin y) y)) z) (/.f64 (sin.f64 y) y))
(/.f64 (sin.f64 y) y)
Outputs
(/ (* x (sin y)) (* y z))
(/ x z)
(+ (* -1/6 (/ (* x (pow y 2)) z)) (/ x z))
(+ (* (pow y 2) (+ (* -1/6 (/ x z)) (* 1/120 (/ (* x (pow y 2)) z)))) (/ x z))
(+ (* (pow y 2) (+ (* -1/6 (/ x z)) (* (pow y 2) (+ (* -1/5040 (/ (* x (pow y 2)) z)) (* 1/120 (/ x z)))))) (/ x z))
y
(* y (+ 1 (* -1/6 (pow y 2))))
(* y (+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6))))
(* y (+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6))))
1
(+ 1 (* -1/6 (pow y 2)))
(+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6)))
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6)))
(sin y)
(/ (sin y) y)
Calls

9 calls:

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

simplify0.0ms (0%)

Memory
0.8MiB live, 0.8MiB allocated
Algorithm
egg-herbie
Counts
15 → 4
Calls
Call 1
Inputs
(/ (* x (sin y)) (* y z))
(/ x z)
(+ (* -1/6 (/ (* x (pow y 2)) z)) (/ x z))
(+ (* (pow y 2) (+ (* -1/6 (/ x z)) (* 1/120 (/ (* x (pow y 2)) z)))) (/ x z))
(+ (* (pow y 2) (+ (* -1/6 (/ x z)) (* (pow y 2) (+ (* -1/5040 (/ (* x (pow y 2)) z)) (* 1/120 (/ x z)))))) (/ x z))
y
(* y (+ 1 (* -1/6 (pow y 2))))
(* y (+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6))))
(* y (+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6))))
1
(+ 1 (* -1/6 (pow y 2)))
(+ 1 (* (pow y 2) (- (* 1/120 (pow y 2)) 1/6)))
(+ 1 (* (pow y 2) (- (* (pow y 2) (+ 1/120 (* -1/5040 (pow y 2)))) 1/6)))
(sin y)
(/ (sin y) y)
Outputs
(/ (* x (sin y)) (* y z))
#s(approx (/ (* x (/ (sin y) y)) z) (sin.f64 y))
(/ x z)
(sin.f64 y)
(+ (* -1/6 (/ (* x (pow y 2)) z)) (/ x z))
#s(approx (/ (* x (/ (sin y) y)) z) (/.f64 (sin.f64 y) y))
(+ (* (pow y 2) (+ (* -1/6 (/ x z)) (* 1/120 (/ (* x (pow y 2)) z)))) (/ x z))
(/.f64 (sin.f64 y) y)

rewrite0.0ms (0%)

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

eval2.0ms (0.1%)

Memory
-36.8MiB live, 2.4MiB allocated
Compiler

Compiled 103 to 13 computations (87.4% saved)

prune2.0ms (0.2%)

Memory
7.0MiB live, 7.0MiB allocated
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New707
Fresh000
Picked022
Done011
Total7310
Accuracy
96.5%
Counts
10 → 3
Alt Table
Click to see full alt table
StatusAccuracyProgram
96.5%
(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
4.0%
#s(approx (/ (* x (/ (sin y) y)) z) (/.f64 (sin.f64 y) y))
3.5%
#s(approx (/ (* x (/ (sin y) y)) z) (sin.f64 y))
Compiler

Compiled 64 to 39 computations (39.1% saved)

regimes11.0ms (0.9%)

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

6 calls:

2.0ms
(*.f64 x (/.f64 (sin.f64 y) y))
2.0ms
z
2.0ms
x
2.0ms
y
2.0ms
(/.f64 (sin.f64 y) y)
Results
AccuracySegmentsBranch
96.5%1x
96.5%1y
96.5%1z
96.5%1(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
96.5%1(*.f64 x (/.f64 (sin.f64 y) y))
96.5%1(/.f64 (sin.f64 y) y)
Compiler

Compiled 21 to 27 computations (-28.6% saved)

regimes14.0ms (1.2%)

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

6 calls:

7.0ms
(*.f64 x (/.f64 (sin.f64 y) y))
1.0ms
z
1.0ms
x
1.0ms
(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
1.0ms
y
Results
AccuracySegmentsBranch
4.0%1x
4.0%1y
4.0%1z
4.0%1(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
4.0%1(*.f64 x (/.f64 (sin.f64 y) y))
4.0%1(/.f64 (sin.f64 y) y)
Compiler

Compiled 21 to 27 computations (-28.6% saved)

regimes7.0ms (0.6%)

Memory
18.6MiB live, 18.6MiB allocated
Accuracy

Total -0.0b remaining (-0%)

Threshold costs -0b (-0%)

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

6 calls:

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

Compiled 21 to 27 computations (-28.6% saved)

simplify5.0ms (0.4%)

Memory
-26.5MiB live, 12.9MiB allocated
Algorithm
egg-herbie
Calls
Call 1
Inputs
(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
#s(approx (/ (* x (/ (sin y) y)) z) (/.f64 (sin.f64 y) y))
#s(approx (/ (* x (/ (sin y) y)) z) (sin.f64 y))
Outputs
(/.f64 (*.f64 x (/.f64 (sin.f64 y) y)) z)
#s(approx (/ (* x (/ (sin y) y)) z) (/.f64 (sin.f64 y) y))
#s(approx (/ (* x (/ (sin y) y)) z) (sin.f64 y))

soundness1.0ms (0.1%)

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

Compiled 32 to 13 computations (59.4% saved)

preprocess31.0ms (2.6%)

Memory
10.2MiB live, 48.5MiB allocated
Compiler

Compiled 152 to 74 computations (51.3% saved)

end0.0ms (0%)

Memory
0.0MiB live, 0.0MiB allocated

Profiling

Loading profile data...