Details

Time bar (total: 14.5s)

analyze1.1s

Algorithm
search
Search
TrueOtherFalseIter
0%100%0%0
0%100%0%1
0%100%0%2
0%75%25%3
0%62.5%37.5%4
0%56.2%43.8%5
3.1%46.9%50%6
3.1%45.3%51.6%7
3.1%44.5%52.4%8
3.5%44.1%52.4%9
3.7%43.9%52.4%10
3.8%43.8%52.4%11
3.8%43.8%52.4%12
3.8%43.8%52.4%13
3.8%43.7%52.4%14

sample297.0ms

Algorithm
intervals
Results
78.0ms107×body1280valid
76.0ms113×body1280nan
45.0ms81×body640valid
42.0ms86×body640nan
15.0ms42×body320nan
15.0ms38×body320valid
6.0ms21×body160valid
3.0ms13×body160nan
1.0msbody80valid

simplify452.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
0500937

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 61.1b

Counts
2 → 1

localize28.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ PI 4.0) f)
0.2b
(* (/ PI 4.0) f)
1.0b
(/ (+ (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))) (- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f)))))
5.6b
(- (exp (* (/ PI 4.0) f)) (exp (neg (* (/ PI 4.0) f))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
61×*-un-lft-identity
57×add-sqr-sqrt
50×times-frac
33×add-cube-cbrt
26×associate-*l*
16×add-exp-log add-cbrt-cube
pow1
sinh-undef cosh-undef distribute-lft-out distribute-lft-out-- difference-of-squares
associate-*r* associate-/r* add-log-exp
associate-/l*
prod-exp cbrt-unprod 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 → 135
Calls
4 calls:
6.0ms
(* (/ PI 4.0) f)
6.0ms
(* (/ PI 4.0) f)
11.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))))

series53.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* (/ PI 4.0) f)
8.0ms
(* (/ PI 4.0) f)
24.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))))

simplify74.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 0 (57.0ms)

IterNodesCost
052703034

prune515.0ms

Filtered
117 candidates to 147 candidates (-25.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New1452147
Fresh000
Picked101
Done000
Total1462148

Merged error: 1.6b

Counts
148 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

0.2b
(* PI (/ f 4.0))
0.2b
(* (/ PI 4.0) f)
0.4b
(* (/ 1.0 (/ PI 4.0)) (log (/ (cosh (* PI (/ f 4.0))) (sinh (* (/ PI 4.0) f)))))
1.2b
(/ (cosh (* PI (/ f 4.0))) (sinh (* (/ PI 4.0) f)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
116×times-frac
97×add-sqr-sqrt
78×add-cube-cbrt *-un-lft-identity
60×associate-*l*
28×log-prod
25×add-exp-log add-cbrt-cube
20×associate-*r*
14×distribute-rgt-in distribute-lft-in
11×pow1
div-inv
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv div-exp
associate-/r/ add-log-exp
sinh-def pow-prod-down associate-/r* *-commutative associate-/l*
associate-*l/
cosh-def frac-2neg associate-*r/ clear-num log-pow associate-/l/
Counts
4 → 188
Calls
4 calls:
11.0ms
(* PI (/ f 4.0))
6.0ms
(* (/ PI 4.0) f)
14.0ms
(* (/ 1.0 (/ PI 4.0)) (log (/ (cosh (* PI (/ f 4.0))) (sinh (* (/ PI 4.0) f)))))
4.0ms
(/ (cosh (* PI (/ f 4.0))) (sinh (* (/ PI 4.0) f)))

series100.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* PI (/ f 4.0))
3.0ms
(* (/ PI 4.0) f)
62.0ms
(* (/ 1.0 (/ PI 4.0)) (log (/ (cosh (* PI (/ f 4.0))) (sinh (* (/ PI 4.0) f)))))
32.0ms
(/ (cosh (* PI (/ f 4.0))) (sinh (* (/ PI 4.0) f)))

simplify79.0ms

Algorithm
egg-herbie
Counts
200 → 200
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
049753821
149753821

prune504.0ms

Filtered
157 candidates to 200 candidates (-27.4%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1937200
Fresh011
Picked101
Done000
Total1948202

Merged error: 1.2b

Counts
202 → 8

localize26.0ms

Local error

Found 4 expressions with local error:

0.7b
(log (/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0))))))
0.8b
(* (/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0))))) (cbrt (cosh (* PI (/ f 4.0)))))
1.3b
(/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0)))))
1.3b
(/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0)))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
152×times-frac
140×add-sqr-sqrt
112×add-cube-cbrt *-un-lft-identity
90×cbrt-prod
82×sqrt-prod
41×log-prod associate-*l*
16×add-exp-log
12×associate-/r* associate-/l*
10×unswap-sqr
add-cbrt-cube
pow1
associate-*r*
sinh-def cbrt-div cosh-def sqrt-div div-exp associate-/r/ div-inv add-log-exp
cbrt-undiv
frac-2neg rem-log-exp prod-exp clear-num cbrt-unprod associate-/l/
frac-times log-div associate-*r/ pow-prod-down associate-*l/ log-pow *-commutative
Counts
4 → 249
Calls
4 calls:
5.0ms
(log (/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0))))))
13.0ms
(* (/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0))))) (cbrt (cosh (* PI (/ f 4.0)))))
5.0ms
(/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0)))))
6.0ms
(/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0)))))

series248.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(log (/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0))))))
61.0ms
(* (/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0))))) (cbrt (cosh (* PI (/ f 4.0)))))
52.0ms
(/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0)))))
57.0ms
(/ (cbrt (cosh (* PI (/ f 4.0)))) (sqrt (sinh (* PI (/ f 4.0)))))

simplify92.0ms

Algorithm
egg-herbie
Counts
261 → 261
Iterations

Useful iterations: 0 (54.0ms)

IterNodesCost
049636801
149636801

prune1.8s

Filtered
191 candidates to 261 candidates (-36.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2601261
Fresh077
Picked011
Done000
Total2609269

Merged error: 1.2b

Counts
269 → 9

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* PI (/ f 4.0))
0.3b
(* (sqrt (/ 1.0 (/ PI 4.0))) (* (log (/ (cosh (* PI (/ f 4.0))) (sinh (* PI (/ f 4.0))))) (sqrt (* 4.0 (/ 1.0 PI)))))
0.3b
(* (log (/ (cosh (* PI (/ f 4.0))) (sinh (* PI (/ f 4.0))))) (sqrt (* 4.0 (/ 1.0 PI))))
1.2b
(/ (cosh (* PI (/ f 4.0))) (sinh (* PI (/ f 4.0))))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
65×add-sqr-sqrt
58×add-cube-cbrt *-un-lft-identity
54×associate-*l*
45×sqrt-prod
18×add-exp-log associate-*r* add-cbrt-cube
14×pow1
associate-*r/
prod-exp cbrt-unprod div-inv
sqrt-div pow-prod-down
add-log-exp
associate-/r* *-commutative associate-/l* unswap-sqr
cbrt-undiv div-exp associate-/r/
frac-times sinh-def cosh-def frac-2neg associate-*l/ clear-num log-pow associate-/l/
Counts
4 → 147
Calls
4 calls:
6.0ms
(* PI (/ f 4.0))
17.0ms
(* (sqrt (/ 1.0 (/ PI 4.0))) (* (log (/ (cosh (* PI (/ f 4.0))) (sinh (* PI (/ f 4.0))))) (sqrt (* 4.0 (/ 1.0 PI)))))
7.0ms
(* (log (/ (cosh (* PI (/ f 4.0))) (sinh (* PI (/ f 4.0))))) (sqrt (* 4.0 (/ 1.0 PI))))
4.0ms
(/ (cosh (* PI (/ f 4.0))) (sinh (* PI (/ f 4.0))))

series164.0ms

Counts
4 → 12
Calls
4 calls:
3.0ms
(* PI (/ f 4.0))
64.0ms
(* (sqrt (/ 1.0 (/ PI 4.0))) (* (log (/ (cosh (* PI (/ f 4.0))) (sinh (* PI (/ f 4.0))))) (sqrt (* 4.0 (/ 1.0 PI)))))
64.0ms
(* (log (/ (cosh (* PI (/ f 4.0))) (sinh (* PI (/ f 4.0))))) (sqrt (* 4.0 (/ 1.0 PI))))
33.0ms
(/ (cosh (* PI (/ f 4.0))) (sinh (* PI (/ f 4.0))))

simplify63.0ms

Algorithm
egg-herbie
Counts
159 → 159
Iterations

Useful iterations: 0 (43.0ms)

IterNodesCost
049633339
149633339

prune474.0ms

Filtered
130 candidates to 159 candidates (-22.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1572159
Fresh077
Picked011
Done101
Total15810168

Merged error: 1.2b

Counts
168 → 10

regimes80.0ms

Accuracy

0% (0.4b remaining)

Error of 2.1b against oracle of 1.6b and baseline of 2.1b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06229
16229

end0.0ms

sample8.2s

Algorithm
intervals
Results
2.5s3470×body1280valid
2.0s3043×body1280nan
1.2s2433×body640valid
1.2s2470×body640nan
458.0ms1191×body320valid
428.0ms1221×body320nan
167.0ms632×body160valid
62.0ms263×body160nan
36.0ms274×body80valid
0.0msbody80overflowed

Profiling

Loading profile data...