Details

Time bar (total: 3.8s)

sample26.0ms

Algorithm
intervals
Results
9.0ms276×body80nan
7.0ms256×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1397
2617
3807
41057
51147
61147

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.4b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite37.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:
14.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
22.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series117.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0310397
11293333
25001328

prune99.0ms

Filtered
44 candidates to 35 candidates (79.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
138×times-frac
103×add-sqr-sqrt *-un-lft-identity
71×add-cube-cbrt
26×associate-/r*
16×distribute-lft-out-- difference-of-squares
11×associate-/r/
10×add-exp-log add-cbrt-cube
add-log-exp
div-inv associate-/l*
flip3-- flip--
cbrt-undiv div-exp
pow1 sum-log
frac-2neg flip3-+ clear-num flip-+ associate-/l/
+-commutative associate-+l+
Counts
3 → 154
Calls
3 calls:
14.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
39.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
25.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

series186.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
72.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0))
79.0ms
(/ 6.0 (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) (- x 1.0)))

simplify80.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06412084
129421986
250011984

prune355.0ms

Filtered
163 candidates to 126 candidates (77.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt sqrt-div
24×sqrt-prod
21×pow1
18×add-exp-log add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity flip3-+ flip-+
10×sqrt-pow1 pow1/2
frac-times swap-sqr associate-/r/
associate-*r/ associate-*r* associate-*l*
prod-exp pow-prod-up cbrt-unprod
cbrt-undiv div-exp associate-*l/ add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-/l/
pow2 flip3-- frac-2neg times-frac pow-plus sqrt-unprod clear-num associate-/r* rem-square-sqrt *-commutative flip-- div-inv associate-/l*
Counts
4 → 118
Calls
4 calls:
15.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
15.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
71.0ms
(* (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
29.0ms
(/ (* 6.0 (- x 1.0)) (* (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))))

series259.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
72.0ms
(sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))
40.0ms
(* (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))))
80.0ms
(/ (* 6.0 (- x 1.0)) (* (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x)))) (sqrt (+ (+ x 1.0) (* 4.0 (sqrt x))))))

simplify74.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
04871429
123171208
250021154

prune266.0ms

Filtered
130 candidates to 79 candidates (60.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (* 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)))))

rewrite60.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:
24.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
12.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
11.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
11.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

series912.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))
276.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
293.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))
261.0ms
(cbrt (/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x)))))

simplify48.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04201197
116891063
250011056

prune288.0ms

Filtered
91 candidates to 82 candidates (90.1%)
Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes38.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0147
1147

end0.0ms

sample589.0ms

Algorithm
intervals
Results
229.0ms8000×body80valid
191.0ms7781×body80nan