Details

Time bar (total: 3.5s)

sample22.0ms

Algorithm
intervals
Results
6.0ms52×body640valid
4.0ms145×body80valid
2.0ms30×body320valid
2.0ms15×body1280valid
1.0ms14×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: 7.4b

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

rewrite64.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))
17.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
34.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series316.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1.0 (- x 1.0))
29.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 (36.0ms)

IterNodesCost
0496865
11681827
25002816

prune286.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.3b

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

rewrite56.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))
26.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))
11.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series230.0ms

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

prune414.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1 (pow x 5)) (/ 1 (pow x 3)))
0.0b
(/ 1 (pow x 7))
0.1b
(/ 1 (pow x 5))
0.4b
(/ 1 (pow x 3))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
84×times-frac
73×*-un-lft-identity
63×add-sqr-sqrt add-cube-cbrt
36×unpow-prod-down
31×add-exp-log
26×associate-/r*
18×div-exp
12×cube-prod sqr-pow
10×add-cbrt-cube
pow-to-exp rec-exp 1-exp pow-exp associate-/l*
div-inv distribute-lft-out
add-log-exp
pow1 cube-mult unpow3
cbrt-undiv pow-flip frac-2neg clear-num inv-pow
+-commutative flip3-+ frac-add sum-log flip-+
Counts
4 → 198
Calls
4 calls:
45.0ms
(+ (/ 1 (pow x 5)) (/ 1 (pow x 3)))
5.0ms
(/ 1 (pow x 7))
5.0ms
(/ 1 (pow x 5))
6.0ms
(/ 1 (pow x 3))

series225.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(+ (/ 1 (pow x 5)) (/ 1 (pow x 3)))
57.0ms
(/ 1 (pow x 7))
46.0ms
(/ 1 (pow x 5))
31.0ms
(/ 1 (pow x 3))

simplify56.0ms

Algorithm
egg-herbie
Counts
210 → 210
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0469961
12563767
25001767

prune285.0ms

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(* 2.0 (+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x (- 3)))))
0.0b
(+ (/ 1 (pow x 5)) (pow x (- 3)))
0.0b
(/ 1 (pow x 7))
0.1b
(/ 1 (pow x 5))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
42×times-frac
40×add-sqr-sqrt
38×add-cube-cbrt
24×add-exp-log unpow-prod-down
14×associate-/r*
12×div-exp distribute-lft-out
10×add-cbrt-cube
associate-*r*
frac-add div-inv sqr-pow
pow1 pow-to-exp rec-exp 1-exp associate-*r/ pow-exp associate-/l* add-log-exp
flip3-+ associate-*l* flip-+
cbrt-undiv neg-sub0 pow-neg pow-flip frac-2neg clear-num inv-pow pow-sub
+-commutative distribute-rgt-in distribute-lft-in pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
4 → 153
Calls
4 calls:
32.0ms
(* 2.0 (+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x (- 3)))))
15.0ms
(+ (/ 1 (pow x 5)) (pow x (- 3)))
5.0ms
(/ 1 (pow x 7))
5.0ms
(/ 1 (pow x 5))

series282.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(* 2.0 (+ (/ 1 (pow x 7)) (+ (/ 1 (pow x 5)) (pow x (- 3)))))
111.0ms
(+ (/ 1 (pow x 5)) (pow x (- 3)))
52.0ms
(/ 1 (pow x 7))
47.0ms
(/ 1 (pow x 5))

simplify68.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0556991
12903850
25001850

prune279.0ms

Pruning

3 alts after pruning (0 fresh and 3 done)

Merged error: 0.0b

regimes49.0ms

Accuracy

97.7% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 9.9b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03930
13930

end0.0ms

sample611.0ms

Algorithm
intervals
Results
201.0ms1860×body640valid
120.0ms4139×body80valid
81.0ms974×body320valid
79.0ms565×body1280valid
31.0ms466×body160valid