Details

Time bar (total: 3.2s)

sample61.0ms

Algorithm
intervals
Results
24.0ms66×body640valid
9.0ms125×body80valid
7.0ms21×body1280valid
6.0ms29×body320valid
2.0ms15×body160valid

simplify85.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (83.0ms)

IterNodesCost
088015
188015

prune7.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: 7.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite108.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:
29.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
9.0ms
(/ 1.0 (- x 1.0))
11.0ms
(/ 1.0 (+ x 1.0))
53.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series30.0ms

Counts
4 → 12
Calls
4 calls:
5.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
4.0ms
(/ 1.0 (- x 1.0))
4.0ms
(/ 1.0 (+ x 1.0))
17.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify72.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
049541607
149541607

prune310.0ms

Filtered
95 candidates to 126 candidates (-32.6%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1233126
Fresh000
Picked011
Done000
Total1234127

Merged error: 0.3b

Counts
127 → 4

localize26.0ms

Local error

Found 4 expressions with local error:

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

rewrite49.0ms

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

series31.0ms

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

simplify63.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
053362385

prune337.0ms

Filtered
81 candidates to 107 candidates (-32.1%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1061107
Fresh022
Picked101
Done101
Total1083111

Merged error: 0.3b

Counts
111 → 3

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.0ms

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

series18.0ms

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

simplify66.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
05673603

prune141.0ms

Filtered
39 candidates to 54 candidates (-38.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New49554
Fresh202
Picked101
Done000
Total52557

Merged error: 0b

Counts
57 → 5

localize12.0ms

Local error

Found 1 expressions with local error:

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

rewrite24.0ms

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

series8.0ms

Counts
1 → 3
Calls
1 calls:
8.0ms
(/ (/ 2.0 x) (- (* x x) (* 1.0 1.0)))

simplify76.0ms

Algorithm
egg-herbie
Counts
89 → 89
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
050151723

prune229.0ms

Filtered
77 candidates to 89 candidates (-15.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New89089
Fresh044
Picked011
Done000
Total89594

Merged error: 0b

Counts
94 → 5

regimes56.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02611
12611

end0.0ms

sample1.4s

Algorithm
intervals
Results
454.0ms1845×body640valid
275.0ms4231×body80valid
176.0ms552×body1280valid
172.0ms909×body320valid
60.0ms466×body160valid

Profiling

Loading profile data...