Details

Time bar (total: 8.4s)

sample24.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
6.0ms229×body80nan

simplify15.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 (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
217×*-un-lft-identity
98×times-frac
96×distribute-lft-out
73×add-sqr-sqrt
56×associate-*l*
41×add-cube-cbrt
40×associate-*r*
14×associate-/l*
*-commutative distribute-lft-out-- difference-of-squares unswap-sqr
add-exp-log associate-/r* add-cbrt-cube add-log-exp
sum-log
pow1 cbrt-undiv +-commutative associate-+l+ flip3-+ associate-*r/ div-exp associate-/r/ flip-+ associate-/l/
flip3-- frac-2neg prod-exp clear-num flip-- cbrt-unprod div-inv
Counts
2 → 155
Calls
2 calls:
11.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
23.0ms
(/ (* 6.0 (- x 1.0)) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series137.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
05041684
121391620
250011619

prune176.0ms

Filtered
161 candidates to 75 candidates (53.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1583161
Fresh000
Picked101
Done000
Total1593162

Merged error: 0b

Counts
162 → 3

localize11.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))) 6.0)
0.0b
(/ (- x 1.0) (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) 6.0))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
401×*-un-lft-identity
272×times-frac
161×add-sqr-sqrt
144×distribute-lft-out
109×add-cube-cbrt
48×associate-*l*
31×associate-/r*
26×distribute-lft-out-- difference-of-squares
19×associate-/l*
15×associate-/r/
10×add-exp-log add-cbrt-cube
div-inv add-log-exp
associate-/l/
cbrt-undiv div-exp
pow1 frac-2neg flip3-+ clear-num sum-log flip-+
+-commutative associate-+l+
flip3-- div-sub flip--
Counts
3 → 250
Calls
3 calls:
10.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
14.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) 6.0)
22.0ms
(/ (- x 1.0) (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) 6.0))

series193.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
50.0ms
(/ (+ (+ x 1.0) (* 4.0 (sqrt x))) 6.0)
97.0ms
(/ (- x 1.0) (/ (+ (+ x 1.0) (* 4.0 (sqrt x))) 6.0))

simplify110.0ms

Algorithm
egg-herbie
Counts
259 → 259
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07352912
128772815
250012815

prune293.0ms

Filtered
259 candidates to 125 candidates (51.7%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New2581259
Fresh112
Picked101
Done000
Total2602262

Merged error: 0b

Counts
262 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite130.0ms

Algorithm
rewrite-expression-head
Rules
1491×*-un-lft-identity
1436×times-frac
711×add-sqr-sqrt
497×add-cube-cbrt
468×distribute-lft-out
156×associate-*l*
107×distribute-lft-out-- difference-of-squares
58×div-inv
54×associate-/l*
39×associate-/r/
30×associate-/r*
27×add-exp-log
21×associate-/l/
17×div-exp add-cbrt-cube
16×flip3-+ flip-+
cbrt-undiv
add-log-exp
frac-2neg clear-num
pow1 div-sub sum-log
+-commutative rec-exp associate-+l+ flip3-- 1-exp flip--
Counts
3 → 718
Calls
3 calls:
10.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
37.0ms
(/ (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))) (/ 1 6.0))
15.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

series228.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(+ (+ x 1.0) (* 4.0 (sqrt x)))
92.0ms
(/ (/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x)))) (/ 1 6.0))
88.0ms
(/ (- x 1.0) (+ (+ x 1.0) (* 4.0 (sqrt x))))

simplify166.0ms

Algorithm
egg-herbie
Counts
727 → 727
Iterations

Useful iterations: 1 (51.0ms)

IterNodesCost
0193711605
1500110882

prune829.0ms

Filtered
727 candidates to 239 candidates (67.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New7270727
Fresh011
Picked011
Done000
Total7272729

Merged error: 0b

Counts
729 → 2

localize21.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
5.8b
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
8.0b
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
15.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))))))

rewrite659.0ms

Algorithm
rewrite-expression-head
Rules
1274×*-un-lft-identity
822×frac-times
562×associate-*l*
528×frac-add
445×add-sqr-sqrt
434×distribute-lft-out
431×flip3-+ flip-+
384×unpow-prod-down
338×times-frac
297×associate-*r*
284×flip3-- flip--
280×associate-/l*
240×associate-/r*
202×add-cube-cbrt
192×pow-unpow sum-cubes
190×associate-*r/
163×associate-*l/
98×distribute-lft-out--
81×unswap-sqr
50×*-commutative
45×pow1
44×difference-of-squares
40×associate-/l/
30×add-exp-log add-cbrt-cube
26×sqrt-prod
22×swap-sqr
20×frac-2neg clear-num
18×pow-prod-down
14×distribute-rgt-in distribute-lft-in
13×prod-exp cbrt-unprod
12×associate-+l+
+-commutative add-log-exp
associate-+r+
cbrt-undiv div-exp associate-/r/ pow-sqr pow-prod-up
sub-neg
pow-plus sum-log div-inv
pow2 associate-+r- diff-log
Counts
4 → 1219
Calls
4 calls:
17.0ms
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
30.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
177.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
297.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))))))

series416.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(* (* 4.0 (sqrt x)) (* 4.0 (sqrt x)))
97.0ms
(/ (* 6.0 (- x 1.0)) (+ (pow (+ x 1.0) 3) (pow (* 4.0 (sqrt x)) 3)))
83.0ms
(+ (* (+ x 1.0) (+ x 1.0)) (- (* (* 4.0 (sqrt x)) (* 4.0 (sqrt x))) (* (+ x 1.0) (* 4.0 (sqrt x)))))
208.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))))))

simplify575.0ms

Algorithm
egg-herbie
Counts
1231 → 1231
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
0500363706

prune3.6s

Filtered
1231 candidates to 658 candidates (46.5%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New123101231
Fresh000
Picked011
Done011
Total123121233

Merged error: 0b

Counts
1233 → 2

regimes14.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
0188
1188

end0.0ms

sample635.0ms

Algorithm
intervals
Results
245.0ms8000×body80valid
208.0ms7872×body80nan