Details

Time bar (total: 3.5s)

sample17.0ms

Algorithm
intervals
Results
5.0ms207×body80valid
2.0ms18×body640valid
1.0ms17×body320valid
1.0msbody1280valid
1.0msbody160valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0165
1355
2745
31285
42525
53745
65145
76425
87775
910105
1016865
1150015

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 18.3b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
15×*-un-lft-identity
13×add-sqr-sqrt
10×add-exp-log add-cbrt-cube
add-cube-cbrt
pow1 associate-*l* add-log-exp
times-frac associate-*l/ associate-/r*
flip3-- associate-*r* flip--
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod associate-/l/ distribute-lft-out distribute-lft-out-- difference-of-squares
sub-neg frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative flip-+ div-inv associate-/l* unswap-sqr
Counts
3 → 63
Calls
3 calls:
18.0ms
(* (- 1.0 x) y)
17.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
18.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series151.0ms

Counts
3 → 9
Calls
3 calls:
28.0ms
(* (- 1.0 x) y)
66.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
56.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify42.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0338401
11456359
25001359

prune143.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 4 expressions with local error:

2.1b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.6b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.6b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.6b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
19×add-exp-log add-cbrt-cube
12×add-sqr-sqrt times-frac associate-/r*
10×add-cube-cbrt
cbrt-undiv div-exp associate-*l/ associate-/r/ associate-/l/ distribute-lft-out add-log-exp
pow1 flip3-- flip--
frac-2neg flip3-+ prod-exp clear-num cbrt-unprod flip-+ div-inv associate-/l*
sub-neg diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 95
Calls
4 calls:
10.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
10.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series203.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
47.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
42.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
46.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0287648
11151575
25001574

prune282.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 4 expressions with local error:

6.4b
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))
6.6b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.6b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.6b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite62.0ms

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

series531.0ms

Counts
4 → 12
Calls
4 calls:
401.0ms
(/ (- (* 1.0 1.0) (* (/ (* (- 1.0 x) y) (+ y 1.0)) (/ (* (- 1.0 x) y) (+ y 1.0)))) (+ 1.0 (/ (* (- 1.0 x) y) (+ y 1.0))))
41.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
46.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
42.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify64.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04311543
120191406
250011406

prune286.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.3b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
0.1b
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
3.6b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
14.2b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
20×add-exp-log add-cbrt-cube
19×add-sqr-sqrt
15×*-un-lft-identity associate-*l*
11×add-cube-cbrt
pow1 times-frac associate-*r*
flip3-- flip--
prod-exp cbrt-unprod add-log-exp
sub-neg associate-*l/ difference-of-squares
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp associate-/r* associate-/r/ associate--r+
frac-times associate-*r/ pow-prod-down *-commutative div-inv associate-/l/ distribute-lft-out-- unswap-sqr
frac-2neg diff-log clear-num associate-/l*
Counts
4 → 105
Calls
4 calls:
13.0ms
(* (- 1.0 x) y)
30.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
2.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
9.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series351.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* (- 1.0 x) y)
77.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
150.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
89.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify82.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05671027
13078900
25001900

prune232.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.3b

regimes245.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.1b and baseline of 24.5b

bsearch72.0ms

Steps
ItersRangePoint
9
1610.1334651337936
217359335082.17374
106211441.56073992
6
-200803539.0671856
-48473935.98635021
-93297022.87967427

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03314
13314

end0.0ms

sample457.0ms

Algorithm
intervals
Results
161.0ms6119×body80valid
60.0ms664×body640valid
41.0ms553×body320valid
41.0ms365×body1280valid
14.0ms299×body160valid