Details

Time bar (total: 2.8s)

sample23.0ms

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

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

rewrite68.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
14×distribute-lft-out--
13×distribute-lft-out
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- frac-add flip--
cbrt-undiv sub-neg associate-+l+ frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l-
Counts
4 → 114
Calls
4 calls:
5.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
17.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
36.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series325.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ x 1.0))
33.0ms
(/ 1.0 (- x 1.0))
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
225.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0496865
11681827
25001816

prune214.0ms

Filtered
126 candidates to 92 candidates (73.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1224126
Fresh000
Picked101
Done000
Total1234127

Merged error: 0.0b

Counts
127 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
46×associate-*l/
22×flip3-- flip--
16×frac-times frac-add
13×add-sqr-sqrt
12×flip3-+ flip-+
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
10×associate-*r*
associate-*r/ add-log-exp
add-cube-cbrt sub-neg
distribute-rgt-in distribute-lft-in
associate-+l+ associate-*l* pow-prod-down prod-exp cbrt-unprod
*-commutative distribute-lft-out-- difference-of-squares
+-commutative diff-log sum-log unswap-sqr
Counts
4 → 107
Calls
4 calls:
9.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))
11.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series191.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
42.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
97.0ms
(* (* (+ x 1.0) x) (- x 1.0))
1.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify139.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
07951594
144561513
250021513

prune287.0ms

Filtered
119 candidates to 87 candidates (73.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1181119
Fresh123
Picked101
Done000
Total1203123

Merged error: 0.0b

Counts
123 → 3

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

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

series231.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0430600
12216516
25001515

prune128.0ms

Filtered
93 candidates to 62 candidates (66.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New89493
Fresh202
Picked101
Done000
Total92496

Merged error: 0b

Counts
96 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series150.0ms

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

simplify82.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0220357
1772329
22959326
35001326

prune89.0ms

Filtered
52 candidates to 41 candidates (78.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh213
Picked011
Done000
Total53356

Merged error: 0b

Counts
56 → 3

regimes11.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample616.0ms

Algorithm
intervals
Results
217.0ms1941×body640valid
124.0ms4169×body80valid
80.0ms544×body1280valid
75.0ms917×body320valid
24.0ms434×body160valid

Profiling

Loading profile data...