Details

Time bar (total: 7.8s)

sample106.0ms

Algorithm
intervals
Results
30.0ms61×body1280valid
23.0ms340×body80valid
12.0ms41×body640valid
8.0ms63×body80overflowed
3.0ms17×body320valid
2.0ms18×body160valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (35.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 31.6b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 eps) x)
0.0b
(exp (neg (* (+ 1.0 eps) x)))
0.0b
(exp (neg (* (- 1.0 eps) x)))
3.4b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
74×exp-neg
72×frac-times
56×neg-sub0 exp-diff
38×associate-*l/
36×associate-*r/
28×flip3-- flip3-+ flip-- flip-+
18×un-div-inv
12×exp-prod
10×add-sqr-sqrt *-un-lft-identity add-log-exp
add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
associate-*l* rem-exp-log
associate-*r*
distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in neg-log
sub-neg diff-log pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
Counts
4 → 148
Calls
4 calls:
6.0ms
(* (+ 1.0 eps) x)
3.0ms
(exp (neg (* (+ 1.0 eps) x)))
4.0ms
(exp (neg (* (- 1.0 eps) x)))
17.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

series338.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(* (+ 1.0 eps) x)
32.0ms
(exp (neg (* (+ 1.0 eps) x)))
36.0ms
(exp (neg (* (- 1.0 eps) x)))
237.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (neg (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (neg (* (+ 1.0 eps) x)))))

simplify143.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (107.0ms)

IterNodesCost
011773664
143803403
250013392

prune1.1s

Filtered
160 candidates to 81 candidates (49.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1564160
Fresh000
Picked101
Done000
Total1574161

Merged error: 0.1b

Counts
161 → 4

localize10.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
6.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
12×associate-*r*
add-exp-log add-log-exp
add-cube-cbrt *-un-lft-identity
unpow-prod-down cube-prod add-cbrt-cube unswap-sqr
associate-*l* prod-exp
pow1 diff-log sqr-pow
cube-mult pow-to-exp sub-neg flip3-- unpow3 pow-exp associate--l+ sum-log *-commutative flip-- cbrt-unprod
Counts
2 → 45
Calls
2 calls:
6.0ms
(* 0.6666666666666667 (pow x 3))
7.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

series98.0ms

Counts
2 → 6
Calls
2 calls:
45.0ms
(* 0.6666666666666667 (pow x 3))
54.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify35.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0207270
1894242
25002238

prune370.0ms

Filtered
51 candidates to 31 candidates (39.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New50151
Fresh033
Picked011
Done000
Total50555

Merged error: 0.1b

Counts
55 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

6.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
10.2b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.2b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.2b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite28.0ms

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

series613.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
182.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
191.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
187.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify132.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0252983
1905918
24255839
35002839

prune385.0ms

Filtered
65 candidates to 59 candidates (9.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New64165
Fresh033
Picked101
Done011
Total65570

Merged error: 0.1b

Counts
70 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

10.2b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.2b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.2b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.2b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-- pow1/3 add-cbrt-cube flip-- add-log-exp
Counts
4 → 52
Calls
4 calls:
7.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
7.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

series733.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
186.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
181.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
184.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify118.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
02281104
18311036
23714940
35002940

prune437.0ms

Filtered
64 candidates to 64 candidates (0.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New63164
Fresh033
Picked101
Done011
Total64569

Merged error: 0.1b

Counts
69 → 5

regimes130.0ms

Accuracy

94.1% (1.0b remaining)

Error of 1.4b against oracle of 0.4b and baseline of 16.6b

bsearch144.0ms

Steps
ItersRangePoint
8
1.636599296017768e-13
3.6754866301858214e-10
3.6248321339477995e-10

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05025
15825
25825

end0.0ms

sample2.7s

Algorithm
intervals
Results
856.0ms1735×body1280valid
673.0ms9876×body80valid
395.0ms1305×body640valid
134.0ms644×body320valid
128.0ms1948×body80overflowed
43.0ms327×body160valid

Profiling

Loading profile data...