Details

Time bar (total: 3.0s)

sample27.0ms

Algorithm
intervals
Results
8.0ms58×body640valid
5.0ms145×body80valid
3.0ms19×body1280valid
2.0ms23×body320valid
1.0ms11×body160valid

simplify15.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

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 8.6b

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

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

series17.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0496865
11681827
25001816

prune190.0ms

Filtered
92 candidates to 126 candidates (-37.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1215126
Fresh000
Picked101
Done000
Total1225127

Merged error: 0.1b

Counts
127 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))) (cbrt (+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))))
2.0b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
2.0b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
2.0b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite179.0ms

Algorithm
rewrite-expression-head
Rules
435×*-un-lft-identity
156×times-frac
100×distribute-lft-out
89×distribute-lft-out--
76×cbrt-prod
60×cbrt-div
45×frac-add
30×swap-sqr
25×frac-times
20×add-sqr-sqrt
19×add-log-exp
15×flip3-- flip3-+ frac-sub flip-- flip-+
12×add-cube-cbrt associate-*r* associate-*l*
11×pow1
add-exp-log associate-+l+ pow1/3 sum-log
associate-*r/ associate-*l/
add-cbrt-cube unswap-sqr
+-commutative associate-+l- sub-neg diff-log
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 183
Calls
4 calls:
70.0ms
(* (cbrt (+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))) (cbrt (+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))))
33.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
29.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
31.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series59.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (cbrt (+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))) (cbrt (+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))))
15.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify80.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05294153
117514023
250013553

prune526.0ms

Filtered
103 candidates to 195 candidates (-89.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1941195
Fresh134
Picked011
Done000
Total1955200

Merged error: 0.1b

Counts
200 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- x 1.0))
0.2b
(cbrt (- x 1.0))
0.2b
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
14.3b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ (/ 1.0 (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
38×cbrt-prod
34×add-sqr-sqrt
16×cbrt-div
14×add-cube-cbrt
11×pow1 distribute-lft-out--
10×swap-sqr
flip3-- flip-- add-log-exp
pow1/3 associate-*r* associate-*l*
add-exp-log times-frac difference-of-squares
distribute-lft-out
frac-times add-cbrt-cube unswap-sqr
frac-add
associate-+l+ associate-*r/ pow-prod-down associate-*l/ sum-log pow-sqr pow-prod-up
+-commutative pow2 associate-+l- sub-neg flip3-+ pow-plus diff-log prod-exp *-commutative frac-sub cbrt-unprod flip-+
Counts
4 → 108
Calls
4 calls:
3.0ms
(cbrt (- x 1.0))
3.0ms
(cbrt (- x 1.0))
10.0ms
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
86.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ (/ 1.0 (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

series38.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(cbrt (- x 1.0))
7.0ms
(cbrt (- x 1.0))
10.0ms
(* (cbrt (- x 1.0)) (cbrt (- x 1.0)))
14.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ (/ 1.0 (* (cbrt (- x 1.0)) (cbrt (- x 1.0)))) (cbrt (- x 1.0))))

simplify61.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
05971292
121691173
250011110

prune259.0ms

Filtered
84 candidates to 120 candidates (-42.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1200120
Fresh033
Picked011
Done011
Total1205125

Merged error: 0.1b

Counts
125 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.0b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
16.0b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
46×associate-*l/
16×flip3-- frac-add flip--
13×flip3-+ flip-+
12×frac-times
11×pow1 add-exp-log add-sqr-sqrt *-un-lft-identity add-cbrt-cube
associate-*r* add-log-exp
add-cube-cbrt
associate-*r/
sub-neg associate-*l*
distribute-rgt-in associate-+l+ distribute-lft-in pow-prod-down prod-exp cbrt-unprod
*-commutative
+-commutative diff-log sum-log distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 96
Calls
4 calls:
8.0ms
(* (+ x 1.0) x)
4.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
9.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))

series17.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07711337
144701257
250011257

prune207.0ms

Filtered
78 candidates to 108 candidates (-38.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1071108
Fresh022
Picked101
Done112
Total1094113

Merged error: 0.1b

Counts
113 → 4

regimes67.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample865.0ms

Algorithm
intervals
Results
288.0ms1858×body640valid
167.0ms4177×body80valid
113.0ms586×body1280valid
106.0ms911×body320valid
38.0ms469×body160valid

Profiling

Loading profile data...