Details

Time bar (total: 2.9s)

sample18.0ms

Algorithm
intervals
Results
5.0ms193×body80valid
2.0ms18×body1280valid
2.0ms20×body640valid
1.0ms18×body320valid
0.0msbody160valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 21.9b

localize6.0ms

Local error

Found 3 expressions with local error:

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

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

series144.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(* (- 1.0 x) y)
69.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
45.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify46.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0338401
11456359
25001359

prune144.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
32×add-exp-log
27×add-sqr-sqrt
24×times-frac
23×add-cube-cbrt
21×associate-*r*
20×add-cbrt-cube
13×prod-exp
12×pow1
associate-*l/
cbrt-unprod distribute-lft-out
div-exp associate-*l* add-log-exp
flip3-- pow-prod-down associate-/r* associate-/r/ flip--
cbrt-undiv rec-exp 1-exp associate-/l*
frac-times flip3-+ *-commutative flip-+ div-inv
sub-neg pow-flip frac-2neg diff-log associate-*r/ clear-num un-div-inv distribute-lft-out-- inv-pow difference-of-squares unswap-sqr
Counts
4 → 118
Calls
4 calls:
6.0ms
(* (- 1.0 x) y)
5.0ms
(/ 1 (+ y 1.0))
3.0ms
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
14.0ms
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

series172.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (- 1.0 x) y)
23.0ms
(/ 1 (+ y 1.0))
71.0ms
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
48.0ms
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

simplify72.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0509737
12631636
25001599

prune201.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 4 expressions with local error:

2.0b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.5b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.5b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.5b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite87.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:
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
12.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))

series201.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0287648
11151575
25001574

prune291.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

6.5b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.5b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.5b
(/ (* (- 1.0 x) y) (+ y 1.0))
6.5b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
28×*-un-lft-identity
24×add-exp-log add-cbrt-cube
16×times-frac associate-/r*
12×add-sqr-sqrt add-cube-cbrt
cbrt-undiv div-exp associate-*l/ associate-/r/ associate-/l/ distribute-lft-out
pow1 flip3-- frac-2neg flip3-+ prod-exp clear-num flip-- cbrt-unprod flip-+ div-inv associate-/l* add-log-exp
Counts
4 → 108
Calls
4 calls:
12.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))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series180.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0223704
1965588
25001588

prune404.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

regimes163.0ms

Accuracy

99.9% (0.0b remaining)

Error of 0.2b against oracle of 0.2b and baseline of 22.8b

bsearch75.0ms

Steps
ItersRangePoint
9
125490.8565836802
93306293809.51114
85600986.116771
8
-7469182544.868377
-3875183.9477288676
-176458068.3211119

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
13111

end0.0ms

sample444.0ms

Algorithm
intervals
Results
158.0ms6066×body80valid
61.0ms729×body640valid
40.0ms374×body1280valid
35.0ms540×body320valid
13.0ms291×body160valid