Details

Time bar (total: 2.7s)

sample29.0ms

Algorithm
intervals
Results
15.0ms470×body80valid

simplify51.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 27.4b

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

rewrite51.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))
18.0ms
(- (+ (* x x) (* y y)) (* z z))
29.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series142.0ms

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

simplify39.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: 10.0b

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

rewrite25.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:
11.0ms
(+ y (/ (pow x 2) y))
4.0ms
(/ (pow x 2) y)
7.0ms
(/ (pow z 2) y)

series66.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ y (/ (pow x 2) y))
18.0ms
(/ (pow x 2) y)
18.0ms
(/ (pow z 2) y)

simplify39.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0327554
11147494
25001488

prune278.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.3b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite28.0ms

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

series63.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0506765
12368692
25002685

prune328.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
58×add-sqr-sqrt
53×add-cube-cbrt *-un-lft-identity
13×add-exp-log associate-*r* associate-/r* add-cbrt-cube
div-inv
pow1 add-log-exp
cbrt-undiv div-exp
associate-*l* associate-/l*
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 → 113
Calls
3 calls:
2.0ms
(+ y (* (fabs x) (/ (fabs x) y)))
4.0ms
(/ z (/ y z))
7.0ms
(* (fabs x) (/ (fabs x) y))

series62.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+ y (* (fabs x) (/ (fabs x) y)))
22.0ms
(/ z (/ y z))
19.0ms
(* (fabs x) (/ (fabs x) y))

simplify73.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0520763
12659685
25002676

prune303.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes111.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
0169
1169

end0.0ms

sample749.0ms

Algorithm
intervals
Results
458.0ms13708×body80valid