Details

Time bar (total: 3.0s)

sample17.0ms

Algorithm
intervals
Results
5.0ms202×body80valid
2.0ms19×body640valid
2.0ms15×body1280valid
1.0ms11×body320valid
0.0msbody160valid

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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 18.6b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.7b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
5.1b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite28.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)
10.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series142.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0338401
11456359
25001359

prune135.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New68472
Fresh000
Picked101
Done000
Total69473

Merged error: 0.0b

Counts
73 → 4

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)))
2.7b
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

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

series151.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
0400572
11790526
25002526

prune144.0ms

Filtered
97 candidates to 70 candidates (72.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh033
Picked011
Done000
Total974101

Merged error: 0.0b

Counts
101 → 4

localize11.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))
5.2b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
13.5b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite38.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:
7.0ms
(* (- 1.0 x) y)
15.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
3.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
10.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series356.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (- 1.0 x) y)
79.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
158.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
90.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify87.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05671027
13078900
25001900

prune192.0ms

Filtered
117 candidates to 82 candidates (70.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1170117
Fresh022
Picked011
Done011
Total1174121

Merged error: 0.0b

Counts
121 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

5.1b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.1b
(/ (* (- 1.0 x) y) (+ y 1.0))
5.1b
(/ (* (- 1.0 x) y) (+ y 1.0))
8.2b
(/ (- (* 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))))

rewrite43.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:
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))
13.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))))

series553.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
44.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
49.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
408.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))))

simplify72.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
04311543
120191406
250011406

prune242.0ms

Filtered
134 candidates to 98 candidates (73.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1331134
Fresh011
Picked101
Done022
Total1344138

Merged error: 0.0b

Counts
138 → 4

regimes98.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch86.0ms

Steps
ItersRangePoint
10
13381747.531636532
3.5032823896400416e+20
235408494.73555586
10
-682617980869.3319
-0.0014566459989916651
-123475197.93389064

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample431.0ms

Algorithm
intervals
Results
153.0ms6149×body80valid
63.0ms710×body640valid
39.0ms348×body1280valid
37.0ms516×body320valid
13.0ms277×body160valid

Profiling

Loading profile data...