Details

Time bar (total: 2.4s)

analyze162.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
25%68.7%6.3%5
25%65.6%9.5%6
37.5%39%23.5%7
37.5%36.7%25.9%8
43.7%20.7%35.6%9
43.7%19.3%37%10
46.8%10.6%42.5%11
46.8%9.9%43.3%12
48.4%5.4%46.2%13
48.4%5%46.6%14

sample33.0ms

Algorithm
intervals
Results
23.0ms256×body80valid
1.0ms11×body80nan

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (15.0ms)

IterNodesCost
033414
133414

prune8.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 1.0b

Counts
2 → 1

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* 2.0 PI) (acos (/ g (neg h))))
0.0b
(/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0)
1.0b
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube add-log-exp
pow1 acos-asin associate-+r- associate-/r* associate-/l*
flip3-+ div-sub flip-+ associate-/l/
cbrt-undiv +-commutative cos-diff frac-2neg div-exp clear-num sum-log div-inv
Counts
3 → 50
Calls
3 calls:
4.0ms
(+ (* 2.0 PI) (acos (/ g (neg h))))
6.0ms
(/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0)
5.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))

series24.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(+ (* 2.0 PI) (acos (/ g (neg h))))
6.0ms
(/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0)
15.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
59 → 59
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
05034901

prune102.0ms

Filtered
45 candidates to 59 candidates (-31.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New57259
Fresh000
Picked011
Done000
Total57360

Merged error: 0.9b

Counts
60 → 3

localize23.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (asin (/ g (neg h))) 3.0)
0.2b
(/ (asin (/ g (neg h))) 3.0)
1.0b
(sin (/ (* PI (+ 2.0 1/2)) 3.0))
1.0b
(cos (/ (* PI (+ 2.0 1/2)) 3.0))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
18×times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 add-log-exp
cbrt-undiv asin-acos frac-2neg div-sub div-exp clear-num div-inv
Counts
4 → 70
Calls
4 calls:
3.0ms
(/ (asin (/ g (neg h))) 3.0)
3.0ms
(/ (asin (/ g (neg h))) 3.0)
2.0ms
(sin (/ (* PI (+ 2.0 1/2)) 3.0))
2.0ms
(cos (/ (* PI (+ 2.0 1/2)) 3.0))

series7.0ms

Counts
4 → 8
Calls
4 calls:
3.0ms
(/ (asin (/ g (neg h))) 3.0)
3.0ms
(/ (asin (/ g (neg h))) 3.0)
0.0ms
(sin (/ (* PI (+ 2.0 1/2)) 3.0))
0.0ms
(cos (/ (* PI (+ 2.0 1/2)) 3.0))

simplify105.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 0 (98.0ms)

IterNodesCost
05071908

prune194.0ms

Filtered
63 candidates to 78 candidates (-23.8%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New78078
Fresh011
Picked011
Done011
Total78381

Merged error: 0.9b

Counts
81 → 3

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
1.0b
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
1.0b
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
1.0b
(* (cbrt (cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))) (cbrt (cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt *-un-lft-identity
11×pow1
add-exp-log pow1/3 swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
acos-asin cos-diff associate-+r- div-sub
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 64
Calls
4 calls:
5.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
5.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
5.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
5.0ms
(* (cbrt (cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))) (cbrt (cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))))

series84.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
14.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
18.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
37.0ms
(* (cbrt (cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))) (cbrt (cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))))

simplify54.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
048551305
148551305

prune188.0ms

Filtered
52 candidates to 76 candidates (-46.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New75176
Fresh000
Picked101
Done022
Total76379

Merged error: 0b

Counts
79 → 3

localize21.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt (pow (cos (* (+ (* 2.0 PI) (acos (/ g (neg h)))) 0.3333333333333333)) 2)) (cbrt (cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))))
1.0b
(cos (* (+ (* 2.0 PI) (acos (/ g (neg h)))) 0.3333333333333333))
1.0b
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
1.0b
(cbrt (pow (cos (* (+ (* 2.0 PI) (acos (/ g (neg h)))) 0.3333333333333333)) 2))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
32×cbrt-prod
27×add-sqr-sqrt
11×add-cube-cbrt *-un-lft-identity associate-*l*
10×unswap-sqr
unpow-prod-down
pow1 add-exp-log associate-*r*
add-cbrt-cube unpow2 add-log-exp sqr-pow
pow1/3
pow-prod-down
acos-asin cos-diff associate-+r- div-sub prod-exp *-commutative cbrt-unprod
Counts
4 → 70
Calls
4 calls:
8.0ms
(* (cbrt (pow (cos (* (+ (* 2.0 PI) (acos (/ g (neg h)))) 0.3333333333333333)) 2)) (cbrt (cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))))
3.0ms
(cos (* (+ (* 2.0 PI) (acos (/ g (neg h)))) 0.3333333333333333))
5.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
3.0ms
(cbrt (pow (cos (* (+ (* 2.0 PI) (acos (/ g (neg h)))) 0.3333333333333333)) 2))

series83.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (cbrt (pow (cos (* (+ (* 2.0 PI) (acos (/ g (neg h)))) 0.3333333333333333)) 2)) (cbrt (cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))))
14.0ms
(cos (* (+ (* 2.0 PI) (acos (/ g (neg h)))) 0.3333333333333333))
18.0ms
(cos (/ (+ (* 2.0 PI) (acos (/ g (neg h)))) 3.0))
36.0ms
(cbrt (pow (cos (* (+ (* 2.0 PI) (acos (/ g (neg h)))) 0.3333333333333333)) 2))

simplify65.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 0 (53.0ms)

IterNodesCost
048602143
148602143

prune207.0ms

Filtered
59 candidates to 82 candidates (-39.0%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New82082
Fresh000
Picked011
Done022
Total82385

Merged error: 0b

Counts
85 → 3

regimes80.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
08431
18431

end0.0ms

sample814.0ms

Algorithm
intervals
Results
618.0ms8000×body80valid
35.0ms561×body80nan

Profiling

Loading profile data...