Details

Time bar (total: 2.9s)

sample31.0ms

Algorithm
intervals
Results
18.0ms462×body80valid

simplify49.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.1b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

3.9b
(- (+ (* x x) (* y y)) (* z z))
26.1b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite16.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:
6.0ms
(- (+ (* x x) (* y y)) (* z z))
9.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series122.0ms

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

simplify32.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0275450
11168388
25001380

prune105.0ms

Filtered
47 candidates to 35 candidates (74.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448

Merged error: 11.1b

Counts
48 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
8.3b
(/ (pow z 2) y)
9.0b
(/ (pow x 2) y)

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

series78.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0410766
11420699
25002687

prune268.0ms

Filtered
130 candidates to 82 candidates (63.1%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1255130
Fresh123
Picked101
Done000
Total1277134

Merged error: 1.0b

Counts
134 → 7

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite42.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:
22.0ms
(- (+ y (/ x (/ y x))) (/ (pow z 2) y))
6.0ms
(/ x (/ y x))
5.0ms
(/ (pow z 2) y)

series74.0ms

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

simplify78.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0596977
12666897
25001891

prune312.0ms

Filtered
151 candidates to 103 candidates (68.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1483151
Fresh246
Picked101
Done000
Total1517158

Merged error: 0b

Counts
158 → 7

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.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:
15.0ms
(- (+ y (/ x (/ y x))) (* z (/ z y)))
6.0ms
(* z (/ z y))
6.0ms
(/ x (/ y x))

series79.0ms

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

simplify76.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
0589777
12948714
25001707

prune210.0ms

Filtered
127 candidates to 88 candidates (69.3%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1270127
Fresh066
Picked011
Done000
Total1277134

Merged error: 0b

Counts
134 → 7

regimes202.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0147
1147

end0.0ms

sample973.0ms

Algorithm
intervals
Results
663.0ms13721×body80valid