Details

Time bar (total: 4.3s)

analyze2.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
99.9%0%0.1%1

sample97.0ms

Algorithm
intervals
Results
53.0ms142×body1280valid
17.0ms18×body2560valid
14.0ms57×body640valid
5.0ms31×body320valid
1.0msbody160valid
0.0msbody80valid

simplify7.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (5.0ms)

IterNodesCost
0717
1717

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 40.0b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.9b
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
2.6b
(cos.f64 (+.f64 x eps))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-log-exp_binary64 add-sqr-sqrt_binary64
pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 cos-sum_binary64
sub-neg_binary64 flip3--_binary64 associate--l-_binary64 diff-log_binary64 difference-of-squares_binary64 distribute-lft-out--_binary64 flip--_binary64 diff-cos_binary64
Counts
2 → 23
Calls
2 calls:
7.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
5.0ms
(cos.f64 (+.f64 x eps))

series20.0ms

Counts
2 → 6
Calls
2 calls:
9.0ms
(-.f64 (cos.f64 (+.f64 x eps)) (cos.f64 x))
11.0ms
(cos.f64 (+.f64 x eps))

simplify28.0ms

Algorithm
egg-herbie
Counts
29 → 29
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
04999270
14999270

prune38.0ms

Filtered
23 candidates to 29 candidates (-26.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New20929
Fresh000
Picked101
Done000
Total21930

Merged error: 0.5b

Counts
30 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
0.0b
(+.f64 x (+.f64 x eps))
0.2b
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
2.4b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity_binary64
11×pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
add-log-exp_binary64 add-sqr-sqrt_binary64
add-cube-cbrt_binary64
associate-*l*_binary64
pow-prod-down_binary64 cbrt-unprod_binary64 associate-*r*_binary64 prod-exp_binary64
distribute-lft-out_binary64 sum-log_binary64
sin-mult_binary64 *-commutative_binary64
flip3-+_binary64 associate-*r/_binary64 unswap-sqr_binary64 +-commutative_binary64 flip-+_binary64 associate-+r+_binary64
Counts
4 → 60
Calls
4 calls:
13.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
6.0ms
(+.f64 x (+.f64 x eps))
11.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

series38.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(*.f64 -2 (*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))))
4.0ms
(+.f64 x (+.f64 x eps))
13.0ms
(*.f64 (sin.f64 (/.f64 eps 2)) (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)))
7.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify58.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04907890
14907890

prune78.0ms

Filtered
53 candidates to 72 candidates (-35.8%)
Pruning

14 alts after pruning (13 fresh and 1 done)

PrunedKeptTotal
New63972
Fresh448
Picked011
Done000
Total671481

Merged error: 0.4b

Counts
81 → 14

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
0.6b
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
0.6b
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
2.4b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod_binary64
*-un-lft-identity_binary64 add-cube-cbrt_binary64 add-sqr-sqrt_binary64
add-log-exp_binary64 pow1_binary64 add-exp-log_binary64 add-cbrt-cube_binary64
pow1/3_binary64
Counts
4 → 40
Calls
4 calls:
2.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
2.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
2.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

series58.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
18.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
17.0ms
(cbrt.f64 (sin.f64 (/.f64 eps 2)))
6.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))

simplify33.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
05501442

prune82.0ms

Filtered
45 candidates to 52 candidates (-15.6%)
Pruning

14 alts after pruning (12 fresh and 2 done)

PrunedKeptTotal
New51152
Fresh11112
Picked011
Done011
Total521466

Merged error: 0.4b

Counts
66 → 14

localize19.0ms

Local error

Found 4 expressions with local error:

2.4b
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
7.4b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
7.4b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
7.4b
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity_binary64 add-log-exp_binary64 pow1_binary64 add-cube-cbrt_binary64 add-exp-log_binary64 add-cbrt-cube_binary64 add-sqr-sqrt_binary64
cbrt-div_binary64 pow1/3_binary64 sin-mult_binary64 cbrt-prod_binary64
Counts
4 → 37
Calls
4 calls:
8.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
9.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
9.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
9.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))

series102.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2))
31.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
33.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))
31.0ms
(cbrt.f64 (*.f64 (sin.f64 (/.f64 (+.f64 x (+.f64 x eps)) 2)) (sin.f64 (/.f64 eps 2))))

simplify56.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 0 (48.0ms)

IterNodesCost
05057721

prune66.0ms

Filtered
42 candidates to 49 candidates (-16.7%)
Pruning

14 alts after pruning (11 fresh and 3 done)

PrunedKeptTotal
New48149
Fresh11011
Picked011
Done022
Total491463

Merged error: 0.4b

Counts
63 → 14

regimes221.0ms

Accuracy

97.8% (0.3b remaining)

Error of 0.7b against oracle of 0.4b and baseline of 15.2b

bsearch75.0ms

Steps
ItersRangePoint
9
9.548151851389376e-12
4.798688009906535e-06
4.586953767858916e-06
8
-0.0045913724923496105
-1.0278274854661441e-05
-8.75008903732586e-05

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07838
17838

end0.0ms

sample3.1s

Algorithm
intervals
Results
1.8s4447×body1280valid
539.0ms572×body2560valid
460.0ms1880×body640valid
130.0ms722×body320valid
37.0ms304×body160valid
5.0ms75×body80valid

Profiling

Loading profile data...