Details

Time bar (total: 5.8s)

sample115.0ms

Algorithm
intervals
Results
32.0ms321×body80valid
27.0ms42×body1280valid
21.0ms50×body640valid
7.0ms73×body80overflowed
6.0ms20×body320valid
2.0ms11×body160valid

simplify36.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (34.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 28.5b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
72×exp-neg frac-times
54×neg-sub0 exp-diff
40×associate-*l/
36×associate-*r/
29×flip3-- flip3-+ flip-- flip-+
18×un-div-inv
14×add-sqr-sqrt *-un-lft-identity
associate-*l*
pow1 add-exp-log add-cube-cbrt add-cbrt-cube add-log-exp
associate-*r*
pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out unswap-sqr
+-commutative sub-neg diff-log sum-log distribute-lft-out-- difference-of-squares
Counts
4 → 148
Calls
4 calls:
6.0ms
(+ 1.0 (/ 1.0 eps))
6.0ms
(* (+ 1.0 eps) x)
7.0ms
(* (- 1.0 eps) x)
18.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series280.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ 1.0 (/ 1.0 eps))
26.0ms
(* (+ 1.0 eps) x)
28.0ms
(* (- 1.0 eps) x)
195.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify144.0ms

Algorithm
egg-herbie
Counts
160 → 160
Iterations

Useful iterations: 2 (112.0ms)

IterNodesCost
012033643
146293381
250013372

prune345.0ms

Filtered
160 candidates to 78 candidates (48.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1582160
Fresh000
Picked101
Done000
Total1592161

Merged error: 0.6b

Counts
161 → 2

localize14.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)))

rewrite15.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)))

series77.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(* 0.6666666666666667 (pow x 3))
38.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

prune89.0ms

Filtered
51 candidates to 31 candidates (60.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New50151
Fresh011
Picked011
Done000
Total50353

Merged error: 0.6b

Counts
53 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.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:
8.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))))

series488.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
157.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
146.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
148.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify136.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0252983
1905918
24257836
35002836

prune234.0ms

Filtered
65 candidates to 59 candidates (90.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New63265
Fresh011
Picked101
Done011
Total64468

Merged error: 0.6b

Counts
68 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

6.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
6.4b
(- (+ (* 0.1111111111111111 (pow x 3)) 1) (* 0.16666666666666666 (pow x 2)))
10.9b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
10.9b
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
14×add-log-exp
cbrt-prod add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div flip3-- diff-log add-cbrt-cube flip--
sub-neg pow1/3 associate--l+ sum-log
Counts
4 → 54
Calls
4 calls:
8.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
11.0ms
(- (+ (* 0.1111111111111111 (pow x 3)) 1) (* 0.16666666666666666 (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))))

series374.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
43.0ms
(- (+ (* 0.1111111111111111 (pow x 3)) 1) (* 0.16666666666666666 (pow x 2)))
150.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))
144.0ms
(cbrt (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify41.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0336862
11254800
25001746

prune256.0ms

Filtered
66 candidates to 52 candidates (78.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New65166
Fresh022
Picked101
Done011
Total66470

Merged error: 0.6b

Counts
70 → 4

regimes93.0ms

Accuracy

96.5% (0.6b remaining)

Error of 1.0b against oracle of 0.4b and baseline of 16.9b

bsearch178.0ms

Steps
ItersRangePoint
10
8.159003009805276e-07
18724.121991280714
21.9973522139557

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04725
15325
25325

end0.0ms

sample2.7s

Algorithm
intervals
Results
880.0ms1708×body1280valid
744.0ms10224×body80valid
398.0ms1243×body640valid
137.0ms615×body320valid
136.0ms1850×body80overflowed
47.0ms333×body160valid