Details

Time bar (total: 4.4s)

sample43.0ms

Algorithm
intervals
Results
21.0ms93×body1280valid
5.0ms132×body80valid
4.0ms20×body640valid
1.0msbody320valid
0.0msbody160valid

simplify10.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: 15.1b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt *-un-lft-identity
10×add-cube-cbrt
times-frac
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1
cbrt-undiv sub-neg flip3-- frac-2neg diff-log div-exp clear-num flip-- div-inv distribute-lft-out-- difference-of-squares
Counts
2 → 41
Calls
2 calls:
8.0ms
(/ 1.0 (hypot 1.0 x))
7.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

series90.0ms

Counts
2 → 6
Calls
2 calls:
11.0ms
(/ 1.0 (hypot 1.0 x))
80.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify43.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0157308
1484286
21409284
35001284

prune98.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 14.6b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite74.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
30×times-frac
29×add-sqr-sqrt add-cube-cbrt
10×add-exp-log associate-/r* add-cbrt-cube
associate-/l*
associate-*r/
add-log-exp
pow1 flip3-- associate--l+ frac-sub flip-- associate-/l/ distribute-lft-out
cbrt-undiv sub-neg frac-2neg div-exp clear-num div-inv
distribute-rgt-in distribute-lft-in associate-/r/
flip3-+ diff-log div-sub flip-+
Counts
4 → 110
Calls
4 calls:
45.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)))))))
5.0ms
(/ 1.0 (hypot 1.0 x))
5.0ms
(/ 1.0 (hypot 1.0 x))
16.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

series207.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04071275
115941181
250011177

prune320.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 14.6b

localize24.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))) (+ 1.0 (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))))))
0.0b
(/ 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)))

rewrite81.0ms

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

series329.0ms

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

simplify116.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
07822521
142462222
250012222

prune414.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 14.5b

localize31.0ms

Local error

Found 4 expressions with local error:

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

rewrite256.0ms

Algorithm
rewrite-expression-head
Rules
94×associate-*r/
62×sqrt-div
57×pow1
33×flip3-+ flip-+
30×sqrt-pow1
21×pow-prod-down
20×frac-sub
13×add-sqr-sqrt
12×frac-times associate-*l/
11×add-cube-cbrt *-un-lft-identity pow1/2
10×pow-prod-up
add-log-exp
add-exp-log add-cbrt-cube
sqrt-prod pow-sqr
unpow-prod-down flip3-- pow-pow cube-prod swap-sqr associate-*r* associate-*l* flip-- sub-div
pow-unpow
cube-div sub-neg diff-log associate--r+
pow2 distribute-rgt-in cube-mult pow-to-exp distribute-rgt-out-- distribute-lft-in pow-plus sqrt-unprod unpow3 pow-exp prod-exp rem-square-sqrt *-commutative sqrt-pow2 cbrt-unprod rem-cube-cbrt unswap-sqr sqr-pow
Counts
4 → 139
Calls
4 calls:
94.0ms
(* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
15.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
25.0ms
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))
114.0ms
(- (* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))

series515.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
136.0ms
(pow (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) 3)
30.0ms
(- (* (- (* 1.0 1.0) (* 0.5 0.5)) (hypot 1.0 x)) (* 0.5 (+ 0.5 1.0)))
265.0ms
(- (* (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))) (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))) (* 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))

simplify156.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (129.0ms)

IterNodesCost
07782336
140881998
250031985

prune572.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 14.5b

regimes63.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05252
15452
25452

end0.0ms

sample825.0ms

Algorithm
intervals
Results
457.0ms2858×body1280valid
113.0ms4057×body80valid
80.0ms626×body640valid
27.0ms318×body320valid
8.0ms141×body160valid