Details

Time bar (total: 4.2s)

sample59.0ms

Algorithm
intervals
Results
28.0ms86×body1280valid
13.0ms127×body80valid
8.0ms29×body640valid
2.0ms11×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

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.4b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
pow1
add-sqr-sqrt *-un-lft-identity add-log-exp
add-exp-log add-cube-cbrt add-cbrt-cube
sqrt-pow1 sqrt-div associate-*r/
sub-neg flip3-- flip3-+ pow1/2 diff-log pow-prod-down sqrt-prod flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 34
Calls
3 calls:
0.0ms
(hypot 1.0 x)
6.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))))))

series155.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (11.0ms)

IterNodesCost
0145299
1354283
21416281
35001281

prune94.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 17.9b

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

rewrite33.0ms

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

series262.0ms

Counts
4 → 12
Calls
4 calls:
1.0ms
(hypot 1.0 x)
72.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
153.0ms
(/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))
36.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify50.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
03961127
114031048
250011044

prune235.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 17.9b

localize23.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (/ 1.0 (hypot 1.0 x)) (/ 1.0 (hypot 1.0 x)))
0.1b
(pow (/ 1.0 (hypot 1.0 x)) 3)
1.5b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
1.5b
(- (* (/ 1.0 (hypot 1.0 x)) (/ 1.0 (hypot 1.0 x))) (* 1.0 (/ 1.0 (hypot 1.0 x))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
58×times-frac
47×add-cube-cbrt *-un-lft-identity
19×add-exp-log add-cbrt-cube
13×unpow-prod-down cube-prod swap-sqr associate-*r* associate-*l*
12×pow1 associate-*r/
add-log-exp
div-inv
cbrt-undiv div-exp frac-sub
sub-neg prod-exp associate--l+ cbrt-unprod unswap-sqr
pow-unpow flip3-- associate-*l/ flip--
distribute-rgt-in frac-times distribute-lft-in diff-log pow-exp sub-div rem-cube-cbrt
cube-div pow2 cube-mult pow-to-exp distribute-rgt-out-- pow-pow pow-plus unpow3 pow-prod-down pow-sqr *-commutative pow-prod-up sqr-pow
Counts
4 → 149
Calls
4 calls:
15.0ms
(* (/ 1.0 (hypot 1.0 x)) (/ 1.0 (hypot 1.0 x)))
4.0ms
(pow (/ 1.0 (hypot 1.0 x)) 3)
6.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
6.0ms
(- (* (/ 1.0 (hypot 1.0 x)) (/ 1.0 (hypot 1.0 x))) (* 1.0 (/ 1.0 (hypot 1.0 x))))

series168.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (/ 1.0 (hypot 1.0 x)) (/ 1.0 (hypot 1.0 x)))
32.0ms
(pow (/ 1.0 (hypot 1.0 x)) 3)
31.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
75.0ms
(- (* (/ 1.0 (hypot 1.0 x)) (/ 1.0 (hypot 1.0 x))) (* 1.0 (/ 1.0 (hypot 1.0 x))))

simplify178.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
07651210
148061016
250011016

prune544.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 17.9b

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

rewrite30.0ms

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

series238.0ms

Counts
4 → 12
Calls
4 calls:
1.0ms
(hypot 1.0 x)
72.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
129.0ms
(/ (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))))
36.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify46.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
03681133
112071055
250011052

prune227.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 17.9b

regimes96.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03128
13128

end0.0ms

sample1.6s

Algorithm
intervals
Results
950.0ms2896×body1280valid
306.0ms4055×body80valid
166.0ms615×body640valid
55.0ms286×body320valid
20.0ms148×body160valid