Details

Time bar (total: 2.1s)

sample24.0ms

Algorithm
intervals
Results
7.0ms51×body1280valid
5.0ms41×body640valid
4.0ms133×body80valid
2.0ms22×body320valid
0.0msbody160valid

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

prune2.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 28.5b

Counts
2 → 1

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
99×*-un-lft-identity
52×times-frac
45×add-sqr-sqrt
23×add-cube-cbrt
18×distribute-lft-out distribute-lft-out--
associate-/r* difference-of-squares
add-exp-log add-cbrt-cube associate-/l*
add-log-exp
associate-/r/
pow1
cbrt-undiv flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ div-inv associate-/l/
sub-neg diff-log frac-sub
Counts
3 → 104
Calls
3 calls:
5.0ms
(/ x (+ x 1.0))
7.0ms
(/ (+ x 1.0) (- x 1.0))
30.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

series12.0ms

Counts
3 → 9
Calls
3 calls:
2.0ms
(/ x (+ x 1.0))
3.0ms
(/ (+ x 1.0) (- x 1.0))
7.0ms
(- (/ x (+ x 1.0)) (/ (+ x 1.0) (- x 1.0)))

simplify41.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0392760
11379726
25001716

prune163.0ms

Filtered
76 candidates to 113 candidates (-48.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1094113
Fresh000
Picked101
Done000
Total1104114

Merged error: 0.0b

Counts
114 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

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

series17.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(/ x (+ x 1.0))
2.0ms
(/ 1 (- x 1.0))
3.0ms
(* (+ x 1.0) (/ 1 (- x 1.0)))
7.0ms
(- (/ x (+ x 1.0)) (* (+ x 1.0) (/ 1 (- x 1.0))))

simplify74.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0576948
12837860
25001818

prune163.0ms

Filtered
98 candidates to 153 candidates (-56.1%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1530153
Fresh033
Picked011
Done000
Total1534157

Merged error: 0.0b

Counts
157 → 4

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(* x (- x 1.0))
0.0b
(* (+ x 1.0) (+ x 1.0))
0.0b
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
17.7b
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
35×*-un-lft-identity
32×frac-sub
30×flip3-+ flip-+
25×add-sqr-sqrt
20×frac-times flip3-- flip--
19×add-cube-cbrt
18×associate-/l/
13×pow1
12×times-frac
10×add-exp-log associate-*l/ add-cbrt-cube
associate-*r*
associate-*l*
distribute-rgt-in distribute-lft-in swap-sqr distribute-lft-out add-log-exp
sub-neg difference-of-squares
associate--l+ associate-/r*
associate-/l*
pow-prod-down prod-exp associate-/r/ *-commutative cbrt-unprod associate--r+ unswap-sqr
cbrt-undiv pow2 frac-2neg pow-plus diff-log div-sub div-exp clear-num pow-sqr pow-prod-up div-inv distribute-lft-out--
Counts
4 → 152
Calls
4 calls:
6.0ms
(* x (- x 1.0))
8.0ms
(* (+ x 1.0) (+ x 1.0))
14.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
8.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

series16.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* x (- x 1.0))
2.0ms
(* (+ x 1.0) (+ x 1.0))
4.0ms
(/ (- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0))) (- (* x x) (* 1.0 1.0)))
4.0ms
(- (* x (- x 1.0)) (* (+ x 1.0) (+ x 1.0)))

simplify131.0ms

Algorithm
egg-herbie
Counts
164 → 164
Iterations

Useful iterations: 2 (113.0ms)

IterNodesCost
07691735
144371626
250031621

prune258.0ms

Filtered
110 candidates to 164 candidates (-49.1%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1631164
Fresh112
Picked101
Done101
Total1662168

Merged error: 0b

Counts
168 → 2

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* 3.0 x) 1.0)
13.9b
(/ (neg (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
40×times-frac
28×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×distribute-lft-neg-in distribute-rgt-neg-in
11×difference-of-squares
10×associate-/l*
neg-mul-1
add-exp-log associate-/r* add-cbrt-cube add-log-exp
pow1 flip3-+ associate-/r/ flip-+ associate-/l/ distribute-neg-frac
cbrt-undiv +-commutative neg-sub0 flip3-- frac-2neg div-sub distribute-frac-neg div-exp clear-num sum-log flip-- div-inv
Counts
2 → 83
Calls
2 calls:
3.0ms
(+ (* 3.0 x) 1.0)
9.0ms
(/ (neg (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

series7.0ms

Counts
2 → 6
Calls
2 calls:
3.0ms
(+ (* 3.0 x) 1.0)
4.0ms
(/ (neg (+ (* 3.0 x) 1.0)) (- (* x x) (* 1.0 1.0)))

simplify43.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0396958
11618921
25001919

prune122.0ms

Filtered
70 candidates to 89 candidates (-27.1%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New89089
Fresh011
Picked011
Done000
Total89291

Merged error: 0b

Counts
91 → 2

regimes32.0ms

Accuracy

100% (0.0b remaining)

Error of 0.0b against oracle of 0.0b and baseline of 15.2b

bsearch38.0ms

Steps
ItersRangePoint
10
1.6467731241392944e-08
62869179882.65231
393170.98048391176
11
-1.7554059141447428e+34
-2742411761.3317285
-6.416759838363408e+31

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03715
14415
24415

end0.0ms

sample721.0ms

Algorithm
intervals
Results
251.0ms1733×body1280valid
144.0ms1266×body640valid
125.0ms4091×body80valid
49.0ms580×body320valid
21.0ms330×body160valid

Profiling

Loading profile data...