tanhf (example 3.4)

Time bar (total: 4.3s)

analyze187.0ms (4.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%100%0%0%0%0%1
0%0%100%0%0%0%0%2
25%25%75%0%0%0%0%3
37.5%37.5%62.5%0%0%0%0%4
43.8%43.7%56.2%0%0%0%0%5
46.9%46.9%53.1%0%0%0%0%6
48.4%48.4%51.5%0%0%0%0%7
49.2%49.2%50.8%0%0%0%0%8
49.6%49.6%50.4%0%0%0%0%9
49.8%49.8%50.2%0%0%0%0%10
49.9%49.9%50.1%0%0%0%0%11
50%49.9%50%0%0%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

Precisions
Click to see histograms. Total time spent on operations: 63.0ms
Operation ival-sub, time spent: 19.0ms, 30.0% of total-time
Operation ival-sin, time spent: 15.0ms, 24.0% of total-time
Operation ival-cos, time spent: 13.0ms, 21.0% of total-time
Operation ival-div, time spent: 10.0ms, 16.0% of total-time
Operation const, time spent: 6.0ms, 10.0% of total-time

sample3.6s (82.6%)

Results
1.8s2304×body3valid
1.2s4530×body0valid
522.0ms1138×body2valid
77.0ms277×body1valid
4.0msbody5valid
4.0msbody5exit
2.0msbody4valid
Precisions
Click to see histograms. Total time spent on operations: 2.1s
Operation ival-cos, time spent: 1.0s, 48.0% of total-time
Operation ival-sub, time spent: 423.0ms, 20.0% of total-time
Operation ival-sin, time spent: 396.0ms, 19.0% of total-time
Operation ival-div, time spent: 211.0ms, 10.0% of total-time
Operation const, time spent: 65.0ms, 3.0% of total-time
Bogosity

preprocess230.0ms (5.3%)

Algorithm
egg-herbie
Rules
750×fma-def
410×div-sub
196×associate-/r*
176×associate-/l*
118×sub-neg
Problems
104×No Errors
86×(-.f64 1 (cos.f64 x))
66×(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01760
14460
26956
314356
432656
573456
6139356
7177756
8185856
9193556
10198656
11199856
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(/.f64 (-.f64 1 (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))
(neg.f64 (/.f64 (-.f64 1 (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))))
Outputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x 2))
(tan.f64 (*.f64 x 1/2))
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x 2))
(tan.f64 (*.f64 x 1/2))
(/.f64 (-.f64 1 (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))
(tan.f64 (/.f64 (neg.f64 x) 2))
(tan.f64 (*.f64 -1/2 x))
(tan.f64 (*.f64 x -1/2))
(neg.f64 (/.f64 (-.f64 1 (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))))
(tan.f64 (/.f64 x 2))
(tan.f64 (*.f64 x 1/2))
Symmetry

(negabs x)

Compiler

Compiled 27 to 16 computations (40.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 74.0ms
Operation ival-cos, time spent: 29.0ms, 39.0% of total-time
Operation ival-sub, time spent: 26.0ms, 35.0% of total-time
Operation ival-sin, time spent: 10.0ms, 14.0% of total-time
Operation ival-div, time spent: 5.0ms, 7.0% of total-time
Operation const, time spent: 4.0ms, 5.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 9 to 7 computations (22.2% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(tan.f64 (/.f64 x 2))
100.0%
(tan.f64 (/.f64 x 2))
Compiler

Compiled 10 to 8 computations (20% saved)

localize177.0ms (4.1%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
Operation ival-tan, time spent: 7.0ms, 52.0% of total-time
Operation ival-div, time spent: 5.0ms, 37.0% of total-time
Operation const, time spent: 2.0ms, 15.0% of total-time

eval0.0ms (0%)

Compiler

Compiled 1 to 1 computations (0% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New000
Fresh000
Picked011
Done000
Total011
Accuracy
100.0%
Counts
1 → 1
Alt Table
Click to see full alt table
StatusAccuracyProgram
100.0%
(tan.f64 (/.f64 x 2))
Compiler

Compiled 17 to 13 computations (23.5% saved)

regimes9.0ms (0.2%)

Accuracy

Total -32.2b remaining (-∞%)

Threshold costs -32.2b (-∞%)

Counts
2 → 1
Calls
Call 1
Inputs
(tan.f64 (/.f64 x 2))
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Outputs
(tan.f64 (/.f64 x 2))
Calls

2 calls:

5.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
3.0ms
x
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Compiler

Compiled 22 to 16 computations (27.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0914
Stop Event
done
saturated
Calls
Call 1
Inputs
(tan.f64 (/.f64 x 2))
Outputs
(tan.f64 (/.f64 x 2))
Compiler

Compiled 5 to 4 computations (20% saved)

soundness114.0ms (2.6%)

Rules
750×fma-def
410×div-sub
196×associate-/r*
176×associate-/l*
118×sub-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01760
14460
26956
314356
432656
573456
6139356
7177756
8185856
9193556
10198656
11199856
Stop Event
saturated
Compiler

Compiled 12 to 9 computations (25% saved)

end0.0ms (0%)

preprocess36.0ms (0.8%)

Remove

(negabs x)

Compiler

Compiled 56 to 44 computations (21.4% saved)

Profiling

Loading profile data...