Details

Time bar (total: 2.7s)

sample31.0ms

Algorithm
intervals
Results
12.0ms74×body1280valid
6.0ms53×body640valid
3.0ms195×body80valid
2.0ms27×body320valid
0.0ms11×body160valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1133
2153
3153

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 40.0b

localize4.0ms

Local error

Found 1 expressions with local error:

3.3b
(- (exp x) 1.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-log-exp
pow1 add-exp-log add-cube-cbrt sub-neg flip3-- diff-log add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
Counts
1 → 14
Calls
1 calls:
4.0ms
(- (exp x) 1.0)

series18.0ms

Counts
1 → 3
Calls
1 calls:
18.0ms
(- (exp x) 1.0)

simplify54.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 2 (7.0ms)

IterNodesCost
08172
118567
249966
3139966
4500266

prune34.0ms

Filtered
17 candidates to 12 candidates (70.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
0.0b
(* (pow x 2) (+ (* x 1/6) 1/2))
0.3b
(* x 1/6)
2.8b
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
17×add-cube-cbrt *-un-lft-identity
13×add-exp-log
11×associate-*l*
10×add-cbrt-cube
times-frac
pow1 associate-*r* add-log-exp
unswap-sqr
unpow-prod-down prod-exp
flip3-+ associate-/r* flip-+ associate-/l*
distribute-rgt-in associate-+l+ distribute-lft-in associate-*r/ *-commutative cbrt-unprod associate-/l/ unpow2 sqr-pow
cbrt-undiv +-commutative pow-to-exp frac-2neg div-exp pow-prod-down pow-exp clear-num sum-log div-inv
Counts
4 → 91
Calls
4 calls:
8.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
7.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
3.0ms
(* x 1/6)
13.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

series155.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* (pow x 2) (+ (* x 1/6) 1/2)) x)
67.0ms
(* (pow x 2) (+ (* x 1/6) 1/2))
13.0ms
(* x 1/6)
43.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)

simplify65.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0390685
12030628
25002628

prune198.0ms

Filtered
103 candidates to 72 candidates (69.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

2.8b
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
2.8b
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
11.1b
(sqrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
11.1b
(sqrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
40×add-sqr-sqrt
38×times-frac
34×add-cube-cbrt *-un-lft-identity
26×sqrt-prod
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l*
rem-sqrt-square div-inv associate-/l/ add-log-exp
cbrt-undiv frac-2neg sqrt-pow1 flip3-+ pow1/2 sqrt-div div-exp clear-num flip-+
Counts
4 → 108
Calls
4 calls:
10.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
10.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
7.0ms
(sqrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
7.0ms
(sqrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

series295.0ms

Counts
4 → 12
Calls
4 calls:
49.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
49.0ms
(/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x)
99.0ms
(sqrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))
98.0ms
(sqrt (/ (+ (* (pow x 2) (+ (* x 1/6) 1/2)) x) x))

simplify43.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
02491314
19781204
250011184

prune348.0ms

Filtered
120 candidates to 98 candidates (81.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
26×add-sqr-sqrt
24×add-cube-cbrt
18×exp-prod
16×times-frac
11×pow1
add-cbrt-cube add-log-exp
add-exp-log distribute-lft-out difference-of-squares
pow-prod-down associate-/r* pow-sqr pow-prod-up associate-/l*
swap-sqr associate-*r* associate-*l*
flip3-- flip3-+ associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative pow2 sub-neg frac-2neg pow-plus diff-log div-sub div-exp prod-exp clear-num sum-log *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 100
Calls
4 calls:
4.0ms
(+ (exp x) 1.0)
11.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
6.0ms
(* (exp x) (exp x))
6.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

series98.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(+ (exp x) 1.0)
47.0ms
(/ (- (* (exp x) (exp x)) (* 1.0 1.0)) (+ (exp x) 1.0))
13.0ms
(* (exp x) (exp x))
30.0ms
(- (* (exp x) (exp x)) (* 1.0 1.0))

simplify59.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0376823
11712737
25001719

prune192.0ms

Filtered
112 candidates to 78 candidates (69.6%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes23.0ms

Accuracy

99% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 21.3b

bsearch32.0ms

Steps
ItersRangePoint
10
-402.67606408878214
-8.303200230518375e-17
-0.00019132623240596211

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02615
12615

end0.0ms

sample879.0ms

Algorithm
intervals
Results
392.0ms2337×body1280valid
177.0ms1670×body640valid
98.0ms5512×body80valid
60.0ms786×body320valid
17.0ms391×body160valid