Details

Time bar (total: 2.0s)

analyze6.0ms

Algorithm
search

sample28.0ms

Algorithm
intervals
Results
8.0ms141×body80valid
8.0ms56×body640valid
3.0ms19×body1280valid
3.0ms31×body320valid
1.0msbody160valid

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

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.2b

Counts
2 → 1

localize9.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))
3.1b
(+ (- (/ 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))
7.0ms
(/ 1.0 (+ x 1.0))
15.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
28.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series18.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1.0 (- x 1.0))
2.0ms
(/ 1.0 (+ x 1.0))
3.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
10.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

prune180.0ms

Filtered
92 candidates to 126 candidates (-37.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1233126
Fresh000
Picked011
Done000
Total1234127

Merged error: 0.3b

Counts
127 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.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:
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
20.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)))
9.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))

series21.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
6.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)))
10.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

prune358.0ms

Filtered
108 candidates to 136 candidates (-25.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1351136
Fresh022
Picked101
Done101
Total1373140

Merged error: 0.3b

Counts
140 → 3

localize7.0ms

Local error

Found 2 expressions with local error:

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

series14.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0398514
11892442
25002441

prune80.0ms

Filtered
47 candidates to 69 candidates (-46.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New66369
Fresh202
Picked011
Done000
Total68472

Merged error: 0b

Counts
72 → 4

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
0.5b
(/ 2.0 (* (+ x 1.0) x))

rewrite21.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:
11.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
6.0ms
(/ 2.0 (* (+ x 1.0) x))

series11.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0535926
12362854
25002854

prune131.0ms

Filtered
81 candidates to 107 candidates (-32.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1070107
Fresh022
Picked011
Done011
Total1074111

Merged error: 0b

Counts
111 → 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

analyze6.0ms

Algorithm
search

sample734.0ms

Algorithm
intervals
Results
262.0ms1893×body640valid
153.0ms4144×body80valid
99.0ms560×body1280valid
96.0ms918×body320valid
33.0ms485×body160valid
0.0msbody80invalid

Profiling

Loading profile data...