Details

Time bar (total: 5.2s)

sample37.0ms

Algorithm
intervals
Results
10.0ms54×body640valid
7.0ms131×body80valid
5.0ms21×body1280valid
5.0ms31×body320valid
2.0ms19×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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.2b

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

rewrite232.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))
37.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
179.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series20.0ms

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

IterNodesCost
0496865
11681827
25002816

prune707.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.5b

localize10.0ms

Local error

Found 4 expressions with local error:

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

rewrite217.0ms

Algorithm
rewrite-expression-head
Rules
50×*-un-lft-identity
43×add-sqr-sqrt
35×times-frac
23×add-cube-cbrt
11×add-log-exp
10×add-exp-log
associate-/r*
add-cbrt-cube difference-of-squares
distribute-lft-out--
frac-add associate-/l*
pow1 distribute-lft-out
flip3-- associate-/r/ flip--
associate-*r/ div-exp un-div-inv frac-sub
cbrt-undiv sub-neg associate-+l+ frac-2neg flip3-+ diff-log clear-num sum-log flip-+ div-inv
+-commutative associate-+l- rec-exp pow-flip 1-exp inv-pow
Counts
4 → 115
Calls
4 calls:
5.0ms
(/ 1.0 (+ x 1.0))
6.0ms
(/ 1 (- x 1.0))
37.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
165.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* 1.0 (/ 1 (- x 1.0))))

series20.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1.0 (+ x 1.0))
2.0ms
(/ 1 (- x 1.0))
4.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
11.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (* 1.0 (/ 1 (- x 1.0))))

simplify61.0ms

Algorithm
egg-herbie
Counts
127 → 127
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0539918
12122862
25002835

prune660.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.5b

localize14.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))
18.7b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite79.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:
2.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
37.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)))
19.0ms
(* (* (+ x 1.0) x) (- x 1.0))
11.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series16.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)))
6.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))

simplify46.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09972264
150012129

prune1.5s

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.5b

localize6.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)))

rewrite38.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:
19.0ms
(* (* (+ x 1.0) x) (- x 1.0))
16.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series11.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0398514
11892442
25002441

prune318.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

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

sample1.0s

Algorithm
intervals
Results
372.0ms1898×body640valid
214.0ms4039×body80valid
146.0ms975×body320valid
145.0ms589×body1280valid
49.0ms500×body160valid