Details

Time bar (total: 3.6s)

sample18.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0167
1277
2337
3347
4347

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.4b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.3b
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
34.6b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
20×add-cube-cbrt *-un-lft-identity
19×times-frac
13×sqrt-prod
11×add-log-exp
add-exp-log add-cbrt-cube
pow1
expm1-log1p-u fma-def sum-log log1p-expm1-u
flip3-+ associate-/r* flip-+ associate-/l*
+-commutative rem-sqrt-square div-inv associate-/l/
cbrt-undiv associate-+l+ frac-2neg sqrt-pow1 pow1/2 sqrt-div div-exp clear-num
Counts
4 → 90
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
7.0ms
(+ (+ (* x x) (* y y)) (* z z))
9.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
6.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series291.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (* x x) (* y y))
41.0ms
(+ (+ (* x x) (* y y)) (* z z))
50.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
172.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0345853
11445759
25001739

prune313.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 16.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.4b
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
34.8b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt
29×sqrt-prod
18×*-un-lft-identity
16×add-cube-cbrt associate-*r*
13×times-frac
11×add-log-exp
pow1 sqrt-div
unswap-sqr
add-exp-log associate-*l* add-cbrt-cube
flip3-+ flip-+
expm1-log1p-u fma-def sum-log log1p-expm1-u
sqrt-pow1 pow1/2 pow-prod-down
+-commutative frac-times associate-*l/
rem-sqrt-square associate-+l+ sqrt-unprod associate-*r/ prod-exp *-commutative cbrt-unprod hypot-def div-inv
Counts
4 → 101
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
6.0ms
(+ (+ (* x x) (* y y)) (* z z))
14.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series350.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (* x x) (* y y))
37.0ms
(+ (+ (* x x) (* y y)) (* z z))
176.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
108.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
03721017
11570959
25001931

prune318.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 12.6b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (* y y))
0.0b
(hypot (sqrt (+ (* x x) (* y y))) z)
0.4b
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
28.6b
(sqrt (+ (* x x) (* y y)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×sqrt-prod
16×associate-*r*
15×*-un-lft-identity
14×add-cube-cbrt
11×times-frac
pow1
add-exp-log add-cbrt-cube add-log-exp
expm1-log1p-u log1p-expm1-u unswap-sqr
sqrt-div associate-*l*
hypot-udef flip3-+ flip-+
+-commutative rem-sqrt-square fma-def sqrt-pow1 pow1/2 sqrt-unprod associate-*r/ pow-prod-down prod-exp sum-log *-commutative cbrt-unprod hypot-def div-inv
Counts
4 → 80
Calls
4 calls:
4.0ms
(+ (* x x) (* y y))
1.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
8.0ms
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
4.0ms
(sqrt (+ (* x x) (* y y)))

series478.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(+ (* x x) (* y y))
172.0ms
(hypot (sqrt (+ (* x x) (* y y))) z)
242.0ms
(* (hypot (sqrt (+ (* x x) (* y y))) z) (sqrt (/ 1 3.0)))
37.0ms
(sqrt (+ (* x x) (* y y)))

simplify103.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0285679
11102617
24026596
35001595

prune281.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(hypot (* 1 (hypot x y)) z)
0.4b
(* (hypot (* 1 (hypot x y)) z) (sqrt (/ 1 3.0)))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×associate-*r* sqrt-prod
12×*-un-lft-identity
11×add-cube-cbrt times-frac
pow1 add-exp-log add-cbrt-cube unswap-sqr
associate-*l*
expm1-log1p-u hypot-udef log1p-expm1-u add-log-exp
sqrt-unprod sqrt-div associate-*r/ pow-prod-down prod-exp *-commutative cbrt-unprod div-inv
Counts
2 → 48
Calls
2 calls:
1.0ms
(hypot (* 1 (hypot x y)) z)
9.0ms
(* (hypot (* 1 (hypot x y)) z) (sqrt (/ 1 3.0)))

series462.0ms

Counts
2 → 6
Calls
2 calls:
194.0ms
(hypot (* 1 (hypot x y)) z)
269.0ms
(* (hypot (* 1 (hypot x y)) z) (sqrt (/ 1 3.0)))

simplify69.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0170392
1516339
21450328
32820328
45001328

prune146.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

regimes69.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01811
12011
22011

end0.0ms

sample449.0ms

Algorithm
intervals
Results
275.0ms8000×body80valid