Details

Time bar (total: 3.3s)

analyze4.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14

sample73.0ms

Algorithm
intervals
Results
55.0ms171×body1280valid
9.0ms46×body640valid
2.0ms21×body320valid
1.0ms14×body160valid
0.0msbody80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0218
1218

prune7.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 31.1b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp (neg x)) 2.0)
5.2b
(+ (exp x) (- (exp (neg x)) 2.0))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt sub-neg diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+r- associate-+r+ flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
2 → 29
Calls
2 calls:
5.0ms
(- (exp (neg x)) 2.0)
7.0ms
(+ (exp x) (- (exp (neg x)) 2.0))

series9.0ms

Counts
2 → 6
Calls
2 calls:
2.0ms
(- (exp (neg x)) 2.0)
7.0ms
(+ (exp x) (- (exp (neg x)) 2.0))

simplify43.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05069335

prune51.0ms

Filtered
25 candidates to 35 candidates (-40.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New34135
Fresh011
Picked101
Done000
Total35237

Merged error: 0.0b

Counts
37 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
0.0b
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
0.1b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×add-exp-log associate-*r*
11×add-log-exp
10×add-cube-cbrt *-un-lft-identity
unpow-prod-down add-cbrt-cube
associate-*l* prod-exp unswap-sqr
pow1 sum-log sqr-pow
+-commutative pow-to-exp flip3-+ pow-exp *-commutative cbrt-unprod flip-+
associate-+r+
Counts
4 → 74
Calls
4 calls:
4.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
6.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series25.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
6.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
4.0ms
(* 1/360 (pow x 6))
4.0ms
(* 1/12 (pow x 4))

simplify48.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (41.0ms)

IterNodesCost
04994849
14994849

prune117.0ms

Filtered
56 candidates to 86 candidates (-53.6%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New85186
Fresh011
Picked011
Done000
Total85388

Merged error: 0.0b

Counts
88 → 3

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp x) 2.0)
5.2b
(+ (- (exp x) 2.0) (exp (neg x)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity add-log-exp
add-sqr-sqrt frac-add
flip3-- flip--
pow1 add-exp-log neg-sub0 exp-neg add-cube-cbrt sub-neg exp-diff diff-log sum-log add-cbrt-cube distribute-lft-out distribute-lft-out--
+-commutative associate-+l- associate-+l+ flip3-+ flip-+ difference-of-squares
Counts
2 → 33
Calls
2 calls:
4.0ms
(- (exp x) 2.0)
9.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

series9.0ms

Counts
2 → 6
Calls
2 calls:
2.0ms
(- (exp x) 2.0)
7.0ms
(+ (- (exp x) 2.0) (exp (neg x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
04965424
14965424

prune36.0ms

Filtered
28 candidates to 39 candidates (-39.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New39039
Fresh011
Picked011
Done011
Total39342

Merged error: 0.0b

Counts
42 → 3

localize20.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/12 (pow x 4))
0.2b
(* (* x x) 1/360)
0.2b
(* (* x x) 1/360)
41.4b
(/ (- (pow x 4) (* (pow x 8) (* (+ 1/12 (* (* x x) 1/360)) (+ 1/12 (* (* x x) 1/360))))) (- (* x x) (+ (* 1/12 (pow x 4)) (* 1/360 (pow x 6)))))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
21×add-exp-log
18×add-cube-cbrt *-un-lft-identity add-cbrt-cube
14×pow1
13×associate-*r*
12×times-frac
prod-exp
cbrt-unprod
pow-prod-down
associate-*l* unswap-sqr
unpow-prod-down associate-/r* add-log-exp difference-of-squares
*-commutative associate-/l*
flip3-- associate-/r/ flip-- associate-/l/ sqr-pow
cbrt-undiv pow-to-exp frac-2neg div-sub div-exp pow-exp clear-num div-inv
Counts
4 → 99
Calls
4 calls:
5.0ms
(* 1/12 (pow x 4))
5.0ms
(* (* x x) 1/360)
5.0ms
(* (* x x) 1/360)
11.0ms
(/ (- (pow x 4) (* (pow x 8) (* (+ 1/12 (* (* x x) 1/360)) (+ 1/12 (* (* x x) 1/360))))) (- (* x x) (+ (* 1/12 (pow x 4)) (* 1/360 (pow x 6)))))

series23.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(* 1/12 (pow x 4))
3.0ms
(* (* x x) 1/360)
3.0ms
(* (* x x) 1/360)
13.0ms
(/ (- (pow x 4) (* (pow x 8) (* (+ 1/12 (* (* x x) 1/360)) (+ 1/12 (* (* x x) 1/360))))) (- (* x x) (+ (* 1/12 (pow x 4)) (* 1/360 (pow x 6)))))

simplify51.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
066192455

prune273.0ms

Filtered
78 candidates to 111 candidates (-42.3%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1101111
Fresh000
Picked011
Done022
Total1104114

Merged error: 0b

Counts
114 → 4

regimes69.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01615
11615

end0.0ms

analyze4.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
50%50%0%3
50%25%25%4
50%12.5%37.5%5
50%6.2%43.8%6
50%3.1%46.9%7
50%1.6%48.5%8
50%0.8%49.2%9
50.4%0.4%49.2%10
50.4%0.2%49.4%11
50.4%0.1%49.5%12
50.4%0%49.6%13
50.4%0%49.6%14

sample2.3s

Algorithm
intervals
Results
1.8s5670×body1280valid
225.0ms1237×body640valid
71.0ms615×body320valid
24.0ms324×body160valid
6.0ms154×body80valid

Profiling

Loading profile data...