Details

Time bar (total: 3.3s)

sample27.0ms

Algorithm
intervals
Results
14.0ms434×body80valid

simplify60.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: 25.7b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
3.4b
(- (+ (* x x) (* y y)) (* z z))
23.9b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

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

series147.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0337520
11492454
25001446

prune155.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 9.3b

localize13.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))
8.6b
(/ (pow z 2) y)
9.2b
(/ (pow x 2) y)

rewrite44.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:
9.0ms
(+ y (/ (pow x 2) y))
19.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
5.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series105.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ y (/ (pow x 2) y))
38.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
22.0ms
(/ (pow z 2) y)
18.0ms
(/ (pow x 2) y)

simplify53.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0419838
11459771
25001759

prune343.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 1.5b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
103×times-frac
75×add-sqr-sqrt
70×*-un-lft-identity
63×add-cube-cbrt
16×associate-/r*
14×add-exp-log
13×unpow-prod-down
11×add-cbrt-cube associate-/l* add-log-exp
div-exp div-inv
unpow2 difference-of-squares sqr-pow
pow1 cbrt-undiv
frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-+ distribute-lft-out distribute-lft-out--
+-commutative pow-to-exp sub-neg flip3-- pow-exp associate--l+ associate-/r/ flip--
Counts
4 → 154
Calls
4 calls:
15.0ms
(+ y (/ x (/ y x)))
23.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
6.0ms
(/ x (/ y x))
5.0ms
(/ (pow z 2) y)

series106.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ y (/ x (/ y x)))
43.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
18.0ms
(/ x (/ y x))
18.0ms
(/ (pow z 2) y)

simplify82.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06051049
12708969
25001963

prune399.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
247×times-frac
151×add-sqr-sqrt
137×*-un-lft-identity
130×add-cube-cbrt
44×unpow-prod-down
26×associate-/r*
22×add-exp-log
16×sqr-pow
14×add-cbrt-cube div-inv
12×div-exp
11×add-log-exp
10×associate-/l*
difference-of-squares
cbrt-undiv
pow1
pow-to-exp frac-2neg flip3-+ diff-log pow-exp clear-num sum-log associate-/r/ frac-sub flip-+ distribute-lft-out distribute-lft-out--
+-commutative sub-neg flip3-- associate--l+ flip--
Counts
4 → 237
Calls
4 calls:
16.0ms
(+ y (/ x (/ y x)))
41.0ms
(- (+ y (/ x (/ y x))) (/ (pow z (/ 2 2)) (/ y z)))
8.0ms
(/ (pow z (/ 2 2)) (/ y z))
6.0ms
(/ x (/ y x))

series109.0ms

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

simplify153.0ms

Algorithm
egg-herbie
Counts
249 → 249
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09951833
149441630
250011630

prune496.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes60.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0188
1198
2198

end0.0ms

sample740.0ms

Algorithm
intervals
Results
460.0ms13668×body80valid