Details

Time bar (total: 2.9s)

sample16.0ms

Algorithm
intervals
Results
6.0ms335×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

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

series75.0ms

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

simplify85.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0172180
1731165
23520165
35001165

prune73.0ms

Filtered
47 candidates to 29 candidates (61.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.0ms

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

series56.0ms

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

simplify89.0ms

Algorithm
egg-herbie
Counts
32 → 32
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0167172
1672154
23123150
35002144

prune62.0ms

Filtered
32 candidates to 23 candidates (71.9%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* y (- z x))
0.3b
(* (sqrt (* y (- z x))) (sqrt (* y (- z x))))
1.5b
(sqrt (* y (- z x)))
1.5b
(sqrt (* y (- z x)))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
32×sqrt-pow1
23×pow-prod-down
20×associate-*r/
16×add-sqr-sqrt sqrt-div
12×*-un-lft-identity pow1/2
10×add-cube-cbrt pow-prod-up
flip3-- associate-*r* flip--
add-exp-log add-cbrt-cube
associate-*l*
sqrt-prod pow-sqr
frac-times swap-sqr add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
pow2 pow-plus sqrt-unprod rem-square-sqrt distribute-lft-out-- difference-of-squares
Counts
4 → 109
Calls
4 calls:
10.0ms
(* y (- z x))
28.0ms
(* (sqrt (* y (- z x))) (sqrt (* y (- z x))))
3.0ms
(sqrt (* y (- z x)))
3.0ms
(sqrt (* y (- z x)))

series243.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* y (- z x))
98.0ms
(* (sqrt (* y (- z x))) (sqrt (* y (- z x))))
52.0ms
(sqrt (* y (- z x)))
57.0ms
(sqrt (* y (- z x)))

simplify46.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0253526
11151473
25002451

prune197.0ms

Filtered
121 candidates to 69 candidates (57.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* x y) (* x y))
2.6b
(+ (* (+ x (* z y)) (+ (* x y) (+ x (* z y)))) (* (* x y) (* x y)))
7.1b
(- (pow (+ x (* z y)) 3) (pow (* x y) 3))
40.4b
(/ (- (pow (+ x (* z y)) 3) (pow (* x y) 3)) (+ (* (+ x (* z y)) (+ (* x y) (+ x (* z y)))) (* (* x y) (* x y))))

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
72×add-sqr-sqrt
43×pow1
40×difference-of-squares
39×times-frac
32×*-un-lft-identity
30×sqr-pow
22×add-cube-cbrt
18×add-exp-log add-cbrt-cube
17×pow-prod-down
13×associate-/l*
10×unpow-prod-down cube-prod
prod-exp cbrt-unprod add-log-exp
difference-cubes distribute-lft-out--
pow-sqr pow-prod-up
associate-/r*
associate-+l+ flip3-- flip3-+ pow-plus associate-/r/ flip-- flip-+ associate-/l/
cbrt-undiv +-commutative pow2 distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log div-sub swap-sqr div-exp associate-*r* associate-*l* clear-num sum-log *-commutative div-inv
Counts
4 → 141
Calls
4 calls:
10.0ms
(* (* x y) (* x y))
13.0ms
(+ (* (+ x (* z y)) (+ (* x y) (+ x (* z y)))) (* (* x y) (* x y)))
32.0ms
(- (pow (+ x (* z y)) 3) (pow (* x y) 3))
85.0ms
(/ (- (pow (+ x (* z y)) 3) (pow (* x y) 3)) (+ (* (+ x (* z y)) (+ (* x y) (+ x (* z y)))) (* (* x y) (* x y))))

series672.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (* x y) (* x y))
86.0ms
(+ (* (+ x (* z y)) (+ (* x y) (+ x (* z y)))) (* (* x y) (* x y)))
159.0ms
(- (pow (+ x (* z y)) 3) (pow (* x y) 3))
397.0ms
(/ (- (pow (+ x (* z y)) 3) (pow (* x y) 3)) (+ (* (+ x (* z y)) (+ (* x y) (+ x (* z y)))) (* (* x y) (* x y))))

simplify102.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
05732890
126112765
250012762

prune352.0ms

Filtered
153 candidates to 100 candidates (65.4%)
Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes50.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
0145
1185
2195
3195

end0.0ms

sample378.0ms

Algorithm
intervals
Results
189.0ms10140×body80valid