2cos (problem 3.3.5)

Time bar (total: 10.9s)

analyze55.0ms (0.5%)

Algorithm
search
Search
ProbabilityValidUnknownPreconditionInfiniteDomainCan'tIter
0%0%50.6%49.4%0%0%0%0
0%0%50.6%49.4%0%0%0%1
0%0%50.6%49.4%0%0%0%2
0%0%25.3%74.7%0%0%0%3
0%0%25.3%74.7%0%0%0%4
0%0%19%81%0%0%0%5
0%0%15.8%84.2%0%0%0%6
0%0%11.1%88.9%0%0%0%7
0%0%8.7%91.3%0%0%0%8
0%0%5.9%94.1%0%0%0%9
0%0%4.5%95.5%0%0%0%10
0%0%3.1%96.9%0%0%0%11
0%0%2.7%97.3%0%0%0%12
Compiler

Compiled 28 to 18 computations (35.7% saved)

Precisions
Click to see histograms. Total time spent on operations: 34.0ms
ival-cos: 9.0ms (26.5% of total)
...c/correct-round.rkt:104:19: 6.0ms (17.7% of total)
ival-sub: 4.0ms (11.8% of total)
ival-mult: 3.0ms (8.8% of total)
ival-<=: 3.0ms (8.8% of total)
ival-<: 3.0ms (8.8% of total)
ival-add: 2.0ms (5.9% of total)
ival-fabs: 2.0ms (5.9% of total)
ival-and: 1.0ms (2.9% of total)
const: 0.0ms (0% of total)

sample10.5s (96.1%)

Results
4.2s4249×2048valid
3.3s25730×256precondition
836.0ms2084×1024valid
265.0ms1060×512valid
107.0ms863×256valid
Precisions
Click to see histograms. Total time spent on operations: 7.2s
ival-cos: 2.8s (38.6% of total)
...c/correct-round.rkt:104:19: 1.6s (21.6% of total)
ival-<: 688.0ms (9.5% of total)
ival-<=: 483.0ms (6.7% of total)
ival-mult: 441.0ms (6.1% of total)
ival-fabs: 403.0ms (5.6% of total)
ival-add: 320.0ms (4.4% of total)
ival-sub: 315.0ms (4.3% of total)
ival-and: 174.0ms (2.4% of total)
const: 60.0ms (0.8% of total)
Bogosity

preprocess67.0ms (0.6%)

Algorithm
egg-herbie
Rules
158×fma-neg
91×fma-define
54×sub-neg
41×associate--r+
36×cancel-sign-sub-inv
Iterations

Useful iterations: 2 (0.0ms)

IterNodesCost
027234
149218
296210
3184210
4349210
5486210
6636210
7761210
8795210
9821210
10827210
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
(-.f64 (cos.f64 (+.f64 (neg.f64 x) eps)) (cos.f64 (neg.f64 x)))
(-.f64 (cos.f64 (+.f64 x (neg.f64 eps))) (cos.f64 x))
(neg.f64 (-.f64 (cos.f64 (+.f64 (neg.f64 x) eps)) (cos.f64 (neg.f64 x))))
(neg.f64 (-.f64 (cos.f64 (+.f64 x (neg.f64 eps))) (cos.f64 x)))
(-.f64 (cos.f64 (+.f64 eps x)) (cos.f64 eps))
Outputs
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
(-.f64 (cos.f64 (+.f64 (neg.f64 x) eps)) (cos.f64 (neg.f64 x)))
(-.f64 (cos.f64 (+.f64 eps (neg.f64 x))) (cos.f64 x))
(-.f64 (cos.f64 (-.f64 eps x)) (cos.f64 x))
(-.f64 (cos.f64 (+.f64 x (neg.f64 eps))) (cos.f64 x))
(-.f64 (cos.f64 (+.f64 eps (neg.f64 x))) (cos.f64 x))
(-.f64 (cos.f64 (-.f64 eps x)) (cos.f64 x))
(neg.f64 (-.f64 (cos.f64 (+.f64 (neg.f64 x) eps)) (cos.f64 (neg.f64 x))))
(neg.f64 (-.f64 (cos.f64 (+.f64 eps (neg.f64 x))) (cos.f64 x)))
(neg.f64 (-.f64 (cos.f64 (-.f64 eps x)) (cos.f64 x)))
(-.f64 (cos.f64 x) (cos.f64 (-.f64 eps x)))
(neg.f64 (-.f64 (cos.f64 (+.f64 x (neg.f64 eps))) (cos.f64 x)))
(neg.f64 (-.f64 (cos.f64 (+.f64 eps (neg.f64 x))) (cos.f64 x)))
(neg.f64 (-.f64 (cos.f64 (-.f64 eps x)) (cos.f64 x)))
(-.f64 (cos.f64 x) (cos.f64 (-.f64 eps x)))
(-.f64 (cos.f64 (+.f64 eps x)) (cos.f64 eps))
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 eps))

explain266.0ms (2.4%)

FPErrors
Click to see full error table
Ground TruthOverpredictionsExampleUnderpredictionsExampleSubexpression
1410-0-(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
10-1(57.40694428228144 0.022003854538913466)(cos.f64 (+.f64 x eps))
00-0-x
00-0-(+.f64 x eps)
00-0-(cos.f64 x)
00-0-eps
Results
168.0ms252×2048valid
42.0ms146×1024valid
15.0ms70×512valid
3.0ms44×256valid
Compiler

Compiled 51 to 20 computations (60.8% saved)

Precisions
Click to see histograms. Total time spent on operations: 171.0ms
ival-cos: 147.0ms (85.8% of total)
ival-add: 15.0ms (8.8% of total)
ival-sub: 8.0ms (4.7% of total)
const: 1.0ms (0.6% of total)

eval0.0ms (0%)

Compiler

Compiled 2 to 2 computations (0% saved)

prune1.0ms (0%)

Alt Table
Click to see full alt table
StatusAccuracyProgram
49.4%
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
Compiler

Compiled 18 to 12 computations (33.3% saved)

simplify2.0ms (0%)

Algorithm
egg-herbie
Rules
+-commutative
sub-neg
*-commutative
neg-sub0
neg-mul-1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01230
11530
22030
32230
42330
Stop Event
saturated
Calls
Call 1
Inputs
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
Outputs
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))

soundness0.0ms (0%)

Stop Event
fuel
Compiler

Compiled 9 to 6 computations (33.3% saved)

preprocess29.0ms (0.3%)

Compiler

Compiled 66 to 44 computations (33.3% saved)

end0.0ms (0%)

Profiling

Loading profile data...