tanhf (example 3.4)

Time bar (total: 3.6s)

analyze185.0ms (5.1%)

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)

Mixed Sampling
Click to see full mixed sampling table
opprecxtime
const74140.0ms
const500-60040.0ms
const400-50040.0ms
const200-30050.0ms
const100-20020512.0ms
const12820702.0ms
ival-cos74140.0ms
ival-cos500-60040.0ms
ival-cos400-50040.0ms
ival-cos200-30050.0ms
ival-cos100-200205114.0ms
ival-cos12810.0ms
ival-div12820698.0ms
ival-sin128206910.0ms
ival-sub128206915.0ms

sample3.0s (84%)

Results
1.1s4621×body256valid
1.1s2109×body1024valid
511.0ms482×body2048valid
256.0ms1043×body512valid
2.0msbody4096valid
Mixed Sampling
Click to see full mixed sampling table
opprecxtime
const616310.0ms
const409610.0ms
const3900-40004250.0ms
const3800-3900580.0ms
const20484831.0ms
const1800-190025902.0ms
const1000-110010.0ms
const102425933.0ms
const800-90035483.0ms
const700-800820.0ms
const500-60010.0ms
const51236394.0ms
const2561651218.0ms
ival-cos616310.0ms
ival-cos3900-4000425116.0ms
ival-cos3800-39005817.0ms
ival-cos1800-19002590432.0ms
ival-cos1000-110010.0ms
ival-cos102410.0ms
ival-cos800-900354861.0ms
ival-cos700-800821.0ms
ival-cos500-60010.0ms
ival-cos51240.0ms
ival-cos2568256292.0ms
ival-div409610.0ms
ival-div20484837.0ms
ival-div1024259224.0ms
ival-div512363537.0ms
ival-div256825683.0ms
ival-sin409610.0ms
ival-sin2048483201.0ms
ival-sin1024259285.0ms
ival-sin512363535.0ms
ival-sin2568256235.0ms
ival-sub409610.0ms
ival-sub20484834.0ms
ival-sub1024259221.0ms
ival-sub512363532.0ms
ival-sub256825665.0ms
Bogosity

preprocess211.0ms (5.9%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01760
14160
26656
314056
432356
573056
6138256
7176656
8184756
9192456
10197556
11198756
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)

Mixed Sampling
Click to see full mixed sampling table
opprecxtime
const3920260.0ms
const3800-390020.0ms
const2048280.0ms
const1800-19001640.0ms
const10241640.0ms
const800-9002360.0ms
const5122360.0ms
const25610241.0ms
ival-cos3920133.0ms
ival-cos3800-390011.0ms
ival-cos1800-19008211.0ms
ival-cos800-9001182.0ms
ival-cos25625628.0ms
ival-div2048140.0ms
ival-div1024821.0ms
ival-div5121181.0ms
ival-div2562562.0ms
ival-sin2048147.0ms
ival-sin1024824.0ms
ival-sin5121181.0ms
ival-sin2562567.0ms
ival-sub2048280.0ms
ival-sub10241641.0ms
ival-sub5122361.0ms
ival-sub2565125.0ms

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

localize34.0ms (0.9%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

Mixed Sampling
Click to see full mixed sampling table
opprecxtime
const25610241.0ms
ival-div2565125.0ms
ival-tan2562566.0ms

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)

regimes6.0ms (0.2%)

Accuracy

Total -30.8b remaining (-∞%)

Threshold costs -30.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
2.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)

simplify4.0ms (0.1%)

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)

soundness102.0ms (2.8%)

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

Useful iterations: 2 (0.0ms)

IterNodesCost
01760
14160
26656
314056
432356
573056
6138256
7176656
8184756
9192456
10197556
11198756
Stop Event
saturated
Compiler

Compiled 12 to 9 computations (25% saved)

end0.0ms (0%)

preprocess34.0ms (0.9%)

Remove

(negabs x)

Compiler

Compiled 56 to 44 computations (21.4% saved)

Profiling

Loading profile data...