Details

Time bar (total: 2.8s)

sample35.0ms

Algorithm
intervals
Results
16.0ms73×body1280valid
6.0ms145×body80valid
3.0ms17×body640valid
2.0ms13×body320valid
1.0msbody160valid

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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: 16.1b

Counts
2 → 1

localize9.0ms

Local error

Found 4 expressions with local error:

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

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

series32.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (16.0ms)

IterNodesCost
0201433
1602413
21986411
35001411

prune130.0ms

Filtered
73 candidates to 52 candidates (28.8%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New70373
Fresh000
Picked101
Done000
Total71374

Merged error: 15.6b

Counts
74 → 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))
2.6b
(- (* 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))))

series28.0ms

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

simplify140.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0306616
11080568
24837560
35001560

prune213.0ms

Filtered
96 candidates to 69 candidates (28.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New94296
Fresh112
Picked101
Done000
Total96399

Merged error: 15.6b

Counts
99 → 3

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
24×*-un-lft-identity
20×add-cube-cbrt
19×times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1
cbrt-undiv frac-2neg div-exp clear-num div-inv difference-of-squares
+-commutative sub-neg flip3-- flip3-+ diff-log sum-log flip-- flip-+ distribute-lft-out distribute-lft-out--
Counts
4 → 81
Calls
4 calls:
4.0ms
(/ 0.5 (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))))))
6.0ms
(- 0.5 (/ 0.5 (hypot 1.0 x)))

series29.0ms

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

simplify75.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0280524
1902488
22752487
35001487

prune191.0ms

Filtered
93 candidates to 67 candidates (28.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New91293
Fresh202
Picked101
Done000
Total94296

Merged error: 15.3b

Counts
96 → 2

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ 0.5 (hypot 1.0 x)))
0.1b
(sqrt (/ 0.5 (hypot 1.0 x)))
0.5b
(* (+ (sqrt 0.5) (sqrt (/ 0.5 (hypot 1.0 x)))) (- (sqrt 0.5) (sqrt (/ 0.5 (hypot 1.0 x)))))
2.6b
(- (sqrt 0.5) (sqrt (/ 0.5 (hypot 1.0 x))))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
56×add-sqr-sqrt
46×sqrt-prod
32×*-un-lft-identity
24×times-frac
20×add-cube-cbrt
12×difference-of-squares
11×associate-*r*
pow1
add-exp-log add-cbrt-cube add-log-exp
associate-*l*
frac-times rem-sqrt-square flip3-- flip-- distribute-lft-out--
sub-neg flip3-+ flip-+
distribute-rgt-in distribute-lft-in sqrt-pow1 pow1/2 sqrt-div associate-*r/ associate-*l/ div-inv distribute-lft-out
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 110
Calls
4 calls:
3.0ms
(sqrt (/ 0.5 (hypot 1.0 x)))
3.0ms
(sqrt (/ 0.5 (hypot 1.0 x)))
20.0ms
(* (+ (sqrt 0.5) (sqrt (/ 0.5 (hypot 1.0 x)))) (- (sqrt 0.5) (sqrt (/ 0.5 (hypot 1.0 x)))))
9.0ms
(- (sqrt 0.5) (sqrt (/ 0.5 (hypot 1.0 x))))

series59.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(sqrt (/ 0.5 (hypot 1.0 x)))
9.0ms
(sqrt (/ 0.5 (hypot 1.0 x)))
29.0ms
(* (+ (sqrt 0.5) (sqrt (/ 0.5 (hypot 1.0 x)))) (- (sqrt 0.5) (sqrt (/ 0.5 (hypot 1.0 x)))))
12.0ms
(- (sqrt 0.5) (sqrt (/ 0.5 (hypot 1.0 x))))

simplify44.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
02831172
112581064
250021037

prune384.0ms

Filtered
122 candidates to 86 candidates (29.5%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1211122
Fresh011
Picked101
Done000
Total1222124

Merged error: 15.3b

Counts
124 → 2

regimes70.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02545
12545

end0.0ms

sample1.1s

Algorithm
intervals
Results
628.0ms2859×body1280valid
159.0ms4068×body80valid
111.0ms622×body640valid
34.0ms278×body320valid
14.0ms173×body160valid

Profiling

Loading profile data...