Details

Time bar (total: 3.8s)

sample46.0ms

Algorithm
intervals
Results
33.0ms418×body80valid

simplify50.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: 31.3b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series116.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0275450
11168388
25001380

prune127.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 12.0b

localize13.0ms

Local error

Found 3 expressions with local error:

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

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

series90.0ms

Counts
3 → 9
Calls
3 calls:
40.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
22.0ms
(/ (pow z 2) y)
27.0ms
(/ (pow x 2) y)

simplify46.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0410766
11420699
25002687

prune303.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.3b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite172.0ms

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

series75.0ms

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

simplify70.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0596977
12666897
25001891

prune357.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite171.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
add-log-exp
div-inv
pow1
cbrt-undiv div-exp
associate-*r/ associate-*l* associate-/l*
diff-log prod-exp frac-sub cbrt-unprod unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ pow-prod-down associate--l+ clear-num sum-log associate-/r/ *-commutative flip-- flip-+
Counts
3 → 118
Calls
3 calls:
155.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
7.0ms
(* z (/ z y))
5.0ms
(/ x (/ y x))

series79.0ms

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

simplify84.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
0589777
12948714
25001707

prune279.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes83.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0188
1198
2198

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.1s13616×body80valid