Details

Time bar (total: 3.2s)

sample38.0ms

Algorithm
intervals
Results
19.0ms92×body1280valid
5.0ms132×body80valid
3.0ms20×body640valid
1.0ms10×body320valid
0.0msbody160valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1246
2286
3306
4356
5376
6376

prune2.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.9b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.0b
(/ 1.0 (hypot 1.0 x))
1.1b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
14×add-sqr-sqrt
12×add-cube-cbrt
times-frac
add-log-exp
pow1
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
sqrt-pow1 flip3-+ sqrt-div associate-*r/ flip-+
cbrt-undiv +-commutative sub-neg flip3-- frac-2neg pow1/2 diff-log div-exp pow-prod-down clear-num sum-log sqrt-prod flip-- div-inv distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 66
Calls
4 calls:
9.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
6.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series188.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
69.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(/ 1.0 (hypot 1.0 x))
85.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify68.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0221492
1697465
22311463
35001463

prune138.0ms

Filtered
78 candidates to 55 candidates (70.5%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New75378
Fresh000
Picked101
Done000
Total76379

Merged error: 12.4b

Counts
79 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ 1.0 (hypot 1.0 x))
0.5b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
30×times-frac
29×add-sqr-sqrt add-cube-cbrt
10×add-exp-log associate-/r* add-cbrt-cube
associate-/l*
associate-*r/
add-log-exp
pow1 flip3-- associate--l+ frac-sub flip-- associate-/l/ distribute-lft-out
cbrt-undiv sub-neg frac-2neg div-exp clear-num div-inv
distribute-rgt-in distribute-lft-in associate-/r/
flip3-+ diff-log div-sub flip-+
Counts
4 → 110
Calls
4 calls:
12.0ms
(/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series206.0ms

Counts
4 → 12
Calls
4 calls:
157.0ms
(/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
5.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(/ 1.0 (hypot 1.0 x))
37.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify65.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
04071275
115941181
250021177

prune263.0ms

Filtered
122 candidates to 88 candidates (72.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1184122
Fresh202
Picked101
Done000
Total1214125

Merged error: 12.4b

Counts
125 → 4

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
0.0b
(/ (* 1.0 (- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))) (* (+ 1.0 0.5) (hypot 1.0 x)))
0.0b
(/ 1.0 (hypot 1.0 x))
0.5b
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
14×*-un-lft-identity associate-*r/
12×add-sqr-sqrt add-cube-cbrt
10×times-frac associate-*l/
frac-sub add-log-exp
flip3-- flip3-+ flip-- flip-+ associate-/l/
cbrt-undiv div-exp
pow1 prod-exp associate-/r* cbrt-unprod associate-/l*
frac-2neg clear-num associate-/r/ div-inv associate--r+
+-commutative distribute-rgt-in sub-neg distribute-lft-in diff-log sum-log distribute-lft-out
Counts
4 → 86
Calls
4 calls:
3.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
17.0ms
(/ (* 1.0 (- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))) (* (+ 1.0 0.5) (hypot 1.0 x)))
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))

series180.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
63.0ms
(/ (* 1.0 (- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))) (* (+ 1.0 0.5) (hypot 1.0 x)))
6.0ms
(/ 1.0 (hypot 1.0 x))
32.0ms
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06251165
13259984
25001984

prune282.0ms

Filtered
98 candidates to 72 candidates (73.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New97198
Fresh033
Picked101
Done000
Total984102

Merged error: 12.4b

Counts
102 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.1b
(pow (/ 1.0 (hypot 1.0 x)) 3)
0.5b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))))
20.0b
(cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
45×times-frac
42×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
32×cbrt-prod
26×unpow-prod-down cube-prod
add-exp-log add-cbrt-cube
add-log-exp
pow1 div-inv
cube-div associate-*r/ associate--l+
sub-neg pow-unpow cbrt-div associate-/r* associate-/l*
cbrt-undiv distribute-rgt-in cube-mult flip3-- distribute-lft-in unpow3 div-exp pow-exp frac-sub flip-- rem-cube-cbrt sqr-pow
pow-to-exp pow-pow frac-2neg pow1/3 diff-log clear-num rem-cbrt-cube
Counts
4 → 133
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(pow (/ 1.0 (hypot 1.0 x)) 3)
11.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))))
5.0ms
(cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))

series81.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ 1.0 (hypot 1.0 x))
37.0ms
(pow (/ 1.0 (hypot 1.0 x)) 3)
33.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))))
6.0ms
(cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))

simplify68.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0463917
12143815
25001807

prune254.0ms

Filtered
145 candidates to 77 candidates (53.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1441145
Fresh033
Picked101
Done000
Total1454149

Merged error: 12.4b

Counts
149 → 4

regimes74.0ms

Accuracy

0% (0.0b remaining)

Error of 14.9b against oracle of 14.9b and baseline of 14.9b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02417
12417

end0.0ms

sample1.0s

Algorithm
intervals
Results
600.0ms2810×body1280valid
156.0ms4066×body80valid
113.0ms677×body640valid
35.0ms306×body320valid
11.0ms141×body160valid

Profiling

Loading profile data...