Details

Time bar (total: 8.4s)

sample134.0ms

Algorithm
intervals
Results
42.0ms54×body1280valid
36.0ms310×body80valid
22.0ms48×body640valid
8.0ms62×body80overflowed
7.0ms21×body320valid
2.0msbody160valid

simplify37.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 4 (36.0ms)

IterNodesCost
04616
112216
234716
3129516
4500115

prune7.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.9b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite304.0ms

Algorithm
rewrite-expression-head
Rules
122×*-un-lft-identity
106×times-frac
96×add-sqr-sqrt
36×add-cube-cbrt
27×distribute-lft-out--
18×difference-of-squares
10×add-cbrt-cube distribute-lft-out associate-/l*
add-exp-log
pow1 associate-/r* add-log-exp
associate-*l*
div-inv associate-/l/
flip3-- div-sub associate-*r* flip--
cbrt-undiv frac-2neg div-exp associate-*l/ clear-num
sub-neg distribute-rgt-out-- flip3-+ diff-log pow-prod-down prod-exp *-commutative frac-sub cbrt-unprod flip-+ sub-div associate--r- unswap-sqr
Counts
4 → 138
Calls
4 calls:
10.0ms
(* (- 1.0 eps) x)
26.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
20.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
238.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

series304.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (- 1.0 eps) x)
50.0ms
(/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x)))
41.0ms
(/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x)))
184.0ms
(- (/ (/ (+ 1.0 (/ 1.0 eps)) (exp (* (- 1.0 eps) x))) 2.0) (/ (/ (- (/ 1.0 eps) 1.0) (exp (* (+ 1.0 eps) x))) 2.0))

simplify65.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
06841993
121761881
250021880

prune586.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(* 0.5 (pow x 2))
0.0b
(* 0.33333333333333337 (pow x 3))
6.6b
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

rewrite43.0ms

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

series103.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(* 0.5 (pow x 2))
39.0ms
(* 0.33333333333333337 (pow x 3))
40.0ms
(- (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))

simplify46.0ms

Algorithm
egg-herbie
Counts
81 → 81
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0281367
11210327
25001314

prune167.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3)
0.1b
(pow (* 0.5 (pow x 2)) 3)
10.0b
(- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3))
11.2b
(/ (- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

rewrite230.0ms

Algorithm
rewrite-expression-head
Rules
76×add-sqr-sqrt
40×difference-of-squares
39×times-frac
36×*-un-lft-identity
32×sqr-pow
26×add-cube-cbrt
14×unpow-prod-down cube-prod
13×add-exp-log associate-/l*
10×add-cbrt-cube
pow1 pow-unpow pow-exp add-log-exp
difference-cubes distribute-lft-out--
pow-to-exp prod-exp associate-/r* rem-cube-cbrt
cube-div cube-mult flip3-- pow-pow flip3-+ unpow3 associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv sub-neg frac-2neg diff-log div-sub div-exp clear-num cbrt-unprod div-inv
Counts
4 → 142
Calls
4 calls:
6.0ms
(pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3)
3.0ms
(pow (* 0.5 (pow x 2)) 3)
59.0ms
(- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3))
154.0ms
(/ (- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

series418.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3)
48.0ms
(pow (* 0.5 (pow x 2)) 3)
103.0ms
(- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3))
146.0ms
(/ (- (pow (+ (* 0.33333333333333337 (pow x 3)) 1.0) 3) (pow (* 0.5 (pow x 2)) 3)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

simplify127.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (95.0ms)

IterNodesCost
06473564
131033414
250033410

prune550.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize28.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
0.0b
(* 0.33333333333333337 (pow x 3))
0.0b
(* 0.33333333333333337 (pow x 3))
12.2b
(/ (+ (* 0.20833333333333337 (pow x 6)) (+ (* 1.0 (pow x 3)) 1.0)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt
27×associate-*r*
22×add-cube-cbrt *-un-lft-identity
18×add-exp-log
12×add-cbrt-cube
times-frac associate-*l* unswap-sqr
unpow-prod-down flip3-+ cube-prod flip-+
prod-exp
pow1
frac-times add-log-exp sqr-pow
associate-/r* *-commutative cbrt-unprod associate-/l*
cube-mult pow-to-exp unpow3 associate-*r/ associate-*l/ pow-exp associate-/r/ associate-/l/
cbrt-undiv distribute-rgt-in frac-2neg distribute-lft-in div-exp pow-prod-down clear-num div-inv
Counts
4 → 121
Calls
4 calls:
63.0ms
(* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
7.0ms
(* 0.33333333333333337 (pow x 3))
9.0ms
(* 0.33333333333333337 (pow x 3))
65.0ms
(/ (+ (* 0.20833333333333337 (pow x 6)) (+ (* 1.0 (pow x 3)) 1.0)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

series298.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2))))
37.0ms
(* 0.33333333333333337 (pow x 3))
42.0ms
(* 0.33333333333333337 (pow x 3))
141.0ms
(/ (+ (* 0.20833333333333337 (pow x 6)) (+ (* 1.0 (pow x 3)) 1.0)) (+ (* (+ (* 0.33333333333333337 (pow x 3)) 1.0) (+ (+ (* 0.33333333333333337 (pow x 3)) 1.0) (* 0.5 (pow x 2)))) (* (pow x 4) (* 0.5 0.5))))

simplify112.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
06371731
135691613
250011612

prune527.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.5b

regimes107.0ms

Accuracy

96.2% (0.6b remaining)

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

bsearch183.0ms

Steps
ItersRangePoint
9
0.8894813891870064
116625.3239015423
1.6256722709107834

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04328
14328

end0.0ms

sample3.8s

Algorithm
intervals
Results
1.3s1780×body1280valid
1.2s9970×body80valid
580.0ms1240×body640valid
216.0ms1913×body80overflowed
202.0ms627×body320valid
69.0ms316×body160valid