Details

Time bar (total: 3.8s)

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

sample84.0ms

Algorithm
intervals
Results
67.0ms186×body1280valid
6.0ms31×body640valid
3.0ms23×body320valid
1.0msbody160valid
0.0msbody80valid

simplify44.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (42.0ms)

IterNodesCost
057188

prune11.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: 25.6b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.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:
6.0ms
(- (exp (neg x)) 2.0)
8.0ms
(+ (exp x) (- (exp (neg x)) 2.0))

series16.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 0 (49.0ms)

IterNodesCost
05187335

prune66.0ms

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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New33235
Fresh101
Picked101
Done000
Total35237

Merged error: 0.0b

Counts
37 → 2

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
0.0b
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
0.1b
(* 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:
7.0ms
(+ (* x x) (+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4))))
5.0ms
(+ (* 1/360 (pow x 6)) (* 1/12 (pow x 4)))
5.0ms
(* 1/360 (pow x 6))
5.0ms
(* 1/12 (pow x 4))

series27.0ms

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

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

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New84286
Fresh011
Picked011
Done000
Total84488

Merged error: 0.0b

Counts
88 → 4

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite18.0ms

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

series137.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(pow (exp 1/360) (pow x 6))
25.0ms
(+ (log (pow (exp 1/360) (pow x 6))) (* 1/12 (pow x 4)))
4.0ms
(* 1/12 (pow x 4))
76.0ms
(log (pow (exp 1/360) (pow x 6)))

simplify46.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
05108806

prune165.0ms

Filtered
64 candidates to 97 candidates (-51.6%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New97097
Fresh022
Picked011
Done011
Total974101

Merged error: 0.0b

Counts
101 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6))))) (cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6))))))
33.4b
(cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))
33.4b
(cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))
33.4b
(cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))

rewrite44.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
17.0ms
(* (cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6))))) (cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6))))))
8.0ms
(cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))
7.0ms
(cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))
10.0ms
(cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))

series60.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(* (cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6))))) (cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6))))))
15.0ms
(cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))
15.0ms
(cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))
15.0ms
(cbrt (+ (* 1/12 (pow x 4)) (+ (* x x) (* 1/360 (pow x 6)))))

simplify89.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 0 (72.0ms)

IterNodesCost
059472685

prune355.0ms

Filtered
71 candidates to 99 candidates (-39.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New98199
Fresh011
Picked011
Done112
Total994103

Merged error: 0b

Counts
103 → 4

regimes35.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01615
11615

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.9s5690×body1280valid
220.0ms1221×body640valid
70.0ms626×body320valid
23.0ms311×body160valid
6.0ms152×body80valid

Profiling

Loading profile data...