Details

Time bar (total: 2.7s)

sample22.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2265
3295
4305
5305

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* x y) 2.0)
0.0b
(+ 1.0 (/ (* x y) 2.0))
0.0b
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
6.7b
(/ y (+ 1.0 (/ (* x y) 2.0)))

rewrite78.0ms

Algorithm
rewrite-expression-head
Rules
89×*-un-lft-identity
64×add-sqr-sqrt
59×add-cube-cbrt
54×prod-diff
52×times-frac
14×distribute-lft-out
11×add-exp-log add-cbrt-cube
associate-/r/ add-log-exp
associate-/r*
flip3-+ flip-+ div-inv
pow1 expm1-log1p-u log1p-expm1-u associate-/l*
cbrt-undiv fma-def fma-neg div-exp
frac-2neg clear-num difference-of-squares
+-commutative sub-neg flip3-- diff-log prod-exp sum-log flip-- cbrt-unprod distribute-lft-out--
Counts
4 → 149
Calls
4 calls:
5.0ms
(/ (* x y) 2.0)
7.0ms
(+ 1.0 (/ (* x y) 2.0))
41.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
14.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series156.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(/ (* x y) 2.0)
33.0ms
(+ 1.0 (/ (* x y) 2.0))
33.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
69.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

simplify76.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06752716
126381945
250021786

prune254.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
0.0b
(+ 1.0 (/ (* x y) 2.0))
0.1b
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
6.7b
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
42×*-un-lft-identity
32×add-sqr-sqrt
26×times-frac
25×add-cube-cbrt
18×associate-*r*
17×add-exp-log
11×add-cbrt-cube
distribute-lft-out add-log-exp
pow1
expm1-log1p-u div-exp prod-exp associate-/r* associate-/r/ log1p-expm1-u
fma-def flip3-+ fma-neg associate-*l* prod-diff flip-+ associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
+-commutative sub-neg flip3-- pow-flip frac-2neg diff-log associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative flip-- inv-pow
Counts
4 → 119
Calls
4 calls:
2.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
4.0ms
(+ 1.0 (/ (* x y) 2.0))
8.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
23.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

series184.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
37.0ms
(+ 1.0 (/ (* x y) 2.0))
49.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
65.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

simplify58.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0466937
12041821
25001764

prune252.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ 1.0 (/ (* x y) 2.0))
0.0b
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
0.1b
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
6.6b
(/ (+ 1.0 (/ (* x y) 2.0)) y)

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
366×times-frac
333×*-un-lft-identity
254×add-sqr-sqrt
240×add-cube-cbrt
159×prod-diff
44×distribute-lft-out
19×associate-/r* div-inv
17×add-exp-log
11×add-cbrt-cube
div-exp add-log-exp
associate-/l*
pow1 difference-of-squares
cbrt-undiv expm1-log1p-u associate-/r/ log1p-expm1-u
fma-def fma-neg
rec-exp frac-2neg flip3-+ 1-exp clear-num flip-+ associate-/l/ distribute-lft-out--
+-commutative sub-neg flip3-- pow-flip diff-log sum-log flip-- inv-pow
Counts
4 → 325
Calls
4 calls:
7.0ms
(+ 1.0 (/ (* x y) 2.0))
36.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
11.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
17.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

series186.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ 1.0 (/ (* x y) 2.0))
37.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
59.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
56.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

simplify96.0ms

Algorithm
egg-herbie
Counts
337 → 337
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
013839142
150016347

prune371.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))))
0.0b
(fma 0.5 x (* 1.0 (/ 1 y)))
0.1b
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
53×add-sqr-sqrt
50×*-un-lft-identity
46×add-cube-cbrt
39×prod-diff
38×times-frac
add-exp-log
add-cbrt-cube div-inv add-log-exp
pow1
expm1-log1p-u fma-neg associate-/r* log1p-expm1-u associate-/l* difference-of-squares
div-exp distribute-lft-out--
cbrt-undiv sub-neg rec-exp flip3-- pow-flip frac-2neg diff-log 1-exp clear-num flip-- fma-udef inv-pow
Counts
3 → 104
Calls
3 calls:
7.0ms
(- x (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))))
0.0ms
(fma 0.5 x (* 1.0 (/ 1 y)))
2.0ms
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))

series124.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- x (/ 1 (fma 0.5 x (* 1.0 (/ 1 y)))))
33.0ms
(fma 0.5 x (* 1.0 (/ 1 y)))
54.0ms
(/ 1 (fma 0.5 x (* 1.0 (/ 1 y))))

simplify53.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04612049
116191333
250021328

prune164.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes43.0ms

Accuracy

0% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 0.0b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample334.0ms

Algorithm
intervals
Results
204.0ms7998×body80valid
0.0msbody2560valid
0.0msbody640valid