Details

Time bar (total: 10.5s)

analyze1.0ms

Algorithm
search

sample36.0ms

Algorithm
intervals
Results
19.0ms87×body1280valid
5.0ms134×body80valid
3.0ms19×body640valid
2.0ms14×body320valid
0.0msbody160valid

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1246
2286
3306
4356
5376
6376

prune7.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.6b

Counts
2 → 1

localize8.0ms

Local error

Found 3 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)))))
1.3b
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×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
3 → 54
Calls
3 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
7.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))))))

series31.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ 1.0 (hypot 1.0 x))
12.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
14.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify60.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0200410
1601393
21983391
35001391

prune107.0ms

Filtered
45 candidates to 63 candidates (-40.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New61263
Fresh000
Picked101
Done000
Total62264

Merged error: 14.1b

Counts
64 → 2

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

rewrite22.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:
3.0ms
(/ 1.0 (hypot 1.0 x))
3.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
8.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series27.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(/ 1.0 (hypot 1.0 x))
4.0ms
(/ 1.0 (hypot 1.0 x))
12.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.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 (30.0ms)

IterNodesCost
0299576
11026547
25001541

prune219.0ms

Filtered
70 candidates to 97 candidates (-38.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New95297
Fresh101
Picked101
Done000
Total97299

Merged error: 14.1b

Counts
99 → 2

localize19.0ms

Local error

Found 4 expressions with local error:

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.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.8b
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))

rewrite36.0ms

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

series30.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06161130
13179964
25002964

prune314.0ms

Filtered
73 candidates to 99 candidates (-35.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New97299
Fresh101
Picked101
Done000
Total992101

Merged error: 14.1b

Counts
101 → 2

localize36.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ 1.0 0.5) (hypot 1.0 x))
0.0b
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
0.1b
(/ (+ (* (neg (+ (* (* 0.5 0.5) (+ (* 0.5 0.5) (* 1.0 1.0))) (* (pow 1.0 3) 1.0))) (* 0.5 (- (* 0.5 0.5) (* 1.0 1.0)))) (* (* (- (pow (* 1.0 1.0) 3) (pow (* 0.5 0.5) 3)) (hypot 1.0 x)) (- 0.5 1.0))) (* (- 0.5 1.0) (+ (* (* 0.5 0.5) (+ (* 0.5 0.5) (* 1.0 1.0))) (* (pow 1.0 3) 1.0))))
0.8b
(+ (* (neg (+ (* (* 0.5 0.5) (+ (* 0.5 0.5) (* 1.0 1.0))) (* (pow 1.0 3) 1.0))) (* 0.5 (- (* 0.5 0.5) (* 1.0 1.0)))) (* (* (- (pow (* 1.0 1.0) 3) (pow (* 0.5 0.5) 3)) (hypot 1.0 x)) (- 0.5 1.0)))

rewrite101.0ms

Algorithm
rewrite-expression-head
Rules
164×associate-*r/ associate-*l/
147×flip3-- flip--
132×frac-times
128×frac-add
96×distribute-neg-frac
66×associate-/l/
55×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×distribute-rgt-in add-sqr-sqrt *-un-lft-identity distribute-lft-in
pow1
add-cube-cbrt associate-+l+ associate-/r/
sub-neg add-log-exp
associate-+r+ associate-*l*
times-frac associate-*r* associate-/l*
cbrt-undiv sqrt-pow1 sqrt-div div-exp pow-prod-down prod-exp cbrt-unprod
+-commutative frac-2neg pow1/2 clear-num associate-/r* sum-log sqrt-prod *-commutative div-inv distribute-lft-out unswap-sqr
Counts
4 → 216
Calls
4 calls:
11.0ms
(* (+ 1.0 0.5) (hypot 1.0 x))
6.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
39.0ms
(/ (+ (* (neg (+ (* (* 0.5 0.5) (+ (* 0.5 0.5) (* 1.0 1.0))) (* (pow 1.0 3) 1.0))) (* 0.5 (- (* 0.5 0.5) (* 1.0 1.0)))) (* (* (- (pow (* 1.0 1.0) 3) (pow (* 0.5 0.5) 3)) (hypot 1.0 x)) (- 0.5 1.0))) (* (- 0.5 1.0) (+ (* (* 0.5 0.5) (+ (* 0.5 0.5) (* 1.0 1.0))) (* (pow 1.0 3) 1.0))))
23.0ms
(+ (* (neg (+ (* (* 0.5 0.5) (+ (* 0.5 0.5) (* 1.0 1.0))) (* (pow 1.0 3) 1.0))) (* 0.5 (- (* 0.5 0.5) (* 1.0 1.0)))) (* (* (- (pow (* 1.0 1.0) 3) (pow (* 0.5 0.5) 3)) (hypot 1.0 x)) (- 0.5 1.0)))

series24.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(* (+ 1.0 0.5) (hypot 1.0 x))
12.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
6.0ms
(/ (+ (* (neg (+ (* (* 0.5 0.5) (+ (* 0.5 0.5) (* 1.0 1.0))) (* (pow 1.0 3) 1.0))) (* 0.5 (- (* 0.5 0.5) (* 1.0 1.0)))) (* (* (- (pow (* 1.0 1.0) 3) (pow (* 0.5 0.5) 3)) (hypot 1.0 x)) (- 0.5 1.0))) (* (- 0.5 1.0) (+ (* (* 0.5 0.5) (+ (* 0.5 0.5) (* 1.0 1.0))) (* (pow 1.0 3) 1.0))))
4.0ms
(+ (* (neg (+ (* (* 0.5 0.5) (+ (* 0.5 0.5) (* 1.0 1.0))) (* (pow 1.0 3) 1.0))) (* 0.5 (- (* 0.5 0.5) (* 1.0 1.0)))) (* (* (- (pow (* 1.0 1.0) 3) (pow (* 0.5 0.5) 3)) (hypot 1.0 x)) (- 0.5 1.0)))

simplify147.0ms

Algorithm
egg-herbie
Counts
228 → 228
Iterations

Useful iterations: 1 (49.0ms)

IterNodesCost
0234510433
1500310208

prune8.0s

Filtered
202 candidates to 228 candidates (-12.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New2262228
Fresh011
Picked101
Done000
Total2273230

Merged error: 14.1b

Counts
230 → 3

regimes105.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify7.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0102100
1125100
2140100
3148100
4155100
5158100
6162100
7162100

end0.0ms

analyze1.0ms

Algorithm
search

sample1.1s

Algorithm
intervals
Results
634.0ms2866×body1280valid
160.0ms4027×body80valid
107.0ms622×body640valid
43.0ms332×body320valid
12.0ms153×body160valid

Profiling

Loading profile data...