Details

Time bar (total: 13.8s)

analyze1.1s

Algorithm
search

sample282.0ms

Algorithm
intervals
Results
84.0ms109×body1280valid
62.0ms95×body1280nan
43.0ms83×body640valid
38.0ms81×body640nan
16.0ms44×body320valid
13.0ms38×body320nan
4.0ms15×body160valid
4.0ms16×body160nan
1.0msbody80valid

simplify440.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04222
19722
222322
356122
4121522
5281522
6500222

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 62.4b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 4.0) f)
0.2b
(* (/ PI 4.0) f)
1.7b
(/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))))
4.2b
(- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))

rewrite36.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)
10.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))))

series56.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)))))
18.0ms
(- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))

simplify51.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
04391718
115131596
250011570

prune426.0ms

Filtered
99 candidates to 135 candidates (-36.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1332135
Fresh000
Picked101
Done000
Total1342136

Merged error: 2.2b

Counts
136 → 2

localize32.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)
1.7b
(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))))))

rewrite59.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:
31.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)
15.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))))))

series132.0ms

Counts
4 → 8
Calls
4 calls:
79.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)
53.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))))))

simplify80.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015195738
150015408

prune979.0ms

Filtered
124 candidates to 180 candidates (-45.2%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1746180
Fresh011
Picked101
Done000
Total1757182

Merged error: 1.7b

Counts
182 → 7

localize37.0ms

Local error

Found 4 expressions with local error:

1.0b
(pow PI 3)
1.0b
(pow PI 5)
1.5b
(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))))))
2.4b
(log (sqrt (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))))

rewrite29.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)
16.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))))))

series76.0ms

Counts
4 → 8
Calls
4 calls:
0.0ms
(pow PI 3)
0.0ms
(pow PI 5)
48.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))))))
27.0ms
(log (sqrt (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))))

simplify104.0ms

Algorithm
egg-herbie
Counts
106 → 106
Iterations

Useful iterations: 2 (81.0ms)

IterNodesCost
07752269
135342109
250022086

prune556.0ms

Filtered
68 candidates to 106 candidates (-55.9%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1060106
Fresh066
Picked011
Done000
Total1067113

Merged error: 1.7b

Counts
113 → 7

localize30.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (log f) PI)
1.0b
(pow PI 3)
1.0b
(pow PI 3)
2.0b
(log (/ 4.0 PI))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
26×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
21×times-frac
13×log-prod
11×pow1 add-exp-log
add-cbrt-cube
unpow-prod-down pow-unpow cube-prod
log-pow
associate-/l* add-log-exp
associate-/r*
cube-mult pow-to-exp pow-pow unpow3 div-exp rem-log-exp pow-exp div-inv rem-cube-cbrt sqr-pow
cbrt-undiv log-div frac-2neg clear-num
Counts
4 → 101
Calls
4 calls:
6.0ms
(/ (log f) PI)
2.0ms
(pow PI 3)
2.0ms
(pow PI 3)
3.0ms
(log (/ 4.0 PI))

series14.0ms

Counts
4 → 6
Calls
4 calls:
14.0ms
(/ (log f) PI)
0.0ms
(pow PI 3)
0.0ms
(pow PI 3)
0.0ms
(log (/ 4.0 PI))

simplify43.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0319432
11478407
25001396

prune265.0ms

Filtered
63 candidates to 107 candidates (-69.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1061107
Fresh055
Picked101
Done011
Total1077114

Merged error: 1.7b

Counts
114 → 7

regimes80.0ms

Accuracy

0% (0.7b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05538
16738
26738

end0.0ms

analyze888.0ms

Algorithm
search

sample7.9s

Algorithm
intervals
Results
2.4s3407×body1280valid
1.8s2934×body1280nan
1.2s2415×body640valid
1.2s2475×body640nan
472.0ms1290×body320valid
398.0ms1157×body320nan
165.0ms636×body160valid
66.0ms277×body160nan
33.0ms252×body80valid
0.0msbody80overflowed

Profiling

Loading profile data...