Details

Time bar (total: 3.7s)

sample22.0ms

Algorithm
intervals
Results
6.0ms61×body640valid
4.0ms131×body80valid
2.0ms18×body1280valid
2.0ms27×body320valid
1.0ms19×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: 9.9b

Counts
2 → 1

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

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

series362.0ms

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

IterNodesCost
0496865
11681827
25001816

prune203.0ms

Filtered
126 candidates to 92 candidates (73.0%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1233126
Fresh000
Picked101
Done000
Total1243127

Merged error: 0.1b

Counts
127 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (/ 1.0 (+ x 1.0)))
0.3b
(cbrt (/ 1.0 (+ x 1.0)))
0.3b
(cbrt (/ 1.0 (+ x 1.0)))
15.9b
(+ (- (* (* (cbrt (/ 1.0 (+ x 1.0))) (cbrt (/ 1.0 (+ x 1.0)))) (cbrt (/ 1.0 (+ x 1.0)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
54×cbrt-prod
48×*-un-lft-identity
36×times-frac
28×add-sqr-sqrt add-cube-cbrt
15×cbrt-div
10×distribute-lft-out
frac-add add-log-exp
frac-sub
associate-/r/
frac-times associate-*l/
pow1 add-exp-log flip3-+ add-cbrt-cube flip-+
pow1/3 associate-*r/ div-inv
associate-+l+ sum-log
+-commutative associate-+l- sub-neg flip3-- diff-log flip--
Counts
4 → 106
Calls
4 calls:
4.0ms
(cbrt (/ 1.0 (+ x 1.0)))
4.0ms
(cbrt (/ 1.0 (+ x 1.0)))
4.0ms
(cbrt (/ 1.0 (+ x 1.0)))
31.0ms
(+ (- (* (* (cbrt (/ 1.0 (+ x 1.0))) (cbrt (/ 1.0 (+ x 1.0)))) (cbrt (/ 1.0 (+ x 1.0)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series692.0ms

Counts
4 → 12
Calls
4 calls:
147.0ms
(cbrt (/ 1.0 (+ x 1.0)))
150.0ms
(cbrt (/ 1.0 (+ x 1.0)))
149.0ms
(cbrt (/ 1.0 (+ x 1.0)))
245.0ms
(+ (- (* (* (cbrt (/ 1.0 (+ x 1.0))) (cbrt (/ 1.0 (+ x 1.0)))) (cbrt (/ 1.0 (+ x 1.0)))) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
118 → 118
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
05831569
119171428
250011297

prune338.0ms

Filtered
118 candidates to 94 candidates (79.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1180118
Fresh022
Picked011
Done000
Total1183121

Merged error: 0.1b

Counts
121 → 3

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

rewrite57.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))
21.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)))
10.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))

series226.0ms

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

simplify67.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 1 (29.0ms)

IterNodesCost
010372507
150012360

prune427.0ms

Filtered
156 candidates to 121 candidates (77.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1551156
Fresh011
Picked101
Done011
Total1563159

Merged error: 0.0b

Counts
159 → 3

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

series241.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(* (+ x 1.0) x)
98.0ms
(* (* (+ x 1.0) x) (- x 1.0))
91.0ms
(/ 2.0 (* (* (+ x 1.0) x) (- x 1.0)))

simplify58.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0430600
12219516
25002515

prune122.0ms

Filtered
93 candidates to 62 candidates (66.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New89493
Fresh101
Picked101
Done011
Total91596

Merged error: 0.0b

Counts
96 → 5

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

sample591.0ms

Algorithm
intervals
Results
200.0ms1881×body640valid
123.0ms4179×body80valid
75.0ms893×body320valid
74.0ms555×body1280valid
26.0ms493×body160valid