Details

Time bar (total: 1.9s)

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

sample25.0ms

Algorithm
intervals
Results
6.0ms42×body640valid
5.0ms140×body80valid
4.0ms41×body320valid
4.0ms21×body1280valid
1.0ms12×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02215
12215

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: 9.8b

Counts
2 → 1

localize9.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))
2.3b
(+ (- (/ 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 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:
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
5.0ms
(/ 1.0 (- x 1.0))
33.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

series17.0ms

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

simplify60.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
051001596

prune197.0ms

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1213124
Fresh000
Picked011
Done000
Total1214125

Merged error: 0.4b

Counts
125 → 4

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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:
3.0ms
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
8.0ms
(* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0)))
8.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
(- (* 1.0 x) (* (+ 1.0 x) 2.0))
3.0ms
(* (- x 1.0) (- (* 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))))

simplify52.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
050922794

prune230.0ms

Filtered
86 candidates to 109 candidates (-26.7%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1081109
Fresh022
Picked101
Done101
Total1103113

Merged error: 0.4b

Counts
113 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.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 sub-neg flip3-- div-exp prod-exp associate-/r/ flip-- cbrt-unprod add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num associate-/r* *-commutative div-inv difference-of-squares unswap-sqr
Counts
2 → 46
Calls
2 calls:
6.0ms
(* x (- (* x x) (* 1.0 1.0)))
6.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

series12.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04959586
14959586

prune72.0ms

Filtered
37 candidates to 52 candidates (-40.5%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New48452
Fresh112
Picked011
Done000
Total49655

Merged error: 0.0b

Counts
55 → 6

localize7.0ms

Local error

Found 2 expressions with local error:

0.1b
(* (/ 1 x) (/ 2.0 (- (* x x) (* 1.0 1.0))))
0.2b
(/ 2.0 (- (* x x) (* 1.0 1.0)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
43×add-sqr-sqrt
40×times-frac
28×*-un-lft-identity
26×add-exp-log add-cube-cbrt
18×associate-*r*
16×add-cbrt-cube
13×associate-*l*
div-exp
prod-exp
difference-of-squares
unswap-sqr
cbrt-undiv
pow1 associate-/r* associate-/r/ cbrt-unprod
div-inv associate-/l*
rec-exp flip3-- 1-exp flip-- add-log-exp
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative
Counts
2 → 94
Calls
2 calls:
13.0ms
(* (/ 1 x) (/ 2.0 (- (* x x) (* 1.0 1.0))))
5.0ms
(/ 2.0 (- (* x x) (* 1.0 1.0)))

series8.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
049581365
149581365

prune123.0ms

Filtered
72 candidates to 100 candidates (-38.9%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New982100
Fresh224
Picked011
Done011
Total1006106

Merged error: 0b

Counts
106 → 6

regimes38.0ms

Accuracy

0% (0.0b 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
0811
1811

end0.0ms

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

sample764.0ms

Algorithm
intervals
Results
273.0ms1895×body640valid
157.0ms4194×body80valid
106.0ms923×body320valid
100.0ms542×body1280valid
32.0ms446×body160valid

Profiling

Loading profile data...