Details

Time bar (total: 3.4s)

sample27.0ms

Algorithm
intervals
Results
18.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1227
2247
3247

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 36.2b

localize9.0ms

Local error

Found 2 expressions with local error:

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

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

series211.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 3 (86.0ms)

IterNodesCost
0214630
1835578
23408576
35001574

prune168.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 17.9b

localize11.0ms

Local error

Found 2 expressions with local error:

0.3b
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
33.5b
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
29×sqrt-prod
16×associate-*r*
15×*-un-lft-identity
13×add-cube-cbrt times-frac
sqrt-div
unswap-sqr
pow1
associate-*l*
add-exp-log add-cbrt-cube
sqrt-pow1 flip3-+ pow1/2 pow-prod-down flip-+
frac-times associate-*l/ add-log-exp
rem-sqrt-square sqrt-unprod associate-*r/ prod-exp *-commutative cbrt-unprod div-inv
Counts
2 → 64
Calls
2 calls:
40.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
13.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series258.0ms

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

simplify64.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (56.0ms)

IterNodesCost
0235788
1772762
22635738
35001725

prune164.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 17.9b

localize11.0ms

Local error

Found 2 expressions with local error:

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

rewrite41.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:
24.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
14.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

series496.0ms

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

simplify54.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
02111118
16251058
222891035
350011035

prune182.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 12.9b

localize5.0ms

Local error

Found 1 expressions with local error:

0.4b
(/ x (sqrt 3.0))

rewrite7.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:
3.0ms
(/ x (sqrt 3.0))

series51.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 4 (46.0ms)

IterNodesCost
0103217
1273207
2729197
32027197
45001196

prune74.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 12.9b

regimes591.0ms

Accuracy

52.5% (12.2b remaining)

Error of 25.0b against oracle of 12.7b and baseline of 38.5b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04240
14440
24440

end0.0ms

sample757.0ms

Algorithm
intervals
Results
581.0ms8000×body80valid