Details

Time bar (total: 4.8s)

sample28.0ms

Algorithm
intervals
Results
8.0ms58×body640valid
5.0ms141×body80valid
5.0ms28×body320valid
2.0ms11×body1280valid
1.0ms18×body160valid

simplify20.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: 11.2b

Counts
2 → 1

localize8.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.9b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite157.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))
35.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
59.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series305.0ms

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

simplify165.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.2s

Filtered
630 candidates to 390 candidates (61.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New6273630
Fresh000
Picked101
Done000
Total6283631

Merged error: 0.0b

Counts
631 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.2b
(/ 1.0 (- (* x x) (* 1.0 1.0)))
8.7b
(+ (fma (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ 2.0 x))) (/ 1.0 (- x 1.0)))
11.3b
(fma (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ 2.0 x)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity
32×add-sqr-sqrt
27×times-frac
24×add-cube-cbrt
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l* add-log-exp
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u distribute-lft-out--
fma-def
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- fma-udef div-inv
+-commutative associate-+l+ flip3-+ sum-log flip-+ distribute-lft-out
Counts
4 → 102
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
9.0ms
(+ (fma (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ 2.0 x))) (/ 1.0 (- x 1.0)))
1.0ms
(fma (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ 2.0 x)))

series410.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1.0 (- x 1.0))
54.0ms
(/ 1.0 (- (* x x) (* 1.0 1.0)))
269.0ms
(+ (fma (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ 2.0 x))) (/ 1.0 (- x 1.0)))
60.0ms
(fma (/ 1.0 (- (* x x) (* 1.0 1.0))) (- x 1.0) (- (/ 2.0 x)))

simplify57.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0480891
11821838
25003824

prune247.0ms

Filtered
114 candidates to 95 candidates (83.3%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1140114
Fresh022
Picked011
Done000
Total1143117

Merged error: 0.0b

Counts
117 → 3

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.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 5)) (/ 2.0 (pow x 3)))
5.0ms
(/ 1 (pow x 7))
5.0ms
(/ 2.0 (pow x 3))
5.0ms
(/ 1 (pow x 5))

series268.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3)))
59.0ms
(/ 1 (pow x 7))
35.0ms
(/ 2.0 (pow x 3))
46.0ms
(/ 1 (pow x 5))

simplify57.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0450904
12278777
25001777

prune344.0ms

Filtered
199 candidates to 96 candidates (48.2%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1972199
Fresh011
Picked011
Done011
Total1975202

Merged error: 0b

Counts
202 → 5

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

rewrite23.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))
8.0ms
(/ (/ 2.0 x) (* x x))
5.0ms
(/ 1 (pow x 5))

series260.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(fma 2.0 (/ 1 (pow x 5)) (/ (/ 2.0 x) (* x x)))
57.0ms
(/ 1 (pow x 7))
34.0ms
(/ (/ 2.0 x) (* x x))
45.0ms
(/ 1 (pow x 5))

simplify53.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0520883
12161783
25002721

prune314.0ms

Filtered
180 candidates to 94 candidates (52.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1800180
Fresh022
Picked011
Done022
Total1805185

Merged error: 0b

Counts
185 → 5

regimes36.0ms

Accuracy

99.5% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 26.4b

bsearch119.0ms

Steps
ItersRangePoint
9
0.006602375602419948
2408.9151023461654
109.90066438549296
10
-7888799.454350161
-0.0014566459989916651
-108.93030297428587

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03928
13928

end0.0ms

sample720.0ms

Algorithm
intervals
Results
258.0ms1941×body640valid
150.0ms4169×body80valid
93.0ms544×body1280valid
93.0ms917×body320valid
29.0ms434×body160valid