Details

Time bar (total: 9.0s)

sample22.0ms

Algorithm
intervals
Results
6.0ms56×body640valid
3.0ms127×body80valid
3.0ms37×body320valid
2.0ms13×body1280valid
1.0ms23×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

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.6b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite342.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:
8.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
47.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
230.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series315.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ 1.0 (+ x 1.0))
28.0ms
(/ 1.0 (- x 1.0))
46.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
216.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify159.0ms

Algorithm
egg-herbie
Counts
630 → 630
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
0115610955
136078288
250017670

prune1.4s

Filtered
630 candidates to 390 candidates (61.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (/ (+ x 1.0) 1.0))
0.0b
(/ 1.0 (- x 1.0))
0.0b
(- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x))
4.1b
(+ (- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite786.0ms

Algorithm
rewrite-expression-head
Rules
3377×times-frac
2473×*-un-lft-identity
1987×add-sqr-sqrt
1913×add-cube-cbrt
1378×prod-diff
691×associate-+l+
260×distribute-lft-out
223×div-inv
53×fma-neg
30×associate-/r/
24×difference-of-squares
21×associate-/r*
17×add-exp-log
16×fma-def
15×distribute-lft-out--
11×add-cbrt-cube add-log-exp
div-exp
associate-/l*
pow1
cbrt-undiv expm1-log1p-u log1p-expm1-u
flip3-- frac-add flip--
sub-neg rec-exp frac-2neg diff-log 1-exp clear-num sum-log frac-sub
+-commutative associate-+l- pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 1629
Calls
4 calls:
9.0ms
(/ 1 (/ (+ x 1.0) 1.0))
5.0ms
(/ 1.0 (- x 1.0))
103.0ms
(- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x))
473.0ms
(+ (- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series322.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1 (/ (+ x 1.0) 1.0))
27.0ms
(/ 1.0 (- x 1.0))
47.0ms
(- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x))
223.0ms
(+ (- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify294.0ms

Algorithm
egg-herbie
Counts
1641 → 1641
Iterations

Useful iterations: 1 (40.0ms)

IterNodesCost
0214533508
1500125048

prune3.1s

Filtered
1641 candidates to 801 candidates (48.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

localize12.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.1b
(* (* (+ x 1.0) x) (- x 1.0))
32.7b
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

rewrite49.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:
16.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))
26.0ms
(* (* (+ x 1.0) x) (- x 1.0))
0.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

series625.0ms

Counts
4 → 12
Calls
4 calls:
306.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)))
42.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
96.0ms
(* (* (+ x 1.0) x) (- x 1.0))
181.0ms
(fma (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0) (* (* (+ x 1.0) x) 1.0))

simplify85.0ms

Algorithm
egg-herbie
Counts
123 → 123
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
06371498
130821198
250011198

prune275.0ms

Filtered
123 candidates to 81 candidates (65.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0.2b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (+ x 1.0) x)
0.1b
(* (* (+ x 1.0) x) (- x 1.0))
0.2b
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt *-un-lft-identity
20×add-cube-cbrt
19×add-exp-log add-cbrt-cube
18×prod-diff associate-*l/
11×distribute-rgt-in distribute-lft-in
10×pow1
frac-times associate-*r* associate-/r/
flip3-+ prod-exp cbrt-unprod flip-+
flip3-- flip--
associate-*l*
associate-*r/ pow-prod-down
cbrt-undiv expm1-log1p-u times-frac div-exp log1p-expm1-u associate-/l* add-log-exp
sub-neg *-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 108
Calls
3 calls:
9.0ms
(* (+ x 1.0) x)
21.0ms
(* (* (+ x 1.0) x) (- x 1.0))
16.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series233.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(* (+ x 1.0) x)
103.0ms
(* (* (+ x 1.0) x) (- x 1.0))
89.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify75.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0565948
12962739
25001737

prune181.0ms

Filtered
117 candidates to 70 candidates (59.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes17.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0156
1156

end0.0ms

sample588.0ms

Algorithm
intervals
Results
193.0ms1845×body640valid
122.0ms4144×body80valid
76.0ms591×body1280valid
72.0ms937×body320valid
28.0ms487×body160valid