Details

Time bar (total: 3.0s)

sample37.0ms

Algorithm
intervals
Results
17.0ms81×body1280valid
6.0ms138×body80valid
4.0ms25×body640valid
1.0msbody320valid
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: 14.5b

Counts
2 → 1

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
0.0b
(/ 1.0 (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
1.2b
(- 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:
6.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
3.0ms
(/ 1.0 (hypot 1.0 x))
10.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
3.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series186.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
8.0ms
(/ 1.0 (hypot 1.0 x))
68.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
83.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify69.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0221492
1697465
22309463
35002463

prune129.0ms

Filtered
78 candidates to 55 candidates (70.5%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New74478
Fresh000
Picked101
Done000
Total75479

Merged error: 13.9b

Counts
79 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite21.0ms

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

series115.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0299576
11026547
25001544

prune206.0ms

Filtered
97 candidates to 70 candidates (72.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New94397
Fresh213
Picked101
Done000
Total974101

Merged error: 13.9b

Counts
101 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.1b
(pow (/ 1.0 (hypot 1.0 x)) 3)
0.7b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))))
20.6b
(cbrt (pow (/ 1.0 (hypot 1.0 x)) 3))

rewrite27.0ms

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

series144.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
35.0ms
(pow (/ 1.0 (hypot 1.0 x)) 3)
32.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))

simplify70.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0506901
12170797
25002789

prune225.0ms

Filtered
131 candidates to 68 candidates (51.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1301131
Fresh123
Picked101
Done000
Total1323135

Merged error: 13.9b

Counts
135 → 3

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×add-cube-cbrt *-un-lft-identity
pow1 times-frac
add-exp-log associate-*r/ add-cbrt-cube
add-log-exp
flip3-+ associate-*l/ frac-sub flip-+
flip3-- associate-*r* associate-*l* associate-/r* flip-- associate-/l*
distribute-rgt-in distribute-lft-in sqrt-pow1 sqrt-div pow-prod-down associate--r+
cbrt-undiv sub-neg frac-2neg pow1/2 diff-log div-exp prod-exp clear-num sqrt-prod *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 80
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
9.0ms
(* (hypot 1.0 x) (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0)))
20.0ms
(- (* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x)) (* 0.5 (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0))))

series139.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(/ 1.0 (hypot 1.0 x))
69.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
25.0ms
(* (hypot 1.0 x) (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0)))
36.0ms
(- (* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x)) (* 0.5 (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0))))

simplify80.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0533882
12698815
25001815

prune298.0ms

Filtered
92 candidates to 68 candidates (73.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New89392
Fresh112
Picked101
Done000
Total91495

Merged error: 13.9b

Counts
95 → 4

regimes93.0ms

Accuracy

0% (0.2b remaining)

Error of 15.4b against oracle of 15.2b and baseline of 15.4b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06563
17563
28063
38063

end0.0ms

sample1.0s

Algorithm
intervals
Results
588.0ms2781×body1280valid
152.0ms4055×body80valid
110.0ms656×body640valid
37.0ms318×body320valid
14.0ms190×body160valid

Profiling

Loading profile data...