Details

Time bar (total: 3.5s)

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

sample76.0ms

Algorithm
intervals
Results
60.0ms190×body1280valid
7.0ms41×body640valid
1.0ms13×body320valid
1.0ms10×body160valid
0.0msbody80valid

simplify41.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
057188

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

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (exp (neg x)) 2.0)
3.5b
(+ (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)
8.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))

simplify33.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
05187335

prune57.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

localize9.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.0b
(* 1/360 (pow x 6))
0.1b
(* 1/12 (pow x 4))

rewrite24.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:
5.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
7.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))

series24.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))

simplify54.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
05022849

prune123.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)
4.0b
(+ (- (exp x) 2.0) (exp (neg x)))

rewrite12.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)
7.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)))

simplify53.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
05310423

prune40.0ms

Filtered
27 candidates to 39 candidates (-44.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New39039
Fresh011
Picked011
Done011
Total39342

Merged error: 0.0b

Counts
42 → 3

localize21.0ms

Local error

Found 4 expressions with local error:

0.1b
(* 1/12 (pow x 4))
0.1b
(* (* x x) 1/360)
1.0b
(pow (+ 1/12 (* (* x x) 1/360)) 3)
54.8b
(/ (+ (pow x 6) (* (pow x 12) (pow (+ 1/12 (* (* x x) 1/360)) 3))) (+ (pow x 4) (* (+ (* 1/12 (pow x 4)) (* 1/360 (pow x 6))) (+ (* 1/12 (pow x 4)) (- (* 1/360 (pow x 6)) (* x x))))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
25×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity
17×add-exp-log
14×add-cbrt-cube
10×pow1 associate-*r*
times-frac
unpow-prod-down
prod-exp
associate-*l* cbrt-unprod add-log-exp unswap-sqr
pow-unpow flip3-+ cube-prod pow-prod-down associate-/r* flip-+ associate-/l* sqr-pow
cube-div pow-to-exp pow-exp associate-/r/ *-commutative associate-/l/
cbrt-undiv cube-mult pow-pow frac-2neg unpow3 div-exp clear-num div-inv rem-cube-cbrt
Counts
4 → 100
Calls
4 calls:
5.0ms
(* 1/12 (pow x 4))
5.0ms
(* (* x x) 1/360)
4.0ms
(pow (+ 1/12 (* (* x x) 1/360)) 3)
10.0ms
(/ (+ (pow x 6) (* (pow x 12) (pow (+ 1/12 (* (* x x) 1/360)) 3))) (+ (pow x 4) (* (+ (* 1/12 (pow x 4)) (* 1/360 (pow x 6))) (+ (* 1/12 (pow x 4)) (- (* 1/360 (pow x 6)) (* x x))))))

series30.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 0 (23.0ms)

IterNodesCost
053752773

prune411.0ms

Filtered
76 candidates to 112 candidates (-47.4%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1102112
Fresh000
Picked011
Done022
Total1105115

Merged error: 0b

Counts
115 → 5

regimes107.0ms

Accuracy

0% (0.5b 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

sample2.2s

Algorithm
intervals
Results
1.8s5659×body1280valid
224.0ms1269×body640valid
70.0ms614×body320valid
21.0ms297×body160valid
6.0ms161×body80valid
0.0msbody80invalid

Profiling

Loading profile data...