Details

Time bar (total: 4.8s)

sample22.0ms

Algorithm
intervals
Results
11.0ms239×body80valid
1.0msbody1280valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid
0.0msbody2560valid

simplify300.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0205
1644
22034
33274
43394
53454
64134
75164
85614
97004
109094
1112714
1239214
1350014

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 1 expressions with local error:

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

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
add-log-exp
flip3-+ flip-+
associate-*r/ frac-add
sum-log
associate-+l+
pow1 add-exp-log +-commutative distribute-rgt-in add-sqr-sqrt add-cube-cbrt associate-+r+ *-un-lft-identity distribute-lft-in add-cbrt-cube
Counts
1 → 19
Calls
1 calls:
11.0ms
(+ (* 2 (+ x y)) (+ x z))

series22.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
22 → 22
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0275199
11174190
25001185

prune60.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite137.0ms

Algorithm
rewrite-expression-head
Rules
90×sqrt-div
85×flip3-+ flip-+
74×associate-*r/
68×frac-add
36×frac-times
26×add-sqr-sqrt
21×sqrt-prod
20×pow1
14×add-log-exp
13×add-cube-cbrt *-un-lft-identity
sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* associate-*l/ sum-log add-cbrt-cube
pow-prod-up
associate-+l+ unswap-sqr
pow-prod-down pow-sqr
+-commutative distribute-rgt-in associate-+r+ distribute-lft-in
pow2 rem-sqrt-square pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 154
Calls
4 calls:
18.0ms
(sqrt (+ (* 2 (+ x y)) (+ x z)))
11.0ms
(+ (* 2 (+ x y)) (+ x z))
11.0ms
(+ (* 2 (+ x y)) (+ x z))
85.0ms
(* (sqrt (+ (* 2 (+ x y)) (+ x z))) (sqrt (+ (* 2 (+ x y)) (+ x z))))

series165.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(sqrt (+ (* 2 (+ x y)) (+ x z)))
21.0ms
(+ (* 2 (+ x y)) (+ x z))
27.0ms
(+ (* 2 (+ x y)) (+ x z))
52.0ms
(* (sqrt (+ (* 2 (+ x y)) (+ x z))) (sqrt (+ (* 2 (+ x y)) (+ x z))))

simplify84.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
05212819
122102733
250012712

prune443.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 1 expressions with local error:

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

rewrite6.0ms

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

series22.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0111103
143094
2210394
3500194

prune37.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (sqrt (+ (* 2 (+ x y)) (+ x z))))
0.1b
(sqrt (sqrt (+ (* 2 (+ x y)) (+ x z))))
0.2b
(* (sqrt (sqrt (+ (* 2 (+ x y)) (+ x z)))) (pow (sqrt (sqrt (+ (* 2 (+ x y)) (+ x z)))) 3))
0.4b
(pow (sqrt (sqrt (+ (* 2 (+ x y)) (+ x z)))) 3)

rewrite218.0ms

Algorithm
rewrite-expression-head
Rules
204×sqrt-div
107×sqrt-prod
85×flip3-+ flip-+
74×add-sqr-sqrt associate-*r/
68×frac-add
48×cube-div
36×frac-times
27×unpow-prod-down cube-prod
25×add-cube-cbrt *-un-lft-identity
24×associate-*r* unswap-sqr
12×pow1 sqrt-pow1
10×add-exp-log
associate-*l*
add-cbrt-cube
pow1/2 associate-*l/
pow-pow sqr-pow
rem-sqrt-square add-log-exp
pow-unpow prod-exp
cube-mult pow-to-exp unpow3 pow-exp
*-commutative pow-prod-up sqrt-pow2 cbrt-unprod rem-cube-cbrt
Counts
4 → 214
Calls
4 calls:
20.0ms
(sqrt (sqrt (+ (* 2 (+ x y)) (+ x z))))
19.0ms
(sqrt (sqrt (+ (* 2 (+ x y)) (+ x z))))
136.0ms
(* (sqrt (sqrt (+ (* 2 (+ x y)) (+ x z)))) (pow (sqrt (sqrt (+ (* 2 (+ x y)) (+ x z)))) 3))
26.0ms
(pow (sqrt (sqrt (+ (* 2 (+ x y)) (+ x z)))) 3)

series1.2s

Counts
4 → 12
Calls
4 calls:
404.0ms
(sqrt (sqrt (+ (* 2 (+ x y)) (+ x z))))
401.0ms
(sqrt (sqrt (+ (* 2 (+ x y)) (+ x z))))
63.0ms
(* (sqrt (sqrt (+ (* 2 (+ x y)) (+ x z)))) (pow (sqrt (sqrt (+ (* 2 (+ x y)) (+ x z)))) 3))
380.0ms
(pow (sqrt (sqrt (+ (* 2 (+ x y)) (+ x z)))) 3)

simplify137.0ms

Algorithm
egg-herbie
Counts
226 → 226
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
08784852
143024086
250013870

prune1000.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes98.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
0134
1134

end0.0ms

sample609.0ms

Algorithm
intervals
Results
354.0ms7462×body80valid
34.0ms167×body1280valid
30.0ms181×body640valid
16.0ms123×body320valid
7.0ms30×body2560valid
5.0ms56×body160valid