Details

Time bar (total: 3.5s)

sample27.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
8.0ms230×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

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: 0.4b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 6.0 (- x 1.0))
0.4b
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite21.0ms

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

series118.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(* 6.0 (- x 1.0))
78.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify44.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0326386
11507326
25002325

prune106.0ms

Filtered
57 candidates to 40 candidates (70.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh000
Picked101
Done000
Total55358

Merged error: 0b

Counts
58 → 3

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 6.0 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
0.0b
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
41×add-sqr-sqrt
36×*-un-lft-identity
31×times-frac
22×add-cube-cbrt
21×associate-*r*
add-exp-log add-cbrt-cube
distribute-lft-out-- difference-of-squares
associate-/l*
pow1 associate-/r/
associate-*l* associate-/r*
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ div-inv associate-/l/ add-log-exp unswap-sqr
flip3-- frac-2neg div-sub associate-*r/ pow-prod-down clear-num *-commutative flip--
Counts
2 → 80
Calls
2 calls:
14.0ms
(* 6.0 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
10.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series149.0ms

Counts
2 → 6
Calls
2 calls:
77.0ms
(* 6.0 (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
72.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0388878
11674800
25001798

prune160.0ms

Filtered
86 candidates to 64 candidates (74.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done000
Total86389

Merged error: 0b

Counts
89 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))
7.2b
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
9.6b
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
16.6b
(* (/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3))) (+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
48×frac-add
42×frac-times
41×flip3-+ flip-+
32×associate-*r/
26×flip3-- flip--
18×add-exp-log add-cbrt-cube
15×*-un-lft-identity
13×associate-*l/
11×add-sqr-sqrt associate-*l* add-log-exp
10×times-frac
add-cube-cbrt
pow1
prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp associate-/r/
associate-*r* sum-cubes distribute-lft-out
distribute-rgt-in sub-neg associate-+l+ associate-+r+ distribute-lft-in diff-log sum-log div-inv associate-/l/
+-commutative associate-+r- distribute-rgt-out-- frac-2neg pow-prod-down clear-num *-commutative associate-/l* unswap-sqr
Counts
4 → 144
Calls
4 calls:
8.0ms
(- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))
17.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
19.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
36.0ms
(* (/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3))) (+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))))

series414.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))
82.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
71.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
169.0ms
(* (/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3))) (+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x))))))

simplify76.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
014645478
150025097

prune523.0ms

Filtered
156 candidates to 119 candidates (76.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1560156
Fresh011
Picked011
Done011
Total1563159

Merged error: 0b

Counts
159 → 3

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1.0 (+ 1.0 x)) (pow x 2))
0.0b
(* (+ (* 1.0 (+ 1.0 x)) (pow x 2)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
0.1b
(* 6.0 (- (pow x 3) (pow 1.0 3)))
23.2b
(/ (* 6.0 (- (pow x 3) (pow 1.0 3))) (* (+ (* 1.0 (+ 1.0 x)) (pow x 2)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
28×associate-*r*
20×add-exp-log add-cbrt-cube
18×*-un-lft-identity
16×difference-of-squares
13×flip3-+ flip-+
12×unpow-prod-down cube-prod
pow1 frac-times add-cube-cbrt associate-*r/ associate-/r/ sqr-pow
associate-*l* prod-exp cbrt-unprod add-log-exp
distribute-lft-out--
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-*l/
sub-neg associate-+l+ flip3-- pow-prod-down *-commutative flip-- associate-/l/ unswap-sqr
difference-cubes +-commutative frac-2neg times-frac clear-num associate-/r* sum-log div-inv associate-/l*
Counts
4 → 118
Calls
4 calls:
7.0ms
(+ (* 1.0 (+ 1.0 x)) (pow x 2))
14.0ms
(* (+ (* 1.0 (+ 1.0 x)) (pow x 2)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
20.0ms
(* 6.0 (- (pow x 3) (pow 1.0 3)))
27.0ms
(/ (* 6.0 (- (pow x 3) (pow 1.0 3))) (* (+ (* 1.0 (+ 1.0 x)) (pow x 2)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

series300.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(+ (* 1.0 (+ 1.0 x)) (pow x 2))
66.0ms
(* (+ (* 1.0 (+ 1.0 x)) (pow x 2)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
93.0ms
(* 6.0 (- (pow x 3) (pow 1.0 3)))
115.0ms
(/ (* 6.0 (- (pow x 3) (pow 1.0 3))) (* (+ (* 1.0 (+ 1.0 x)) (pow x 2)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

simplify124.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07651468
145541237
250031237

prune346.0ms

Filtered
130 candidates to 88 candidates (67.7%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New1300130
Fresh000
Picked011
Done022
Total1303133

Merged error: 0b

Counts
133 → 3

regimes16.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample807.0ms

Algorithm
intervals
Results
322.0ms8000×body80valid
291.0ms8056×body80nan