Details

Time bar (total: 9.4s)

sample99.0ms

Algorithm
intervals
Results
29.0ms58×body1280valid
23.0ms58×body10240exit
16.0ms295×body80valid
8.0ms33×body640valid
4.0ms25×body320valid
0.0msbody160valid

simplify35.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (33.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune6.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.0b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
81×frac-sub
76×exp-neg frac-times
57×neg-sub0 exp-diff
42×associate-*l/
38×associate-*r/
32×flip3-- flip--
28×flip3-+ flip-+
23×add-sqr-sqrt
19×un-div-inv
16×*-un-lft-identity
15×associate-*l*
10×pow1 add-cube-cbrt add-cbrt-cube
add-exp-log associate-*r*
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
distribute-lft-out--
sub-neg times-frac diff-log distribute-lft-out
Counts
4 → 166
Calls
4 calls:
14.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
7.0ms
(* (- 1.0 eps) x)
7.0ms
(* (+ 1.0 eps) x)
20.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

series313.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x))))
30.0ms
(* (- 1.0 eps) x)
31.0ms
(* (+ 1.0 eps) x)
199.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (- (/ 1.0 eps) 1.0) (exp (- (* (+ 1.0 eps) x)))))

simplify146.0ms

Algorithm
egg-herbie
Counts
178 → 178
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
012513880
147833607
250023607

prune396.0ms

Filtered
178 candidates to 90 candidates (50.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1762178
Fresh000
Picked101
Done000
Total1772179

Merged error: 0.2b

Counts
179 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite20.0ms

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

series168.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(+ (* 0.6666666666666667 (pow x 3)) 2.0)
38.0ms
(* 0.6666666666666667 (pow x 3))
46.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))

simplify44.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0251336
11024311
25002307

prune123.0ms

Filtered
65 candidates to 41 candidates (63.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New63265
Fresh011
Picked101
Done000
Total64367

Merged error: 0.2b

Counts
67 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 0.6666666666666667 (pow x 3))
0.5b
(exp (log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))))
8.4b
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
12.2b
(log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

rewrite35.0ms

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

series223.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* 0.6666666666666667 (pow x 3))
46.0ms
(exp (log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))))
41.0ms
(- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2)))
95.0ms
(log (- (+ (* 0.6666666666666667 (pow x 3)) 2.0) (* 1.0 (pow x 2))))

simplify47.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0330691
11352626
25001602

prune216.0ms

Filtered
88 candidates to 58 candidates (65.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh112
Picked011
Done000
Total88391

Merged error: 0.2b

Counts
91 → 3

localize27.0ms

Local error

Found 4 expressions with local error:

0.4b
(cbrt (- (/ 1.0 eps) 1.0))
0.4b
(cbrt (- (/ 1.0 eps) 1.0))
0.4b
(* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0)))
18.9b
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0))) (* (cbrt (- (/ 1.0 eps) 1.0)) (exp (- (* (+ 1.0 eps) x))))))

rewrite252.0ms

Algorithm
rewrite-expression-head
Rules
1692×frac-times
1582×cbrt-div
801×frac-sub
792×flip3-- flip--
680×exp-neg
603×associate-*r/
594×associate-*l/
510×neg-sub0 exp-diff
267×flip3-+ flip-+
170×un-div-inv
52×add-sqr-sqrt
44×cbrt-prod
32×*-un-lft-identity
14×add-cube-cbrt
12×difference-of-squares
11×pow1 swap-sqr
associate-*r* associate-*l*
pow1/3 distribute-lft-out--
add-exp-log times-frac add-log-exp
add-cbrt-cube unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 sub-neg pow-plus diff-log prod-exp *-commutative cbrt-unprod
Counts
4 → 904
Calls
4 calls:
6.0ms
(cbrt (- (/ 1.0 eps) 1.0))
6.0ms
(cbrt (- (/ 1.0 eps) 1.0))
18.0ms
(* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0)))
61.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0))) (* (cbrt (- (/ 1.0 eps) 1.0)) (exp (- (* (+ 1.0 eps) x))))))

series882.0ms

Counts
4 → 12
Calls
4 calls:
283.0ms
(cbrt (- (/ 1.0 eps) 1.0))
152.0ms
(cbrt (- (/ 1.0 eps) 1.0))
205.0ms
(* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0)))
241.0ms
(- (* (+ 1.0 (/ 1.0 eps)) (exp (- (* (- 1.0 eps) x)))) (* (* (cbrt (- (/ 1.0 eps) 1.0)) (cbrt (- (/ 1.0 eps) 1.0))) (* (cbrt (- (/ 1.0 eps) 1.0)) (exp (- (* (+ 1.0 eps) x))))))

simplify511.0ms

Algorithm
egg-herbie
Counts
916 → 916
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
0500257830

prune2.6s

Filtered
916 candidates to 357 candidates (39.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New9160916
Fresh011
Picked011
Done011
Total9163919

Merged error: 0.2b

Counts
919 → 3

regimes75.0ms

Accuracy

96.7% (0.5b remaining)

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

bsearch127.0ms

Steps
ItersRangePoint
8
108.10498260228141
57946.35045805707
163.11371107757716

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05434
16234
26234

end0.0ms

sample3.0s

Algorithm
intervals
Results
863.0ms1999×body10240exit
770.0ms1693×body1280valid
579.0ms10017×body80valid
336.0ms1279×body640valid
112.0ms644×body320valid
33.0ms294×body160valid

Profiling

Loading profile data...