Details

Time bar (total: 5.3s)

sample1.7s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 28.839111%

Guaranteed chance to sample good point: 65.889013%

Results
10.0ms256×body80valid
2.0ms51×body80invalid

simplify49.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.1b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
3.3b
(- (+ (* x x) (* y y)) (* z z))
26.2b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite18.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:
3.0ms
(+ (* x x) (* y y))
5.0ms
(- (+ (* x x) (* y y)) (* z z))
8.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series36.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
10.0ms
(- (+ (* x x) (* y y)) (* z z))
21.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify37.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0337520
11492454
25001446

prune94.0ms

Filtered
46 candidates to 61 candidates (-32.6%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New56561
Fresh000
Picked101
Done000
Total57562

Merged error: 10.3b

Counts
62 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
48×times-frac
39×*-un-lft-identity
37×add-sqr-sqrt add-cube-cbrt
24×unpow-prod-down
16×associate-/l*
13×add-exp-log
unpow2 sqr-pow
add-cbrt-cube
div-exp associate-/r*
add-log-exp
pow1
cbrt-undiv pow-to-exp frac-2neg pow-exp clear-num div-inv
+-commutative flip3-+ sum-log flip-+ distribute-lft-out
Counts
3 → 110
Calls
3 calls:
9.0ms
(+ y (/ (pow x 2) y))
4.0ms
(/ (pow z 2) y)
5.0ms
(/ (pow x 2) y)

series15.0ms

Counts
3 → 9
Calls
3 calls:
8.0ms
(+ y (/ (pow x 2) y))
4.0ms
(/ (pow z 2) y)
3.0ms
(/ (pow x 2) y)

simplify39.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0327554
11147494
25001488

prune186.0ms

Filtered
76 candidates to 119 candidates (-56.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1127119
Fresh224
Picked101
Done000
Total1159124

Merged error: 0.3b

Counts
124 → 9

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
34×times-frac
33×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity
13×add-exp-log associate-*r*
12×unpow-prod-down
10×add-cbrt-cube
associate-/l*
pow1 add-log-exp
div-exp unpow2 sqr-pow
associate-*l* associate-/r*
cbrt-undiv prod-exp cbrt-unprod div-inv unswap-sqr
+-commutative pow-to-exp frac-2neg flip3-+ associate-*r/ pow-prod-down pow-exp clear-num sum-log *-commutative flip-+
Counts
3 → 92
Calls
3 calls:
2.0ms
(+ y (* x (/ x y)))
6.0ms
(* x (/ x y))
5.0ms
(/ (pow z 2) y)

series12.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ y (* x (/ x y)))
3.0ms
(* x (/ x y))
3.0ms
(/ (pow z 2) y)

simplify48.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0351443
11511392
25001389

prune137.0ms

Filtered
66 candidates to 101 candidates (-53.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New983101
Fresh358
Picked101
Done000
Total1028110

Merged error: 0b

Counts
110 → 8

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
26×associate-*r*
20×times-frac
19×add-cube-cbrt *-un-lft-identity
13×add-exp-log add-cbrt-cube
pow1
associate-*l*
add-log-exp
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv associate-*r/ div-exp pow-prod-down *-commutative div-inv
+-commutative flip3-+ sum-log flip-+
Counts
3 → 75
Calls
3 calls:
2.0ms
(+ y (* x (/ x y)))
6.0ms
(* z (/ z y))
6.0ms
(* x (/ x y))

series12.0ms

Counts
3 → 9
Calls
3 calls:
6.0ms
(+ y (* x (/ x y)))
3.0ms
(* z (/ z y))
3.0ms
(* x (/ x y))

simplify49.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0359335
11748293
25001293

prune64.0ms

Filtered
55 candidates to 84 candidates (-52.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New84084
Fresh077
Picked011
Done000
Total84892

Merged error: 0b

Counts
92 → 8

regimes339.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0157
1157

end0.0ms

sample2.4s

Algorithm
intervals
sampling

Space saved by range analysis: 0%

Space saved by search: 28.839111%

Guaranteed chance to sample good point: 65.889013%

Results
340.0ms8000×body80valid
72.0ms1777×body80invalid

Profiling

Loading profile data...