Details

Time bar (total: 2.9s)

sample18.0ms

Algorithm
intervals
Results
5.0ms200×body80valid
3.0ms27×body640valid
1.0ms13×body320valid
1.0msbody1280valid
0.0ms10×body160valid

simplify66.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: 23.3b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.2b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.4b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite66.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:
21.0ms
(* (- 1.0 x) y)
18.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
26.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series131.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(* (- 1.0 x) y)
64.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
40.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

simplify48.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0338401
11456359
25001359

prune196.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ y (+ y 1.0))
0.0b
(* (- 1.0 x) (/ y (+ y 1.0)))
3.2b
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

rewrite64.0ms

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

series132.0ms

Counts
3 → 9
Calls
3 calls:
30.0ms
(/ y (+ y 1.0))
39.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
63.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify61.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0400572
11790526
25002526

prune260.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
3.2b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.4b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite66.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:
23.0ms
(* (- 1.0 x) y)
18.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
23.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series128.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(* (- 1.0 x) y)
63.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
39.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

prune163.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) (/ y (+ y 1.0)))
1.1b
(exp (log (- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))))
2.9b
(log (- 1.0 (* (- 1.0 x) (/ y (+ y 1.0)))))
3.2b
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
23×add-sqr-sqrt
18×associate-*r*
16×add-cube-cbrt
13×times-frac
10×add-exp-log
add-cbrt-cube
pow1
log-prod add-log-exp
flip3-- associate-*l* flip--
log-div exp-prod
exp-sum distribute-lft-out
frac-times exp-diff associate-*l/ prod-exp associate-/r/ log-pow cbrt-unprod unswap-sqr
cbrt-undiv sub-neg flip3-+ diff-log associate-*r/ div-exp rem-log-exp pow-prod-down *-commutative flip-+ div-inv rem-exp-log distribute-lft-out-- difference-of-squares
Counts
4 → 86
Calls
4 calls:
42.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
6.0ms
(exp (log (- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))))
4.0ms
(log (- 1.0 (* (- 1.0 x) (/ y (+ y 1.0)))))
9.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

series290.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
64.0ms
(exp (log (- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))))
128.0ms
(log (- 1.0 (* (- 1.0 x) (/ y (+ y 1.0)))))
61.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify51.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0443756
11744685
25002673

prune307.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.2b

regimes234.0ms

Accuracy

100% (0.0b remaining)

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

bsearch45.0ms

Steps
ItersRangePoint
0
439839442.1139364
449649194.3848168
444744318.2493766
10
-1805753421095896.0
-415.9104570848854
-121202842.04090317

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample459.0ms

Algorithm
intervals
Results
163.0ms6130×body80valid
72.0ms728×body640valid
43.0ms344×body1280valid
35.0ms499×body320valid
14.0ms299×body160valid