Details

Time bar (total: 3.0s)

sample39.0ms

Algorithm
intervals
Results
20.0ms90×body1280valid
5.0ms129×body80valid
3.0ms16×body640valid
2.0ms17×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

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.4b

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
12×add-cube-cbrt
times-frac
pow1
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
sqrt-pow1 sqrt-div associate-*r/
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ pow1/2 diff-log div-exp pow-prod-down clear-num sqrt-prod flip-- flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 61
Calls
4 calls:
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
1.0ms
(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))))))

series39.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
1.0ms
(hypot 1.0 x)
4.0ms
(/ 1.0 (hypot 1.0 x))
20.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify63.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0201433
1602413
21986411
35001411

prune142.0ms

Filtered
52 candidates to 73 candidates (-40.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New69473
Fresh000
Picked101
Done000
Total70474

Merged error: 14.9b

Counts
74 → 4

localize14.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))
1.6b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

rewrite30.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))
9.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series49.0ms

Counts
4 → 12
Calls
4 calls:
33.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)))))))
4.0ms
(/ 1.0 (hypot 1.0 x))
4.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify57.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04071275
115941181
250021177

prune341.0ms

Filtered
88 candidates to 122 candidates (-38.6%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1202122
Fresh213
Picked101
Done000
Total1233126

Merged error: 14.8b

Counts
126 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(/ 1.0 (hypot 1.0 x))
1.6b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
1.6b
(log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))

rewrite23.0ms

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

series22.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 1.0 (hypot 1.0 x))
4.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
7.0ms
(log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))

simplify122.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0279682
1983621
24259612
35002612

prune267.0ms

Filtered
74 candidates to 106 candidates (-43.2%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh022
Picked011
Done000
Total1063109

Merged error: 14.8b

Counts
109 → 3

localize22.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
18×*-un-lft-identity
16×add-cube-cbrt
10×add-exp-log add-cbrt-cube
times-frac
pow1 associate-*l* associate-*l/
associate-*r* add-log-exp
flip3-- associate-*r/ frac-sub flip--
flip3-+ associate-/r* flip-+ associate-/l*
pow-prod-down prod-exp *-commutative cbrt-unprod associate--r+ unswap-sqr
cbrt-undiv distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log div-exp clear-num div-inv distribute-lft-out difference-of-squares
Counts
4 → 87
Calls
4 calls:
6.0ms
(* (+ 1.0 0.5) (hypot 1.0 x))
6.0ms
(* (- (* 1.0 1.0) (* 0.5 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)))

series13.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(* (+ 1.0 0.5) (hypot 1.0 x))
2.0ms
(* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x))
4.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))

simplify64.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0431721
12020664
25002664

prune314.0ms

Filtered
72 candidates to 99 candidates (-37.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New97299
Fresh101
Picked101
Done011
Total993102

Merged error: 14.8b

Counts
102 → 3

regimes111.0ms

Accuracy

0% (0.0b remaining)

Error of 14.7b against oracle of 14.7b and baseline of 14.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02115
12115

end0.0ms

sample1.2s

Algorithm
intervals
Results
649.0ms2834×body1280valid
170.0ms4069×body80valid
119.0ms641×body640valid
40.0ms319×body320valid
11.0ms137×body160valid

Profiling

Loading profile data...