Details

Time bar (total: 2.5s)

sample14.0ms

Algorithm
intervals
Results
6.0ms256×body80valid

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2255
3265
4265

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite25.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:
16.0ms
(- x (/ y (+ 1.0 (/ (* x y) 2.0))))
8.0ms
(/ y (+ 1.0 (/ (* x y) 2.0)))

series102.0ms

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

simplify165.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0268432
1956411
24742403
35001403

prune108.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
0.7b
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
4.6b
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
36×*-un-lft-identity
28×add-sqr-sqrt
26×times-frac
21×add-cube-cbrt
18×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
div-exp prod-exp associate-/r* associate-/r/
associate-*l* associate-/l* unswap-sqr
cbrt-undiv rec-exp flip3-+ 1-exp cbrt-unprod flip-+ div-inv
sub-neg flip3-- pow-flip frac-2neg diff-log associate-*r/ pow-prod-down clear-num un-div-inv *-commutative flip-- inv-pow
Counts
3 → 90
Calls
3 calls:
2.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
8.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
21.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

series156.0ms

Counts
3 → 9
Calls
3 calls:
35.0ms
(- x (* y (/ 1 (+ 1.0 (/ (* x y) 2.0)))))
53.0ms
(/ 1 (+ 1.0 (/ (* x y) 2.0)))
67.0ms
(* y (/ 1 (+ 1.0 (/ (* x y) 2.0))))

simplify57.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0406739
11857657
25001618

prune170.0ms

Pruning

3 alts after pruning (2 fresh and 1 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))
5.4b
(/ (+ 1.0 (/ (* x y) 2.0)) y)

rewrite59.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:
26.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
11.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
13.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

series154.0ms

Counts
3 → 9
Calls
3 calls:
37.0ms
(- x (/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y)))
65.0ms
(/ 1 (/ (+ 1.0 (/ (* x y) 2.0)) y))
53.0ms
(/ (+ 1.0 (/ (* x y) 2.0)) y)

simplify59.0ms

Algorithm
egg-herbie
Counts
149 → 149
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
05191417
122961207
250021198

prune215.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0))))
0.3b
(* (/ (* x y) 2.0) (/ (* x y) 2.0))
4.6b
(* y (* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0))))
16.0b
(* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0)))

rewrite89.0ms

Algorithm
rewrite-expression-head
Rules
68×add-exp-log
56×add-cbrt-cube
42×add-sqr-sqrt
38×times-frac
34×*-un-lft-identity
31×add-cube-cbrt
28×associate-*l* prod-exp
22×cbrt-unprod
19×pow1
18×div-exp
15×cbrt-undiv
13×associate-*r*
10×distribute-rgt-in distribute-lft-in associate-*r/
difference-of-squares
swap-sqr
sub-neg flip3-- flip-- div-inv
frac-times pow-prod-down
associate-/r* associate-/r/ add-log-exp unswap-sqr
rec-exp 1-exp associate-*l/ *-commutative associate-/l*
pow2 pow-flip frac-2neg pow-plus clear-num pow-sqr pow-prod-up distribute-lft-out-- inv-pow
Counts
4 → 178
Calls
4 calls:
6.0ms
(/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0))))
14.0ms
(* (/ (* x y) 2.0) (/ (* x y) 2.0))
33.0ms
(* y (* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0))))
29.0ms
(* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0)))

series312.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0))))
37.0ms
(* (/ (* x y) 2.0) (/ (* x y) 2.0))
132.0ms
(* y (* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0))))
105.0ms
(* (/ 1 (- (* 1.0 1.0) (* (/ (* x y) 2.0) (/ (* x y) 2.0)))) (- 1.0 (/ (* x y) 2.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
08382281
150011912

prune356.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0b

regimes30.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0166
1166

end0.0ms

sample335.0ms

Algorithm
intervals
Results
205.0ms7999×body80valid
0.0msbody640valid