Details

Time bar (total: 15.1s)

sample2.3s

Algorithm
intervals
Results
80.0ms676×body80overflowed
71.0ms99×body1280valid
38.0ms79×body640valid
17.0ms47×body320valid
5.0ms20×body160valid
1.0ms11×body80valid
1.0msbody80nan

simplify322.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (4.0ms)

IterNodesCost
04222
19722
222322
356122
4121522
5281522
6500222

prune5.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 60.9b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ PI 4.0) f)
0.3b
(* (/ PI 4.0) f)
2.2b
(/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))))
6.2b
(- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
55×*-un-lft-identity
53×add-sqr-sqrt
40×times-frac
31×add-cube-cbrt
26×associate-*l*
16×add-exp-log add-cbrt-cube
pow1
associate-*r* distribute-lft-out distribute-lft-out-- add-log-exp difference-of-squares
associate-/r*
prod-exp cbrt-unprod associate-/l* unswap-sqr
cbrt-undiv div-exp div-inv
flip3-- pow-prod-down associate-*l/ associate-/r/ *-commutative flip-- associate-/l/
sub-neg frac-2neg flip3-+ diff-log clear-num flip-+
Counts
4 → 123
Calls
4 calls:
6.0ms
(* (/ PI 4.0) f)
6.0ms
(* (/ PI 4.0) f)
9.0ms
(/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))))
7.0ms
(- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))

series55.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (/ PI 4.0) f)
3.0ms
(* (/ PI 4.0) f)
32.0ms
(/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))))
17.0ms
(- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))

simplify52.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04391718
115131596
250011570

prune408.0ms

Filtered
135 candidates to 99 candidates (26.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1314135
Fresh000
Picked101
Done000
Total1324136

Merged error: 2.9b

Counts
136 → 4

localize35.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (/ 1.0 (/ PI 4.0)) (log (/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI)))))))
1.0b
(pow PI 3)
1.0b
(pow PI 5)
2.2b
(log (/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI))))))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
105×times-frac
87×*-un-lft-identity
78×add-sqr-sqrt
69×add-cube-cbrt
54×log-prod
44×associate-*l*
18×add-exp-log distribute-rgt-in distribute-lft-in
14×add-cbrt-cube
10×pow1
distribute-lft-out
associate-/r/ div-inv
unpow-prod-down pow-unpow
div-exp associate-*r* add-log-exp
cbrt-undiv flip3-+ cube-prod prod-exp cbrt-unprod flip-+ unswap-sqr
pow-to-exp pow-pow rem-log-exp pow-exp log-pow sqr-pow
cube-mult log-div unpow3 pow-prod-down associate-*l/ *-commutative rem-cube-cbrt
Counts
4 → 172
Calls
4 calls:
25.0ms
(* (/ 1.0 (/ PI 4.0)) (log (/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI)))))))
2.0ms
(pow PI 3)
2.0ms
(pow PI 5)
14.0ms
(log (/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI))))))

series128.0ms

Counts
4 → 8
Calls
4 calls:
73.0ms
(* (/ 1.0 (/ PI 4.0)) (log (/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI)))))))
0.0ms
(pow PI 3)
0.0ms
(pow PI 5)
55.0ms
(log (/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI))))))

simplify82.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 1 (32.0ms)

IterNodesCost
015195738
150015408

prune939.0ms

Filtered
180 candidates to 124 candidates (31.1%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New17010180
Fresh033
Picked101
Done000
Total17113184

Merged error: 2.4b

Counts
184 → 13

localize36.0ms

Local error

Found 4 expressions with local error:

1.0b
(pow PI 3)
1.0b
(pow PI 5)
2.2b
(log (/ (sqrt (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI))))))
3.1b
(log (sqrt (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
34×log-prod
33×*-un-lft-identity
25×add-sqr-sqrt add-cube-cbrt
21×times-frac
16×sqrt-prod
10×add-exp-log
pow1
unpow-prod-down pow-unpow
add-cbrt-cube
log-pow distribute-lft-out add-log-exp
log-div cube-prod rem-log-exp
pow-to-exp pow-pow flip3-+ sqrt-div pow-exp associate-/r/ flip-+ sqr-pow
cube-mult sqrt-pow1 pow1/2 unpow3 div-exp div-inv rem-cube-cbrt
Counts
4 → 98
Calls
4 calls:
2.0ms
(pow PI 3)
2.0ms
(pow PI 5)
15.0ms
(log (/ (sqrt (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI))))))
5.0ms
(log (sqrt (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))))

series72.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(pow PI 3)
0.0ms
(pow PI 5)
45.0ms
(log (/ (sqrt (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI))))))
26.0ms
(log (sqrt (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))))

simplify103.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07752273
135342109
250022086

prune547.0ms

Filtered
106 candidates to 68 candidates (35.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh01212
Picked011
Done000
Total10613119

Merged error: 2.4b

Counts
119 → 13

localize33.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI)))))
1.0b
(pow PI 3)
1.0b
(pow PI 5)
2.2b
(log (/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI))))))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
26×add-sqr-sqrt add-cube-cbrt
24×times-frac
18×log-prod
11×add-exp-log
pow1 add-cbrt-cube distribute-lft-out
unpow-prod-down pow-unpow
associate-/r/ associate-/l* add-log-exp
flip3-+ cube-prod associate-/r* flip-+
pow-to-exp pow-pow div-exp rem-log-exp pow-exp div-inv associate-/l/ sqr-pow
cbrt-undiv cube-mult log-div frac-2neg unpow3 clear-num log-pow rem-cube-cbrt
Counts
4 → 104
Calls
4 calls:
15.0ms
(/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI)))))
2.0ms
(pow PI 3)
2.0ms
(pow PI 5)
14.0ms
(log (/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI))))))

series80.0ms

Counts
4 → 8
Calls
4 calls:
28.0ms
(/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI)))))
0.0ms
(pow PI 3)
0.0ms
(pow PI 5)
51.0ms
(log (/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (+ (* 0.005208333333333333 (* (pow f 3) (pow PI 3))) (+ (* 1.6276041666666666e-05 (* (pow f 5) (pow PI 5))) (* 0.5 (* f PI))))))

simplify140.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
09812808
148472642
250012642

prune552.0ms

Filtered
112 candidates to 78 candidates (30.4%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1111112
Fresh11011
Picked101
Done011
Total11312125

Merged error: 2.4b

Counts
125 → 12

regimes228.0ms

Accuracy

0% (0.7b remaining)

Error of 2.2b against oracle of 1.5b and baseline of 2.2b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05538
16738
26738

end0.0ms

sample8.8s

Algorithm
intervals
Results
2.3s22433×body80overflowed
2.3s3401×body1280valid
1.1s2404×body640valid
431.0ms1222×body320valid
172.0ms705×body160valid
56.0ms460×body80nan
34.0ms268×body80valid

Profiling

Loading profile data...