Details

Time bar (total: 3.8s)

sample40.0ms

Algorithm
intervals
Results
22.0ms97×body1280valid
5.0ms124×body80valid
4.0ms20×body640valid
1.0ms11×body320valid
0.0msbody160valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1246
2286
3306
4356
5376
6376

prune7.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.5b

Counts
2 → 1

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite8.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt
times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1 associate-/r* associate-/l*
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num flip-- div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 48
Calls
3 calls:
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))))))

series19.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0158331
1485306
21396304
35002304

prune106.0ms

Filtered
57 candidates to 41 candidates (28.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New53457
Fresh000
Picked101
Done000
Total54458

Merged error: 15.0b

Counts
58 → 4

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

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

series30.0ms

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

simplify137.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0306616
11080568
24837560
35001560

prune213.0ms

Filtered
96 candidates to 69 candidates (28.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh033
Picked011
Done000
Total964100

Merged error: 15.0b

Counts
100 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
165×add-sqr-sqrt
95×*-un-lft-identity
84×times-frac
80×difference-of-squares
64×unpow-prod-down cube-prod
45×add-cube-cbrt
41×sqr-pow
28×associate-/l*
25×distribute-lft-out--
10×associate-*r/
add-exp-log add-cbrt-cube
pow1
flip3-+ associate-/r* associate-/r/ flip-+ add-log-exp
difference-cubes
pow-pow frac-add
pow-unpow
cbrt-undiv cube-div flip3-- frac-2neg sqrt-pow1 sqrt-div div-exp clear-num sqrt-prod flip-- div-inv associate-/l/
cube-mult pow-to-exp sub-neg pow1/2 diff-log unpow3 div-sub pow-prod-down pow-exp sqrt-pow2 rem-cube-cbrt
Counts
4 → 216
Calls
4 calls:
3.0ms
(/ 1.0 (hypot 1.0 x))
22.0ms
(/ (- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)) (+ (* 1.0 (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
8.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
12.0ms
(- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))

series141.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
83.0ms
(/ (- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)) (+ (* 1.0 (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))) (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
21.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
31.0ms
(- (pow 1.0 3) (pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3))

simplify135.0ms

Algorithm
egg-herbie
Counts
228 → 228
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
08195692
135725550
250015471

prune913.0ms

Filtered
228 candidates to 124 candidates (45.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New2262228
Fresh112
Picked101
Done011
Total2284232

Merged error: 15.0b

Counts
232 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
10×add-log-exp
cbrt-prod add-cube-cbrt
pow1 add-exp-log flip3-- add-cbrt-cube flip-- distribute-lft-out-- difference-of-squares
sub-neg diff-log
cbrt-div
pow1/3
Counts
4 → 57
Calls
4 calls:
3.0ms
(cbrt (- 1.0 (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))))))
3.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series86.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(cbrt (- 1.0 (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))))))
15.0ms
(- 1.0 (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))))))

simplify73.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 4 (64.0ms)

IterNodesCost
0109739
1236685
2719677
32317675
45002669

prune229.0ms

Filtered
69 candidates to 49 candidates (29.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New68169
Fresh022
Picked101
Done011
Total69473

Merged error: 15.0b

Counts
73 → 4

regimes331.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
01913
11913

end0.0ms

sample1.1s

Algorithm
intervals
Results
630.0ms2858×body1280valid
167.0ms4069×body80valid
105.0ms606×body640valid
38.0ms320×body320valid
11.0ms147×body160valid

Profiling

Loading profile data...