Details

Time bar (total: 4.3s)

sample23.0ms

Algorithm
intervals
Results
6.0ms61×body640valid
4.0ms131×body80valid
2.0ms18×body1280valid
2.0ms27×body320valid
1.0ms19×body160valid

simplify19.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: 9.9b

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

rewrite144.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:
8.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
24.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
56.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series328.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ x 1.0))
28.0ms
(/ 1.0 (- x 1.0))
47.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
228.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify162.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (79.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.1b

Counts
631 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(/ (fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
0.1b
(* (* (+ x 1.0) x) (- x 1.0))
30.9b
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt *-un-lft-identity
21×add-cube-cbrt
20×add-exp-log add-cbrt-cube
18×prod-diff associate-*l/
11×pow1 distribute-rgt-in distribute-lft-in
frac-times associate-*r* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
expm1-log1p-u associate-*r/ pow-prod-down log1p-expm1-u add-log-exp
cbrt-undiv times-frac div-exp associate-/l*
sub-neg *-commutative
frac-2neg clear-num associate-/r* fma-udef div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 118
Calls
4 calls:
6.0ms
(* (+ x 1.0) x)
10.0ms
(/ (fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))
1.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

series630.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (+ x 1.0) x)
301.0ms
(/ (fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
100.0ms
(* (* (+ x 1.0) x) (- x 1.0))
182.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

simplify80.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05791470
130481170
250011170

prune232.0ms

Filtered
130 candidates to 82 candidates (63.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1291130
Fresh022
Picked101
Done000
Total1303133

Merged error: 0.0b

Counts
133 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.1b
(* (* (+ x 1.0) x) (- x 1.0))
0.1b
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
19×add-exp-log add-cbrt-cube
18×prod-diff associate-*l/
11×distribute-rgt-in distribute-lft-in
10×pow1
frac-times associate-*r* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
associate-*r/ pow-prod-down
cbrt-undiv expm1-log1p-u times-frac div-exp log1p-expm1-u associate-/l* add-log-exp
sub-neg *-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 108
Calls
3 calls:
6.0ms
(* (+ x 1.0) x)
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))
11.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series233.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* (+ x 1.0) x)
96.0ms
(* (* (+ x 1.0) x) (- x 1.0))
89.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify73.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0565948
12962739
25001737

prune157.0ms

Filtered
117 candidates to 70 candidates (59.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1125117
Fresh202
Picked101
Done000
Total1155120

Merged error: 0b

Counts
120 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (pow x 3) (* 1.0 x))
0.1b
(/ 2.0 (- (pow x 3) (* 1.0 x)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac fma-neg prod-diff
unpow3
unpow-prod-down cube-prod
distribute-rgt-out--
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 expm1-log1p-u cube-mult flip3-- associate-/r/ flip-- log1p-expm1-u sqr-pow
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 74
Calls
2 calls:
7.0ms
(- (pow x 3) (* 1.0 x))
7.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

series154.0ms

Counts
2 → 6
Calls
2 calls:
82.0ms
(- (pow x 3) (* 1.0 x))
72.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0294484
11279440
25001434

prune118.0ms

Filtered
80 candidates to 55 candidates (68.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New79180
Fresh224
Picked011
Done000
Total81485

Merged error: 0b

Counts
85 → 4

regimes16.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample598.0ms

Algorithm
intervals
Results
200.0ms1881×body640valid
125.0ms4179×body80valid
75.0ms893×body320valid
73.0ms555×body1280valid
26.0ms493×body160valid