Details

Time bar (total: 3.7s)

sample32.0ms

Algorithm
intervals
Results
14.0ms149×pre10240exit
5.0ms107×pre80true
4.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0103
1123
2123

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.9b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite56.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:
5.0ms
(/ x0 (- 1.0 x1))
39.0ms
(- (/ x0 (- 1.0 x1)) x0)

series79.0ms

Counts
2 → 6
Calls
2 calls:
35.0ms
(/ x0 (- 1.0 x1))
44.0ms
(- (/ x0 (- 1.0 x1)) x0)

simplify62.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
04211434
11527945
25001894

prune157.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 4.8b

localize11.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (sqrt x0) (- (sqrt 1.0) (sqrt x1)))
6.5b
(fma (/ (sqrt x0) (+ (sqrt 1.0) (sqrt x1))) (/ (sqrt x0) (- (sqrt 1.0) (sqrt x1))) (- x0))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
85×add-sqr-sqrt
72×sqrt-prod
57×*-un-lft-identity
54×times-frac
29×add-cube-cbrt
28×difference-of-squares
14×distribute-lft-out--
associate-/r*
associate-/l*
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 → 95
Calls
2 calls:
12.0ms
(/ (sqrt x0) (- (sqrt 1.0) (sqrt x1)))
0.0ms
(fma (/ (sqrt x0) (+ (sqrt 1.0) (sqrt x1))) (/ (sqrt x0) (- (sqrt 1.0) (sqrt x1))) (- x0))

series526.0ms

Counts
2 → 6
Calls
2 calls:
174.0ms
(/ (sqrt x0) (- (sqrt 1.0) (sqrt x1)))
351.0ms
(fma (/ (sqrt x0) (+ (sqrt 1.0) (sqrt x1))) (/ (sqrt x0) (- (sqrt 1.0) (sqrt x1))) (- x0))

simplify43.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
03631223
113061140
250021106

prune183.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 4.8b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite9.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:
6.0ms
(/ (cbrt x0) (- 1.0 x1))
0.0ms
(fma (/ (* (cbrt x0) (cbrt x0)) 1) (/ (cbrt x0) (- 1.0 x1)) (- x0))

series186.0ms

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

simplify37.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0307589
11046558
25001548

prune187.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 4.5b

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (cbrt x0) (- 1.0 x1))
0.5b
(/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0))
0.8b
(pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1)))
6.5b
(log (/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0)))

rewrite41.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:
6.0ms
(/ (cbrt x0) (- 1.0 x1))
9.0ms
(/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0))
9.0ms
(pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1)))
5.0ms
(log (/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0)))

series509.0ms

Counts
4 → 12
Calls
4 calls:
88.0ms
(/ (cbrt x0) (- 1.0 x1))
135.0ms
(/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0))
134.0ms
(pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1)))
152.0ms
(log (/ (pow (exp (pow x0 2/3)) (/ (cbrt x0) (- 1.0 x1))) (exp x0)))

simplify85.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
09292386
136322269
250022250

prune671.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 4.2b

regimes84.0ms

Accuracy

38.4% (1.3b remaining)

Error of 5.5b against oracle of 4.2b and baseline of 6.4b

bsearch19.0ms

Steps
ItersRangePoint
4
1.855
2.985
1.8749218749999998

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03126
13126

end0.0ms

sample704.0ms

Algorithm
intervals
Results
370.0ms3956×pre10240exit
137.0ms8000×body80valid
62.0ms4044×pre80true