Details

Time bar (total: 3.2s)

sample16.0ms

Algorithm
intervals
Results
7.0ms256×body80valid

simplify12.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: 39.3b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite18.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:
3.0ms
(+ (* x x) (* y y))
15.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series143.0ms

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

simplify77.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0186224
1767212
22319209
35001207

prune108.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 15.2b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite8.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:
3.0ms
(+ (* x x) (* y y))
0.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
4.0ms
(sqrt (+ (* x x) (* y y)))

series244.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (61.0ms)

IterNodesCost
0152254
1617227
21802223
35002221

prune138.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0.0b

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot x y)
0.0b
(hypot (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
2 → 20
Calls
2 calls:
0.0ms
(hypot x y)
0.0ms
(hypot (hypot x y) z)

series251.0ms

Counts
2 → 6
Calls
2 calls:
52.0ms
(hypot x y)
198.0ms
(hypot (hypot x y) z)

simplify120.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
03868
14360
24960
35760
48560
515960
666060
7220060
8500160

prune72.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot (hypot x y) z)
0.0b
(sqrt (hypot (hypot x y) z))
0.0b
(sqrt (hypot (hypot x y) z))
0.5b
(* (sqrt (hypot (hypot x y) z)) (sqrt (hypot (hypot x y) z)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube
pow-prod-up
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square
pow2 hypot-udef pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 91
Calls
4 calls:
0.0ms
(hypot (hypot x y) z)
1.0ms
(sqrt (hypot (hypot x y) z))
1.0ms
(sqrt (hypot (hypot x y) z))
7.0ms
(* (sqrt (hypot (hypot x y) z)) (sqrt (hypot (hypot x y) z)))

series959.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(hypot (hypot x y) z)
279.0ms
(sqrt (hypot (hypot x y) z))
284.0ms
(sqrt (hypot (hypot x y) z))
199.0ms
(* (sqrt (hypot (hypot x y) z)) (sqrt (hypot (hypot x y) z)))

simplify147.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (140.0ms)

IterNodesCost
0154445
1576389
23200367
35001354

prune210.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes119.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
052

end0.0ms

sample403.0ms

Algorithm
intervals
Results
235.0ms8000×body80valid