Details

Time bar (total: 2.8s)

sample31.0ms

Algorithm
intervals
Results
15.0ms93×body1280valid
4.0ms129×body80valid
2.0ms18×body640valid
1.0ms10×body320valid
0.0msbody160valid

simplify10.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: 16.9b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite8.0ms

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

series89.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(/ 1.0 (hypot 1.0 x))
84.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify46.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0157308
1484286
21409284
35001284

prune99.0ms

Filtered
47 candidates to 34 candidates (72.3%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New44347
Fresh000
Picked101
Done000
Total45348

Merged error: 16.4b

Counts
48 → 3

localize13.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 (hypot 1.0 x))
0.0b
(/ 1.0 (hypot 1.0 x))
1.5b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
22×*-un-lft-identity
20×add-sqr-sqrt add-cube-cbrt
18×times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 associate-*r/ associate--l+
sub-neg
cbrt-undiv distribute-rgt-in flip3-- frac-2neg distribute-lft-in div-exp clear-num frac-sub flip-- div-inv
+-commutative flip3-+ diff-log sum-log flip-+ distribute-lft-out
Counts
4 → 84
Calls
4 calls:
3.0ms
(+ 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))))

series120.0ms

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

simplify136.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0306616
11080568
24851560
35001560

prune247.0ms

Filtered
96 candidates to 69 candidates (71.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New93396
Fresh112
Picked101
Done000
Total95499

Merged error: 16.4b

Counts
99 → 4

localize18.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)
1.5b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))))
17.6b
(cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))

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

series83.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)
34.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))

simplify64.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0463917
12143815
25001807

prune306.0ms

Filtered
145 candidates to 77 candidates (53.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1432145
Fresh123
Picked101
Done000
Total1454149

Merged error: 16.4b

Counts
149 → 4

localize22.0ms

Local error

Found 4 expressions with local error:

0.1b
(exp (log (- (* 1.0 (- 1.0 0.5)) (* 0.5 (cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))))))
0.1b
(pow (/ 1.0 (hypot 1.0 x)) 3)
1.5b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))))
17.6b
(cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac
32×cbrt-prod
26×unpow-prod-down cube-prod
associate-*r/
add-exp-log add-cbrt-cube
pow1 cube-div add-log-exp
cbrt-div
log-div exp-prod flip3-- exp-diff associate--l+ frac-sub flip-- div-inv
sub-neg pow-unpow log-prod exp-sum
distribute-rgt-in cube-mult distribute-lft-in unpow3 pow-exp rem-cube-cbrt sqr-pow
cbrt-undiv pow-to-exp pow-pow pow1/3 diff-log div-exp log-pow rem-cbrt-cube rem-exp-log
Counts
4 → 125
Calls
4 calls:
8.0ms
(exp (log (- (* 1.0 (- 1.0 0.5)) (* 0.5 (cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))))))
5.0ms
(pow (/ 1.0 (hypot 1.0 x)) 3)
7.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))

series109.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(exp (log (- (* 1.0 (- 1.0 0.5)) (* 0.5 (cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))))))
38.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))

simplify62.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04951067
12092942
25002913

prune341.0ms

Filtered
137 candidates to 72 candidates (52.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1361137
Fresh123
Picked011
Done000
Total1374141

Merged error: 16.4b

Counts
141 → 4

regimes123.0ms

Accuracy

0% (0.0b remaining)

Error of 15.1b against oracle of 15.1b and baseline of 15.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02417
12417

end0.0ms

sample813.0ms

Algorithm
intervals
Results
464.0ms2908×body1280valid
119.0ms3983×body80valid
80.0ms614×body640valid
27.0ms313×body320valid
10.0ms182×body160valid