tanhf (example 3.4)

Time bar (total: 3.8s)

analyze1.1s (29.3%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%100%0%0%0%0%0
0%0%199.9%-99.9%0%0%0%1
0%0%399.8%-299.8%0%0%0%2
0%0%799.6%-699.6%0%0%0%3
0%0%1599.2%-1499.2%0%0%0%4
0%0%3198.4%-3098.4%0%0%0%5
0%0%6396.9%-6296.9%0%0%0%6
0%0%12793.8%-12693.8%0%0%0%7
0%0%25587.5%-25487.5%0%0%0%8
0%0%51175%-51075%0%0%0%9
0%0%102350%-102250%0%0%0%10
0%0%204700%-204600%0%0%0%11
0%0%409400%-409300%0%0%0%12
Compiler

Compiled 9 to 7 computations (22.2% saved)

sample2.2s (58.3%)

Results
895.0ms2101×body4096valid
717.0ms4389×body256valid
392.0ms1036×body2048valid
133.0ms462×body1024valid
76.0ms267×body512valid
0.0msbody8192valid
Bogosity

preprocess88.0ms (2.3%)

Algorithm
egg-herbie
Rules
924×fma-def
316×div-sub
266×times-frac
188×associate-/r*
134×sub-neg
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01426
13426
25022
38422
415622
529122
660722
7128522
8170622
9178722
10184222
11192322
12196322
Stop Event
saturated
Calls
Call 1
Inputs
(/.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 (neg.f64 x))) (sin.f64 (neg.f64 x)))
(tan.f64 (/.f64 (neg.f64 x) 2))
(tan.f64 (neg.f64 (/.f64 x 2)))
(tan.f64 (*.f64 -1/2 x))
(tan.f64 (*.f64 x -1/2))
Compiler

Compiled 9 to 7 computations (22.2% saved)

simplify17.0ms (0.5%)

Algorithm
egg-herbie
Rules
472×fma-def
54×div-sub
48×associate-/l*
48×unsub-neg
44×sub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22511
33611
45911
58211
612011
718911
833411
953511
1067711
1172511
Stop Event
saturated
Counts
1 → 2
Calls
Call 1
Inputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
Outputs
(/.f64 (-.f64 1 (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x 2))

eval1.0ms (0%)

Compiler

Compiled 12 to 9 computations (25% saved)

prune1.0ms (0%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New112
Fresh101
Picked000
Done000
Total213
Accurracy
100.0%
Counts
3 → 1
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)

localize259.0ms (6.8%)

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
Accurracy
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)

regimes13.0ms (0.4%)

Accuracy

Total -31.0b remaining (-∞%)

Threshold costs -31b (-∞%)

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:

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

simplify4.0ms (0.1%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0711
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)

soundness49.0ms (1.3%)

Rules
472×fma-def
54×div-sub
48×associate-/l*
48×unsub-neg
44×sub-neg
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0911
11911
22511
33611
45911
58211
612011
718911
833411
953511
1067711
1172511
Stop Event
saturated
Compiler

Compiled 12 to 9 computations (25% saved)

end0.0ms (0%)

preprocess40.0ms (1%)

Compiler

Compiled 36 to 28 computations (22.2% saved)

Profiling

Loading profile data...