Details

Time bar (total: 9.2s)

sample22.0ms

Algorithm
intervals
Results
6.0ms62×body640valid
4.0ms137×body80valid
2.0ms29×body320valid
2.0ms15×body1280valid
1.0ms13×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: 7.4b

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.8b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite172.0ms

Algorithm
rewrite-expression-head
Rules
725×*-un-lft-identity
703×times-frac
524×add-sqr-sqrt
492×add-cube-cbrt
468×prod-diff
236×associate-+l+
95×distribute-lft-out
65×div-inv
58×associate-/r/
29×flip3-+ flip-+
18×fma-neg
17×distribute-lft-out--
12×difference-of-squares
11×add-log-exp
10×fma-def
associate-/r*
add-exp-log add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u
flip3-- frac-add flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num sum-log frac-sub
+-commutative associate-+l-
Counts
4 → 618
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
27.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
7.0ms
(/ 1.0 (+ x 1.0))
79.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series326.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(/ 1.0 (- x 1.0))
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
31.0ms
(/ 1.0 (+ x 1.0))
219.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify168.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.2s

Filtered
630 candidates to 390 candidates (61.9%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New6264630
Fresh000
Picked101
Done000
Total6274631

Merged error: 0.5b

Counts
631 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0))))
1.8b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
1.8b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
1.8b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite283.0ms

Algorithm
rewrite-expression-head
Rules
1097×*-un-lft-identity
1026×times-frac
734×add-sqr-sqrt
708×associate-+l+
702×prod-diff
698×add-cube-cbrt
152×distribute-lft-out
93×div-inv
78×associate-/r/
43×flip3-+ flip-+
37×distribute-lft-out--
30×fma-def
19×add-log-exp
12×frac-add difference-of-squares
cbrt-prod
sum-log
cbrt-div
pow1 add-exp-log expm1-log1p-u flip3-- frac-sub add-cbrt-cube flip-- log1p-expm1-u
+-commutative associate-+l- sub-neg diff-log
pow1/3
Counts
4 → 834
Calls
4 calls:
29.0ms
(cbrt (+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0))))
54.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
55.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
56.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series1.2s

Counts
4 → 12
Calls
4 calls:
543.0ms
(cbrt (+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0))))
227.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
227.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))
222.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify157.0ms

Algorithm
egg-herbie
Counts
846 → 846
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
062712772
123129865
250017203

prune3.2s

Filtered
846 candidates to 688 candidates (81.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New8460846
Fresh033
Picked011
Done000
Total8464850

Merged error: 0.5b

Counts
850 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt *-un-lft-identity
19×add-cube-cbrt prod-diff
18×add-exp-log add-cbrt-cube
16×associate-*l/
11×distribute-rgt-in distribute-lft-in
pow1
frac-times associate-/r/
flip3-- flip--
flip3-+ prod-exp cbrt-unprod flip-+ add-log-exp
associate-*r*
expm1-log1p-u associate-*r/ log1p-expm1-u
cbrt-undiv sub-neg times-frac div-exp pow-prod-down associate-/l*
frac-2neg fma-neg diff-log associate-*l* clear-num associate-/r* *-commutative fma-udef div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 111
Calls
4 calls:
10.0ms
(/ (fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))
1.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

series797.0ms

Counts
4 → 12
Calls
4 calls:
476.0ms
(/ (fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0)) (* (* (+ x 1.0) x) (- x 1.0)))
43.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
96.0ms
(* (* (+ x 1.0) x) (- x 1.0))
182.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

simplify83.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
06371498
130821198
250011198

prune221.0ms

Filtered
123 candidates to 81 candidates (65.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1230123
Fresh022
Picked011
Done011
Total1234127

Merged error: 0.5b

Counts
127 → 4

localize14.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.1b
(/ 1 (pow x 5))
0.1b
(/ 1 (pow x 7))
0.5b
(/ 2.0 (pow x 3))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
78×times-frac
61×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
36×unpow-prod-down
27×add-exp-log
26×associate-/r*
15×div-exp
12×cube-prod sqr-pow
10×add-cbrt-cube
associate-/l*
pow-to-exp pow-exp
rec-exp 1-exp
pow1 expm1-log1p-u cube-mult unpow3 log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg clear-num div-inv
pow-flip inv-pow
fma-udef
Counts
4 → 187
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
(/ 1 (pow x 7))
8.0ms
(/ 2.0 (pow x 3))

series199.0ms

Counts
4 → 12
Calls
4 calls:
65.0ms
(fma 2.0 (/ 1 (pow x 7)) (fma 2.0 (/ 1 (pow x 5)) (/ 2.0 (pow x 3))))
42.0ms
(/ 1 (pow x 5))
57.0ms
(/ 1 (pow x 7))
36.0ms
(/ 2.0 (pow x 3))

simplify59.0ms

Algorithm
egg-herbie
Counts
199 → 199
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
0460949
12326816
25001816

prune328.0ms

Filtered
199 candidates to 96 candidates (48.2%)
Pruning

6 alts after pruning (3 fresh and 3 done)

PrunedKeptTotal
New1972199
Fresh011
Picked011
Done022
Total1976203

Merged error: 0.0b

Counts
203 → 6

regimes71.0ms

Accuracy

95.4% (0.5b remaining)

Error of 0.5b against oracle of 0.0b and baseline of 10.2b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04737
14737

end0.0ms

sample579.0ms

Algorithm
intervals
Results
201.0ms1891×body640valid
115.0ms4147×body80valid
74.0ms947×body320valid
72.0ms564×body1280valid
24.0ms452×body160valid