tanhf (example 3.4)

Time bar (total: 5.3s)

analyze195.0ms (3.7%)

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 16 to 11 computations (31.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 94.0ms
Operation ival-<=, time spent: 19.0ms, 20.0% of total-time
Operation ival-sub, time spent: 16.0ms, 17.0% of total-time
Operation ival-cos, time spent: 14.0ms, 15.0% of total-time
Operation ival-sin, time spent: 13.0ms, 14.0% of total-time
Operation ...c/syntax/syntax.rkt:188:8, time spent: 10.0ms, 11.0% of total-time
Operation ival-neg, time spent: 10.0ms, 11.0% of total-time
Operation ival-div, time spent: 7.0ms, 7.0% of total-time
Operation ival-and, time spent: 3.0ms, 3.0% of total-time
Operation const, time spent: 1.0ms, 1.0% of total-time

sample4.7s (87.8%)

Results
897.0ms4600×256valid
2.8s2101×2048valid
504.0ms996×1024valid
144.0ms504×512valid
45.0ms54×4096valid
2.0ms2048valid
Precisions
Click to see histograms. Total time spent on operations: 3.2s
Operation ival-sin, time spent: 1.6s, 49.0% of total-time
Operation ival-cos, time spent: 866.0ms, 27.0% of total-time
Operation ival-sub, time spent: 213.0ms, 7.0% of total-time
Operation ival-div, time spent: 161.0ms, 5.0% of total-time
Operation ival-<=, time spent: 156.0ms, 5.0% of total-time
Operation ...c/syntax/syntax.rkt:188:8, time spent: 133.0ms, 4.0% of total-time
Operation ival-neg, time spent: 91.0ms, 3.0% of total-time
Operation ival-and, time spent: 25.0ms, 1.0% of total-time
Operation const, time spent: 11.0ms, 0.0% of total-time
Bogosity

preprocess321.0ms (6%)

Algorithm
egg-herbie
Rules
398×fma-define
166×fma-neg
94×times-frac
94×div-sub
74×distribute-rgt-in
FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
742(1.5188516415846155e+149)0-(-.f64 #s(literal 1 binary64) (cos.f64 x))
680-2(2.017714285204104e-156)(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
00-0-x
00-0-(sin.f64 x)
00-0-#s(literal 1 binary64)
00-0-(cos.f64 x)
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01760
14660
28556
319156
447056
581556
698156
Stop Event
saturated
Calls
Call 1
Inputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))))
Outputs
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(tan.f64 (*.f64 x #s(literal 1/2 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(tan.f64 (*.f64 x #s(literal 1/2 binary64)))
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x)))
(tan.f64 (/.f64 (neg.f64 x) #s(literal 2 binary64)))
(neg.f64 (tan.f64 (/.f64 x #s(literal 2 binary64))))
(tan.f64 (*.f64 x #s(literal -1/2 binary64)))
(neg.f64 (/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 (neg.f64 x))) (sin.f64 (neg.f64 x))))
(tan.f64 (/.f64 x #s(literal 2 binary64)))
(tan.f64 (*.f64 x #s(literal 1/2 binary64)))
Symmetry

(negabs x)

Compiler

Compiled 46 to 26 computations (43.5% saved)

Precisions
Click to see histograms. Total time spent on operations: 181.0ms
Operation ival-sin, time spent: 95.0ms, 53.0% of total-time
Operation ival-cos, time spent: 57.0ms, 32.0% of total-time
Operation ival-sub, time spent: 16.0ms, 9.0% of total-time
Operation ival-div, time spent: 9.0ms, 5.0% of total-time
Operation const, time spent: 3.0ms, 2.0% of total-time

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 #s(literal 2 binary64)))
Compiler

Compiled 5 to 4 computations (20% saved)

localize31.0ms (0.6%)

Compiler

Compiled 11 to 8 computations (27.3% saved)

Precisions
Click to see histograms. Total time spent on operations: 13.0ms
Operation ival-div, time spent: 6.0ms, 46.0% of total-time
Operation ival-tan, time spent: 6.0ms, 46.0% of total-time
Operation const, time spent: 1.0ms, 8.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 #s(literal 2 binary64)))
Compiler

Compiled 17 to 13 computations (23.5% saved)

regimes6.0ms (0.1%)

Accuracy

Total -32.1b remaining (-∞%)

Threshold costs -32.1b (-∞%)

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

2 calls:

3.0ms
x
2.0ms
(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Results
AccuracySegmentsBranch
100.0%1x
100.0%1(/.f64 (-.f64 #s(literal 1 binary64) (cos.f64 x)) (sin.f64 x))
Compiler

Compiled 10 to 7 computations (30% 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 #s(literal 2 binary64)))
Outputs
(tan.f64 (/.f64 x #s(literal 2 binary64)))
Compiler

Compiled 5 to 4 computations (20% saved)

soundness45.0ms (0.8%)

Rules
398×fma-define
166×fma-neg
94×times-frac
94×div-sub
74×distribute-rgt-in
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
01760
14660
28556
319156
447056
581556
698156
Stop Event
saturated
Compiler

Compiled 12 to 9 computations (25% saved)

end0.0ms (0%)

preprocess43.0ms (0.8%)

Remove

(negabs x)

Compiler

Compiled 56 to 44 computations (21.4% saved)

Profiling

Loading profile data...