Details

Time bar (total: 3.8s)

sample22.0ms

Algorithm
intervals
Results
6.0ms54×body640valid
4.0ms131×body80valid
3.0ms21×body1280valid
2.0ms31×body320valid
1.0ms19×body160valid

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

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.2b

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

rewrite242.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))
39.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
188.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series319.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1.0 (- x 1.0))
25.0ms
(/ 1.0 (+ x 1.0))
47.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
219.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify49.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0496865
11681827
25002816

prune246.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (sqrt 1.0) (- x 1.0))
0.0b
(/ 1.0 (+ x 1.0))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.4b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* (sqrt 1.0) (/ (sqrt 1.0) (- x 1.0))))

rewrite228.0ms

Algorithm
rewrite-expression-head
Rules
65×*-un-lft-identity
58×add-sqr-sqrt
50×times-frac
32×add-cube-cbrt
18×sqrt-prod
11×add-log-exp difference-of-squares
10×distribute-lft-out--
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
distribute-lft-out
pow1 associate-/r/
flip3-- associate-*r/ 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 → 126
Calls
4 calls:
7.0ms
(/ (sqrt 1.0) (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
39.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
172.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* (sqrt 1.0) (/ (sqrt 1.0) (- x 1.0))))

series293.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ (sqrt 1.0) (- x 1.0))
26.0ms
(/ 1.0 (+ x 1.0))
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
157.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* (sqrt 1.0) (/ (sqrt 1.0) (- x 1.0))))

simplify67.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
05861131
123921058
250011046

prune291.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite87.0ms

Algorithm
rewrite-expression-head
Rules
56×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-+r+ 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))
43.0ms
(/ (+ (* (+ x 1.0) (* x 1.0)) (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))) (* (* (+ x 1.0) x) (- x 1.0)))
23.0ms
(* (* (+ x 1.0) x) (- x 1.0))
12.0ms
(+ (* (+ x 1.0) (* x 1.0)) (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)))

series230.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
89.0ms
(/ (+ (* (+ x 1.0) (* x 1.0)) (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))) (* (* (+ x 1.0) x) (- x 1.0)))
97.0ms
(* (* (+ x 1.0) x) (- x 1.0))
1.0ms
(+ (* (+ x 1.0) (* x 1.0)) (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09612242
150012117

prune546.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite43.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:
24.0ms
(* (* (+ x 1.0) x) (- x 1.0))
17.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series187.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0398514
11892442
25002441

prune137.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

sample652.0ms

Algorithm
intervals
Results
222.0ms1898×body640valid
129.0ms4039×body80valid
85.0ms589×body1280valid
84.0ms975×body320valid
29.0ms500×body160valid