Details

Time bar (total: 3.8s)

sample57.0ms

Algorithm
intervals
Results
30.0ms64×body2560valid
8.0ms39×body1280valid
6.0ms41×body640valid
3.0ms26×body320valid
2.0ms71×body80valid
1.0ms15×body160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0134
1214
2264
3284
4284

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 33.5b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

1.5b
(- 1.0 (cos x))
17.7b
(/ (- 1.0 (cos x)) (* x x))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt *-un-lft-identity
add-exp-log add-cbrt-cube
times-frac associate-/l*
add-cube-cbrt add-log-exp
distribute-lft-out-- difference-of-squares
pow1 cbrt-undiv flip3-- div-exp flip-- associate-/l/
sub-neg frac-2neg diff-log div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
2 → 42
Calls
2 calls:
3.0ms
(- 1.0 (cos x))
7.0ms
(/ (- 1.0 (cos x)) (* x x))

series61.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(- 1.0 (cos x))
43.0ms
(/ (- 1.0 (cos x)) (* x x))

simplify67.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0221271
1735239
22396239
35002239

prune107.0ms

Filtered
48 candidates to 34 candidates (70.8%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New39948
Fresh000
Picked011
Done000
Total391049

Merged error: 0.1b

Counts
49 → 10

localize12.0ms

Local error

Found 3 expressions with local error:

0.1b
(* 1/720 (pow x 4))
0.1b
(* 1/24 (pow x 2))
12.8b
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
15×associate-*r*
13×add-exp-log
add-cube-cbrt *-un-lft-identity
unpow-prod-down add-log-exp
add-cbrt-cube unswap-sqr
associate-*l* prod-exp
sqr-pow
pow1
pow-to-exp diff-log pow-exp *-commutative cbrt-unprod unpow2
sub-neg flip3-- associate--l+ sum-log flip--
Counts
3 → 66
Calls
3 calls:
5.0ms
(* 1/720 (pow x 4))
5.0ms
(* 1/24 (pow x 2))
7.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

series107.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(* 1/720 (pow x 4))
29.0ms
(* 1/24 (pow x 2))
42.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

simplify41.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0268347
11132316
25001310

prune157.0ms

Filtered
75 candidates to 46 candidates (61.3%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New74175
Fresh088
Picked011
Done011
Total741185

Merged error: 0.1b

Counts
85 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

12.0b
(cbrt (- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2))))
12.8b
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
12.8b
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
12.8b
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
diff-log
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log flip3-- add-cbrt-cube flip--
cbrt-prod sub-neg associate--l+ sum-log
cbrt-div
pow1/3
Counts
4 → 55
Calls
4 calls:
6.0ms
(cbrt (- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2))))
7.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
7.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
7.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

series274.0ms

Counts
4 → 12
Calls
4 calls:
142.0ms
(cbrt (- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2))))
46.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
41.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
45.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))

simplify109.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0216713
1740653
23508623
35001623

prune201.0ms

Filtered
67 candidates to 48 candidates (71.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New66167
Fresh088
Picked101
Done022
Total671178

Merged error: 0.1b

Counts
78 → 11

localize22.0ms

Local error

Found 4 expressions with local error:

12.0b
(cbrt (- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2))))
12.8b
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
12.8b
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
12.8b
(- (+ (pow 1/2 1/3) (* 1/6480 (* (pow 1/2 1/3) (pow x 4)))) (* 1/36 (* (pow 1/2 1/3) (pow x 2))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
19×add-log-exp
diff-log
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log flip3-- add-cbrt-cube flip--
cbrt-prod sub-neg associate--l+ sum-log
cbrt-div
pow1/3
Counts
4 → 55
Calls
4 calls:
10.0ms
(cbrt (- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2))))
7.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
7.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
8.0ms
(- (+ (pow 1/2 1/3) (* 1/6480 (* (pow 1/2 1/3) (pow x 4)))) (* 1/36 (* (pow 1/2 1/3) (pow x 2))))

series435.0ms

Counts
4 → 12
Calls
4 calls:
141.0ms
(cbrt (- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2))))
43.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
48.0ms
(- (+ (* 1/720 (pow x 4)) 1/2) (* 1/24 (pow x 2)))
204.0ms
(- (+ (pow 1/2 1/3) (* 1/6480 (* (pow 1/2 1/3) (pow x 4)))) (* 1/36 (* (pow 1/2 1/3) (pow x 2))))

simplify42.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0293831
11117761
25002744

prune252.0ms

Filtered
67 candidates to 48 candidates (71.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New66167
Fresh088
Picked101
Done022
Total671178

Merged error: 0.1b

Counts
78 → 11

regimes99.0ms

Accuracy

99.6% (0.1b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 31.9b

bsearch57.0ms

Steps
ItersRangePoint
6
0.018000635171863108
0.09117784756913819
0.03010910821075468
10
-1421.6155834850151
-1.485944467815708e-07
-0.03323288645356819

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample1.6s

Algorithm
intervals
Results
762.0ms1643×body2560valid
290.0ms1221×body1280valid
215.0ms1450×body640valid
97.0ms914×body320valid
79.0ms2291×body80valid
41.0ms481×body160valid