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
7.0ms55×body640valid
5.0ms137×body80valid
3.0ms32×body320valid
3.0ms17×body1280valid
1.0ms15×body160valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
088015
188015

prune8.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: 12.4b

Counts
2 → 1

localize9.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))
2.4b
(+ (- (/ 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:
7.0ms
(/ 1.0 (- x 1.0))
16.0ms
(- (/ 1.0 (+ x 1.0)) (/ 2.0 x))
5.0ms
(/ 1.0 (+ x 1.0))
29.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))
10.0ms
(+ (- (/ 1.0 (+ x 1.0)) (/ 2.0 x)) (/ 1.0 (- x 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (34.0ms)

IterNodesCost
049541594
149541594

prune191.0ms

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

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1222124
Fresh000
Picked011
Done000
Total1223125

Merged error: 0.6b

Counts
125 → 3

localize15.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.1b
(* x (- (* x x) (* 1.0 1.0)))
15.1b
(+ (* (- x 1.0) (- (* 1.0 x) (* (+ 1.0 x) 2.0))) (* 1.0 (* x (+ 1.0 x))))

rewrite30.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-+
pow1 add-exp-log frac-times add-cube-cbrt associate-*r* add-cbrt-cube add-log-exp
distribute-rgt-in distribute-lft-in
associate-*l*
sub-neg
associate-+r+ associate-*l/
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 → 90
Calls
4 calls:
6.0ms
(* x (+ 1.0 x))
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))))

series18.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 0 (27.0ms)

IterNodesCost
053362335

prune210.0ms

Filtered
81 candidates to 102 candidates (-25.9%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1011102
Fresh011
Picked101
Done101
Total1032105

Merged error: 0.6b

Counts
105 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite14.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)))
7.0ms
(/ 2.0 (* x (- (* x x) (* 1.0 1.0))))

series11.0ms

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

simplify47.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
05673585

prune76.0ms

Filtered
39 candidates to 52 candidates (-33.3%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New48452
Fresh101
Picked011
Done000
Total49554

Merged error: 0.0b

Counts
54 → 5

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite22.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:
14.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)))

simplify63.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049541364
149541364

prune123.0ms

Filtered
75 candidates to 100 candidates (-33.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New991100
Fresh123
Picked011
Done011
Total1005105

Merged error: 0b

Counts
105 → 5

regimes32.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
02913
12913

end0.0ms

sample720.0ms

Algorithm
intervals
Results
255.0ms1899×body640valid
149.0ms4145×body80valid
98.0ms968×body320valid
95.0ms559×body1280valid
31.0ms429×body160valid
0.0msbody80invalid

Profiling

Loading profile data...