Details

Time bar (total: 2.9s)

sample29.0ms

Algorithm
intervals
Results
15.0ms470×body80valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.4b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.3b
(- (+ (* x x) (* y y)) (* z z))
25.5b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite20.0ms

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

series152.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ (* x x) (* y y))
42.0ms
(- (+ (* x x) (* y y)) (* z z))
83.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify39.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0337520
11492454
25001446

prune149.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 10.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
10.1b
(/ (pow x 2) y)
10.2b
(/ (pow z 2) y)

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
39×*-un-lft-identity
37×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down
16×associate-/l*
13×add-exp-log
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
add-log-exp
pow1
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 110
Calls
3 calls:
9.0ms
(+ y (/ (pow x 2) y))
5.0ms
(/ (pow x 2) y)
5.0ms
(/ (pow z 2) y)

series67.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ y (/ (pow x 2) y))
19.0ms
(/ (pow x 2) y)
22.0ms
(/ (pow z 2) y)

simplify40.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0327554
11147494
25001488

prune299.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.3b

localize16.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
0.2b
(/ (pow z (/ 2 2)) (/ y z))
10.1b
(/ (pow x 2) y)

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
187×times-frac
106×*-un-lft-identity
104×add-sqr-sqrt add-cube-cbrt
54×unpow-prod-down
21×add-exp-log
18×sqr-pow
16×associate-/r*
15×associate-/l*
12×div-exp
10×add-cbrt-cube div-inv
add-log-exp
cbrt-undiv unpow2
pow1 pow-to-exp pow-exp
frac-2neg clear-num
+-commutative flip3-+ sum-log associate-/r/ flip-+ distribute-lft-out
Counts
3 → 191
Calls
3 calls:
9.0ms
(+ y (/ (pow x 2) y))
8.0ms
(/ (pow z (/ 2 2)) (/ y z))
5.0ms
(/ (pow x 2) y)

series72.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(+ y (/ (pow x 2) y))
25.0ms
(/ (pow z (/ 2 2)) (/ y z))
19.0ms
(/ (pow x 2) y)

simplify107.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
07171259
133801072
250021068

prune398.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ y (* x (/ x y)))
0.2b
(/ (pow z (/ 2 2)) (/ y z))
0.2b
(* x (/ x y))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
100×add-sqr-sqrt
95×add-cube-cbrt *-un-lft-identity
42×unpow-prod-down
21×add-exp-log
14×sqr-pow
13×associate-*r* associate-/r* add-cbrt-cube
10×div-exp div-inv
associate-/l*
pow1 add-log-exp
cbrt-undiv
associate-*l*
pow-to-exp pow-exp prod-exp cbrt-unprod unswap-sqr
+-commutative frac-2neg flip3-+ associate-*r/ pow-prod-down clear-num sum-log associate-/r/ *-commutative flip-+
Counts
3 → 173
Calls
3 calls:
3.0ms
(+ y (* x (/ x y)))
8.0ms
(/ (pow z (/ 2 2)) (/ y z))
9.0ms
(* x (/ x y))

series69.0ms

Counts
3 → 9
Calls
3 calls:
31.0ms
(+ y (* x (/ x y)))
19.0ms
(/ (pow z (/ 2 2)) (/ y z))
19.0ms
(* x (/ x y))

simplify111.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 2 (96.0ms)

IterNodesCost
07321148
13708974
25001971

prune325.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes125.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0229
1229

end0.0ms

sample741.0ms

Algorithm
intervals
Results
459.0ms13708×body80valid