Details

Time bar (total: 2.8s)

sample27.0ms

Algorithm
intervals
Results
14.0ms449×body80valid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 32.5b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
5.9b
(- (+ (* x x) (* y y)) (* z z))
30.2b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite50.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:
3.0ms
(+ (* x x) (* y y))
16.0ms
(- (+ (* x x) (* y y)) (* z z))
30.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series149.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(+ (* x x) (* y y))
43.0ms
(- (+ (* x x) (* y y)) (* z z))
80.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0337520
11492454
25001446

prune148.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 13.4b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
49×add-sqr-sqrt
42×*-un-lft-identity
37×add-cube-cbrt
25×unpow-prod-down
16×associate-/l*
13×add-exp-log
unpow2 sqr-pow
add-log-exp
add-cbrt-cube
div-exp associate-/r*
difference-of-squares
pow1
cbrt-undiv pow-to-exp frac-2neg diff-log pow-exp clear-num frac-sub div-inv distribute-lft-out--
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+ distribute-lft-out
Counts
3 → 121
Calls
3 calls:
124.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
4.0ms
(/ (pow x 2) y)
4.0ms
(/ (pow z 2) y)

series81.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
19.0ms
(/ (pow x 2) y)
23.0ms
(/ (pow z 2) y)

simplify47.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0410766
11420699
25002687

prune311.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 2.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
0.1b
(* x (/ x y))
10.3b
(/ (pow z 2) y)

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
45×add-sqr-sqrt
38×times-frac
30×*-un-lft-identity
28×add-cube-cbrt
13×add-exp-log unpow-prod-down associate-*r*
10×add-cbrt-cube
associate-/l* add-log-exp
pow1 unpow2 difference-of-squares sqr-pow
div-exp
associate-*l* associate-/r*
cbrt-undiv diff-log prod-exp frac-sub cbrt-unprod div-inv unswap-sqr
pow-to-exp sub-neg flip3-- frac-2neg flip3-+ associate-*r/ pow-prod-down pow-exp associate--l+ clear-num sum-log *-commutative flip-- flip-+ distribute-lft-out--
Counts
3 → 103
Calls
3 calls:
24.0ms
(- (+ y (* x (/ x y))) (/ (pow z 2) y))
7.0ms
(* x (/ x y))
4.0ms
(/ (pow z 2) y)

series80.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0438652
11799594
25001591

prune258.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
26×associate-*r*
20×times-frac
19×add-cube-cbrt *-un-lft-identity
13×add-exp-log add-cbrt-cube
add-log-exp
pow1
associate-*l*
associate-*r/ prod-exp cbrt-unprod unswap-sqr
cbrt-undiv diff-log div-exp pow-prod-down *-commutative frac-sub div-inv
sub-neg flip3-- flip3-+ associate--l+ sum-log flip-- flip-+
Counts
3 → 80
Calls
3 calls:
12.0ms
(- (+ y (* x (/ x y))) (* (fabs z) (/ (fabs z) y)))
7.0ms
(* x (/ x y))
7.0ms
(* (fabs z) (/ (fabs z) y))

series83.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(- (+ y (* x (/ x y))) (* (fabs z) (/ (fabs z) y)))
21.0ms
(* x (/ x y))
19.0ms
(* (fabs z) (/ (fabs z) y))

simplify58.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0430576
12103509
25002505

prune211.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes113.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0169
1169

end0.0ms

sample739.0ms

Algorithm
intervals
Results
460.0ms13909×body80valid