Details

Time bar (total: 3.4s)

sample19.0ms

Algorithm
intervals
Results
8.0ms256×body80valid

simplify7.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: 38.6b

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity times-frac
13×sqrt-prod
11×add-log-exp
add-exp-log add-cbrt-cube
pow1
sum-log
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 → 78
Calls
4 calls:
5.0ms
(+ (+ (* x x) (* y y)) (* z z))
4.0ms
(+ (* x x) (* y y))
8.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
5.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

series272.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(+ (+ (* x x) (* y y)) (* z z))
27.0ms
(+ (* x x) (* y y))
50.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
159.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify41.0ms

Algorithm
egg-herbie
Counts
90 → 90
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0325828
11345761
25001755

prune241.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 17.6b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (+ (* x x) (* y y)) (* z z))
0.0b
(+ (* x x) (* y y))
0.1b
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
35.9b
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
11×add-log-exp
pow1
add-sqr-sqrt
add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
flip3-+ associate-*r/ sum-log flip-+
associate-*r* associate-*l*
+-commutative sqrt-pow1 sqrt-div pow-prod-down
distribute-rgt-in associate-+l+ distribute-lft-in pow1/2 prod-exp sqrt-prod *-commutative cbrt-unprod unswap-sqr
Counts
4 → 59
Calls
4 calls:
5.0ms
(+ (+ (* x x) (* y y)) (* z z))
4.0ms
(+ (* x x) (* y y))
10.0ms
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
6.0ms
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

series271.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (+ (* x x) (* y y)) (* z z))
26.0ms
(+ (* x x) (* y y))
47.0ms
(* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z)))
160.0ms
(sqrt (* 0.3333333333333333 (+ (+ (* x x) (* y y)) (* z z))))

simplify40.0ms

Algorithm
egg-herbie
Counts
71 → 71
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0310539
11615492
25001492

prune147.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 17.6b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
49×sqrt-prod
36×add-sqr-sqrt times-frac
34×add-cube-cbrt *-un-lft-identity
14×pow1
sqrt-div
sqrt-pow1
add-exp-log associate-/r* add-cbrt-cube associate-/l*
add-log-exp
rem-sqrt-square flip3-+ pow1/2 flip-+
associate-/l/
cbrt-undiv pow2 frac-times sqrt-undiv frac-2neg pow-plus associate-*r/ div-exp pow-prod-down associate-*l/ clear-num pow-sqr pow-prod-up div-inv
Counts
4 → 112
Calls
4 calls:
9.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
5.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
14.0ms
(sqrt (* (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0)) (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))

series638.0ms

Counts
4 → 12
Calls
4 calls:
227.0ms
(/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))
96.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
96.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))
218.0ms
(sqrt (* (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0)) (/ (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt 3.0))))

simplify92.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
02381481
17281407
236131383
350021383

prune313.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 17.5b

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

series53.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 4 (48.0ms)

IterNodesCost
0103217
1273207
2729197
32027197
45001196

prune63.0ms

Pruning

13 alts after pruning (10 fresh and 3 done)

Merged error: 17.5b

regimes494.0ms

Accuracy

61.7% (7.5b remaining)

Error of 25.7b against oracle of 18.2b and baseline of 37.9b

bsearch70.0ms

Steps
ItersRangePoint
10
7.491092794297452e+92
6.705329414328681e+109
6.601942283666501e+109
6
-1.6055413863283287e+120
-1.9275148810805934e+119
-4.241172532402712e+119

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03012
13212
23212

end0.0ms

sample440.0ms

Algorithm
intervals
Results
268.0ms8000×body80valid