tanhf (example 3.4)

Time bar (total: 5.7s)

analyze159.0ms (2.8%)

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)

sample5.1s (88.5%)

Results
2.7s2086×body2048valid
1.5s3055×body1024valid
401.0ms1572×body512valid
305.0ms1425×body256valid
141.0ms117×body4096valid
2.0msbody8192valid
Bogosity

preprocess311.0ms (5.4%)

Algorithm
egg-herbie
Rules
924×fma-def
316×div-sub
264×times-frac
188×associate-/r*
134×sub-neg
Problems
112×No Errors
90×(-.f64 1 (cos.f64 x))
54×(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01646
13646
25242
38642
415842
529542
660942
7129342
8171242
9179342
10184842
11192942
12196942
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)))
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))
Compiler

Compiled 27 to 16 computations (40.7% saved)

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)

localize49.0ms (0.9%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

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)

regimes7.0ms (0.1%)

Accuracy

Total -28.8b remaining (-∞%)

Threshold costs -28.8b (-∞%)

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:

3.0ms
x
3.0ms
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 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)

simplify1.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)

soundness98.0ms (1.7%)

Rules
924×fma-def
316×div-sub
264×times-frac
188×associate-/r*
134×sub-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01646
13646
25242
38642
415842
529542
660942
7129342
8171242
9179342
10184842
11192942
12196942
Stop Event
saturated
Compiler

Compiled 12 to 9 computations (25% saved)

end0.0ms (0%)

preprocess31.0ms (0.5%)

Compiler

Compiled 36 to 28 computations (22.2% saved)

Profiling

Loading profile data...