Details

Time bar (total: 3.2s)

sample25.0ms

Algorithm
intervals
Results
7.0ms54×body640valid
5.0ms144×body80valid
3.0ms29×body320valid
2.0ms13×body1280valid
1.0ms16×body160valid

simplify14.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.9b

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
14×distribute-lft-out--
13×distribute-lft-out
11×add-log-exp
associate-/r*
add-exp-log add-cbrt-cube difference-of-squares
associate-/l*
pow1 associate-/r/
flip3-- frac-add flip--
cbrt-undiv sub-neg associate-+l+ frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l-
Counts
4 → 114
Calls
4 calls:
5.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
18.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
28.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series316.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ 1.0 (+ x 1.0))
32.0ms
(/ 1.0 (- x 1.0))
41.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
219.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify46.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0496865
11681827
25001816

prune302.0ms

Filtered
126 candidates to 92 candidates (73.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1233126
Fresh000
Picked101
Done000
Total1243127

Merged error: 0.2b

Counts
127 → 3

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* (- (* 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))
17.0b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
88×associate-*l/
32×frac-add
31×flip3-- flip--
24×frac-times flip3-+ flip-+
18×add-exp-log add-cbrt-cube associate-/l/
12×associate-*r/
pow1 add-sqr-sqrt *-un-lft-identity
associate-/r/ add-log-exp
add-cube-cbrt
prod-exp cbrt-unprod
sub-neg associate-*r*
distribute-rgt-in associate-+l+ distribute-lft-in
cbrt-undiv times-frac div-exp pow-prod-down associate-/l*
+-commutative frac-2neg diff-log associate-*l* clear-num associate-/r* sum-log *-commutative div-inv distribute-lft-out-- difference-of-squares
Counts
4 → 124
Calls
4 calls:
22.0ms
(/ (+ (* (- (* 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))
12.0ms
(* (* (+ x 1.0) x) (- x 1.0))
10.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series234.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(/ (+ (* (- (* 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))
100.0ms
(* (* (+ x 1.0) x) (- x 1.0))
1.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

simplify45.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09972264
150012129

prune473.0ms

Filtered
136 candidates to 108 candidates (79.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1351136
Fresh112
Picked011
Done000
Total1363139

Merged error: 0.2b

Counts
139 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite21.0ms

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

series189.0ms

Counts
2 → 6
Calls
2 calls:
97.0ms
(* (* (+ x 1.0) x) (- x 1.0))
91.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0398514
11892442
25002441

prune161.0ms

Filtered
69 candidates to 47 candidates (68.1%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New64569
Fresh101
Picked101
Done101
Total67572

Merged error: 0b

Counts
72 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
0.6b
(/ 2.0 (* (+ x 1.0) x))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
66×times-frac
46×add-sqr-sqrt *-un-lft-identity
26×add-cube-cbrt
16×add-exp-log associate-/r/ add-cbrt-cube
14×associate-*l/
12×associate-/l*
10×distribute-lft-out-- difference-of-squares
div-inv
cbrt-undiv flip3-+ div-exp flip-+
associate-/r*
pow1 frac-2neg prod-exp clear-num cbrt-unprod add-log-exp
flip3-- flip-- associate-/l/
Counts
2 → 101
Calls
2 calls:
10.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
6.0ms
(/ 2.0 (* (+ x 1.0) x))

series125.0ms

Counts
2 → 6
Calls
2 calls:
90.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
35.0ms
(/ 2.0 (* (+ x 1.0) x))

simplify67.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0535926
12362854
25002854

prune240.0ms

Filtered
107 candidates to 81 candidates (75.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh224
Picked011
Done000
Total1084112

Merged error: 0b

Counts
112 → 4

regimes30.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
0105
1105

end0.0ms

sample726.0ms

Algorithm
intervals
Results
241.0ms1860×body640valid
140.0ms4165×body80valid
91.0ms915×body320valid
91.0ms559×body1280valid
32.0ms501×body160valid

Profiling

Loading profile data...