Details

Time bar (total: 2.9s)

sample17.0ms

Algorithm
intervals
Results
5.0ms198×body80valid
2.0ms25×body640valid
1.0ms11×body1280valid
1.0ms13×body320valid
0.0msbody160valid

simplify67.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: 20.5b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
2.9b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
6.4b
(/ (* (- 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:
6.0ms
(* (- 1.0 x) y)
7.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
9.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series147.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0338401
11456359
25001359

prune132.0ms

Filtered
72 candidates to 51 candidates (70.8%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New67572
Fresh000
Picked101
Done000
Total68573

Merged error: 0.2b

Counts
73 → 5

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

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

series148.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(/ y (+ y 1.0))
47.0ms
(* (- 1.0 x) (/ y (+ y 1.0)))
67.0ms
(- 1.0 (* (- 1.0 x) (/ y (+ y 1.0))))

simplify59.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0400572
11790526
25002526

prune141.0ms

Filtered
97 candidates to 70 candidates (72.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New97097
Fresh044
Picked011
Done000
Total975102

Merged error: 0.2b

Counts
102 → 5

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

rewrite37.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:
6.0ms
(* (- 1.0 x) y)
14.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)))
11.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series365.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(* (- 1.0 x) y)
82.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
162.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
91.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify89.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
05671027
13078900
25001900

prune192.0ms

Filtered
117 candidates to 82 candidates (70.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1161117
Fresh123
Picked101
Done011
Total1184122

Merged error: 0.2b

Counts
122 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))))
4.5b
(- 1.0 (* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))))
16.0b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))
16.0b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
23×add-exp-log add-cbrt-cube
13×add-sqr-sqrt
12×times-frac
11×add-cube-cbrt *-un-lft-identity
10×associate-*r*
associate-/r*
pow1 cbrt-undiv flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod add-log-exp
difference-of-squares
associate-*l/ associate-/l/
associate-*l* div-inv
frac-2neg clear-num associate-/l*
sub-neg diff-log associate-*r/ pow-prod-down *-commutative unswap-sqr
Counts
4 → 96
Calls
4 calls:
11.0ms
(* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))))
3.0ms
(- 1.0 (* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))))
13.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))
10.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series341.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))))
106.0ms
(- 1.0 (* y (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))))
90.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))
90.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04361007
12320858
25002858

prune220.0ms

Filtered
108 candidates to 83 candidates (76.9%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1044108
Fresh112
Picked101
Done011
Total1066112

Merged error: 0.0b

Counts
112 → 6

regimes125.0ms

Accuracy

99.1% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 14.4b

bsearch80.0ms

Steps
ItersRangePoint
9
719.5386143167987
28642596122.821114
239490843.3230521
9
-937727910791.0848
-216561.7802280358
-132713451.24755439

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02910
12910

end0.0ms

sample444.0ms

Algorithm
intervals
Results
151.0ms6077×body80valid
69.0ms748×body640valid
42.0ms355×body1280valid
37.0ms492×body320valid
15.0ms328×body160valid