Details

Time bar (total: 4.7s)

sample20.0ms

Algorithm
intervals
Results
6.0ms54×body1280valid
3.0ms41×body640valid
3.0ms125×body80valid
1.0ms19×body320valid
1.0ms17×body160valid

simplify21.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.7b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
5.2b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
11.0ms
(/ (+ x 1.0) (- x 1.0))
31.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series210.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ x (+ x 1.0))
44.0ms
(/ (+ x 1.0) (- x 1.0))
131.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0392760
11379726
25001716

prune218.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
0.2b
(/ 3.0 (pow x 3))
0.3b
(/ (- 1.0) (pow x 2))
8.2b
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

rewrite170.0ms

Algorithm
rewrite-expression-head
Rules
143×times-frac
120×add-sqr-sqrt
105×*-un-lft-identity
78×add-cube-cbrt
48×unpow-prod-down
29×distribute-rgt-neg-in
27×distribute-lft-neg-in
20×associate-/r*
18×sqr-pow
15×difference-of-squares
14×add-exp-log
13×cube-prod associate-/l* unpow2
11×add-log-exp
10×distribute-lft-out--
neg-mul-1
add-cbrt-cube
div-exp
frac-sub
pow1 cube-mult diff-log unpow3
sub-neg flip3-- flip--
cbrt-undiv associate--l- neg-sub0 pow-to-exp frac-2neg div-sub pow-exp associate--l+ clear-num div-inv
distribute-frac-neg
Counts
4 → 234
Calls
4 calls:
58.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
5.0ms
(/ 3.0 (pow x 3))
7.0ms
(/ (- 1.0) (pow x 2))
90.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

series169.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(- (/ (- 1.0) (pow x 2)) (/ 3.0 x))
36.0ms
(/ 3.0 (pow x 3))
30.0ms
(/ (- 1.0) (pow x 2))
32.0ms
(- (- (/ (- 1.0) (pow x 2)) (/ 3.0 x)) (/ 3.0 (pow x 3)))

simplify95.0ms

Algorithm
egg-herbie
Counts
246 → 246
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07381754
134481596
250011578

prune424.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- x 1.0))
0.3b
(cbrt (- x 1.0))
0.3b
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
22.2b
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

rewrite133.0ms

Algorithm
rewrite-expression-head
Rules
67×add-sqr-sqrt
43×*-un-lft-identity
42×cbrt-prod
21×times-frac
16×cbrt-div difference-of-squares
14×add-cube-cbrt
11×pow1 distribute-lft-out--
10×swap-sqr
flip3-- flip--
pow1/3 associate-*r* associate-*l*
add-exp-log add-log-exp
frac-times add-cbrt-cube unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 sub-neg pow-plus diff-log prod-exp *-commutative frac-sub cbrt-unprod distribute-lft-out
Counts
4 → 112
Calls
4 calls:
3.0ms
(cbrt (- x 1.0))
3.0ms
(cbrt (- x 1.0))
11.0ms
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
111.0ms
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

series522.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(cbrt (- x 1.0))
111.0ms
(cbrt (- x 1.0))
127.0ms
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
181.0ms
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

simplify60.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05401361
118011261
250021191

prune310.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (- x 1.0))
0.3b
(cbrt (- x 1.0))
11.0b
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (/ (* (cbrt (- x 1.0)) (cbrt (- (* x x) (* 1.0 1.0)))) (cbrt (+ x 1.0)))) (cbrt (- x 1.0))))
14.5b
(cbrt (- (* x x) (* 1.0 1.0)))

rewrite356.0ms

Algorithm
rewrite-expression-head
Rules
48×add-sqr-sqrt
22×*-un-lft-identity
21×times-frac
18×cbrt-prod
13×difference-of-squares
add-cube-cbrt
cbrt-div add-log-exp
distribute-lft-out--
pow1 add-exp-log flip3-- add-cbrt-cube flip--
pow1/3
sub-neg diff-log frac-sub distribute-lft-out
Counts
4 → 70
Calls
4 calls:
3.0ms
(cbrt (- x 1.0))
3.0ms
(cbrt (- x 1.0))
343.0ms
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (/ (* (cbrt (- x 1.0)) (cbrt (- (* x x) (* 1.0 1.0)))) (cbrt (+ x 1.0)))) (cbrt (- x 1.0))))
4.0ms
(cbrt (- (* x x) (* 1.0 1.0)))

series775.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(cbrt (- x 1.0))
105.0ms
(cbrt (- x 1.0))
365.0ms
(- (/ x (+ x 1.0)) (/ (/ (+ x 1.0) (/ (* (cbrt (- x 1.0)) (cbrt (- (* x x) (* 1.0 1.0)))) (cbrt (+ x 1.0)))) (cbrt (- x 1.0))))
201.0ms
(cbrt (- (* x x) (* 1.0 1.0)))

simplify57.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
05731326
117951261
250011238

prune321.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes35.0ms

Accuracy

100% (0.0b remaining)

Error of 0.1b against oracle of 0.1b and baseline of 31.7b

bsearch82.0ms

Steps
ItersRangePoint
9
6.164824567421913
3268324.1998729478
12427.129501950301
9
-3875183.9477288676
-0.008763241487176904
-12879.754469549705

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03518
13518

end0.0ms

sample546.0ms

Algorithm
intervals
Results
188.0ms1754×body1280valid
110.0ms1255×body640valid
97.0ms4094×body80valid
44.0ms589×body320valid
13.0ms308×body160valid