Details

Time bar (total: 5.5s)

sample34.0ms

Algorithm
intervals
Results
13.0ms67×body640valid
6.0ms125×body80valid
6.0ms39×body320valid
2.0ms25×body160valid

simplify5.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0125
1155
2155

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 15.1b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
662×*-un-lft-identity
589×times-frac
496×add-sqr-sqrt
378×prod-diff
368×add-cube-cbrt
86×associate-/r/
79×distribute-lft-out--
76×distribute-lft-out
62×difference-of-squares
44×div-inv
24×flip-+
23×flip3-+
21×flip--
20×flip3--
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
sub-neg diff-log frac-sub
Counts
3 → 504
Calls
3 calls:
5.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
65.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

series426.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(/ 1.0 (+ x 1.0))
32.0ms
(/ 1.0 (- x 1.0))
367.0ms
(- (/ 1.0 (+ x 1.0)) (/ 1.0 (- x 1.0)))

simplify166.0ms

Algorithm
egg-herbie
Counts
513 → 513
Iterations

Useful iterations: 2 (73.0ms)

IterNodesCost
0120013350
135939620
250019568

prune659.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
0.2b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
16.7b
(* (+ x 1.0) (/ 1.0 (- (* x x) (* 1.0 1.0))))
31.8b
(fma (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (* (+ x 1.0) (/ 1.0 (- (* x x) (* 1.0 1.0))))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
37×times-frac
36×add-sqr-sqrt
33×*-un-lft-identity
31×add-cube-cbrt
18×associate-*r*
13×add-exp-log add-cbrt-cube
11×difference-of-squares
associate-/r*
pow1 associate-/r/ associate-/l*
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp
cbrt-undiv flip3-- div-exp flip-- div-inv
frac-times frac-2neg flip3-+ associate-*l/ prod-exp clear-num cbrt-unprod flip-+ unswap-sqr
associate-*r/ pow-prod-down *-commutative fma-udef distribute-lft-out
Counts
4 → 124
Calls
4 calls:
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
22.0ms
(* (+ x 1.0) (/ 1.0 (- (* x x) (* 1.0 1.0))))
0.0ms
(fma (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (* (+ x 1.0) (/ 1.0 (- (* x x) (* 1.0 1.0))))))

series421.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
53.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
44.0ms
(* (+ x 1.0) (/ 1.0 (- (* x x) (* 1.0 1.0))))
276.0ms
(fma (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (* (+ x 1.0) (/ 1.0 (- (* x x) (* 1.0 1.0))))))

simplify90.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
04451159
125071029
25001991

prune397.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.2b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (pow x 4))
0.2b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
0.2b
(/ (- 2.0) (pow x 6))
0.2b
(/ 1 (pow x 2))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
127×times-frac
92×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
57×unpow-prod-down
29×add-exp-log
26×associate-/r*
24×distribute-lft-neg-in distribute-rgt-neg-in
19×associate-/l* sqr-pow
16×div-exp
12×add-cbrt-cube
neg-mul-1
pow-to-exp pow-exp
rec-exp 1-exp
pow1 cbrt-undiv expm1-log1p-u frac-2neg clear-num log1p-expm1-u div-inv unpow2 add-log-exp difference-of-squares
pow-flip associate-/r/ inv-pow
neg-sub0 flip3-- div-sub distribute-frac-neg flip--
Counts
4 → 254
Calls
4 calls:
4.0ms
(/ 1 (pow x 4))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
9.0ms
(/ (- 2.0) (pow x 6))
4.0ms
(/ 1 (pow x 2))

series150.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1 (pow x 4))
49.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
52.0ms
(/ (- 2.0) (pow x 6))
16.0ms
(/ 1 (pow x 2))

simplify85.0ms

Algorithm
egg-herbie
Counts
266 → 266
Iterations

Useful iterations: 2 (67.0ms)

IterNodesCost
07381523
132031252
250021236

prune718.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (pow x (- 2)) (* 2.0 (/ 1 (pow x 4))))
0.0b
(/ 1 (pow x 4))
0.2b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
0.2b
(/ (- 2.0) (pow x 6))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
103×times-frac
75×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
45×unpow-prod-down
24×distribute-lft-neg-in distribute-rgt-neg-in
20×add-exp-log
18×associate-/r*
16×associate-/l*
15×sqr-pow
10×div-exp add-cbrt-cube
neg-mul-1
pow1 expm1-log1p-u pow-to-exp pow-exp log1p-expm1-u add-log-exp difference-of-squares
cbrt-undiv rec-exp frac-2neg 1-exp clear-num div-inv
associate-/r/
neg-sub0 flip3-- pow-flip div-sub distribute-frac-neg flip-- fma-udef inv-pow
Counts
4 → 205
Calls
4 calls:
0.0ms
(fma 2.0 (pow x (- 2)) (* 2.0 (/ 1 (pow x 4))))
4.0ms
(/ 1 (pow x 4))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
6.0ms
(/ (- 2.0) (pow x 6))

series239.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(fma 2.0 (pow x (- 2)) (* 2.0 (/ 1 (pow x 4))))
27.0ms
(/ 1 (pow x 4))
54.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
52.0ms
(/ (- 2.0) (pow x 6))

simplify82.0ms

Algorithm
egg-herbie
Counts
217 → 217
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06471371
128751193
250021152

prune647.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes56.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 14.4b

bsearch134.0ms

Steps
ItersRangePoint
11
21.02059315853866
1.1431332651762801e+24
309.0060346846482
11
-7.192008941699975e+16
-0.00038629318802677867
-224.81714758788752

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05125
15225
25225

end0.0ms

sample954.0ms

Algorithm
intervals
Results
379.0ms1931×body640valid
228.0ms4185×body80valid
186.0ms1257×body320valid
60.0ms627×body160valid