Details

Time bar (total: 9.1s)

sample48.0ms

Algorithm
intervals
Results
27.0ms95×body1280valid
7.0ms130×body80valid
3.0ms13×body640valid
2.0ms15×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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 13.8b

localize8.0ms

Local error

Found 4 expressions with local error:

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

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

series39.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ 1.0 (hypot 1.0 x))
1.0ms
(hypot 1.0 x)
14.0ms
(sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))
19.0ms
(- 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))

simplify59.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 2 (15.0ms)

IterNodesCost
0201433
1602413
21998411
35001411

prune398.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 13.3b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

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

series71.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04231277
116411179
250011174

prune846.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 13.3b

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

rewrite79.0ms

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

series113.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))
50.0ms
(/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
40.0ms
(/ (/ (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
8.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))

simplify142.0ms

Algorithm
egg-herbie
Counts
333 → 333
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
087211022
1341710182
2500110066

prune2.1s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 13.3b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ (log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
0.0b
(/ (log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
1.1b
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
1.1b
(log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))

rewrite171.0ms

Algorithm
rewrite-expression-head
Rules
826×times-frac
622×*-un-lft-identity
480×sqrt-prod
382×add-sqr-sqrt add-cube-cbrt
260×log-pow
195×exp-prod
120×distribute-lft-out
69×pow1
62×associate-/l*
20×sqrt-div associate-/r/
14×associate-/r*
11×add-exp-log add-cbrt-cube
10×flip3-+ flip-+ div-inv
log-prod
associate--l+
sub-neg exp-sum add-log-exp
cbrt-undiv distribute-rgt-in distribute-lft-in associate-*r/ div-exp
log-div exp-diff div-sub
flip3-- frac-2neg clear-num frac-sub flip--
diff-log rem-log-exp associate-/l/
Counts
4 → 583
Calls
4 calls:
57.0ms
(/ (/ (log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
43.0ms
(/ (log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))))) (sqrt (+ 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))))
13.0ms
(log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))

series107.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(/ (/ (log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x)))))))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
48.0ms
(/ (log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x)))))) (sqrt (+ 1.0 (sqrt (* 0.5 (+ 1.0 (/ 1.0 (hypot 1.0 x))))))))
8.0ms
(- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))
8.0ms
(log (exp (- (* 1.0 (- 1.0 0.5)) (* 0.5 (/ 1.0 (hypot 1.0 x))))))

simplify233.0ms

Algorithm
egg-herbie
Counts
595 → 595
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0118921206
1435619211
2500319092

prune2.8s

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 13.3b

regimes349.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02122
12122

end0.0ms

sample1.3s

Algorithm
intervals
Results
807.0ms2808×body1280valid
219.0ms4156×body80valid
137.0ms609×body640valid
45.0ms281×body320valid
15.0ms146×body160valid