Details

Time bar (total: 4.8s)

sample41.0ms

Algorithm
intervals
Results
14.0ms58×body640valid
10.0ms148×body80valid
4.0ms23×body320valid
4.0ms14×body1280valid
2.0ms13×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

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.6b

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

rewrite248.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))
194.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series322.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ 1.0 (+ x 1.0))
27.0ms
(/ 1.0 (- x 1.0))
41.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
223.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify50.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0496865
11681827
25001816

prune240.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.1b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1.0 (+ x 1.0))
0.0b
(/ (sqrt 1.0) (/ (- x 1.0) (sqrt 1.0)))
0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.1b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ (sqrt 1.0) (/ (- x 1.0) (sqrt 1.0))))

rewrite374.0ms

Algorithm
rewrite-expression-head
Rules
440×times-frac
323×*-un-lft-identity
298×add-sqr-sqrt
210×sqrt-prod
202×add-cube-cbrt
48×distribute-lft-out--
46×difference-of-squares
38×associate-/r*
11×add-exp-log add-cbrt-cube add-log-exp
10×distribute-lft-out
div-inv associate-/l*
pow1 cbrt-undiv div-exp
frac-add associate-/r/
sub-neg associate-+l+ flip3-- frac-2neg flip3-+ diff-log clear-num sum-log frac-sub flip-- flip-+
+-commutative associate-+l-
Counts
4 → 334
Calls
4 calls:
6.0ms
(/ 1.0 (+ x 1.0))
18.0ms
(/ (sqrt 1.0) (/ (- x 1.0) (sqrt 1.0)))
38.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
290.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ (sqrt 1.0) (/ (- x 1.0) (sqrt 1.0))))

series318.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(/ 1.0 (+ x 1.0))
92.0ms
(/ (sqrt 1.0) (/ (- x 1.0) (sqrt 1.0)))
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
151.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ (sqrt 1.0) (/ (- x 1.0) (sqrt 1.0))))

simplify62.0ms

Algorithm
egg-herbie
Counts
346 → 346
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010954057
150013611

prune518.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize16.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.1b
(* (* (+ x 1.0) x) (- x 1.0))
16.8b
(+ (* (- (* 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))
39.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)))
20.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))

series227.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (25.0ms)

IterNodesCost
09972264
150012129

prune424.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.1b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite54.0ms

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

series233.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(* (+ x 1.0) x)
97.0ms
(* (* (+ x 1.0) x) (- x 1.0))
89.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0430600
12219516
25002515

prune146.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes18.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
0156
1156

end0.0ms

sample1.3s

Algorithm
intervals
Results
472.0ms1904×body640valid
276.0ms4158×body80valid
181.0ms943×body320valid
167.0ms540×body1280valid
58.0ms455×body160valid