Details

Time bar (total: 8.6s)

sample35.0ms

Algorithm
intervals
Results
12.0ms53×body1280valid
6.0ms37×body640valid
6.0ms134×body80valid
3.0ms24×body320valid
1.0msbody160valid

simplify22.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: 28.8b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite152.0ms

Algorithm
rewrite-expression-head
Rules
981×*-un-lft-identity
736×times-frac
585×add-sqr-sqrt
468×prod-diff
419×add-cube-cbrt
189×distribute-lft-out
94×associate-/r/
90×distribute-lft-out--
81×difference-of-squares
47×div-inv
29×flip3-+ flip-+
20×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 596
Calls
3 calls:
7.0ms
(/ x (+ x 1.0))
12.0ms
(/ (+ x 1.0) (- x 1.0))
81.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series219.0ms

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

simplify198.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune907.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.0b
(pow (/ (+ x 1.0) (- x 1.0)) 3)
0.0b
(cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))
2.0b
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))

rewrite355.0ms

Algorithm
rewrite-expression-head
Rules
2065×*-un-lft-identity
1575×times-frac
1316×add-sqr-sqrt
1114×cbrt-prod
1098×prod-diff
949×add-cube-cbrt
524×unpow-prod-down cube-prod
392×distribute-lft-out
206×associate-/r/
179×difference-of-squares
166×distribute-lft-out--
103×div-inv
63×flip3-+ flip-+
42×flip3-- flip--
22×sqr-pow
20×cube-mult unpow3
18×fma-neg
add-exp-log add-cbrt-cube
add-log-exp
pow1 associate-/r*
expm1-log1p-u log1p-expm1-u associate-/l*
cube-div pow-unpow
cbrt-undiv cbrt-div div-exp pow-exp associate-/l/ rem-cube-cbrt
pow-to-exp sub-neg pow-pow frac-2neg pow1/3 diff-log clear-num frac-sub rem-cbrt-cube
Counts
4 → 1337
Calls
4 calls:
14.0ms
(/ (+ x 1.0) (- x 1.0))
13.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
14.0ms
(cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))
154.0ms
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))

series302.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(/ (+ x 1.0) (- x 1.0))
64.0ms
(pow (/ (+ x 1.0) (- x 1.0)) 3)
50.0ms
(cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))
147.0ms
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))

simplify380.0ms

Algorithm
egg-herbie
Counts
1349 → 1349
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
0183050865
1500132280

prune1.1s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))
0.0b
(cbrt (pow (- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))) 3))
0.0b
(pow (- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))) 3)
2.0b
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))

rewrite716.0ms

Algorithm
rewrite-expression-head
Rules
1989×*-un-lft-identity
1559×times-frac
1412×add-sqr-sqrt
1204×cbrt-prod
1098×prod-diff
923×add-cube-cbrt
550×unpow-prod-down cube-prod
376×distribute-lft-out
222×difference-of-squares
200×associate-/r/
157×distribute-lft-out--
100×div-inv
62×flip3-+ flip-+
41×flip3-- flip--
31×sqr-pow
21×cube-mult unpow3
18×fma-neg
10×cube-div
cbrt-div
add-log-exp
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u
pow-unpow frac-sub
pow1/3 rem-cbrt-cube
pow-to-exp sub-neg pow-pow diff-log pow-exp rem-cube-cbrt
Counts
4 → 1330
Calls
4 calls:
14.0ms
(cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))
185.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))) 3))
191.0ms
(pow (- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))) 3)
155.0ms
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))

series607.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))
148.0ms
(cbrt (pow (- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))) 3))
246.0ms
(pow (- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3))) 3)
155.0ms
(- (/ x (+ x 1.0)) (cbrt (pow (/ (+ x 1.0) (- x 1.0)) 3)))

simplify421.0ms

Algorithm
egg-herbie
Counts
1342 → 1342
Iterations

Useful iterations: 1 (35.0ms)

IterNodesCost
0209152020
1500134758

prune1.5s

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (+ x 1.0))
0.0b
(/ (+ x 1.0) (- x 1.0))
29.3b
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity
33×add-sqr-sqrt
32×times-frac
23×add-cube-cbrt
10×distribute-lft-out
add-exp-log associate-/r*
add-cbrt-cube associate-/l*
distribute-lft-out-- difference-of-squares
pow1 associate-/r/
expm1-log1p-u div-exp log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg flip3-+ clear-num flip-+ div-inv associate-/l/
rec-exp flip3-- pow-flip 1-exp flip-- fma-udef inv-pow
Counts
3 → 96
Calls
3 calls:
6.0ms
(/ 1 (+ x 1.0))
12.0ms
(/ (+ x 1.0) (- x 1.0))
0.0ms
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

series213.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(/ 1 (+ x 1.0))
39.0ms
(/ (+ x 1.0) (- x 1.0))
150.0ms
(fma x (/ 1 (+ x 1.0)) (- (/ (+ x 1.0) (- x 1.0))))

simplify49.0ms

Algorithm
egg-herbie
Counts
105 → 105
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0352622
11229566
25001540

prune179.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.1b

regimes35.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 29.1b

bsearch96.0ms

Steps
ItersRangePoint
9
0.8894813891870064
5702493.407928515
14233.510593067505
8
-1043668.381521804
-286.0085757029236
-13596.226620285603

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04518
15918
27218
37418
47418

end0.0ms

sample1.0s

Algorithm
intervals
Results
397.0ms1766×body1280valid
219.0ms1207×body640valid
199.0ms4123×body80valid
80.0ms607×body320valid
27.0ms297×body160valid