Details

Time bar (total: 9.5s)

sample29.0ms

Algorithm
intervals
Results
15.0ms453×body80valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0237
1596
21116
32046
43696
58396
621686
750016

prune5.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 26.3b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
4.9b
(- (+ (* x x) (* y y)) (* z z))
24.4b
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

rewrite141.0ms

Algorithm
rewrite-expression-head
Rules
817×*-un-lft-identity
337×associate-*l*
335×add-sqr-sqrt
228×times-frac
211×distribute-lft-out
154×distribute-lft-out--
137×add-cube-cbrt
120×prod-diff
117×swap-sqr
87×associate-*r*
70×difference-of-squares
43×*-commutative unswap-sqr
19×associate-/l*
15×fma-def
12×associate-/r*
10×add-log-exp
add-exp-log fma-neg add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv +-commutative flip3-- diff-log div-exp associate--l+ sum-log flip-- associate-/l/
sub-neg frac-2neg flip3-+ div-sub prod-exp clear-num cbrt-unprod flip-+ div-inv
Counts
3 → 472
Calls
3 calls:
21.0ms
(+ (* x x) (* y y))
31.0ms
(- (+ (* x x) (* y y)) (* z z))
51.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

series167.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ (* x x) (* y y))
46.0ms
(- (+ (* x x) (* y y)) (* z z))
92.0ms
(/ (- (+ (* x x) (* y y)) (* z z)) (* y 2.0))

simplify191.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (128.0ms)

IterNodesCost
010185363
142434308
250014295

prune581.0ms

Filtered
481 candidates to 136 candidates (28.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New4747481
Fresh000
Picked011
Done000
Total4748482

Merged error: 0b

Counts
482 → 8

localize15.0ms

Local error

Found 1 expressions with local error:

0.1b
(* (+ (fabs z) (hypot x y)) (/ (- (/ (hypot x y) y) (/ (fabs z) y)) 2.0))

rewrite123.0ms

Algorithm
rewrite-expression-head
Rules
270×associate-/l/
243×frac-sub
227×add-sqr-sqrt
216×frac-times
209×*-un-lft-identity
200×associate-/l*
195×associate-/r*
150×add-cube-cbrt
109×flip3-+ flip-+
108×associate-*r/
97×times-frac
63×frac-2neg
58×clear-num
40×associate-*r*
25×distribute-lft-out--
24×difference-of-squares
21×sub-div
13×div-inv
add-exp-log distribute-rgt-out-- add-cbrt-cube
associate-*l*
pow1 flip3-- un-div-inv flip--
associate-*l/ prod-exp cbrt-unprod unswap-sqr
cbrt-undiv expm1-log1p-u div-exp pow-prod-down *-commutative log1p-expm1-u distribute-lft-out add-log-exp
Counts
1 → 390
Calls
1 calls:
73.0ms
(* (+ (fabs z) (hypot x y)) (/ (- (/ (hypot x y) y) (/ (fabs z) y)) 2.0))

series433.0ms

Counts
1 → 3
Calls
1 calls:
432.0ms
(* (+ (fabs z) (hypot x y)) (/ (- (/ (hypot x y) y) (/ (fabs z) y)) 2.0))

simplify194.0ms

Algorithm
egg-herbie
Counts
393 → 393
Iterations

Useful iterations: 1 (104.0ms)

IterNodesCost
024638047
150037974

prune1.3s

Filtered
393 candidates to 253 candidates (64.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New3912393
Fresh516
Picked101
Done011
Total3974401

Merged error: 0b

Counts
401 → 4

localize15.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ 2.0 (- (/ (hypot x y) y) (/ (fabs z) y)))
0.1b
(/ (+ (fabs z) (hypot x y)) (/ 2.0 (- (/ (hypot x y) y) (/ (fabs z) y))))

rewrite177.0ms

Algorithm
rewrite-expression-head
Rules
936×times-frac
934×*-un-lft-identity
740×add-sqr-sqrt
558×associate-/r/
526×associate-/r*
500×add-cube-cbrt
486×frac-sub
334×associate-/l*
131×distribute-lft-out
123×frac-2neg
111×clear-num
80×distribute-lft-out-- difference-of-squares
47×div-inv
42×sub-div
20×distribute-rgt-out--
add-exp-log add-cbrt-cube
flip3-- flip--
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u associate-/l/ add-log-exp
flip3-+ flip-+
Counts
2 → 845
Calls
2 calls:
33.0ms
(/ 2.0 (- (/ (hypot x y) y) (/ (fabs z) y)))
55.0ms
(/ (+ (fabs z) (hypot x y)) (/ 2.0 (- (/ (hypot x y) y) (/ (fabs z) y))))

series429.0ms

Counts
2 → 6
Calls
2 calls:
103.0ms
(/ 2.0 (- (/ (hypot x y) y) (/ (fabs z) y)))
326.0ms
(/ (+ (fabs z) (hypot x y)) (/ 2.0 (- (/ (hypot x y) y) (/ (fabs z) y))))

simplify242.0ms

Algorithm
egg-herbie
Counts
851 → 851
Iterations

Useful iterations: 1 (87.0ms)

IterNodesCost
0291115939
1500215816

prune2.1s

Filtered
851 candidates to 483 candidates (56.8%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New8510851
Fresh022
Picked011
Done011
Total8514855

Merged error: 0b

Counts
855 → 4

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ (fabs z) (hypot x y)) y)
0.0b
(/ 2.0 (- (hypot x y) (fabs z)))
0.2b
(/ (/ (+ (fabs z) (hypot x y)) y) (/ 2.0 (- (hypot x y) (fabs z))))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
882×times-frac
609×*-un-lft-identity
467×add-sqr-sqrt
355×add-cube-cbrt
71×distribute-lft-out
56×distribute-lft-out-- difference-of-squares
47×associate-/r/
42×div-inv
37×associate-/r*
30×associate-/l*
19×add-exp-log add-cbrt-cube
18×flip3-- flip--
16×associate-/l/
10×cbrt-undiv div-exp
frac-2neg clear-num
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
flip3-+ flip-+
Counts
3 → 490
Calls
3 calls:
7.0ms
(/ (+ (fabs z) (hypot x y)) y)
6.0ms
(/ 2.0 (- (hypot x y) (fabs z)))
30.0ms
(/ (/ (+ (fabs z) (hypot x y)) y) (/ 2.0 (- (hypot x y) (fabs z))))

series568.0ms

Counts
3 → 9
Calls
3 calls:
118.0ms
(/ (+ (fabs z) (hypot x y)) y)
93.0ms
(/ 2.0 (- (hypot x y) (fabs z)))
357.0ms
(/ (/ (+ (fabs z) (hypot x y)) y) (/ 2.0 (- (hypot x y) (fabs z))))

simplify159.0ms

Algorithm
egg-herbie
Counts
499 → 499
Iterations

Useful iterations: 1 (69.0ms)

IterNodesCost
018998986
150018834

prune1.5s

Filtered
499 candidates to 322 candidates (64.5%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New4981499
Fresh101
Picked011
Done022
Total4994503

Merged error: 0b

Counts
503 → 4

regimes145.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01310
11310

end0.0ms

sample888.0ms

Algorithm
intervals
Results
554.0ms13684×body80valid