Details

Time bar (total: 3.5s)

sample29.0ms

Algorithm
intervals
Results
12.0ms118×pre10240exit
4.0ms256×body80valid
2.0ms138×pre80true

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1123
2123

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.0b

localize4.0ms

Local error

Found 2 expressions with local error:

0.8b
(/ x0 (- 1.0 x1))
7.4b
(- (/ x0 (- 1.0 x1)) x0)

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
106×add-sqr-sqrt
103×*-un-lft-identity
76×times-frac
69×add-cube-cbrt
63×prod-diff
21×fma-neg
18×difference-of-squares
17×distribute-lft-out--
10×associate-/r/
flip3-- flip--
associate-/r* div-inv
add-exp-log add-cbrt-cube add-log-exp
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num
Counts
2 → 140
Calls
2 calls:
10.0ms
(/ x0 (- 1.0 x1))
64.0ms
(- (/ x0 (- 1.0 x1)) x0)

series70.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(/ x0 (- 1.0 x1))
40.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify53.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04211434
11527945
25001894

prune144.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 5.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (cbrt x0) (- 1.0 x1))
6.3b
(fma (/ (* (cbrt x0) (cbrt x0)) 1) (/ (cbrt x0) (- 1.0 x1)) (- x0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt *-un-lft-identity
30×times-frac
21×add-cube-cbrt
18×cbrt-prod
distribute-lft-out-- difference-of-squares
associate-/l*
associate-/r*
add-exp-log
add-cbrt-cube
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- fma-udef div-inv
Counts
2 → 67
Calls
2 calls:
15.0ms
(/ (cbrt x0) (- 1.0 x1))
0.0ms
(fma (/ (* (cbrt x0) (cbrt x0)) 1) (/ (cbrt x0) (- 1.0 x1)) (- x0))

series154.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(/ (cbrt x0) (- 1.0 x1))
81.0ms
(fma (/ (* (cbrt x0) (cbrt x0)) 1) (/ (cbrt x0) (- 1.0 x1)) (- x0))

simplify40.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0307589
11046558
25001548

prune166.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 4.6b

localize20.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (cbrt x0) (- 1.0 x1))
0.5b
(/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0))
0.7b
(pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1)))
6.3b
(log (/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0)))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
102×times-frac
99×add-sqr-sqrt *-un-lft-identity
73×add-cube-cbrt
36×pow-unpow
33×cbrt-prod
27×unpow-prod-down
25×log-prod
13×associate-/l* distribute-lft-out-- difference-of-squares
add-exp-log sqr-pow
pow-pow associate-/r*
exp-prod div-exp add-cbrt-cube
pow1
expm1-log1p-u rem-log-exp associate-/r/ log1p-expm1-u div-inv add-log-exp
pow-to-exp pow-exp
cbrt-undiv flip3-- frac-2neg clear-num flip--
log-div log-pow
Counts
4 → 203
Calls
4 calls:
12.0ms
(/ (cbrt x0) (- 1.0 x1))
17.0ms
(/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0))
18.0ms
(pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1)))
8.0ms
(log (/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0)))

series438.0ms

Counts
4 → 12
Calls
4 calls:
77.0ms
(/ (cbrt x0) (- 1.0 x1))
117.0ms
(/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0))
112.0ms
(pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1)))
132.0ms
(log (/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0)))

simplify92.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
09292386
136322269
250022250

prune662.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 4.3b

localize18.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (cbrt x0) (- 1.0 x1))
5.7b
(+ (log (/ 1 (sqrt (exp x0)))) (fma (/ (cbrt x0) (- 1.0 x1)) (pow x0 2/3) (log (/ 1 (sqrt (exp x0))))))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity
50×add-sqr-sqrt
48×times-frac
36×add-cube-cbrt
22×associate-+l+ log-prod
18×cbrt-prod
11×fma-def
sqrt-prod log-pow
distribute-lft-out-- difference-of-squares
pow1 pow-flip associate-/l*
associate-/r*
add-exp-log sqrt-pow1
exp-prod add-cbrt-cube add-log-exp
expm1-log1p-u associate-/r/ log1p-expm1-u div-inv distribute-lft-out
cbrt-undiv +-commutative associate-+l- log-div associate-+r+ flip3-- frac-2neg flip3-+ pow1/2 div-exp clear-num sum-log flip-- flip-+ fma-udef inv-pow
Counts
2 → 107
Calls
2 calls:
12.0ms
(/ (cbrt x0) (- 1.0 x1))
40.0ms
(+ (log (/ 1 (sqrt (exp x0)))) (fma (/ (cbrt x0) (- 1.0 x1)) (pow x0 2/3) (log (/ 1 (sqrt (exp x0))))))

series206.0ms

Counts
2 → 6
Calls
2 calls:
78.0ms
(/ (cbrt x0) (- 1.0 x1))
128.0ms
(+ (log (/ 1 (sqrt (exp x0)))) (fma (/ (cbrt x0) (- 1.0 x1)) (pow x0 2/3) (log (/ 1 (sqrt (exp x0))))))

simplify49.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04991161
116731108
250021054

prune376.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 3.4b

regimes61.0ms

Accuracy

0% (2.1b remaining)

Error of 5.4b against oracle of 3.3b and baseline of 5.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03040
13040

end0.0ms

sample707.0ms

Algorithm
intervals
Results
344.0ms3991×pre10240exit
124.0ms8000×body80valid
55.0ms4009×pre80true