Details

Time bar (total: 3.1s)

sample27.0ms

Algorithm
intervals
Results
13.0ms438×body80valid

simplify48.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: 31.2b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.2b
(- (+ (* x x) (* y y)) (* z z))
29.0b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite114.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:
7.0ms
(+ (* x x) (* y y))
36.0ms
(- (+ (* x x) (* y y)) (* z z))
69.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series132.0ms

Counts
3 → 9
Calls
3 calls:
24.0ms
(+ (* x x) (* y y))
39.0ms
(- (+ (* x x) (* y y)) (* z z))
69.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0337520
11492454
25001446

prune140.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 10.3b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ y (/ (pow x 2) y))
0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
9.1b
(/ (pow z 2) y)
9.7b
(/ (pow x 2) y)

rewrite191.0ms

Algorithm
rewrite-expression-head
Rules
52×times-frac
50×add-sqr-sqrt
45×*-un-lft-identity
38×add-cube-cbrt
25×unpow-prod-down
16×associate-/l*
14×add-exp-log
11×add-log-exp
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
difference-of-squares
pow1
cbrt-undiv pow-to-exp frac-2neg flip3-+ diff-log pow-exp clear-num sum-log frac-sub flip-+ div-inv distribute-lft-out distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 133
Calls
4 calls:
17.0ms
(+ y (/ (pow x 2) y))
154.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
8.0ms
(/ (pow z 2) y)
8.0ms
(/ (pow x 2) y)

series97.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ y (/ (pow x 2) y))
35.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
16.0ms
(/ (pow z 2) y)
19.0ms
(/ (pow x 2) y)

simplify46.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0419838
11459771
25001759

prune312.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 1.3b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite183.0ms

Algorithm
rewrite-expression-head
Rules
34×add-sqr-sqrt times-frac
31×*-un-lft-identity
29×add-cube-cbrt
14×add-exp-log
13×associate-*r*
12×unpow-prod-down
11×add-cbrt-cube add-log-exp
associate-/l*
pow1
div-exp unpow2 sqr-pow
associate-*r/ associate-*l* associate-/r*
cbrt-undiv flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ div-inv unswap-sqr
+-commutative pow-to-exp sub-neg flip3-- frac-2neg pow-prod-down pow-exp associate--l+ clear-num *-commutative flip-- distribute-lft-out
Counts
4 → 109
Calls
4 calls:
16.0ms
(+ y (/ (pow x 2) y))
143.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
12.0ms
(* z (/ z y))
8.0ms
(/ (pow x 2) y)

series96.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(+ y (/ (pow x 2) y))
35.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
19.0ms
(* z (/ z y))
17.0ms
(/ (pow x 2) y)

simplify53.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0428638
11829584
25001581

prune250.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
26×associate-*r*
20×add-cube-cbrt *-un-lft-identity times-frac
14×add-exp-log add-cbrt-cube
11×add-log-exp
pow1
associate-*l*
associate-*r/ prod-exp cbrt-unprod unswap-sqr
cbrt-undiv flip3-+ diff-log div-exp pow-prod-down sum-log *-commutative frac-sub flip-+ div-inv
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 91
Calls
4 calls:
6.0ms
(+ y (* x (/ x y)))
27.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
13.0ms
(* x (/ x y))
15.0ms
(* z (/ z y))

series99.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ y (* x (/ x y)))
35.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
17.0ms
(* x (/ x y))
20.0ms
(* z (/ z y))

simplify60.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0439527
12154482
25002482

prune196.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.0b

regimes69.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
0157
1157

end0.0ms

sample780.0ms

Algorithm
intervals
Results
414.0ms13577×body80valid