Details

Time bar (total: 1.4s)

sample18.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0146
1256
2316
3326
4326

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: 36.6b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(+ (+ (* x x) (* y y)) (* z z))
33.9b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 fma-def sum-log
add-exp-log expm1-log1p-u flip3-+ sqrt-prod add-cbrt-cube flip-+ log1p-expm1-u
+-commutative sqrt-div
rem-sqrt-square associate-+l+ sqrt-pow1 pow1/2 hypot-def
Counts
3 → 50
Calls
3 calls:
4.0ms
(+ (* x x) (* y y))
6.0ms
(+ (+ (* x x) (* y y)) (* z z))
6.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series186.0ms

Counts
3 → 9
Calls
3 calls:
33.0ms
(+ (* x x) (* y y))
41.0ms
(+ (+ (* x x) (* y y)) (* z z))
112.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify102.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (97.0ms)

IterNodesCost
0225355
11043323
23749312
35001309

prune177.0ms

Filtered
59 candidates to 49 candidates (83.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New55459
Fresh000
Picked101
Done000
Total56460

Merged error: 12.5b

Counts
60 → 4

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x x) (* y y))
27.8b
(sqrt (+ (* x x) (* y y)))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log expm1-log1p-u flip3-+ sqrt-div add-cbrt-cube flip-+ log1p-expm1-u
+-commutative rem-sqrt-square fma-def sqrt-pow1 pow1/2 sum-log hypot-def
Counts
2 → 32
Calls
2 calls:
4.0ms
(+ (* x x) (* y y))
4.0ms
(sqrt (+ (* x x) (* y y)))

series81.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(+ (* x x) (* y y))
47.0ms
(sqrt (+ (* x x) (* y y)))

simplify67.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
0136177
1589162
21761158
35002156

prune107.0ms

Filtered
38 candidates to 32 candidates (84.2%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New37138
Fresh303
Picked101
Done000
Total41142

Merged error: 0b

Counts
42 → 1

localize5.0ms

Local error

Found 1 expressions with local error:

0.0b
(hypot x y)

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt hypot-udef *-un-lft-identity add-cbrt-cube log1p-expm1-u add-log-exp
Counts
1 → 10
Calls
1 calls:
1.0ms
(hypot x y)

series49.0ms

Counts
1 → 3
Calls
1 calls:
49.0ms
(hypot x y)

simplify107.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
02227
12524
22924
33424
45324
510724
651324
7168724
8500124

prune42.0ms

Filtered
13 candidates to 13 candidates (100.0%)
Pruning

1 alts after pruning (0 fresh and 1 done)

PrunedKeptTotal
New13013
Fresh000
Picked011
Done000
Total13114

Merged error: 0b

Counts
14 → 1

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
052

end0.0ms

sample403.0ms

Algorithm
intervals
Results
236.0ms8000×body80valid