Details

Time bar (total: 2.6s)

sample17.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0146
1256
2316
3326
4326

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.9b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite79.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:
36.0ms
(+ (+ (* x x) (* y y)) (* z z))
8.0ms
(+ (* x x) (* y y))
34.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series186.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(+ (+ (* x x) (* y y)) (* z z))
30.0ms
(+ (* x x) (* y y))
111.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify100.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0225355
11043323
23749312
35001309

prune179.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 14.6b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(hypot (sqrt (+ (* x x) (* y y))) z)
0.0b
(+ (* x x) (* y y))
30.3b
(sqrt (+ (* x x) (* y y)))

rewrite18.0ms

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

series249.0ms

Counts
3 → 9
Calls
3 calls:
178.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
30.0ms
(+ (* x x) (* y y))
42.0ms
(sqrt (+ (* x x) (* y y)))

simplify61.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (57.0ms)

IterNodesCost
0152254
1617227
21802223
35002221

prune144.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(hypot (* 1 (hypot x y)) z)

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:
0.0ms
(hypot (* 1 (hypot x y)) z)

series204.0ms

Counts
1 → 3
Calls
1 calls:
204.0ms
(hypot (* 1 (hypot x y)) z)

simplify114.0ms

Algorithm
egg-herbie
Counts
13 → 13
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
03655
14746
26346
311646
434146
5139546
6500146

prune39.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (hypot x y) (hypot x y))
0.0b
(+ (* (hypot x y) (hypot x y)) (* z z))
35.2b
(sqrt (+ (* (hypot x y) (hypot x y)) (* z z)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×pow1 add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
add-exp-log add-cbrt-cube add-log-exp
hypot-udef
expm1-log1p-u swap-sqr associate-*r* associate-*l* sqrt-prod log1p-expm1-u
flip3-+ sqrt-div flip-+
+-commutative pow2 rem-sqrt-square fma-def sqrt-pow1 pow-plus pow1/2 sqrt-unprod pow-prod-down prod-exp sum-log rem-square-sqrt pow-sqr *-commutative pow-prod-up cbrt-unprod hypot-def unswap-sqr
Counts
3 → 61
Calls
3 calls:
7.0ms
(* (hypot x y) (hypot x y))
8.0ms
(+ (* (hypot x y) (hypot x y)) (* z z))
8.0ms
(sqrt (+ (* (hypot x y) (hypot x y)) (* z z)))

series298.0ms

Counts
3 → 9
Calls
3 calls:
68.0ms
(* (hypot x y) (hypot x y))
81.0ms
(+ (* (hypot x y) (hypot x y)) (* z z))
149.0ms
(sqrt (+ (* (hypot x y) (hypot x y)) (* z z)))

simplify121.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (116.0ms)

IterNodesCost
0197373
1823333
23442318
35001317

prune168.0ms

Pruning

2 alts after pruning (0 fresh and 2 done)

Merged error: 0b

regimes55.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
0103
1123
2123

end0.0ms

sample451.0ms

Algorithm
intervals
Results
221.0ms8000×body80valid