Details

Time bar (total: 5.4s)

sample29.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
7.0ms269×body80nan

simplify14.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r* sum-log
pow1 cbrt-undiv flip3-+ associate-*r/ div-exp associate-/r/ flip-+ associate-/l/
+-commutative associate-+l+ flip3-- frac-2neg prod-exp clear-num flip-- cbrt-unprod div-inv associate-/l*
Counts
2 → 38
Calls
2 calls:
29.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
47.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series104.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0310397
11293333
25001328

prune99.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite304.0ms

Algorithm
rewrite-expression-head
Rules
126×add-sqr-sqrt
108×times-frac
95×*-un-lft-identity
69×add-cube-cbrt
63×sqrt-prod
36×associate-*r*
24×associate-*l*
20×add-exp-log add-cbrt-cube
13×distribute-lft-out-- difference-of-squares
12×associate-/r*
10×sqrt-div
unswap-sqr
associate-/r/ associate-/l*
pow1
cbrt-undiv div-exp
flip3-+ flip-+
prod-exp cbrt-unprod div-inv add-log-exp
frac-2neg clear-num associate-/l/
frac-times rem-sqrt-square flip3-- sqrt-pow1 pow1/2 div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip--
Counts
4 → 203
Calls
4 calls:
29.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
36.0ms
(/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
182.0ms
(* (/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ (- x 1.0) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))))
46.0ms
(/ (- x 1.0) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))

series364.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
105.0ms
(/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
71.0ms
(* (/ 6.0 (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))) (/ (- x 1.0) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))))
121.0ms
(/ (- x 1.0) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))

simplify101.0ms

Algorithm
egg-herbie
Counts
215 → 215
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07723129
133692865
250012758

prune445.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite115.0ms

Algorithm
rewrite-expression-head
Rules
27×cbrt-prod
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
add-exp-log add-cbrt-cube
associate-/r/
pow1 flip3-+ flip-+ div-inv add-log-exp
cbrt-div pow1/3 associate-/r*
cbrt-undiv associate-*r/ div-exp associate-/l/
flip3-- frac-2neg prod-exp clear-num flip-- cbrt-unprod associate-/l*
Counts
4 → 79
Calls
4 calls:
45.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
22.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
21.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
24.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

series757.0ms

Counts
4 → 12
Calls
4 calls:
74.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
228.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
225.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
230.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04201197
116891063
250011056

prune292.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
3.9b
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
10.8b
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
16.9b
(* (/ (* 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))))))

rewrite829.0ms

Algorithm
rewrite-expression-head
Rules
48×frac-add
45×pow1
42×frac-times
41×flip3-+ flip-+
32×associate-*r/
30×add-exp-log add-cbrt-cube
25×flip3-- flip--
18×pow-prod-down
15×*-un-lft-identity
13×associate-*l/ prod-exp cbrt-unprod
12×associate-*l*
11×add-sqr-sqrt
10×times-frac
add-cube-cbrt add-log-exp
associate-/r*
cbrt-undiv div-exp associate-*r* associate-/r/ pow-sqr pow-prod-up
sum-cubes distribute-lft-out
distribute-rgt-in associate-+l+ associate-+r+ distribute-lft-in pow-plus sum-log *-commutative div-inv associate-/l/
+-commutative pow2 associate-+r- sub-neg frac-2neg diff-log swap-sqr clear-num associate-/l* unswap-sqr
Counts
4 → 165
Calls
4 calls:
36.0ms
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
87.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
102.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
595.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))))))

series335.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
77.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
68.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
164.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))))))

simplify73.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
015115265
150014860

prune601.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes39.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
0157
1157

end0.0ms

sample666.0ms

Algorithm
intervals
Results
234.0ms8000×body80valid
199.0ms7894×body80nan