Details

Time bar (total: 2.0s)

sample18.0ms

Algorithm
intervals
Results
6.0ms246×body80valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify4.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01489
11489

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(+ x (+ (* (+ x y) 2) z))

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
*-un-lft-identity sum-log
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+r+ flip3-+ add-cbrt-cube flip-+ distribute-lft-out
Counts
1 → 14
Calls
1 calls:
7.0ms
(+ x (+ (* (+ x y) 2) z))

series6.0ms

Counts
1 → 3
Calls
1 calls:
6.0ms
(+ x (+ (* (+ x y) 2) z))

simplify37.0ms

Algorithm
egg-herbie
Counts
17 → 17
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
05369207

prune30.0ms

Filtered
11 candidates to 17 candidates (-54.5%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New14317
Fresh000
Picked011
Done000
Total14418

Merged error: 0.0b

Counts
18 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (+ (* (+ x y) 2) z))
0.0b
(sqrt (+ x (+ (* (+ x y) 2) z)))
0.0b
(sqrt (+ x (+ (* (+ x y) 2) z)))
0.3b
(* (sqrt (+ x (+ (* (+ x y) 2) z))) (sqrt (+ x (+ (* (+ x y) 2) z))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
34×*-un-lft-identity sqrt-prod
28×add-sqr-sqrt
21×pow1
16×sqrt-div
14×add-cube-cbrt
11×swap-sqr
10×sqrt-pow1 pow1/2
flip3-+ flip-+ distribute-lft-out add-log-exp
associate-*r* associate-*l*
add-exp-log add-cbrt-cube
pow-prod-up
frac-times unswap-sqr
pow-prod-down sum-log pow-sqr
rem-sqrt-square associate-*r/ associate-*l/
+-commutative pow2 associate-+r+ pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 108
Calls
4 calls:
7.0ms
(+ x (+ (* (+ x y) 2) z))
6.0ms
(sqrt (+ x (+ (* (+ x y) 2) z)))
6.0ms
(sqrt (+ x (+ (* (+ x y) 2) z)))
17.0ms
(* (sqrt (+ x (+ (* (+ x y) 2) z))) (sqrt (+ x (+ (* (+ x y) 2) z))))

series44.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(+ x (+ (* (+ x y) 2) z))
11.0ms
(sqrt (+ x (+ (* (+ x y) 2) z)))
11.0ms
(sqrt (+ x (+ (* (+ x y) 2) z)))
16.0ms
(* (sqrt (+ x (+ (* (+ x y) 2) z))) (sqrt (+ x (+ (* (+ x y) 2) z))))

simplify51.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
049471653
149471653

prune146.0ms

Filtered
73 candidates to 120 candidates (-64.4%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1191120
Fresh022
Picked011
Done011
Total1195124

Merged error: 0.0b

Counts
124 → 5

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (sqrt (+ x (+ (* 2 (+ x y)) z))) (fabs (cbrt (+ x (+ (* 2 (+ x y)) z))))) (sqrt (cbrt (+ x (+ (* (+ x y) 2) z)))))
0.2b
(* (sqrt (+ x (+ (* 2 (+ x y)) z))) (fabs (cbrt (+ x (+ (* 2 (+ x y)) z)))))
0.6b
(cbrt (+ x (+ (* (+ x y) 2) z)))
0.6b
(cbrt (+ x (+ (* 2 (+ x y)) z)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
20×*-un-lft-identity
16×add-sqr-sqrt
14×sqrt-div
13×associate-*r*
12×cbrt-prod add-cube-cbrt sqrt-prod
11×pow1 add-exp-log add-cbrt-cube
10×cbrt-div associate-*l/
flip3-+ flip-+
associate-*l*
frac-times pow-prod-down prod-exp cbrt-unprod distribute-lft-out add-log-exp
pow1/3 associate-*r/ *-commutative unswap-sqr
Counts
4 → 86
Calls
4 calls:
18.0ms
(* (* (sqrt (+ x (+ (* 2 (+ x y)) z))) (fabs (cbrt (+ x (+ (* 2 (+ x y)) z))))) (sqrt (cbrt (+ x (+ (* (+ x y) 2) z)))))
10.0ms
(* (sqrt (+ x (+ (* 2 (+ x y)) z))) (fabs (cbrt (+ x (+ (* 2 (+ x y)) z)))))
6.0ms
(cbrt (+ x (+ (* (+ x y) 2) z)))
6.0ms
(cbrt (+ x (+ (* 2 (+ x y)) z)))

series233.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(* (* (sqrt (+ x (+ (* 2 (+ x y)) z))) (fabs (cbrt (+ x (+ (* 2 (+ x y)) z))))) (sqrt (cbrt (+ x (+ (* (+ x y) 2) z)))))
39.0ms
(* (sqrt (+ x (+ (* 2 (+ x y)) z))) (fabs (cbrt (+ x (+ (* 2 (+ x y)) z)))))
40.0ms
(cbrt (+ x (+ (* (+ x y) 2) z)))
41.0ms
(cbrt (+ x (+ (* 2 (+ x y)) z)))

simplify51.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
050572746

prune252.0ms

Filtered
76 candidates to 98 candidates (-28.9%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New98098
Fresh022
Picked011
Done022
Total985103

Merged error: 0.0b

Counts
103 → 5

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (* (+ x y) 2) z) (- (* (+ x y) -2) z))
0.0b
(+ x (- (* (+ x y) -2) z))
17.1b
(+ (* x x) (* (+ (* (+ x y) 2) z) (- (* (+ x y) -2) z)))
36.3b
(/ (+ (* x x) (* (+ (* (+ x y) 2) z) (- (* (+ x y) -2) z))) (+ x (- (* (+ x y) -2) z)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
25×*-un-lft-identity
17×add-sqr-sqrt
15×add-cube-cbrt
12×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
flip3-+ flip-+
pow1 associate-+r+
sub-neg distribute-lft-out
distribute-rgt-in frac-times distribute-lft-in associate-/r*
flip3-- associate-*r* associate-*l* sum-log flip-- associate-/l*
+-commutative associate-*r/ associate-*l/ associate-/r/ associate-/l/
cbrt-undiv associate-+r- frac-2neg diff-log div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 96
Calls
4 calls:
13.0ms
(* (+ (* (+ x y) 2) z) (- (* (+ x y) -2) z))
6.0ms
(+ x (- (* (+ x y) -2) z))
4.0ms
(+ (* x x) (* (+ (* (+ x y) 2) z) (- (* (+ x y) -2) z)))
13.0ms
(/ (+ (* x x) (* (+ (* (+ x y) 2) z) (- (* (+ x y) -2) z))) (+ x (- (* (+ x y) -2) z)))

series75.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (+ (* (+ x y) 2) z) (- (* (+ x y) -2) z))
7.0ms
(+ x (- (* (+ x y) -2) z))
25.0ms
(+ (* x x) (* (+ (* (+ x y) 2) z) (- (* (+ x y) -2) z)))
26.0ms
(/ (+ (* x x) (* (+ (* (+ x y) 2) z) (- (* (+ x y) -2) z))) (+ x (- (* (+ x y) -2) z)))

simplify81.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 0 (66.0ms)

IterNodesCost
049062711
149062711

prune139.0ms

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

5 alts after pruning (1 fresh and 4 done)

PrunedKeptTotal
New1080108
Fresh011
Picked011
Done033
Total1085113

Merged error: 0.0b

Counts
113 → 5

regimes155.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
0129
1129

end0.0ms

sample513.0ms

Algorithm
intervals
Results
199.0ms7396×body80valid
20.0ms169×body1280valid
18.0ms189×body640valid
10.0ms138×body320valid
6.0ms40×body2560valid
4.0ms77×body160valid

Profiling

Loading profile data...