Details

Time bar (total: 3.2s)

sample24.0ms

Algorithm
intervals
Results
7.0ms67×body640valid
4.0ms125×body80valid
3.0ms19×body1280valid
2.0ms31×body320valid
1.0ms14×body160valid

simplify19.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: 9.8b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
3.0b
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite338.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
20×times-frac
14×add-sqr-sqrt
10×distribute-lft-out--
distribute-lft-out add-log-exp
difference-of-squares
frac-add
pow1 add-exp-log add-cube-cbrt sub-neg associate-+l+ flip3-- diff-log sum-log frac-sub add-cbrt-cube flip--
+-commutative associate-+l- flip3-+ flip-+
Counts
2 → 44
Calls
2 calls:
59.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
277.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series239.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
197.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify116.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0303486
1914462
24632451
35001451

prune100.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.0b

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.1b
(* (* (+ 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))

rewrite179.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:
7.0ms
(- (* 1.0 x) (* (+ x 1.0) 2.0))
93.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)))
45.0ms
(* (* (+ x 1.0) x) (- x 1.0))
28.0ms
(+ (* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0)) (* (* (+ x 1.0) x) 1.0))

series209.0ms

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

IterNodesCost
09972264
150012129

prune419.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

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

rewrite102.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:
20.0ms
(* (+ x 1.0) x)
34.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))
45.0ms
(* (* (+ x 1.0) x) (- x 1.0))

series209.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0430600
12216516
25001515

prune152.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (pow x 3) (* 1.0 x))
0.1b
(/ 2.0 (- (pow x 3) (* 1.0 x)))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
12×times-frac
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
distribute-rgt-out-- unpow3
add-exp-log associate-/r* add-cbrt-cube add-log-exp
associate-/l*
pow1 flip3-- associate-/r/ flip--
cbrt-undiv sub-neg frac-2neg diff-log div-exp clear-num div-inv
Counts
2 → 46
Calls
2 calls:
17.0ms
(- (pow x 3) (* 1.0 x))
25.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

series137.0ms

Counts
2 → 6
Calls
2 calls:
73.0ms
(- (pow x 3) (* 1.0 x))
63.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

simplify82.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (22.0ms)

IterNodesCost
0220357
1772329
22959326
35001326

prune100.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes11.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
094
194

end0.0ms

sample620.0ms

Algorithm
intervals
Results
194.0ms1845×body640valid
117.0ms4078×body80valid
84.0ms608×body1280valid
80.0ms973×body320valid
26.0ms497×body160valid