Details

Time bar (total: 3.4s)

sample37.0ms

Algorithm
intervals
Results
18.0ms89×body1280valid
5.0ms134×body80valid
3.0ms18×body640valid
2.0ms12×body320valid
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: 13.3b

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))
1.9b
(- 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:
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))
4.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series160.0ms

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

IterNodesCost
0201433
1602413
22000411
35001411

prune126.0ms

Filtered
73 candidates to 52 candidates (71.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New70373
Fresh000
Picked101
Done000
Total71374

Merged error: 12.8b

Counts
74 → 3

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

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

series121.0ms

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

IterNodesCost
0306616
11080568
24851560
35001560

prune204.0ms

Filtered
96 candidates to 69 candidates (71.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New93396
Fresh022
Picked101
Done000
Total94599

Merged error: 12.7b

Counts
99 → 5

localize24.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series179.0ms

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

simplify83.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06251165
13259984
25003984

prune301.0ms

Filtered
98 candidates to 72 candidates (73.5%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New96298
Fresh044
Picked101
Done000
Total976103

Merged error: 12.7b

Counts
103 → 6

localize23.0ms

Local error

Found 4 expressions with local error:

0.0b
(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))))))
1.3b
(- (* (- (pow 1.0 3) (pow 0.5 3)) (hypot 1.0 x)) (* 0.5 (+ (* 0.5 (+ 0.5 1.0)) (* 1.0 1.0))))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
14×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt
times-frac
add-log-exp
add-exp-log add-cbrt-cube
pow1 associate-*r/ associate-*l/ frac-sub
flip3-- flip3-+ associate-/r* flip-- flip-+ associate-/l*
associate--r+
cbrt-undiv +-commutative distribute-rgt-in sub-neg frac-2neg distribute-lft-in diff-log div-exp clear-num sum-log div-inv distribute-lft-out
Counts
4 → 64
Calls
4 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))))))
17.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))))

series123.0ms

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

simplify61.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0443742
12025684
25002684

prune267.0ms

Filtered
76 candidates to 57 candidates (75.0%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New75176
Fresh145
Picked011
Done000
Total76682

Merged error: 12.7b

Counts
82 → 6

regimes289.0ms

Accuracy

0% (0.1b remaining)

Error of 15.3b against oracle of 15.3b and baseline of 15.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03426
13426

end0.0ms

sample1.0s

Algorithm
intervals
Results
606.0ms2850×body1280valid
157.0ms4043×body80valid
102.0ms621×body640valid
38.0ms329×body320valid
12.0ms157×body160valid