Details

Time bar (total: 14.1s)

sample5.9s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 28.839111%

Guaranteed chance to sample good point: 65.889013%

Results
11.0ms256×body80valid
2.0ms36×body80invalid

simplify54.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1557
21017
31827
43357
57317
618287
750017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.7b

Counts
2 → 1

localize10.0ms

Local error

Found 2 expressions with local error:

5.1b
(- (+ (* x x) (* y y)) (* z z))
26.6b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite17.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))
11.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series29.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0275450
11168388
25001380

prune73.0ms

Filtered
35 candidates to 47 candidates (-34.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New43447
Fresh000
Picked101
Done000
Total44448

Merged error: 11.4b

Counts
48 → 4

localize11.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))
10.2b
(/ (pow x 2) y)
10.5b
(/ (pow z 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:
19.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
9.0ms
(+ y (/ (pow x 2) y))
5.0ms
(/ (pow x 2) y)
7.0ms
(/ (pow z 2) y)

series25.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (+ y (/ (pow x 2) y)) (/ (pow z 2) y))
6.0ms
(+ y (/ (pow x 2) y))
3.0ms
(/ (pow x 2) y)
3.0ms
(/ (pow z 2) y)

simplify49.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0419838
11459771
25002759

prune216.0ms

Filtered
92 candidates to 145 candidates (-57.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1405145
Fresh123
Picked101
Done000
Total1427149

Merged error: 1.3b

Counts
149 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
11.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
9.0ms
(+ y (/ (pow x 2) y))
6.0ms
(* z (/ z y))
5.0ms
(/ (pow x 2) y)

series24.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (+ y (/ (pow x 2) y)) (* z (/ z y)))
6.0ms
(+ y (/ (pow x 2) y))
3.0ms
(* z (/ z y))
3.0ms
(/ (pow x 2) y)

simplify56.0ms

Algorithm
egg-herbie
Counts
121 → 121
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0428638
11829584
25001581

prune157.0ms

Filtered
79 candidates to 121 candidates (-53.2%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1183121
Fresh336
Picked101
Done000
Total1226128

Merged error: 0b

Counts
128 → 6

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.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:
5.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
3.0ms
(+ y (* x (/ x y)))
6.0ms
(* x (/ x y))
7.0ms
(* z (/ z y))

series24.0ms

Counts
4 → 12
Calls
4 calls:
12.0ms
(- (+ y (* x (/ x y))) (* z (/ z y)))
6.0ms
(+ y (* x (/ x y)))
3.0ms
(* x (/ x y))
3.0ms
(* z (/ z y))

simplify61.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0439527
12154482
25002482

prune81.0ms

Filtered
70 candidates to 103 candidates (-47.1%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1030103
Fresh055
Picked011
Done000
Total1036109

Merged error: 0b

Counts
109 → 6

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

end0.0ms

sample6.8s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 28.839111%

Guaranteed chance to sample good point: 65.889013%

Results
366.0ms8000×body80valid
81.0ms1776×body80invalid

Profiling

Loading profile data...