Details

Time bar (total: 4.1s)

sample32.0ms

Algorithm
intervals
Results
16.0ms98×body1280valid
4.0ms118×body80valid
3.0ms21×body640valid
1.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.9b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

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

series206.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ 1.0 (/ 1.0 (hypot 1.0 x)))
6.0ms
(/ 1.0 (hypot 1.0 x))
78.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
89.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify70.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0221492
1697465
22323463
35001463

prune165.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 18.4b

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

rewrite14.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:
2.0ms
(/ 1.0 (hypot 1.0 x))
2.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))))

series132.0ms

Counts
4 → 12
Calls
4 calls:
6.0ms
(/ 1.0 (hypot 1.0 x))
6.0ms
(/ 1.0 (hypot 1.0 x))
83.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
38.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify141.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0306616
11080568
24851560
35001560

prune258.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ 1.0 (hypot 1.0 x)))
0.1b
(sqrt (/ 1.0 (hypot 1.0 x)))
0.3b
(* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))
2.0b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
92×sqrt-prod
84×add-sqr-sqrt
62×times-frac
50×add-cube-cbrt *-un-lft-identity
21×pow1
18×swap-sqr
16×associate-*r* associate-*l*
15×associate-*r/
14×sqrt-div
10×sqrt-pow1 pow1/2
unswap-sqr
add-exp-log frac-sub add-cbrt-cube div-inv add-log-exp
pow-prod-up
rem-sqrt-square flip3-- associate--l+ flip--
frac-times sub-neg pow-prod-down associate-*l/ pow-sqr
distribute-rgt-in distribute-lft-in
pow2 pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 159
Calls
4 calls:
2.0ms
(sqrt (/ 1.0 (hypot 1.0 x)))
6.0ms
(sqrt (/ 1.0 (hypot 1.0 x)))
19.0ms
(* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))
9.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))))

series273.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(sqrt (/ 1.0 (hypot 1.0 x)))
46.0ms
(sqrt (/ 1.0 (hypot 1.0 x)))
65.0ms
(* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))
111.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))))

simplify74.0ms

Algorithm
egg-herbie
Counts
171 → 171
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
04131304
119981163
250021134

prune493.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.4b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (/ 1.0 (hypot 1.0 x)))
0.1b
(exp (log (- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))))))
0.3b
(* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))
2.0b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
79×sqrt-prod
76×add-sqr-sqrt
52×times-frac
45×add-cube-cbrt *-un-lft-identity
29×associate-*r/
21×pow1 sqrt-div
18×swap-sqr
16×associate-*r* associate-*l*
12×frac-sub
sqrt-pow1 pow1/2 unswap-sqr
log-div flip3-- exp-diff flip--
add-exp-log add-cbrt-cube add-log-exp
frac-times associate-*l/ pow-prod-up div-inv
exp-prod associate--l+
sub-neg log-prod exp-sum pow-prod-down pow-sqr
distribute-rgt-in rem-sqrt-square distribute-lft-in
pow2 pow-plus sqrt-unprod diff-log prod-exp rem-square-sqrt log-pow *-commutative cbrt-unprod rem-exp-log
Counts
4 → 157
Calls
4 calls:
2.0ms
(sqrt (/ 1.0 (hypot 1.0 x)))
15.0ms
(exp (log (- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))))))
19.0ms
(* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))
12.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))))

series344.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(sqrt (/ 1.0 (hypot 1.0 x)))
114.0ms
(exp (log (- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))))))
65.0ms
(* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))
110.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (* (sqrt (/ 1.0 (hypot 1.0 x))) (sqrt (/ 1.0 (hypot 1.0 x))))))

simplify78.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
04781580
121321401
250011345

prune508.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 18.4b

regimes91.0ms

Accuracy

0% (0.0b remaining)

Error of 14.4b against oracle of 14.4b and baseline of 14.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02620
12820
22820

end0.0ms

sample991.0ms

Algorithm
intervals
Results
645.0ms2796×body1280valid
121.0ms4124×body80valid
77.0ms610×body640valid
30.0ms309×body320valid
9.0ms161×body160valid