Details

Time bar (total: 6.2s)

sample23.0ms

Algorithm
intervals
Results
7.0ms55×body1280valid
4.0ms38×body640valid
4.0ms132×body80valid
2.0ms22×body320valid
0.0msbody160valid

simplify23.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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 29.0b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite108.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:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
39.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series220.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ x (+ x 1.0))
39.0ms
(/ (+ x 1.0) (- x 1.0))
142.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify218.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune708.0ms

Filtered
605 candidates to 217 candidates (35.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New6023605
Fresh000
Picked101
Done000
Total6033606

Merged error: 0.2b

Counts
606 → 3

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ x (+ x 1.0))
0.0b
(exp (/ (+ x 1.0) (- x 1.0)))
0.0b
(/ (+ x 1.0) (- x 1.0))
3.0b
(- (/ x (+ x 1.0)) (log (exp (/ (+ x 1.0) (- x 1.0)))))

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
1042×*-un-lft-identity
785×times-frac
648×add-sqr-sqrt
540×prod-diff
494×exp-prod
487×log-pow
481×add-cube-cbrt
198×distribute-lft-out
104×associate-/r/
83×distribute-lft-out-- difference-of-squares
52×div-inv
33×flip3-+ flip-+
23×pow1
21×flip3-- flip--
18×fma-neg
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
add-log-exp
expm1-log1p-u log1p-expm1-u
log-prod associate--r+
cbrt-undiv frac-2neg div-exp clear-num associate-/l/
sub-neg diff-log rem-exp-log
Counts
4 → 697
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
9.0ms
(exp (/ (+ x 1.0) (- x 1.0)))
7.0ms
(/ (+ x 1.0) (- x 1.0))
50.0ms
(- (/ x (+ x 1.0)) (log (exp (/ (+ x 1.0) (- x 1.0)))))

series305.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ x (+ x 1.0))
83.0ms
(exp (/ (+ x 1.0) (- x 1.0)))
39.0ms
(/ (+ x 1.0) (- x 1.0))
142.0ms
(- (/ x (+ x 1.0)) (log (exp (/ (+ x 1.0) (- x 1.0)))))

simplify249.0ms

Algorithm
egg-herbie
Counts
709 → 709
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
0138923876
1389115042
2500115042

prune737.0ms

Filtered
709 candidates to 243 candidates (34.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New7090709
Fresh022
Picked011
Done000
Total7093712

Merged error: 0.2b

Counts
712 → 3

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
5.7b
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
10.0b
(- (/ x (+ x 1.0)) (* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
14.9b
(* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
303×add-sqr-sqrt
286×*-un-lft-identity
225×times-frac
144×difference-of-squares
108×unpow-prod-down cube-prod
106×associate-*l*
82×add-cube-cbrt
72×sqr-pow
57×distribute-lft-out
45×distribute-lft-out--
25×associate-/r*
18×fma-neg prod-diff
11×add-exp-log add-cbrt-cube add-log-exp
difference-cubes
flip3-+ associate-/r/ flip-+
pow1
frac-sub
expm1-log1p-u frac-times associate-*r/ log1p-expm1-u div-inv associate-/l*
flip3-- associate-*r* sum-log flip--
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-*l/ prod-exp cbrt-unprod associate-/l/ associate--r+ unswap-sqr
+-commutative sub-neg associate-+r+ fma-def frac-2neg diff-log pow-prod-down clear-num *-commutative
Counts
4 → 353
Calls
4 calls:
6.0ms
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
20.0ms
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
11.0ms
(- (/ x (+ x 1.0)) (* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
34.0ms
(* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

series329.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))
59.0ms
(/ (+ x 1.0) (- (pow x 3) (pow 1.0 3)))
176.0ms
(- (/ x (+ x 1.0)) (* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0)))))
75.0ms
(* (/ (+ x 1.0) (- (pow x 3) (pow 1.0 3))) (+ (* x x) (+ (* 1.0 1.0) (* x 1.0))))

simplify79.0ms

Algorithm
egg-herbie
Counts
365 → 365
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
013134807
150024489

prune945.0ms

Filtered
365 candidates to 205 candidates (56.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New3641365
Fresh011
Picked011
Done011
Total3644368

Merged error: 0.2b

Counts
368 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
0.4b
(/ 1 (pow x 3))
0.5b
(/ (- 1.0) (pow x 2))
4.6b
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
440×times-frac
354×add-sqr-sqrt
344×*-un-lft-identity
342×add-cube-cbrt
252×prod-diff
166×unpow-prod-down
123×distribute-lft-neg-in distribute-rgt-neg-in
84×fma-neg
56×sqr-pow
52×unpow2
41×neg-mul-1
20×associate-/r*
18×add-exp-log
13×associate-/l*
12×cube-prod
div-exp
add-cbrt-cube
div-inv add-log-exp
difference-of-squares
pow1 expm1-log1p-u cube-mult pow-to-exp unpow3 pow-exp log1p-expm1-u
rec-exp 1-exp
cbrt-undiv neg-sub0 frac-2neg div-sub clear-num fma-udef
associate--l- sub-neg flip3-- pow-flip diff-log distribute-frac-neg flip-- associate--r+ distribute-lft-out-- inv-pow
Counts
4 → 559
Calls
4 calls:
1.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
6.0ms
(/ 1 (pow x 3))
7.0ms
(/ (- 1.0) (pow x 2))
40.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

series188.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
35.0ms
(/ 1 (pow x 3))
26.0ms
(/ (- 1.0) (pow x 2))
44.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

simplify195.0ms

Algorithm
egg-herbie
Counts
571 → 571
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
0115912779
141677106
250017094

prune730.0ms

Filtered
571 candidates to 218 candidates (38.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New5683571
Fresh101
Picked101
Done022
Total5705575

Merged error: 0.0b

Counts
575 → 5

regimes35.0ms

Accuracy

100% (0.0b remaining)

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

bsearch103.0ms

Steps
ItersRangePoint
10
6.398614580632226
3002406562115.273
12773.683991769165
11
-55383.34621353126
-7.66540900750845e-16
-12155.681664534535

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03516
13516

end0.0ms

sample639.0ms

Algorithm
intervals
Results
221.0ms1763×body1280valid
133.0ms1251×body640valid
117.0ms4018×body80valid
51.0ms644×body320valid
17.0ms324×body160valid