Details

Time bar (total: 3.9s)

sample60.0ms

Algorithm
intervals
Results
45.0ms469×body80valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune10.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 29.4b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.5b
(- (+ (* x x) (* y y)) (* z z))
27.4b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-log-exp
add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
times-frac associate-/l*
pow1 expm1-log1p-u fma-neg prod-diff log1p-expm1-u difference-of-squares
cbrt-undiv flip3-- diff-log div-exp sum-log flip-- associate-/l/
+-commutative sub-neg fma-def frac-2neg flip3-+ div-sub prod-exp associate--l+ clear-num associate-/r* cbrt-unprod flip-+ div-inv
Counts
3 → 65
Calls
3 calls:
3.0ms
(+ (* x x) (* y y))
19.0ms
(- (+ (* x x) (* y y)) (* z z))
34.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series171.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(+ (* x x) (* y y))
49.0ms
(- (+ (* x x) (* y y)) (* z z))
91.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0365571
11599486
25002469

prune225.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 10.8b

localize12.0ms

Local error

Found 2 expressions with local error:

9.5b
(/ (pow x 2) y)
9.5b
(/ (pow z 2) y)

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
24×unpow-prod-down
16×associate-/l*
12×add-exp-log
unpow2 sqr-pow
div-exp associate-/r* add-cbrt-cube
pow1 cbrt-undiv expm1-log1p-u pow-to-exp frac-2neg pow-exp clear-num log1p-expm1-u div-inv add-log-exp
Counts
2 → 102
Calls
2 calls:
4.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series47.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(/ (pow x 2) y)
21.0ms
(/ (pow z 2) y)

simplify48.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0276494
1970434
25002427

prune300.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 1.0b

localize14.0ms

Local error

Found 2 expressions with local error:

0.2b
(/ (pow z (/ 2 2)) (/ y z))
9.5b
(/ (pow x 2) y)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
103×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
54×unpow-prod-down
20×add-exp-log
18×sqr-pow
16×associate-/r*
15×associate-/l*
12×div-exp
10×div-inv
add-cbrt-cube
cbrt-undiv unpow2
pow-to-exp pow-exp
pow1 expm1-log1p-u frac-2neg clear-num log1p-expm1-u add-log-exp
associate-/r/
Counts
2 → 183
Calls
2 calls:
8.0ms
(/ (pow z (/ 2 2)) (/ y z))
5.0ms
(/ (pow x 2) y)

series49.0ms

Counts
2 → 6
Calls
2 calls:
27.0ms
(/ (pow z (/ 2 2)) (/ y z))
21.0ms
(/ (pow x 2) y)

simplify118.0ms

Algorithm
egg-herbie
Counts
189 → 189
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
06671201
132021014
250021013

prune386.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 2 expressions with local error:

0.1b
(* x (/ x y))
0.2b
(/ (pow z (/ 2 2)) (/ y z))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
99×add-sqr-sqrt
94×add-cube-cbrt *-un-lft-identity
42×unpow-prod-down
20×add-exp-log
14×sqr-pow
13×associate-*r* associate-/r*
12×add-cbrt-cube
10×div-exp div-inv
associate-/l*
pow1 cbrt-undiv
associate-*l*
expm1-log1p-u pow-to-exp pow-exp prod-exp cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
frac-2neg associate-*r/ pow-prod-down clear-num associate-/r/ *-commutative
Counts
2 → 166
Calls
2 calls:
7.0ms
(* x (/ x y))
8.0ms
(/ (pow z (/ 2 2)) (/ y z))

series44.0ms

Counts
2 → 6
Calls
2 calls:
24.0ms
(* x (/ x y))
20.0ms
(/ (pow z (/ 2 2)) (/ y z))

simplify109.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
06781093
13450919
25001919

prune323.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes74.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0199
1209
2209

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.3s13771×body80valid