Details

Time bar (total: 3.4s)

sample26.0ms

Algorithm
intervals
Results
13.0ms428×body80valid

simplify52.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: 27.6b

localize9.0ms

Local error

Found 2 expressions with local error:

3.5b
(- (+ (* x x) (* y y)) (* z z))
25.9b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite51.0ms

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

series123.0ms

Counts
2 → 6
Calls
2 calls:
40.0ms
(- (+ (* x x) (* y y)) (* z z))
83.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify33.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0275450
11168388
25001380

prune122.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 10.4b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
0.0b
(+ y (/ (pow x 2) y))
8.9b
(/ (pow z 2) y)
11.4b
(/ (pow x 2) y)

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

series110.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
32.0ms
(+ y (/ (pow x 2) y))
18.0ms
(/ (pow z 2) y)
20.0ms
(/ (pow x 2) y)

simplify46.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0419838
11459771
25002759

prune337.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 1.3b

localize14.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.9b
(/ (pow z 2) y)

rewrite201.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:
16.0ms
(+ y (/ x (/ y x)))
169.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
5.0ms
(/ x (/ y x))
4.0ms
(/ (pow z 2) y)

series113.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
166 → 166
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06051049
12708969
25001963

prune399.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
59×add-sqr-sqrt
56×*-un-lft-identity
54×add-cube-cbrt
14×add-exp-log add-cbrt-cube
13×associate-*r* associate-/r*
11×add-log-exp
pow1 div-inv
cbrt-undiv div-exp
associate-*r/ associate-*l* associate-/l*
flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
+-commutative sub-neg flip3-- frac-2neg pow-prod-down associate--l+ clear-num associate-/r/ *-commutative flip-- distribute-lft-out
Counts
4 → 130
Calls
4 calls:
17.0ms
(+ y (/ x (/ y x)))
161.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
7.0ms
(* z (/ z y))
5.0ms
(/ x (/ y x))

series111.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ y (/ x (/ y x)))
44.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
19.0ms
(* z (/ z y))
20.0ms
(/ x (/ y x))

simplify80.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
0599849
12991786
25002779

prune316.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

regimes91.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
1188

end0.0ms

sample704.0ms

Algorithm
intervals
Results
436.0ms13521×body80valid