Details

Time bar (total: 12.8s)

sample23.0ms

Algorithm
intervals
Results
7.0ms68×body640valid
4.0ms133×body80valid
2.0ms17×body1280valid
2.0ms19×body320valid
1.0ms19×body160valid

simplify18.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1317
2437
3577
4737
5927
61267
71587
82077
92097
102097

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

Counts
2 → 1

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
0.0b
(/ 1.0 (+ x 1.0))
1.9b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite305.0ms

Algorithm
rewrite-expression-head
Rules
1765×*-un-lft-identity
1348×add-sqr-sqrt
1261×associate-/r*
1132×add-cube-cbrt
1080×frac-sub
1012×frac-add
966×associate-/l*
703×times-frac
468×prod-diff
322×frac-2neg clear-num
236×associate-+l+
203×distribute-lft-out
109×distribute-lft-out--
104×difference-of-squares
65×div-inv
58×associate-/r/
29×flip3-+ flip-+
18×fma-neg
13×flip3-- flip--
11×add-log-exp
10×fma-def
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u log1p-expm1-u
cbrt-undiv sub-neg diff-log div-exp sum-log
+-commutative associate-+l-
Counts
4 → 1716
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
29.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
90.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series330.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ 1.0 (- x 1.0))
43.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
29.0ms
(/ 1.0 (+ x 1.0))
226.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify393.0ms

Algorithm
egg-herbie
Counts
1728 → 1728
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
0500137459

prune3.2s

Filtered
1728 candidates to 918 candidates (53.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New172531728
Fresh000
Picked101
Done000
Total172631729

Merged error: 0.2b

Counts
1729 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 1 (/ 1.0 (+ x 1.0)) (- (* (/ 1 x) 2.0)))
0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
1.9b
(+ (fma 1 (/ 1.0 (+ x 1.0)) (- (* (/ 1 x) 2.0))) (+ (fma (- (/ 1 x)) 2.0 (* (/ 1 x) 2.0)) (/ 1.0 (- x 1.0))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
45×*-un-lft-identity
32×add-sqr-sqrt
27×times-frac
24×add-cube-cbrt
associate-/r* add-log-exp
add-exp-log add-cbrt-cube
distribute-lft-out
associate-/l*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u distribute-lft-out-- difference-of-squares
associate-+r+ fma-def sum-log fma-udef
cbrt-undiv +-commutative associate-+l+ frac-2neg flip3-+ div-exp clear-num flip-+ div-inv
flip3-- flip--
Counts
4 → 107
Calls
4 calls:
1.0ms
(fma 1 (/ 1.0 (+ x 1.0)) (- (* (/ 1 x) 2.0)))
6.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
12.0ms
(+ (fma 1 (/ 1.0 (+ x 1.0)) (- (* (/ 1 x) 2.0))) (+ (fma (- (/ 1 x)) 2.0 (* (/ 1 x) 2.0)) (/ 1.0 (- x 1.0))))

series399.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(fma 1 (/ 1.0 (+ x 1.0)) (- (* (/ 1 x) 2.0)))
29.0ms
(/ 1.0 (- x 1.0))
30.0ms
(/ 1.0 (+ x 1.0))
289.0ms
(+ (fma 1 (/ 1.0 (+ x 1.0)) (- (* (/ 1 x) 2.0))) (+ (fma (- (/ 1 x)) 2.0 (* (/ 1 x) 2.0)) (/ 1.0 (- x 1.0))))

simplify55.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0459919
11740844
25002819

prune279.0ms

Filtered
119 candidates to 94 candidates (79.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1172119
Fresh202
Picked101
Done000
Total1202122

Merged error: 0.2b

Counts
122 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
1.7b
(+ (+ (/ 1.0 (- x 1.0)) (/ 1.0 (+ x 1.0))) (/ (- 2.0) x))
3.5b
(+ (/ 1.0 (- x 1.0)) (/ 1.0 (+ x 1.0)))

rewrite397.0ms

Algorithm
rewrite-expression-head
Rules
3662×frac-add
2197×associate-/l*
2084×*-un-lft-identity
1943×associate-/r*
1565×add-sqr-sqrt
1211×add-cube-cbrt
471×frac-2neg clear-num
340×distribute-rgt-neg-in
336×distribute-lft-neg-in
256×distribute-lft-out
193×distribute-lft-out--
177×difference-of-squares
114×times-frac
112×neg-mul-1
39×fma-def
21×flip-+
19×flip3-+
11×add-log-exp
10×associate-/r/
add-exp-log add-cbrt-cube
div-inv
pow1 expm1-log1p-u sum-log flip-- log1p-expm1-u
+-commutative
cbrt-undiv associate-+l+ flip3-- distribute-frac-neg div-exp
neg-sub0 associate-+r- div-sub unsub-neg
Counts
4 → 2072
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
112.0ms
(+ (+ (/ 1.0 (- x 1.0)) (/ 1.0 (+ x 1.0))) (/ (- 2.0) x))
31.0ms
(+ (/ 1.0 (- x 1.0)) (/ 1.0 (+ x 1.0)))

series448.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(/ 1.0 (- x 1.0))
26.0ms
(/ 1.0 (+ x 1.0))
227.0ms
(+ (+ (/ 1.0 (- x 1.0)) (/ 1.0 (+ x 1.0))) (/ (- 2.0) x))
163.0ms
(+ (/ 1.0 (- x 1.0)) (/ 1.0 (+ x 1.0)))

simplify550.0ms

Algorithm
egg-herbie
Counts
2084 → 2084
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
0500152102

prune5.0s

Filtered
2084 candidates to 1243 candidates (59.6%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New208402084
Fresh011
Picked011
Done000
Total208422086

Merged error: 0.2b

Counts
2086 → 2

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (/ 1 (pow x 7)) (fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3))))
0.2b
(/ 1 (pow x 5))
0.3b
(/ 2.0 (pow x 3))
0.3b
(/ 1 (pow x 7))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
55×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×unpow-prod-down
27×add-exp-log
22×associate-/r*
15×div-exp
12×pow-flip sqr-pow
10×add-cbrt-cube
associate-/l*
pow1
pow-to-exp pow-exp
rec-exp pow-unpow 1-exp
expm1-log1p-u unpow3 log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg clear-num div-inv
pow-pow inv-pow
fma-udef
Counts
4 → 181
Calls
4 calls:
1.0ms
(fma 2.0 (/ 1 (pow x 7)) (fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3))))
5.0ms
(/ 1 (pow x 5))
5.0ms
(/ 2.0 (pow x 3))
6.0ms
(/ 1 (pow x 7))

series211.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(fma 2.0 (/ 1 (pow x 7)) (fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3))))
47.0ms
(/ 1 (pow x 5))
36.0ms
(/ 2.0 (pow x 3))
59.0ms
(/ 1 (pow x 7))

simplify53.0ms

Algorithm
egg-herbie
Counts
193 → 193
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0469924
12349779
25001765

prune322.0ms

Filtered
193 candidates to 100 candidates (51.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1903193
Fresh000
Picked011
Done011
Total1905195

Merged error: 0b

Counts
195 → 5

regimes36.0ms

Accuracy

98.3% (0.2b remaining)

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

bsearch115.0ms

Steps
ItersRangePoint
10
1.0482644148039984e-06
3857898261607.3584
99.93867250030655
10
-1556119314.230081
-0.05767290693153419
-102.94433550507199

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04730
14930
24930

end0.0ms

sample601.0ms

Algorithm
intervals
Results
199.0ms1801×body640valid
125.0ms4258×body80valid
77.0ms933×body320valid
74.0ms546×body1280valid
28.0ms463×body160valid