Details

Time bar (total: 2.7s)

sample47.0ms

Algorithm
intervals
Results
19.0ms99×body640valid
7.0ms47×body320valid
6.0ms23×body1280valid
3.0ms70×body80valid
2.0ms17×body160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune2.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.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.8b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite62.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))
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
33.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series20.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1.0 (- x 1.0))
2.0ms
(/ 1.0 (+ x 1.0))
6.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
9.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0496865
11681827
25001816

prune179.0ms

Filtered
126 candidates to 92 candidates (27.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1242126
Fresh000
Picked101
Done000
Total1252127

Merged error: 0.4b

Counts
127 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 2.0 (+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (/ 1 (pow x 3)))))
0.0b
(/ 1 (pow x 7))
0.2b
(/ 1 (pow x 5))
0.4b
(/ 1 (pow x 3))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
90×*-un-lft-identity
87×times-frac
68×add-sqr-sqrt
66×add-cube-cbrt
36×unpow-prod-down
33×add-exp-log
26×associate-/r*
24×distribute-lft-out
18×div-exp
16×associate-*r* div-inv
12×cube-prod add-cbrt-cube sqr-pow
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
pow1
associate-*r/
cube-mult unpow3 frac-add add-log-exp
cbrt-undiv pow-flip frac-2neg associate-*l* clear-num inv-pow
flip3-+ flip-+
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 217
Calls
4 calls:
61.0ms
(* 2.0 (+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (/ 1 (pow x 3)))))
5.0ms
(/ 1 (pow x 7))
4.0ms
(/ 1 (pow x 5))
5.0ms
(/ 1 (pow x 3))

series16.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(* 2.0 (+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (/ 1 (pow x 3)))))
4.0ms
(/ 1 (pow x 7))
4.0ms
(/ 1 (pow x 5))
3.0ms
(/ 1 (pow x 3))

simplify88.0ms

Algorithm
egg-herbie
Counts
229 → 229
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
06521114
13943895
25001895

prune233.0ms

Filtered
229 candidates to 92 candidates (59.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2281229
Fresh011
Picked101
Done000
Total2292231

Merged error: 0.0b

Counts
231 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x -3)))
0.0b
(* 2.0 (+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x -3))))
0.0b
(/ 1 (pow x 7))
0.2b
(/ 1 (pow x 5))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
60×*-un-lft-identity
42×times-frac
40×add-sqr-sqrt
38×add-cube-cbrt
24×add-exp-log unpow-prod-down
20×distribute-lft-out
14×associate-/r*
12×div-exp div-inv
10×add-cbrt-cube
associate-*r* add-log-exp
sqr-pow
pow1 pow-to-exp rec-exp 1-exp pow-exp associate-/l*
flip3-+ associate-*r/ frac-add flip-+
associate-*l* sum-log
cbrt-undiv pow-flip frac-2neg clear-num inv-pow
+-commutative distribute-rgt-in associate-+r+ distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 157
Calls
4 calls:
27.0ms
(+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x -3)))
26.0ms
(* 2.0 (+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x -3))))
4.0ms
(/ 1 (pow x 7))
5.0ms
(/ 1 (pow x 5))

series19.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x -3)))
6.0ms
(* 2.0 (+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x -3))))
4.0ms
(/ 1 (pow x 7))
4.0ms
(/ 1 (pow x 5))

simplify65.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05391054
12697909
25001909

prune212.0ms

Filtered
169 candidates to 77 candidates (54.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1690169
Fresh011
Picked011
Done000
Total1692171

Merged error: 0.0b

Counts
171 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.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:
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
8.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
9.0ms
(* (* (+ x 1.0) x) (- x 1.0))
10.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series16.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
3.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
8.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))

simplify127.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (23.0ms)

IterNodesCost
07951594
144561513
250021513

prune243.0ms

Filtered
119 candidates to 87 candidates (26.9%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh000
Picked011
Done011
Total1192121

Merged error: 0.0b

Counts
121 → 2

regimes33.0ms

Accuracy

100% (0.0b remaining)

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

bsearch39.0ms

Steps
ItersRangePoint
9
0.2584100240743747
907671737.286177
15508.03186515392
9
-824797407.8452327
-973.9244444074952
-39722468.34230782

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04823
14823

end0.0ms

sample963.0ms

Algorithm
intervals
Results
390.0ms2820×body640valid
155.0ms866×body1280valid
149.0ms1452×body320valid
77.0ms2157×body80valid
48.0ms705×body160valid

Profiling

Loading profile data...