Details

Time bar (total: 3.5s)

sample25.0ms

Algorithm
intervals
Results
12.0ms256×body80valid

simplify6.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0157
1227
2247
3247

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 38.7b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×times-frac
18×add-cube-cbrt *-un-lft-identity
13×sqrt-prod
add-exp-log add-cbrt-cube add-log-exp
pow1
associate-/r* associate-/l*
rem-sqrt-square flip3-+ flip-+ div-inv associate-/l/
cbrt-undiv +-commutative frac-2neg sqrt-pow1 pow1/2 sqrt-div div-exp clear-num sum-log
Counts
3 → 65
Calls
3 calls:
3.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))

series48.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
13.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) 3.0)
30.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) 3.0))

simplify119.0ms

Algorithm
egg-herbie
Counts
74 → 74
Iterations

Useful iterations: 3 (111.0ms)

IterNodesCost
0294707
11224644
24391642
35001640

prune135.0ms

Filtered
60 candidates to 74 candidates (-23.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New67774
Fresh000
Picked101
Done000
Total68775

Merged error: 18.2b

Counts
75 → 7

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite24.0ms

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

series50.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(+ (* x x) (* y y))
26.0ms
(* (sqrt (+ (+ (* x x) (* y y)) (* z z))) (sqrt (/ 1 3.0)))
19.0ms
(sqrt (+ (+ (* x x) (* y y)) (* z z)))

simplify117.0ms

Algorithm
egg-herbie
Counts
84 → 84
Iterations

Useful iterations: 3 (108.0ms)

IterNodesCost
0318858
11226828
24716804
35001796

prune116.0ms

Filtered
59 candidates to 84 candidates (-42.4%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New83184
Fresh066
Picked011
Done000
Total83891

Merged error: 18.2b

Counts
91 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))
0.2b
(* (/ 1 (sqrt 3.0)) (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0)))
1.0b
(/ 1 (sqrt 3.0))
36.0b
(sqrt (* (/ 1 (sqrt 3.0)) (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
106×add-sqr-sqrt
94×times-frac
66×*-un-lft-identity
60×add-cube-cbrt
54×sqrt-prod
32×add-exp-log
22×associate-*r* associate-*l*
20×add-cbrt-cube
15×unswap-sqr
12×associate-/r*
11×pow1 div-exp
prod-exp
cbrt-undiv associate-/l*
cbrt-unprod div-inv add-log-exp
rec-exp pow-flip sqrt-pow1 sqrt-div 1-exp
frac-times frac-2neg pow1/2 associate-*r/ pow-prod-down associate-*l/ clear-num associate-/l/
flip3-+ *-commutative flip-+ inv-pow
Counts
4 → 183
Calls
4 calls:
9.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))
19.0ms
(* (/ 1 (sqrt 3.0)) (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0)))
4.0ms
(/ 1 (sqrt 3.0))
10.0ms
(sqrt (* (/ 1 (sqrt 3.0)) (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))))

series76.0ms

Counts
4 → 10
Calls
4 calls:
18.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))
25.0ms
(* (/ 1 (sqrt 3.0)) (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0)))
0.0ms
(/ 1 (sqrt 3.0))
33.0ms
(sqrt (* (/ 1 (sqrt 3.0)) (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))))

simplify82.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05642203
138261965
250021859

prune255.0ms

Filtered
107 candidates to 193 candidates (-80.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1903193
Fresh066
Picked011
Done011
Total19011201

Merged error: 18.0b

Counts
201 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))
0.3b
(* (sqrt (/ 1 (sqrt 3.0))) (sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))))
1.0b
(/ 1 (sqrt 3.0))
36.0b
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0)))

rewrite53.0ms

Algorithm
rewrite-expression-head
Rules
170×sqrt-prod
148×add-sqr-sqrt
120×times-frac
83×*-un-lft-identity
75×add-cube-cbrt
25×associate-*r* associate-*l*
24×unswap-sqr
12×add-exp-log associate-/r*
11×pow1
10×add-cbrt-cube
associate-/l*
sqrt-div div-inv
sqrt-pow1 pow1/2 add-log-exp
rem-sqrt-square pow-flip div-exp pow-prod-down
cbrt-undiv frac-2neg clear-num associate-/l/
frac-times rec-exp flip3-+ sqrt-unprod 1-exp associate-*r/ associate-*l/ prod-exp *-commutative cbrt-unprod flip-+ inv-pow
Counts
4 → 212
Calls
4 calls:
9.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))
23.0ms
(* (sqrt (/ 1 (sqrt 3.0))) (sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))))
4.0ms
(/ 1 (sqrt 3.0))
6.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0)))

series87.0ms

Counts
4 → 10
Calls
4 calls:
21.0ms
(/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))
29.0ms
(* (sqrt (/ 1 (sqrt 3.0))) (sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0))))
0.0ms
(/ 1 (sqrt 3.0))
37.0ms
(sqrt (/ (+ (+ (* x x) (* y y)) (* z z)) (sqrt 3.0)))

simplify65.0ms

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04522919
119382730
250012684

prune312.0ms

Filtered
126 candidates to 222 candidates (-76.2%)
Pruning

15 alts after pruning (14 fresh and 1 done)

PrunedKeptTotal
New2166222
Fresh088
Picked101
Done112
Total21815233

Merged error: 18.0b

Counts
233 → 15

regimes1.1s

Accuracy

63.5% (7.2b remaining)

Error of 25.8b against oracle of 18.6b and baseline of 38.2b

bsearch18.0ms

Steps
ItersRangePoint
3
5.531458983737382e+103
6.9401487626072185e+103
6.8521056514278536e+103
5
-2.548340863580925e+115
-1.126098718845409e+115
-2.5129308052104592e+115

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
13914
23914

end0.0ms

sample667.0ms

Algorithm
intervals
Results
368.0ms8000×body80valid

Profiling

Loading profile data...