Details

Time bar (total: 4.6s)

sample27.0ms

Algorithm
intervals
Results
8.0ms61×body640valid
5.0ms131×body80valid
3.0ms35×body320valid
3.0ms20×body1280valid
1.0msbody160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

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: 10.7b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite139.0ms

Algorithm
rewrite-expression-head
Rules
725×*-un-lft-identity
703×times-frac
524×add-sqr-sqrt
492×add-cube-cbrt
468×prod-diff
236×associate-+l+
95×distribute-lft-out
65×div-inv
58×associate-/r/
29×flip3-+ flip-+
18×fma-neg
17×distribute-lft-out--
12×difference-of-squares
11×add-log-exp
10×fma-def
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num sum-log frac-sub
+-commutative associate-+l-
Counts
4 → 618
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
26.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
50.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series310.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ 1.0 (- x 1.0))
24.0ms
(/ 1.0 (+ x 1.0))
40.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
215.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify164.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.2s

Filtered
630 candidates to 390 candidates (61.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New6264630
Fresh000
Picked011
Done000
Total6265631

Merged error: 0.3b

Counts
631 → 5

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (/ 1 (pow x 7)) (fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3))))
0.1b
(/ 1 (pow x 7))
0.2b
(/ 1 (pow x 5))
0.3b
(/ 2.0 (pow x 3))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
61×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×unpow-prod-down
27×add-exp-log
26×associate-/r*
15×div-exp
12×cube-prod sqr-pow
10×add-cbrt-cube
associate-/l*
pow-to-exp pow-exp
rec-exp 1-exp
pow1 expm1-log1p-u cube-mult unpow3 log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg clear-num div-inv
pow-flip inv-pow
fma-udef
Counts
4 → 187
Calls
4 calls:
1.0ms
(fma 2.0 (/ 1 (pow x 7)) (fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3))))
5.0ms
(/ 1 (pow x 7))
5.0ms
(/ 1 (pow x 5))
5.0ms
(/ 2.0 (pow x 3))

series194.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(fma 2.0 (/ 1 (pow x 7)) (fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3))))
50.0ms
(/ 1 (pow x 7))
45.0ms
(/ 1 (pow x 5))
35.0ms
(/ 2.0 (pow x 3))

simplify52.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0460949
12326816
25001816

prune354.0ms

Filtered
199 candidates to 96 candidates (48.2%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1963199
Fresh033
Picked011
Done011
Total1968204

Merged error: 0.0b

Counts
204 → 8

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (/ 1 (pow x 5)) (/ (/ 2.0 x) (* x x)))
0.1b
(/ 1 (pow x 7))
0.1b
(/ (/ 2.0 x) (* x x))
0.2b
(/ 1 (pow x 5))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
73×times-frac
50×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
34×add-exp-log
24×unpow-prod-down
20×add-cbrt-cube
19×associate-/l*
18×div-exp
15×associate-/r*
cbrt-undiv sqr-pow
pow-to-exp rec-exp 1-exp pow-exp
div-inv
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-flip prod-exp cbrt-unprod inv-pow
fma-udef associate-/l/
Counts
4 → 168
Calls
4 calls:
1.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ (/ 2.0 x) (* x x)))
5.0ms
(/ 1 (pow x 7))
7.0ms
(/ (/ 2.0 x) (* x x))
5.0ms
(/ 1 (pow x 5))

series254.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ (/ 2.0 x) (* x x)))
57.0ms
(/ 1 (pow x 7))
35.0ms
(/ (/ 2.0 x) (* x x))
47.0ms
(/ 1 (pow x 5))

simplify57.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0520883
12161783
25002721

prune314.0ms

Filtered
180 candidates to 94 candidates (52.2%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1800180
Fresh055
Picked011
Done022
Total1808188

Merged error: 0.0b

Counts
188 → 8

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (pow x 7))
0.1b
(/ (/ 2.0 (* x x)) x)
0.2b
(/ 1 (pow x 5))
1.1b
(/ 2.0 (* x x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
54×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×add-exp-log
24×unpow-prod-down
22×add-cbrt-cube
19×div-exp
18×associate-/r*
16×associate-/l*
cbrt-undiv
div-inv sqr-pow
pow-to-exp rec-exp 1-exp pow-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
pow-flip prod-exp cbrt-unprod inv-pow
associate-/l/
Counts
4 → 183
Calls
4 calls:
5.0ms
(/ 1 (pow x 7))
6.0ms
(/ (/ 2.0 (* x x)) x)
8.0ms
(/ 1 (pow x 5))
5.0ms
(/ 2.0 (* x x))

series160.0ms

Counts
4 → 12
Calls
4 calls:
55.0ms
(/ 1 (pow x 7))
34.0ms
(/ (/ 2.0 (* x x)) x)
46.0ms
(/ 1 (pow x 5))
24.0ms
(/ 2.0 (* x x))

simplify66.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0511914
12528828
25001768

prune341.0ms

Filtered
195 candidates to 106 candidates (54.4%)
Pruning

8 alts after pruning (4 fresh and 4 done)

PrunedKeptTotal
New1950195
Fresh044
Picked011
Done033
Total1958203

Merged error: 0.0b

Counts
203 → 8

regimes92.0ms

Accuracy

95.7% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 9.9b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03430
13430

end0.0ms

sample742.0ms

Algorithm
intervals
Results
265.0ms1880×body640valid
152.0ms4168×body80valid
99.0ms570×body1280valid
94.0ms909×body320valid
33.0ms474×body160valid