Details

Time bar (total: 2.8s)

sample24.0ms

Algorithm
intervals
Results
13.0ms256×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0146
1256
2316
3326
4326

prune6.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)))

series29.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
38 → 38
Iterations

Useful iterations: 3 (67.0ms)

IterNodesCost
0186224
1767212
22319209
35001207

prune236.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 15.2b

localize7.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)))

series46.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
35.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
6.0ms
(sqrt (+ (* x x) (* y y)))

simplify60.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0152254
1617227
21802223
35002221

prune292.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)

series47.0ms

Counts
2 → 6
Calls
2 calls:
7.0ms
(hypot x y)
40.0ms
(hypot (hypot x y) z)

simplify114.0ms

Algorithm
egg-herbie
Counts
26 → 26
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
03868
14360
24960
35760
48560
515960
666060
7220060
8500160

prune138.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)))

series188.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(hypot (hypot x y) z)
53.0ms
(sqrt (hypot (hypot x y) z))
56.0ms
(sqrt (hypot (hypot x y) z))
39.0ms
(* (sqrt (hypot (hypot x y) z)) (sqrt (hypot (hypot x y) z)))

simplify144.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 3 (137.0ms)

IterNodesCost
0154439
1539389
23194367
35001354

prune427.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes301.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

sample579.0ms

Algorithm
intervals
Results
410.0ms8000×body80valid