Details

Time bar (total: 3.4s)

sample28.0ms

Algorithm
intervals
Results
7.0ms56×body640valid
5.0ms28×body1280valid
5.0ms126×body80valid
3.0ms35×body320valid
1.0ms11×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: 11.0b

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

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

series361.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(/ 1.0 (- x 1.0))
32.0ms
(/ 1.0 (+ x 1.0))
43.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
257.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify53.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0496865
11681827
25001816

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

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
83×*-un-lft-identity
47×times-frac
43×add-sqr-sqrt
23×add-cube-cbrt
15×distribute-lft-out--
12×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-+r+ frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+r-
Counts
4 → 114
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
5.0ms
(/ 1.0 (+ x 1.0))
21.0ms
(- (/ 1.0 (- x 1.0)) (/ 2.0 x))
31.0ms
(+ (/ 1.0 (+ x 1.0)) (- (/ 1.0 (- x 1.0)) (/ 2.0 x)))

series324.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0520865
11811829
25002817

prune193.0ms

Filtered
126 candidates to 91 candidates (72.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1251126
Fresh123
Picked011
Done000
Total1264130

Merged error: 0.1b

Counts
130 → 4

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
56×associate-*l/
44×associate-*r/
35×flip3-- flip--
32×frac-add
24×frac-times
20×flip3-+ flip-+
18×add-exp-log add-cbrt-cube associate-/l/
pow1 *-un-lft-identity
associate-/r/ add-log-exp
add-sqr-sqrt add-cube-cbrt
prod-exp cbrt-unprod
associate-+r+ associate-*l*
cbrt-undiv sub-neg times-frac div-exp pow-prod-down associate-/l*
distribute-rgt-in distribute-lft-in
+-commutative frac-2neg diff-log associate-*r* clear-num associate-/r* sum-log *-commutative div-inv distribute-lft-out
Counts
4 → 119
Calls
4 calls:
22.0ms
(/ (+ (* 1.0 (* (- x 1.0) x)) (* (+ x 1.0) (- (* 1.0 x) (* (- x 1.0) 2.0)))) (* (+ x 1.0) (* (- x 1.0) x)))
4.0ms
(- (* 1.0 x) (* (- x 1.0) 2.0))
9.0ms
(* (+ x 1.0) (* (- x 1.0) x))
11.0ms
(+ (* 1.0 (* (- x 1.0) x)) (* (+ x 1.0) (- (* 1.0 x) (* (- x 1.0) 2.0))))

series224.0ms

Counts
4 → 12
Calls
4 calls:
90.0ms
(/ (+ (* 1.0 (* (- x 1.0) x)) (* (+ x 1.0) (- (* 1.0 x) (* (- x 1.0) 2.0)))) (* (+ x 1.0) (* (- x 1.0) x)))
36.0ms
(- (* 1.0 x) (* (- x 1.0) 2.0))
96.0ms
(* (+ x 1.0) (* (- x 1.0) x))
1.0ms
(+ (* 1.0 (* (- x 1.0) x)) (* (+ x 1.0) (- (* 1.0 x) (* (- x 1.0) 2.0))))

simplify54.0ms

Algorithm
egg-herbie
Counts
131 → 131
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09362210
150022071

prune403.0ms

Filtered
131 candidates to 105 candidates (80.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1292131
Fresh022
Picked011
Done101
Total1305135

Merged error: 0.0b

Counts
135 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite55.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
associate-*l*
frac-times add-cube-cbrt associate-/r/
flip3-- prod-exp flip-- cbrt-unprod
flip3-+ flip-+
associate-*r/ associate-*r* pow-prod-down
cbrt-undiv times-frac div-exp associate-/l* add-log-exp
*-commutative
frac-2neg clear-num associate-/r* div-inv distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 80
Calls
3 calls:
10.0ms
(* (- x 1.0) x)
16.0ms
(* (+ x 1.0) (* (- x 1.0) x))
24.0ms
(/ 2.0 (* (+ x 1.0) (* (- x 1.0) x)))

series255.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(* (- x 1.0) x)
95.0ms
(* (+ x 1.0) (* (- x 1.0) x))
114.0ms
(/ 2.0 (* (+ x 1.0) (* (- x 1.0) x)))

simplify56.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0404571
11942487
25001486

prune130.0ms

Filtered
89 candidates to 61 candidates (68.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New85489
Fresh303
Picked011
Done011
Total88694

Merged error: 0.0b

Counts
94 → 6

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

sample731.0ms

Algorithm
intervals
Results
257.0ms1845×body640valid
149.0ms4169×body80valid
104.0ms610×body1280valid
93.0ms926×body320valid
32.0ms452×body160valid

Profiling

Loading profile data...