Details

Time bar (total: 3.2s)

sample26.0ms

Algorithm
intervals
Results
7.0ms54×body640valid
5.0ms137×body80valid
3.0ms34×body320valid
3.0ms18×body1280valid
1.0ms13×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 10.9b

Counts
2 → 1

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

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

series317.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(/ 1.0 (+ x 1.0))
28.0ms
(/ 1.0 (- x 1.0))
44.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
219.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify51.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0496865
11681827
25001816

prune206.0ms

Filtered
126 candidates to 92 candidates (73.0%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1224126
Fresh000
Picked101
Done000
Total1234127

Merged error: 0.1b

Counts
127 → 4

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

rewrite60.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:
8.0ms
(* (- (* 1.0 x) (* (+ x 1.0) 2.0)) (- x 1.0))
24.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)))
9.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))

series240.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
010372507
150012360

prune415.0ms

Filtered
156 candidates to 121 candidates (77.6%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1533156
Fresh213
Picked101
Done000
Total1564160

Merged error: 0.0b

Counts
160 → 4

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

rewrite28.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:
6.0ms
(* (+ x 1.0) x)
10.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))
10.0ms
(* (* (+ x 1.0) x) (- x 1.0))

series279.0ms

Counts
3 → 9
Calls
3 calls:
54.0ms
(* (+ x 1.0) x)
126.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))
99.0ms
(* (* (+ x 1.0) x) (- x 1.0))

simplify88.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
0430600
12216516
25001515

prune133.0ms

Filtered
93 candidates to 62 candidates (66.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New86793
Fresh303
Picked101
Done000
Total90797

Merged error: 0b

Counts
97 → 7

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)))

rewrite17.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:
9.0ms
(- (pow x 3) (* 1.0 x))
7.0ms
(/ 2.0 (- (pow x 3) (* 1.0 x)))

series145.0ms

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

simplify132.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0220357
1772329
22945326
35001326

prune90.0ms

Filtered
52 candidates to 41 candidates (78.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New51152
Fresh156
Picked011
Done000
Total52759

Merged error: 0b

Counts
59 → 7

regimes21.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

sample777.0ms

Algorithm
intervals
Results
267.0ms1860×body640valid
157.0ms4089×body80valid
111.0ms578×body1280valid
105.0ms984×body320valid
35.0ms492×body160valid

Profiling

Loading profile data...