Details

Time bar (total: 4.7s)

sample15.0ms

Algorithm
intervals
Results
5.0ms234×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify306.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

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite1.1s

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity add-log-exp
24×sum-log distribute-lft-out
pow1 add-exp-log +-commutative add-sqr-sqrt add-cube-cbrt associate-+l+ flip3-+ add-cbrt-cube flip-+
Counts
3 → 53
Calls
3 calls:
994.0ms
(+ (+ (+ (+ (+ x y) y) x) z) x)
59.0ms
(+ (+ (+ x y) y) x)
13.0ms
(+ (+ x y) y)

series80.0ms

Counts
3 → 9
Calls
3 calls:
22.0ms
(+ (+ (+ (+ (+ x y) y) x) z) x)
34.0ms
(+ (+ (+ x y) y) x)
24.0ms
(+ (+ x y) y)

simplify33.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0249320
1929288
25001270

prune103.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 1 expressions with local error:

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

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

series26.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
16 → 16
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0111103
143094
2210394
3500194

prune33.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (+ x y) y) x)
0.0b
(+ (+ x y) y)
0.0b
(+ (+ x y) y)
0.2b
(* (sqrt (+ (+ (+ x y) y) x)) (sqrt (+ (+ (+ x y) y) x)))

rewrite365.0ms

Algorithm
rewrite-expression-head
Rules
127×*-un-lft-identity
72×distribute-lft-out
54×sqrt-prod
24×add-sqr-sqrt
23×swap-sqr add-log-exp
19×pow1
12×add-cube-cbrt sqrt-div sum-log
flip3-+ associate-*r* associate-*l* flip-+
sqrt-pow1 pow1/2
add-exp-log add-cbrt-cube
pow-prod-up
frac-times unswap-sqr
+-commutative associate-+l+ pow-prod-down pow-sqr
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 125
Calls
4 calls:
57.0ms
(+ (+ (+ x y) y) x)
14.0ms
(+ (+ x y) y)
13.0ms
(+ (+ x y) y)
272.0ms
(* (sqrt (+ (+ (+ x y) y) x)) (sqrt (+ (+ (+ x y) y) x)))

series125.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(+ (+ (+ x y) y) x)
30.0ms
(+ (+ x y) y)
23.0ms
(+ (+ x y) y)
42.0ms
(* (sqrt (+ (+ (+ x y) y) x)) (sqrt (+ (+ (+ x y) y) x)))

simplify48.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0274734
11171637
25001603

prune214.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite456.0ms

Algorithm
rewrite-expression-head
Rules
48×*-un-lft-identity
24×distribute-lft-out
21×associate-*r*
18×cbrt-prod
16×add-sqr-sqrt sqrt-prod
14×sqrt-div
12×add-cube-cbrt
11×pow1 add-exp-log add-cbrt-cube
10×cbrt-div associate-*r/
flip3-+ flip-+
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod add-log-exp
pow1/3 associate-*l/ *-commutative unswap-sqr
Counts
4 → 94
Calls
4 calls:
248.0ms
(* (* (fabs (cbrt (+ (+ (+ x y) y) x))) (sqrt (+ (+ (+ x y) y) x))) (sqrt (cbrt (+ (+ (+ x y) y) x))))
137.0ms
(* (fabs (cbrt (+ (+ (+ x y) y) x))) (sqrt (+ (+ (+ x y) y) x)))
32.0ms
(cbrt (+ (+ (+ x y) y) x))
36.0ms
(cbrt (+ (+ (+ x y) y) x))

series802.0ms

Counts
4 → 12
Calls
4 calls:
275.0ms
(* (* (fabs (cbrt (+ (+ (+ x y) y) x))) (sqrt (+ (+ (+ x y) y) x))) (sqrt (cbrt (+ (+ (+ x y) y) x))))
94.0ms
(* (fabs (cbrt (+ (+ (+ x y) y) x))) (sqrt (+ (+ (+ x y) y) x)))
220.0ms
(cbrt (+ (+ (+ x y) y) x))
212.0ms
(cbrt (+ (+ (+ x y) y) x))

simplify67.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
06401618
124151486
250031456

prune348.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0.0b

regimes106.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
0135
1135

end0.0ms

sample374.0ms

Algorithm
intervals
Results
163.0ms7405×body80valid
22.0ms185×body1280valid
15.0ms200×body640valid
7.0ms122×body320valid
3.0ms76×body160valid
2.0ms19×body2560valid