Details

Time bar (total: 2.0s)

analyze6.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%50%0%4
75%25%0%5
87.5%12.5%0%6
93.7%6.2%0%7
96.8%3.1%0%8
98.4%1.6%0%9
99.2%0.8%0%10
99.6%0.4%0%11
99.8%0.2%0%12
99.9%0.1%0%13
99.9%0.1%0.1%14

sample26.0ms

Algorithm
intervals
Results
8.0ms58×body640valid
5.0ms130×body80valid
4.0ms21×body1280valid
3.0ms27×body320valid
1.0ms20×body160valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
088015
188015

prune4.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 8.2b

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

rewrite60.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 frac-2neg flip3-+ diff-log div-exp clear-num sum-log frac-sub flip-+ div-inv
+-commutative associate-+l- associate-+l+
Counts
4 → 112
Calls
4 calls:
5.0ms
(/ 1.0 (- x 1.0))
15.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
31.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series17.0ms

Counts
4 → 12
Calls
4 calls:
2.0ms
(/ 1.0 (- x 1.0))
3.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
2.0ms
(/ 1.0 (+ x 1.0))
9.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify47.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
049541594
149541594

prune206.0ms

Filtered
95 candidates to 124 candidates (-30.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1195124
Fresh000
Picked101
Done000
Total1205125

Merged error: 0.0b

Counts
125 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
40×associate-*r/
20×flip3-- flip--
16×frac-add
14×add-sqr-sqrt
12×frac-times
10×*-un-lft-identity
flip3-+ flip-+
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube add-log-exp
distribute-rgt-in sub-neg distribute-lft-in associate-*r*
associate-*l/
associate-+r+
associate-+l+ pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
+-commutative diff-log sum-log distribute-lft-out--
Counts
4 → 97
Calls
4 calls:
8.0ms
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
4.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
11.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

series14.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
3.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
1.0ms
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

simplify42.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
053002792

prune261.0ms

Filtered
88 candidates to 109 candidates (-23.9%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1072109
Fresh134
Picked101
Done000
Total1095114

Merged error: 0.0b

Counts
114 → 5

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-log-exp
associate-*r/ associate-*r*
sub-neg flip3-- times-frac associate-*l* flip-- associate-/l*
cbrt-undiv div-exp prod-exp associate-/r/ cbrt-unprod difference-of-squares
distribute-rgt-in frac-2neg distribute-lft-in diff-log pow-prod-down clear-num associate-/r* *-commutative div-inv unswap-sqr
Counts
3 → 58
Calls
3 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
6.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

series15.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
7.0ms
(* x (- (* x x) (* 1.0 1.0)))
5.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

simplify38.0ms

Algorithm
egg-herbie
Counts
67 → 67
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
05249720

prune103.0ms

Filtered
51 candidates to 67 candidates (-31.4%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New62567
Fresh314
Picked101
Done000
Total66672

Merged error: 0b

Counts
72 → 6

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
97×times-frac
51×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
15×difference-of-squares
13×associate-/l*
add-exp-log add-cbrt-cube
div-inv
associate-/r* add-log-exp
cbrt-undiv div-exp
pow1 flip3-- associate-/r/ flip--
sub-neg frac-2neg diff-log clear-num associate-/l/
Counts
2 → 98
Calls
2 calls:
3.0ms
(- (* x x) (* 1.0 1.0))
10.0ms
(/ (/ 2.0 x) (- (* x x) (* 1.0 1.0)))

series8.0ms

Counts
2 → 6
Calls
2 calls:
4.0ms
(- (* x x) (* 1.0 1.0))
4.0ms
(/ (/ 2.0 x) (- (* x x) (* 1.0 1.0)))

simplify48.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
049911858
149911858

prune160.0ms

Filtered
89 candidates to 104 candidates (-16.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1022104
Fresh325
Picked011
Done000
Total1055110

Merged error: 0b

Counts
110 → 5

regimes31.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 (1.0ms)

IterNodesCost
02611
12611

end0.0ms

sample751.0ms

Algorithm
intervals
Results
264.0ms1836×body640valid
152.0ms4163×body80valid
101.0ms926×body320valid
99.0ms570×body1280valid
38.0ms505×body160valid
0.0msbody80invalid

Profiling

Loading profile data...