Details

Time bar (total: 3.4s)

sample23.0ms

Algorithm
intervals
Results
11.0ms256×body80valid

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0155
1225
2255
3265
4265

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize15.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
21×*-un-lft-identity
16×add-sqr-sqrt
13×times-frac
11×add-cube-cbrt
add-exp-log associate-/r* add-cbrt-cube distribute-lft-out add-log-exp
associate-/l*
pow1 associate-/r/ difference-of-squares
cbrt-undiv sub-neg flip3-- frac-2neg flip3-+ diff-log div-exp clear-num flip-- flip-+ div-inv distribute-lft-out--
Counts
2 → 48
Calls
2 calls:
18.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
10.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series143.0ms

Counts
2 → 6
Calls
2 calls:
54.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
88.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

simplify178.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0268432
1956411
24742403
35001403

prune112.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
114×times-frac
98×*-un-lft-identity
75×add-sqr-sqrt
61×add-cube-cbrt
19×associate-/r*
16×add-exp-log distribute-lft-out
10×add-cbrt-cube
div-exp
div-inv associate-/l*
add-log-exp difference-of-squares
pow1 cbrt-undiv
rec-exp frac-2neg 1-exp clear-num associate-/l/ distribute-lft-out--
sub-neg flip3-- pow-flip flip3-+ diff-log associate-/r/ flip-- flip-+ inv-pow
Counts
3 → 140
Calls
3 calls:
18.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
11.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
7.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

series155.0ms

Counts
3 → 9
Calls
3 calls:
38.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
62.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
55.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

simplify64.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05191417
122961207
250021198

prune222.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (* (/ y (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0))))
0.2b
(* (/ (* x y) 2.0) (/ (* x y) 2.0))
3.6b
(/ y (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0))))
14.0b
(* (/ y (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
47×add-exp-log add-cbrt-cube
39×add-sqr-sqrt
37×times-frac
32×*-un-lft-identity
30×add-cube-cbrt
25×associate-*l*
17×prod-exp cbrt-unprod
14×cbrt-undiv div-exp
13×pow1
12×associate-*r*
difference-of-squares
swap-sqr
div-inv add-log-exp
sub-neg flip3-- flip--
distribute-rgt-in distribute-lft-in associate-/r* associate-/r/ associate--r+
frac-times associate-*r/ associate-/l* unswap-sqr
pow-prod-down associate-*l/ *-commutative
pow2 frac-2neg pow-plus diff-log clear-num pow-sqr pow-prod-up distribute-lft-out--
Counts
4 → 152
Calls
4 calls:
3.0ms
(- x (* (/ y (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0))))
11.0ms
(* (/ (* x y) 2.0) (/ (* x y) 2.0))
8.0ms
(/ y (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0))))
14.0ms
(* (/ y (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0)))

series309.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(- x (* (/ y (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0))))
38.0ms
(* (/ (* x y) 2.0) (/ (* x y) 2.0))
61.0ms
(/ y (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0))))
125.0ms
(* (/ y (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0)))

simplify118.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (100.0ms)

IterNodesCost
07601884
142401661
250011651

prune347.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.1b
(/ y (sqrt (+ 1.0 (/ (* x y) 2.0))))
0.1b
(/ (/ y (sqrt (+ 1.0 (/ (* x y) 2.0)))) (sqrt (+ 1.0 (/ (* x y) 2.0))))
3.7b
(sqrt (+ 1.0 (/ (* x y) 2.0)))
3.7b
(sqrt (+ 1.0 (/ (* x y) 2.0)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
378×times-frac
306×*-un-lft-identity
232×sqrt-prod
192×add-sqr-sqrt
190×add-cube-cbrt
58×distribute-lft-out
30×associate-/l*
24×sqrt-div
20×associate-/r/
14×associate-/r*
12×flip3-+ flip-+
11×add-exp-log add-cbrt-cube
10×div-inv
pow1
cbrt-undiv div-exp add-log-exp
rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 clear-num
associate-/l/
Counts
4 → 317
Calls
4 calls:
7.0ms
(/ y (sqrt (+ 1.0 (/ (* x y) 2.0))))
22.0ms
(/ (/ y (sqrt (+ 1.0 (/ (* x y) 2.0)))) (sqrt (+ 1.0 (/ (* x y) 2.0))))
4.0ms
(sqrt (+ 1.0 (/ (* x y) 2.0)))
4.0ms
(sqrt (+ 1.0 (/ (* x y) 2.0)))

series483.0ms

Counts
4 → 12
Calls
4 calls:
207.0ms
(/ y (sqrt (+ 1.0 (/ (* x y) 2.0))))
70.0ms
(/ (/ y (sqrt (+ 1.0 (/ (* x y) 2.0)))) (sqrt (+ 1.0 (/ (* x y) 2.0))))
102.0ms
(sqrt (+ 1.0 (/ (* x y) 2.0)))
104.0ms
(sqrt (+ 1.0 (/ (* x y) 2.0)))

simplify109.0ms

Algorithm
egg-herbie
Counts
329 → 329
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
08245529
132224926
250014840

prune501.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes53.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample325.0ms

Algorithm
intervals
Results
201.0ms7998×body80valid
0.0msbody2560valid
0.0msbody1280valid