Details

Time bar (total: 4.6s)

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)))

rewrite116.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))
45.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series206.0ms

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

simplify206.0ms

Algorithm
egg-herbie
Counts
605 → 605
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
0120818366
1368713388
2500113292

prune760.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
0.2b
(/ 1 (pow x 3))
0.3b
(/ (- 1.0) (pow x 2))
8.2b
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

rewrite88.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))))
8.0ms
(/ 1 (pow x 3))
7.0ms
(/ (- 1.0) (pow x 2))
38.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

series181.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3))))
31.0ms
(/ 1 (pow x 3))
26.0ms
(/ (- 1.0) (pow x 2))
42.0ms
(- (/ (- 1.0) (pow x 2)) (fma 3.0 (/ 1 x) (* 3.0 (/ 1 (pow x 3)))))

simplify182.0ms

Algorithm
egg-herbie
Counts
571 → 571
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0116212958
143537113
250017101

prune809.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 3.0 (/ 1 (pow x 3)))
0.1b
(/ (/ 1.0 x) x)
0.2b
(/ 1 (pow x 3))
8.2b
(- (fma -1 (/ (/ 1.0 x) x) (/ (- 3.0) x)) (* 3.0 (/ 1 (pow x 3))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
155×times-frac
116×add-sqr-sqrt
100×*-un-lft-identity
96×add-cube-cbrt
40×associate-*r*
38×add-exp-log
23×unpow-prod-down cube-prod
16×add-cbrt-cube associate-/l*
15×div-exp associate-/r*
10×prod-exp
unswap-sqr sqr-pow
cube-mult unpow3 div-inv
pow1 pow-to-exp rec-exp 1-exp pow-exp add-log-exp
cbrt-undiv
expm1-log1p-u log1p-expm1-u
fma-neg associate-*l* prod-diff
frac-2neg clear-num cbrt-unprod
sub-neg flip3-- pow-flip diff-log associate-*r/ pow-prod-down associate--l+ un-div-inv *-commutative flip-- fma-udef associate-/l/ inv-pow
Counts
4 → 245
Calls
4 calls:
17.0ms
(* 3.0 (/ 1 (pow x 3)))
6.0ms
(/ (/ 1.0 x) x)
6.0ms
(/ 1 (pow x 3))
3.0ms
(- (fma -1 (/ (/ 1.0 x) x) (/ (- 3.0) x)) (* 3.0 (/ 1 (pow x 3))))

series132.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* 3.0 (/ 1 (pow x 3)))
25.0ms
(/ (/ 1.0 x) x)
36.0ms
(/ 1 (pow x 3))
35.0ms
(- (fma -1 (/ (/ 1.0 x) x) (/ (- 3.0) x)) (* 3.0 (/ 1 (pow x 3))))

simplify96.0ms

Algorithm
egg-herbie
Counts
257 → 257
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
07601440
139531147
250021133

prune475.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1 (pow x 3))
0.3b
(/ 1.0 (pow x 2))
10.5b
(fma 3.0 (+ (/ 1 x) (/ 1 (pow x 3))) (/ 1.0 (pow x 2)))
17.0b
(/ 0 (pow x 2))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
63×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×unpow-prod-down
28×associate-/r*
23×add-exp-log
12×cube-prod div-exp sqr-pow
10×add-cbrt-cube
associate-/l*
unpow2
pow-to-exp pow-exp
pow1 expm1-log1p-u cube-mult unpow3 log1p-expm1-u add-log-exp
cbrt-undiv rec-exp frac-2neg 1-exp clear-num div-inv
pow-flip div0 fma-udef inv-pow
Counts
4 → 188
Calls
4 calls:
5.0ms
(/ 1 (pow x 3))
5.0ms
(/ 1.0 (pow x 2))
1.0ms
(fma 3.0 (+ (/ 1 x) (/ 1 (pow x 3))) (/ 1.0 (pow x 2)))
5.0ms
(/ 0 (pow x 2))

series92.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ 1 (pow x 3))
25.0ms
(/ 1.0 (pow x 2))
35.0ms
(fma 3.0 (+ (/ 1 x) (/ 1 (pow x 3))) (/ 1.0 (pow x 2)))
1.0ms
(/ 0 (pow x 2))

simplify68.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0453855
12471637
25001554

prune335.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes51.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch84.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
04019
14019

end0.0ms

sample538.0ms

Algorithm
intervals
Results
189.0ms1754×body1280valid
106.0ms1255×body640valid
98.0ms4094×body80valid
36.0ms589×body320valid
13.0ms308×body160valid