Details

Time bar (total: 3.6s)

sample17.0ms

Algorithm
intervals
Results
5.0ms195×body80valid
2.0ms25×body640valid
2.0ms14×body1280valid
1.0ms15×body320valid
0.0msbody160valid

simplify65.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

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: 21.9b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- 1.0 x) y)
1.4b
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
7.1b
(/ (* (- 1.0 x) y) (+ y 1.0))

rewrite22.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)
6.0ms
(- 1.0 (/ (* (- 1.0 x) y) (+ y 1.0)))
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))

series137.0ms

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

prune128.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.1b

Counts
73 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- 1.0 x) y)
0.0b
(/ 1 (+ y 1.0))
3.3b
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
7.1b
(* (* (- 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))
2.0ms
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
15.0ms
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

series155.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(* (- 1.0 x) y)
21.0ms
(/ 1 (+ y 1.0))
64.0ms
(- 1.0 (* (* (- 1.0 x) y) (/ 1 (+ y 1.0))))
40.0ms
(* (* (- 1.0 x) y) (/ 1 (+ y 1.0)))

simplify70.0ms

Algorithm
egg-herbie
Counts
130 → 130
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0509737
12631636
25001599

prune179.0ms

Filtered
130 candidates to 74 candidates (56.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1300130
Fresh033
Picked011
Done000
Total1304134

Merged error: 0.1b

Counts
134 → 4

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.3b
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
16.7b
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

rewrite33.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)
13.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)))
9.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

series326.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (- 1.0 x) y)
71.0ms
(* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0))
146.0ms
(- 1.0 (* (/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0))) (- y 1.0)))
82.0ms
(/ (* (- 1.0 x) y) (- (* y y) (* 1.0 1.0)))

simplify80.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05671027
13078900
25001900

prune208.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.1b

Counts
121 → 4

localize15.0ms

Local error

Found 4 expressions with local error:

7.1b
(/ (* (- 1.0 x) y) (+ y 1.0))
7.1b
(/ (* (- 1.0 x) y) (+ y 1.0))
7.1b
(/ (* (- 1.0 x) y) (+ y 1.0))
12.6b
(/ (- (pow 1.0 3) (pow (/ (* (- 1.0 x) y) (+ y 1.0)) 3)) (+ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (+ (/ (* (- 1.0 x) y) (+ y 1.0)) 1.0)) (* 1.0 1.0)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
136×add-sqr-sqrt
92×*-un-lft-identity
87×times-frac
64×difference-of-squares
48×unpow-prod-down cube-prod
40×add-cube-cbrt
32×sqr-pow
28×associate-/l*
21×add-exp-log add-cbrt-cube
20×distribute-lft-out--
15×associate-/r*
associate-/r/ associate-/l/
cbrt-undiv div-exp
associate-*l/ distribute-lft-out
pow1 difference-cubes flip3-- frac-2neg flip3-+ clear-num flip-- flip-+ div-inv add-log-exp
prod-exp cbrt-unprod
div-sub
Counts
4 → 201
Calls
4 calls:
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
8.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
11.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
40.0ms
(/ (- (pow 1.0 3) (pow (/ (* (- 1.0 x) y) (+ y 1.0)) 3)) (+ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (+ (/ (* (- 1.0 x) y) (+ y 1.0)) 1.0)) (* 1.0 1.0)))

series716.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
42.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
40.0ms
(/ (* (- 1.0 x) y) (+ y 1.0))
592.0ms
(/ (- (pow 1.0 3) (pow (/ (* (- 1.0 x) y) (+ y 1.0)) 3)) (+ (* (/ (* (- 1.0 x) y) (+ y 1.0)) (+ (/ (* (- 1.0 x) y) (+ y 1.0)) 1.0)) (* 1.0 1.0)))

simplify117.0ms

Algorithm
egg-herbie
Counts
213 → 213
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06604788
129544635
250024633

prune506.0ms

Filtered
213 candidates to 135 candidates (63.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New2121213
Fresh011
Picked101
Done022
Total2134217

Merged error: 0.1b

Counts
217 → 4

regimes161.0ms

Accuracy

99.9% (0.0b remaining)

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

bsearch76.0ms

Steps
ItersRangePoint
9
584.9517338353374
10938932741.588787
126650157.27148113
10
-8893382635004147.0
-205992.06318510068
-142537258.2159406

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
13111

end0.0ms

sample445.0ms

Algorithm
intervals
Results
157.0ms6114×body80valid
65.0ms739×body640valid
48.0ms372×body1280valid
33.0ms482×body320valid
13.0ms293×body160valid