Details

Time bar (total: 2.3s)

sample15.0ms

Algorithm
intervals
Results
6.0ms313×body80valid

simplify88.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1263
2623
31643
43203
54383
66003
78313
814513
923573
1025453
1125453

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 1 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt *-un-lft-identity
18×prod-diff
15×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in
associate-*r*
frac-times associate-*l*
pow1 add-exp-log flip3-- flip3-+ add-cbrt-cube flip-- flip-+
sub-neg associate-*r/ associate-*l/
expm1-log1p-u pow-prod-down prod-exp *-commutative cbrt-unprod log1p-expm1-u distribute-lft-out distribute-lft-out-- add-log-exp difference-of-squares unswap-sqr
Counts
1 → 53
Calls
1 calls:
29.0ms
(* (+ x y) (- 1.0 z))

series53.0ms

Counts
1 → 3
Calls
1 calls:
53.0ms
(* (+ x y) (- 1.0 z))

simplify48.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0397499
11589357
25001356

prune82.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma x z (* z y))
0.0b
(fma 1.0 y (- (fma x z (* z y))))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
2 → 20
Calls
2 calls:
0.0ms
(fma x z (* z y))
0.0ms
(fma 1.0 y (- (fma x z (* z y))))

series73.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
042116
1113102
2436102
32118102
45002102

prune62.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 3 expressions with local error:

1.2b
(* (- (* x x) (* y y)) (- 1.0 z))
2.4b
(- (* x x) (* y y))
29.0b
(/ (* (- (* x x) (* y y)) (- 1.0 z)) (- x y))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
25×*-un-lft-identity
19×add-cube-cbrt prod-diff
14×flip3-- flip--
11×distribute-rgt-in distribute-lft-in
10×add-exp-log add-cbrt-cube
frac-times associate-/l/
pow1 times-frac associate-*r* associate-/r* add-log-exp difference-of-squares
associate-*r/ associate-*l* associate-*l/
expm1-log1p-u sub-neg log1p-expm1-u distribute-lft-out--
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod
frac-2neg fma-neg diff-log pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 107
Calls
3 calls:
19.0ms
(* (- (* x x) (* y y)) (- 1.0 z))
3.0ms
(- (* x x) (* y y))
17.0ms
(/ (* (- (* x x) (* y y)) (- 1.0 z)) (- x y))

series145.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(* (- (* x x) (* y y)) (- 1.0 z))
30.0ms
(- (* x x) (* y y))
60.0ms
(/ (* (- (* x x) (* y y)) (- 1.0 z)) (- x y))

simplify80.0ms

Algorithm
egg-herbie
Counts
116 → 116
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
05641136
12995926
25002920

prune228.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
57×*-un-lft-identity
55×distribute-rgt-in distribute-lft-in
54×prod-diff
47×add-cube-cbrt
46×sqrt-div
32×frac-times
23×flip3-+ flip-+
17×sqrt-prod
16×associate-*r/
14×associate-*l*
13×pow1
12×flip3-- flip--
11×add-exp-log add-cbrt-cube
10×associate-*l/
sub-neg associate-*r*
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u distribute-lft-out add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 *-commutative hypot-def unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
4 → 189
Calls
4 calls:
4.0ms
(sqrt (+ x y))
4.0ms
(sqrt (+ x y))
21.0ms
(* (sqrt (+ x y)) (- 1.0 z))
42.0ms
(* (sqrt (+ x y)) (* (sqrt (+ x y)) (- 1.0 z)))

series205.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(sqrt (+ x y))
34.0ms
(sqrt (+ x y))
90.0ms
(* (sqrt (+ x y)) (- 1.0 z))
47.0ms
(* (sqrt (+ x y)) (* (sqrt (+ x y)) (- 1.0 z)))

simplify83.0ms

Algorithm
egg-herbie
Counts
201 → 201
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
06782029
127711559
250011542

prune342.0ms

Pruning

4 alts after pruning (0 fresh and 4 done)

Merged error: 0b

regimes105.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
093
193

end0.0ms

sample400.0ms

Algorithm
intervals
Results
203.0ms10115×body80valid
0.0msbody320valid
0.0msbody1280valid