Details

Time bar (total: 5.4s)

sample16.0ms

Algorithm
intervals
Results
5.0ms241×body80valid
0.0msbody640valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody2560valid

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

prune5.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite2.0s

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:
1.8s
(+ (+ (+ (+ (+ x y) y) x) z) x)
26.0ms
(+ (+ x y) y)
112.0ms
(+ (+ (+ x y) y) x)

series81.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
62 → 62
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0249320
1929288
25002270

prune109.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite88.0ms

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

series53.0ms

Counts
2 → 6
Calls
2 calls:
22.0ms
(+ (+ (* 2 (+ x y)) x) z)
31.0ms
(+ (* 2 (+ x y)) x)

simplify78.0ms

Algorithm
egg-herbie
Counts
33 → 33
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
0165183
1588174
22960170
35001170

prune74.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (* 2 (+ x y)) (* 2 (+ x y)))
0.0b
(- (* 2 (+ x y)) x)
9.5b
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
27.9b
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

rewrite329.0ms

Algorithm
rewrite-expression-head
Rules
43×pow1
18×add-exp-log add-cbrt-cube
17×pow-prod-down
14×associate-*r/
13×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×times-frac
distribute-rgt-in distribute-lft-in
prod-exp cbrt-unprod add-log-exp
flip3-+ associate--l+ flip-+
difference-of-squares
frac-times flip3-- pow-sqr pow-prod-up flip-- associate-/l*
associate-/r*
sub-neg pow-plus diff-log associate-*l/ associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg div-sub swap-sqr div-exp associate-*r* associate-*l* clear-num *-commutative div-inv
Counts
4 → 113
Calls
4 calls:
60.0ms
(* (* 2 (+ x y)) (* 2 (+ x y)))
14.0ms
(- (* 2 (+ x y)) x)
74.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
176.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

series156.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(* (* 2 (+ x y)) (* 2 (+ x y)))
23.0ms
(- (* 2 (+ x y)) x)
31.0ms
(- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x))
82.0ms
(/ (- (* (* 2 (+ x y)) (* 2 (+ x y))) (* x x)) (- (* 2 (+ x y)) x))

simplify92.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (80.0ms)

IterNodesCost
05161135
12849969
25001949

prune279.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- (* 2 (+ x y)) x)) (cbrt (- (* 2 (+ x y)) x)))
0.5b
(cbrt (- (* 2 (+ x y)) x))
0.5b
(cbrt (- (* 2 (+ x y)) x))
0.5b
(cbrt (- (* 2 (+ x y)) x))

rewrite153.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-- pow1/3 flip--
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
108.0ms
(* (cbrt (- (* 2 (+ x y)) x)) (cbrt (- (* 2 (+ x y)) x)))
13.0ms
(cbrt (- (* 2 (+ x y)) x))
13.0ms
(cbrt (- (* 2 (+ x y)) x))
15.0ms
(cbrt (- (* 2 (+ x y)) x))

series609.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(* (cbrt (- (* 2 (+ x y)) x)) (cbrt (- (* 2 (+ x y)) x)))
141.0ms
(cbrt (- (* 2 (+ x y)) x))
144.0ms
(cbrt (- (* 2 (+ x y)) x))
142.0ms
(cbrt (- (* 2 (+ x y)) x))

simplify47.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
02841052
11017987
25002920

prune314.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes90.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
0174
1194
2194

end0.0ms

sample412.0ms

Algorithm
intervals
Results
156.0ms7420×body80valid
15.0ms178×body1280valid
13.0ms189×body640valid
7.0ms127×body320valid
3.0ms34×body2560valid
2.0ms66×body160valid