Details

Time bar (total: 6.8s)

sample26.0ms

Algorithm
intervals
Results
9.0ms256×body80valid
5.0ms256×pre80true

simplify112.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
0236
1526
21176
32406
44786
59476
618446
750016

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 20.7b

Counts
2 → 2

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
20.9b
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
290×*-un-lft-identity
120×times-frac
116×associate-*l*
94×distribute-lft-out
88×add-sqr-sqrt
50×add-cube-cbrt
39×associate-*r*
37×swap-sqr
15×fma-def associate-/l*
10×*-commutative unswap-sqr
distribute-lft-out-- difference-of-squares
associate-/r* associate-/l/
add-exp-log add-cbrt-cube
flip3-+ flip-+
frac-times add-log-exp
flip3-- flip--
pow1 cbrt-undiv expm1-log1p-u associate-*r/ div-exp associate-*l/ associate-/r/ log1p-expm1-u
+-commutative frac-2neg prod-exp clear-num sum-log cbrt-unprod div-inv
Counts
2 → 202
Calls
2 calls:
21.0ms
(+ (* x x) (* y y))
44.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

series123.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(+ (* x x) (* y y))
85.0ms
(/ (* (- x y) (+ x y)) (+ (* x x) (* y y)))

simplify108.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
05661845
129061681
250021656

prune236.0ms

Filtered
208 candidates to 95 candidates (45.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New2044208
Fresh101
Picked101
Done000
Total2064210

Merged error: 0.0b

Counts
210 → 4

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- x y) (hypot x y))
0.0b
(/ (+ x y) (hypot x y))
0.0b
(* (/ (+ x y) (hypot x y)) (/ (- x y) (hypot x y)))

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
178×*-un-lft-identity
156×frac-times
145×add-sqr-sqrt
132×associate-/l*
93×add-cube-cbrt
87×associate-/r*
58×times-frac associate-/l/
30×clear-num
29×frac-2neg
21×distribute-lft-out distribute-lft-out--
20×difference-of-squares
19×add-exp-log associate-*r* add-cbrt-cube
16×associate-*l*
15×flip3-+ flip-+
14×flip3-- flip--
13×associate-*r/
12×associate-*l/
cbrt-undiv div-exp
pow1
prod-exp cbrt-unprod div-inv unswap-sqr
expm1-log1p-u un-div-inv log1p-expm1-u add-log-exp
div-sub pow-prod-down *-commutative
Counts
3 → 317
Calls
3 calls:
8.0ms
(/ (- x y) (hypot x y))
6.0ms
(/ (+ x y) (hypot x y))
28.0ms
(* (/ (+ x y) (hypot x y)) (/ (- x y) (hypot x y)))

series359.0ms

Counts
3 → 9
Calls
3 calls:
116.0ms
(/ (- x y) (hypot x y))
120.0ms
(/ (+ x y) (hypot x y))
122.0ms
(* (/ (+ x y) (hypot x y)) (/ (- x y) (hypot x y)))

simplify84.0ms

Algorithm
egg-herbie
Counts
326 → 326
Iterations

Useful iterations: 1 (45.0ms)

IterNodesCost
012503089
150012980

prune479.0ms

Filtered
326 candidates to 201 candidates (61.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New3242326
Fresh213
Picked101
Done000
Total3273330

Merged error: 0b

Counts
330 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (exp (* (/ (+ x y) (hypot x y)) (/ (- x y) (hypot x y)))))
0.0b
(/ (- x y) (hypot x y))
0.0b
(/ (+ x y) (hypot x y))
0.0b
(* (/ (+ x y) (hypot x y)) (/ (- x y) (hypot x y)))

rewrite80.0ms

Algorithm
rewrite-expression-head
Rules
210×*-un-lft-identity
183×add-sqr-sqrt
156×frac-times
132×associate-/l*
113×add-cube-cbrt
89×times-frac
87×associate-/r*
58×associate-/l/
46×log-pow
44×exp-prod
38×associate-*r*
32×associate-*l*
30×clear-num
29×frac-2neg
24×distribute-lft-out distribute-lft-out--
23×difference-of-squares
21×add-exp-log
20×add-cbrt-cube
15×flip3-+ flip-+
14×flip3-- flip--
13×associate-*r/
12×associate-*l/
unswap-sqr
pow1
cbrt-undiv div-exp div-inv
add-log-exp
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u
log-prod un-div-inv
rem-log-exp *-commutative
exp-to-pow div-sub pow-prod-down
Counts
4 → 377
Calls
4 calls:
20.0ms
(log (exp (* (/ (+ x y) (hypot x y)) (/ (- x y) (hypot x y)))))
7.0ms
(/ (- x y) (hypot x y))
6.0ms
(/ (+ x y) (hypot x y))
25.0ms
(* (/ (+ x y) (hypot x y)) (/ (- x y) (hypot x y)))

series401.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(log (exp (* (/ (+ x y) (hypot x y)) (/ (- x y) (hypot x y)))))
98.0ms
(/ (- x y) (hypot x y))
96.0ms
(/ (+ x y) (hypot x y))
103.0ms
(* (/ (+ x y) (hypot x y)) (/ (- x y) (hypot x y)))

simplify76.0ms

Algorithm
egg-herbie
Counts
389 → 389
Iterations

Useful iterations: 1 (37.0ms)

IterNodesCost
013663553
150013420

prune731.0ms

Filtered
389 candidates to 248 candidates (63.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New3890389
Fresh022
Picked011
Done000
Total3893392

Merged error: 0b

Counts
392 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (hypot x y) (+ x y))
0.0b
(* (/ (hypot x y) (+ x y)) (sqrt (hypot x y)))
0.0b
(/ (/ (- x y) (sqrt (hypot x y))) (* (/ (hypot x y) (+ x y)) (sqrt (hypot x y))))
0.5b
(/ (- x y) (sqrt (hypot x y)))

rewrite235.0ms

Algorithm
rewrite-expression-head
Rules
2688×times-frac
1796×add-sqr-sqrt
1664×*-un-lft-identity
1012×add-cube-cbrt
711×sqrt-prod
648×associate-*l*
216×associate-*r*
212×distribute-lft-out-- difference-of-squares
144×unswap-sqr
114×distribute-lft-out
84×associate-/r/
73×div-inv
57×associate-/r*
53×associate-/l*
37×flip3-+ flip-+
36×*-commutative
34×add-exp-log add-cbrt-cube
20×associate-*l/ associate-/l/
14×cbrt-undiv div-exp
pow1 frac-2neg prod-exp clear-num cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
div-sub
flip3-- flip--
pow-prod-down
Counts
4 → 1386
Calls
4 calls:
6.0ms
(/ (hypot x y) (+ x y))
18.0ms
(* (/ (hypot x y) (+ x y)) (sqrt (hypot x y)))
48.0ms
(/ (/ (- x y) (sqrt (hypot x y))) (* (/ (hypot x y) (+ x y)) (sqrt (hypot x y))))
8.0ms
(/ (- x y) (sqrt (hypot x y)))

series431.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (hypot x y) (+ x y))
121.0ms
(* (/ (hypot x y) (+ x y)) (sqrt (hypot x y)))
102.0ms
(/ (/ (- x y) (sqrt (hypot x y))) (* (/ (hypot x y) (+ x y)) (sqrt (hypot x y))))
107.0ms
(/ (- x y) (sqrt (hypot x y)))

simplify348.0ms

Algorithm
egg-herbie
Counts
1398 → 1398
Iterations

Useful iterations: 1 (83.0ms)

IterNodesCost
0420628655
1500328083

prune2.2s

Filtered
1398 candidates to 611 candidates (43.7%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New139801398
Fresh011
Picked011
Done011
Total139831401

Merged error: 0b

Counts
1401 → 3

regimes34.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0129
1129

end0.0ms

sample485.0ms

Algorithm
intervals
Results
233.0ms8000×body80valid
112.0ms8000×pre80true