Details

Time bar (total: 2.7s)

sample18.0ms

Algorithm
intervals
Results
6.0ms335×body80valid

simplify183.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0103
1173
2313
3463
4533
5623
6803
71183
82353
94673
108323
1112123
1217863
1334073
1450023

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
*-un-lft-identity
associate-*r*
pow1 add-exp-log distribute-rgt-in add-cube-cbrt sub-neg associate-+r+ distribute-lft-in add-cbrt-cube add-log-exp
associate-*l*
associate-*r/
+-commutative flip3-- flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
2 → 41
Calls
2 calls:
10.0ms
(+ x (* y (- z x)))
23.0ms
(* y (- z x))

series67.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(+ x (* y (- z x)))
40.0ms
(* y (- z x))

simplify88.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0172180
1731165
23520165
35001165

prune77.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

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

series52.0ms

Counts
2 → 6
Calls
2 calls:
23.0ms
(+ x (* z y))
28.0ms
(+ (+ x (* z y)) (* y (- x)))

simplify86.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (82.0ms)

IterNodesCost
0166174
1672155
23139150
35001144

prune55.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (- z x))
0.0b
(sqrt (- z x))
0.1b
(* y (sqrt (- z x)))
0.1b
(* (* y (sqrt (- z x))) (sqrt (- z x)))

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
21×sqrt-prod
19×*-un-lft-identity
18×sqrt-div
16×associate-*r*
13×pow1
11×add-exp-log add-cube-cbrt add-cbrt-cube
10×associate-*r/
flip3-- flip--
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod distribute-lft-out-- add-log-exp difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ *-commutative unswap-sqr
Counts
4 → 91
Calls
4 calls:
7.0ms
(sqrt (- z x))
8.0ms
(sqrt (- z x))
22.0ms
(* y (sqrt (- z x)))
51.0ms
(* (* y (sqrt (- z x))) (sqrt (- z x)))

series234.0ms

Counts
4 → 12
Calls
4 calls:
57.0ms
(sqrt (- z x))
58.0ms
(sqrt (- z x))
87.0ms
(* y (sqrt (- z x)))
31.0ms
(* (* y (sqrt (- z x))) (sqrt (- z x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0345607
11414527
25001507

prune194.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ x (* z y)) (* y (- x)))
0.1b
(sqrt (+ (+ x (* z y)) (* y (- x))))
0.1b
(sqrt (+ (+ x (* z y)) (* y (- x))))
0.2b
(* (sqrt (+ (+ x (* z y)) (* y (- x)))) (sqrt (+ (+ x (* z y)) (* y (- x)))))

rewrite175.0ms

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

series450.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ (+ x (* z y)) (* y (- x)))
197.0ms
(sqrt (+ (+ x (* z y)) (* y (- x))))
200.0ms
(sqrt (+ (+ x (* z y)) (* y (- x))))
27.0ms
(* (sqrt (+ (+ x (* z y)) (* y (- x)))) (sqrt (+ (+ x (* z y)) (* y (- x)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
02621117
111631001
25001964

prune211.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes65.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
083
183

end0.0ms

sample457.0ms

Algorithm
intervals
Results
179.0ms10140×body80valid