Details

Time bar (total: 6.3s)

sample23.0ms

Algorithm
intervals
Results
5.0ms41×body1280valid
4.0ms39×body640valid
4.0ms145×body80valid
1.0ms18×body320valid
1.0ms13×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0126
1166
2196
3216
4276
5396
6586
7796
81076
91606
102776
113036
123036

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 25.8b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
2.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
81×*-un-lft-identity
40×times-frac
35×add-sqr-sqrt
18×distribute-lft-out--
14×distribute-lft-out
13×add-cube-cbrt
difference-of-squares
associate-/r*
add-exp-log add-cbrt-cube associate-/l* add-log-exp
pow1 flip3-- associate-/r/ flip-- associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp clear-num frac-sub flip-+ div-inv
Counts
2 → 71
Calls
2 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
33.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series222.0ms

Counts
2 → 6
Calls
2 calls:
53.0ms
(/ (+ x 1.0) (- x 1.0))
169.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify145.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0317591
11003565
24494559
35003559

prune240.0ms

Filtered
77 candidates to 50 candidates (35.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New73477
Fresh000
Picked101
Done000
Total74478

Merged error: 0.2b

Counts
78 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- x 1.0))
0.1b
(* (+ x 1.0) (/ 1 (- x 1.0)))
5.7b
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
44×add-sqr-sqrt
40×*-un-lft-identity
32×times-frac
23×add-cube-cbrt
21×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1 frac-sub
associate-/r* add-log-exp
frac-times flip3-+ div-exp associate-*l* associate-*l/ prod-exp associate-/r/ flip-+
flip3-- flip-- associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp associate-*r/ un-div-inv cbrt-unprod div-inv
sub-neg pow-flip frac-2neg diff-log pow-prod-down clear-num *-commutative distribute-lft-out inv-pow
Counts
3 → 108
Calls
3 calls:
5.0ms
(/ 1 (- x 1.0))
12.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
9.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

series262.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ 1 (- x 1.0))
48.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
175.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

simplify66.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0499779
12438701
25001647

prune377.0ms

Filtered
117 candidates to 68 candidates (41.9%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1161117
Fresh123
Picked011
Done000
Total1174121

Merged error: 0.2b

Counts
121 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ x 1.0) (- x 1.0))
0.1b
(exp (log (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
2.8b
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
5.0b
(log (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))

rewrite104.0ms

Algorithm
rewrite-expression-head
Rules
178×*-un-lft-identity
80×times-frac
64×add-sqr-sqrt
44×distribute-lft-out--
32×log-prod
30×distribute-lft-out
18×add-cube-cbrt
17×difference-of-squares
16×exp-sum
add-exp-log
pow1 log-div add-cbrt-cube add-log-exp
associate-/r*
exp-prod flip3-- flip-- associate-/l*
exp-diff frac-sub
associate-/r/ log-pow associate-/l/
cbrt-undiv sub-neg frac-2neg flip3-+ diff-log div-exp rem-log-exp clear-num flip-+ div-inv rem-exp-log
Counts
4 → 130
Calls
4 calls:
7.0ms
(/ (+ x 1.0) (- x 1.0))
30.0ms
(exp (log (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
31.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
28.0ms
(log (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))

series672.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ (+ x 1.0) (- x 1.0))
173.0ms
(exp (log (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))))
170.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))
281.0ms
(log (- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0))))

simplify53.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
04751328
115291251
250011219

prune741.0ms

Filtered
142 candidates to 89 candidates (37.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1402142
Fresh112
Picked011
Done011
Total1415146

Merged error: 0.0b

Counts
146 → 5

localize22.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (+ (* 1.0 (- 1.0 x)) (pow x 2)) (+ x 1.0))
4.8b
(- (* x (- (* 1.0 1.0) (* x 1.0))) (* (/ (+ (pow x 3) (pow 1.0 3)) (- x 1.0)) (+ x 1.0)))
4.9b
(/ (+ (pow x 3) (pow 1.0 3)) (- x 1.0))
20.3b
(+ (pow x 3) (- (* x (- (* 1.0 1.0) (* x 1.0))) (* (/ (+ (pow x 3) (pow 1.0 3)) (- x 1.0)) (+ x 1.0))))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
106×*-un-lft-identity
45×times-frac
44×add-sqr-sqrt
32×distribute-lft-out
24×unpow-prod-down cube-prod
22×add-cube-cbrt
16×associate-*r/
12×flip3-+ flip-+
11×add-log-exp
10×frac-sub distribute-lft-out-- difference-of-squares
associate-/l*
add-exp-log frac-times associate--l+ add-cbrt-cube
flip3-- flip--
pow1 distribute-rgt-in sub-neg associate-+r+ distribute-lft-in sum-cubes
associate-/r*
associate-*r* associate-*l/
associate-*l*
diff-log sum-log associate-/r/ associate-/l/ associate--r+
cbrt-undiv +-commutative associate-+r- frac-2neg div-exp pow-prod-down prod-exp clear-num *-commutative cbrt-unprod div-inv unswap-sqr
Counts
4 → 152
Calls
4 calls:
12.0ms
(* (+ (* 1.0 (- 1.0 x)) (pow x 2)) (+ x 1.0))
7.0ms
(- (* x (- (* 1.0 1.0) (* x 1.0))) (* (/ (+ (pow x 3) (pow 1.0 3)) (- x 1.0)) (+ x 1.0)))
15.0ms
(/ (+ (pow x 3) (pow 1.0 3)) (- x 1.0))
9.0ms
(+ (pow x 3) (- (* x (- (* 1.0 1.0) (* x 1.0))) (* (/ (+ (pow x 3) (pow 1.0 3)) (- x 1.0)) (+ x 1.0))))

series617.0ms

Counts
4 → 12
Calls
4 calls:
189.0ms
(* (+ (* 1.0 (- 1.0 x)) (pow x 2)) (+ x 1.0))
155.0ms
(- (* x (- (* 1.0 1.0) (* x 1.0))) (* (/ (+ (pow x 3) (pow 1.0 3)) (- x 1.0)) (+ x 1.0)))
60.0ms
(/ (+ (pow x 3) (pow 1.0 3)) (- x 1.0))
214.0ms
(+ (pow x 3) (- (* x (- (* 1.0 1.0) (* x 1.0))) (* (/ (+ (pow x 3) (pow 1.0 3)) (- x 1.0)) (+ x 1.0))))

simplify132.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (110.0ms)

IterNodesCost
08711983
147131875
250031874

prune1.6s

Filtered
164 candidates to 104 candidates (36.6%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1622164
Fresh022
Picked101
Done022
Total1636169

Merged error: 0.0b

Counts
169 → 6

regimes99.0ms

Accuracy

99.6% (0.1b remaining)

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

bsearch129.0ms

Steps
ItersRangePoint
9
76.94053799743773
23146340971.272755
13973.283901258525
9
-57514.079310754976
-0.04031575958609914
-0.9933408418278237

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05238
15238

end0.0ms

sample640.0ms

Algorithm
intervals
Results
216.0ms1724×body1280valid
118.0ms1220×body640valid
109.0ms4113×body80valid
48.0ms628×body320valid
16.0ms315×body160valid

Profiling

Loading profile data...