Details

Time bar (total: 2.9s)

sample22.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0157
1227
2247
3247

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 37.4b

localize12.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
34.8b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
19×times-frac
17×add-cube-cbrt *-un-lft-identity
13×sqrt-prod
add-exp-log add-cbrt-cube
pow1 associate-/r* associate-/l*
rem-sqrt-square div-inv associate-/l/ add-log-exp
cbrt-undiv frac-2neg sqrt-pow1 flip3-+ pow1/2 sqrt-div div-exp clear-num flip-+
Counts
2 → 54
Calls
2 calls:
8.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
5.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series209.0ms

Counts
2 → 6
Calls
2 calls:
47.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
161.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify96.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (85.0ms)

IterNodesCost
0214630
1835578
23408576
35001574

prune168.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 19.5b

localize11.0ms

Local error

Found 2 expressions with local error:

0.1b
(* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2))))
34.8b
(sqrt (* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2)))))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×*-un-lft-identity
pow1
add-sqr-sqrt associate-*r*
distribute-lft-out
add-exp-log add-cube-cbrt associate-*r/ add-cbrt-cube
unpow-prod-down associate-*l*
sqrt-pow1 flip3-+ sqrt-div pow-prod-down flip-+ add-log-exp
distribute-rgt-in distribute-lft-in pow1/2 prod-exp sqrt-prod *-commutative cbrt-unprod unswap-sqr
Counts
2 → 38
Calls
2 calls:
13.0ms
(* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2))))
11.0ms
(sqrt (* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2)))))

series243.0ms

Counts
2 → 6
Calls
2 calls:
76.0ms
(* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2))))
167.0ms
(sqrt (* 0.3333333333333333 (+ (pow x 2) (+ (pow y 2) (pow z 2)))))

simplify45.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0211340
11120308
25002307

prune110.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 19.5b

localize11.0ms

Local error

Found 2 expressions with local error:

0.4b
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
34.7b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
45×sqrt-prod
36×times-frac
32×add-sqr-sqrt
31×add-cube-cbrt *-un-lft-identity
associate-/r* associate-/l*
add-exp-log sqrt-div add-cbrt-cube
pow1
flip3-+ flip-+ associate-/l/ add-log-exp
cbrt-undiv rem-sqrt-square sqrt-undiv frac-2neg sqrt-pow1 pow1/2 div-exp clear-num div-inv
Counts
2 → 78
Calls
2 calls:
9.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series327.0ms

Counts
2 → 6
Calls
2 calls:
225.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
101.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify55.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
02111118
16251058
222891035
350011035

prune185.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 13.9b

localize5.0ms

Local error

Found 1 expressions with local error:

0.4b
(/ x (sqrt 3.0))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
18×times-frac
16×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
12×sqrt-prod
associate-/r*
add-exp-log add-cbrt-cube associate-/l*
pow1 cbrt-undiv frac-2neg div-exp clear-num div-inv add-log-exp
Counts
1 → 39
Calls
1 calls:
4.0ms
(/ x (sqrt 3.0))

series55.0ms

Counts
1 → 3
Calls
1 calls:
55.0ms
(/ x (sqrt 3.0))

simplify47.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 4 (44.0ms)

IterNodesCost
0103217
1273207
2729197
32027197
45001196

prune70.0ms

Pruning

14 alts after pruning (11 fresh and 3 done)

Merged error: 13.9b

regimes699.0ms

Accuracy

54.1% (11.6b remaining)

Error of 23.9b against oracle of 12.3b and baseline of 37.5b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03520
13720
23720

end0.0ms

sample425.0ms

Algorithm
intervals
Results
262.0ms8000×body80valid