Details

Time bar (total: 5.0s)

sample49.0ms

Algorithm
intervals
Results
13.0ms48×body640valid
12.0ms136×body80valid
9.0ms27×body1280valid
6.0ms29×body320valid
2.0ms16×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.0b

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

rewrite237.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))
38.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
184.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series312.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ x 1.0))
33.0ms
(/ 1.0 (- x 1.0))
40.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
214.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0496865
11681827
25001816

prune259.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.4b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ 1 (/ (+ x 1.0) 1.0))
0.0b
(/ 1.0 (- x 1.0))
0.0b
(- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x))
1.5b
(+ (- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite471.0ms

Algorithm
rewrite-expression-head
Rules
136×times-frac
126×*-un-lft-identity
104×add-sqr-sqrt
63×add-cube-cbrt
21×associate-/r*
17×add-exp-log distribute-lft-out
14×difference-of-squares
12×distribute-lft-out--
11×add-cbrt-cube add-log-exp
div-exp div-inv
associate-/l*
pow1
cbrt-undiv
flip3-- frac-add associate-/r/ flip--
sub-neg rec-exp associate-+l+ frac-2neg diff-log 1-exp clear-num sum-log frac-sub
+-commutative associate-+l- pow-flip flip3-+ flip-+ inv-pow
Counts
4 → 174
Calls
4 calls:
9.0ms
(/ 1 (/ (+ x 1.0) 1.0))
5.0ms
(/ 1.0 (- x 1.0))
74.0ms
(- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x))
375.0ms
(+ (- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series314.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(/ 1 (/ (+ x 1.0) 1.0))
32.0ms
(/ 1.0 (- x 1.0))
41.0ms
(- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x))
217.0ms
(+ (- (/ 1 (/ (+ x 1.0) 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify81.0ms

Algorithm
egg-herbie
Counts
186 → 186
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
07441509
132801300
250021292

prune298.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
0.0b
(- (* 1.0 x) (* (+ x 1.0) 2.0))
0.0b
(* (* (+ x 1.0) x) (- x 1.0))
17.3b
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

rewrite57.0ms

Algorithm
rewrite-expression-head
Rules
46×associate-*l/
22×flip3-- flip--
16×frac-times frac-add
13×add-sqr-sqrt
12×flip3-+ flip-+
11×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
10×associate-*r*
associate-*r/ add-log-exp
add-cube-cbrt sub-neg
distribute-rgt-in distribute-lft-in
associate-+l+ associate-*l* pow-prod-down prod-exp cbrt-unprod
*-commutative distribute-lft-out-- difference-of-squares
+-commutative diff-log sum-log unswap-sqr
Counts
4 → 107
Calls
4 calls:
17.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
6.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
20.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))

series174.0ms

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

simplify122.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
07951594
144561513
250021513

prune343.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.4b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite53.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)
23.0ms
(* (* (+ x 1.0) x) (- x 1.0))
17.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

series415.0ms

Counts
3 → 9
Calls
3 calls:
231.0ms
(* (+ x 1.0) x)
96.0ms
(* (* (+ x 1.0) x) (- x 1.0))
88.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

prune157.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

regimes14.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.4s

Algorithm
intervals
Results
504.0ms1824×body640valid
376.0ms4157×body80valid
212.0ms1008×body320valid
181.0ms541×body1280valid
70.0ms473×body160valid