Details

Time bar (total: 4.2s)

sample45.0ms

Algorithm
intervals
Results
14.0ms58×body640valid
11.0ms138×body80valid
6.0ms30×body320valid
5.0ms17×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: 10.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.0b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

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

series492.0ms

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

prune239.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0.2b

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

rewrite94.0ms

Algorithm
rewrite-expression-head
Rules
90×associate-*l/
36×flip3-- flip--
32×frac-add
28×frac-times
24×flip3-+ flip-+
20×add-exp-log add-cbrt-cube
18×associate-/l/
15×add-sqr-sqrt
14×associate-*r/
13×*-un-lft-identity
11×pow1
10×associate-*r*
add-cube-cbrt
associate-/r/
prod-exp cbrt-unprod
distribute-rgt-in sub-neg distribute-lft-in add-log-exp
associate-+l+ associate-*l* pow-prod-down
cbrt-undiv times-frac div-exp associate-/l*
*-commutative distribute-lft-out-- difference-of-squares
+-commutative frac-2neg clear-num associate-/r* sum-log div-inv unswap-sqr
Counts
4 → 144
Calls
4 calls:
16.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
40.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))
10.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series218.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010372507
150012360

prune471.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.2b

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

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

series216.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(* (+ x 1.0) x)
92.0ms
(* (* (+ x 1.0) x) (- x 1.0))
85.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

prune155.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite32.0ms

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

series162.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(* (+ x 1.0) x)
86.0ms
(/ (/ 2.0 (* (+ x 1.0) x)) (- x 1.0))
36.0ms
(/ 2.0 (* (+ x 1.0) x))

simplify66.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
05601012
12547928
25001928

prune236.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 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
0105
1105

end0.0ms

sample1.2s

Algorithm
intervals
Results
453.0ms1827×body640valid
277.0ms4198×body80valid
180.0ms957×body320valid
169.0ms543×body1280valid
61.0ms481×body160valid