Details

Time bar (total: 2.1s)

sample15.0ms

Algorithm
intervals
Results
6.0ms326×body80valid

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

rewrite17.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:
3.0ms
(+ x (* y (- z x)))
12.0ms
(* y (- z x))

series74.0ms

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

simplify86.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0172180
1731165
23520165
35001165

prune74.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series62.0ms

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

simplify108.0ms

Algorithm
egg-herbie
Counts
36 → 36
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0181209
1786168
23584162
35001162

prune64.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* y z) (* y (- x)))
0.3b
(* (sqrt (+ (* y z) (* y (- x)))) (sqrt (+ (* y z) (* y (- x)))))
2.3b
(sqrt (+ (* y z) (* y (- x))))
2.3b
(sqrt (+ (* y z) (* y (- x))))

rewrite32.0ms

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

series180.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* y z) (* y (- x)))
32.0ms
(* (sqrt (+ (* y z) (* y (- x)))) (sqrt (+ (* y z) (* y (- x)))))
56.0ms
(sqrt (+ (* y z) (* y (- x))))
58.0ms
(sqrt (+ (* y z) (* y (- x))))

simplify45.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0256933
11145813
25001786

prune217.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
16×*-un-lft-identity sqrt-div associate-*r* sqrt-prod
12×pow1
11×add-exp-log add-cbrt-cube
10×add-cube-cbrt associate-*r/
flip3-- flip--
add-log-exp
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod
distribute-lft-out-- difference-of-squares
associate-*l/ *-commutative unswap-sqr
+-commutative rem-sqrt-square sqrt-pow1 flip3-+ pow1/2 sum-log flip-+
Counts
4 → 85
Calls
4 calls:
4.0ms
(sqrt (- z x))
2.0ms
(+ x (* (* y (sqrt (- z x))) (sqrt (- z x))))
11.0ms
(* y (sqrt (- z x)))
24.0ms
(* (* y (sqrt (- z x))) (sqrt (- z x)))

series222.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(sqrt (- z x))
29.0ms
(+ x (* (* y (sqrt (- z x))) (sqrt (- z x))))
93.0ms
(* y (sqrt (- z x)))
37.0ms
(* (* y (sqrt (- z x))) (sqrt (- z x)))

simplify50.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0404645
11696538
25001521

prune189.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes50.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0145
1185
2195
3195

end0.0ms

sample392.0ms

Algorithm
intervals
Results
189.0ms10155×body80valid