Details

Time bar (total: 5.2s)

analyze1.1s (20.3%)

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
0%99.9%0.1%5
0%99.9%0.1%6
6.2%93.6%0.1%7
9.4%90.5%0.1%8
14%85.8%0.1%9
19.5%80.4%0.1%10
20.7%79.2%0.1%11
22%77.8%0.1%12
23.5%76.4%0.1%13
23.8%76%0.1%14

sample89.0ms (1.7%)

Algorithm
intervals
Results
46.0ms87×body1280valid
22.0ms76×body640valid
5.0ms68×body80valid
4.0ms20×body320valid
1.0msbody160valid

simplify3.0ms (0.1%)

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0209
1209

prune7.0ms (0.1%)

Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 16.5b

Counts
2 → 1

localize10.0ms (0.2%)

Local error

Found 3 expressions with local error:

0.1b
(* r (sin b))
0.2b
(/ (* r (sin b)) (cos (+ a b)))
2.6b
(cos (+ a b))

rewrite14.0ms (0.3%)

Algorithm
rewrite-expression-head
Rules
10×add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1
times-frac associate-*r* associate-*l* associate-/r* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod
cos-sum frac-2neg pow-prod-down clear-num *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 47
Calls

3 calls:

5.0ms
(/ (* r (sin b)) (cos (+ a b)))
4.0ms
(cos (+ a b))
4.0ms
(* r (sin b))

series38.0ms (0.7%)

Counts
3 → 9
Calls

3 calls:

25.0ms
(/ (* r (sin b)) (cos (+ a b)))
7.0ms
(* r (sin b))
6.0ms
(cos (+ a b))

simplify66.0ms (1.3%)

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (58.0ms)

IterNodesCost
05357439

prune105.0ms (2%)

Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New461056
Fresh000
Picked101
Done000
Total471057

Merged error: 0.1b

Counts
57 → 10

localize19.0ms (0.4%)

Local error

Found 4 expressions with local error:

0.1b
(* r (sin b))
0.1b
(* (cos a) (cos b))
0.2b
(* (sin a) (sin b))
0.2b
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

rewrite24.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
15×add-exp-log add-cbrt-cube
12×add-cube-cbrt *-un-lft-identity
10×pow1
associate-*r* associate-*l*
prod-exp associate-/r/ cbrt-unprod add-log-exp
times-frac pow-prod-down associate-/r* cos-mult *-commutative sin-mult unswap-sqr
cbrt-undiv div-exp
flip3-- frac-2neg clear-num frac-sub flip-- div-inv associate-/l* sub-div
Counts
4 → 81
Calls

4 calls:

9.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
4.0ms
(* (sin a) (sin b))
4.0ms
(* (cos a) (cos b))
4.0ms
(* r (sin b))

series82.0ms (1.6%)

Counts
4 → 12
Calls

4 calls:

53.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
11.0ms
(* (cos a) (cos b))
10.0ms
(* (sin a) (sin b))
8.0ms
(* r (sin b))

simplify39.0ms (0.8%)

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (32.0ms)

IterNodesCost
04976875
14976875

prune164.0ms (3.1%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New821193
Fresh819
Picked101
Done000
Total9112103

Merged error: 0.0b

Counts
103 → 12

localize15.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
0.1b
(* (cos a) (cos b))
0.2b
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))
0.2b
(/ (* (cos a) (cos b)) (sin b))

rewrite27.0ms (0.5%)

Algorithm
rewrite-expression-head
Rules
30×add-sqr-sqrt
28×*-un-lft-identity
18×add-cube-cbrt times-frac
13×add-exp-log add-cbrt-cube
associate-/r*
pow1 add-log-exp
distribute-lft-out-- difference-of-squares
associate-/l*
cbrt-undiv div-exp associate-*r* associate-*l*
flip3-- frac-2neg prod-exp clear-num associate-/r/ cos-mult flip-- cbrt-unprod div-inv
sub-neg diff-log pow-prod-down *-commutative associate-/l/ unswap-sqr
Counts
4 → 91
Calls

4 calls:

8.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))
7.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
5.0ms
(/ (* (cos a) (cos b)) (sin b))
4.0ms
(* (cos a) (cos b))

series96.0ms (1.8%)

Counts
4 → 12
Calls

4 calls:

50.0ms
(/ r (- (/ (* (cos a) (cos b)) (sin b)) (sin a)))
20.0ms
(- (/ (* (cos a) (cos b)) (sin b)) (sin a))
17.0ms
(/ (* (cos a) (cos b)) (sin b))
9.0ms
(* (cos a) (cos b))

simplify66.0ms (1.3%)

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
049231426
149231426

prune162.0ms (3.1%)

Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New985103
Fresh4711
Picked101
Done000
Total10312115

Merged error: 0b

Counts
115 → 12

localize17.0ms (0.3%)

Local error

Found 4 expressions with local error:

0.1b
(* (cos a) (cos b))
0.2b
(* (sin b) (sin a))
0.2b
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a)))))
0.2b
(/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a))))

rewrite32.0ms (0.6%)

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
24×add-cube-cbrt *-un-lft-identity
23×associate-*r*
19×times-frac
15×add-exp-log add-cbrt-cube
10×pow1
associate-*l*
associate-/r/
cos-mult sin-mult
prod-exp cbrt-unprod add-log-exp unswap-sqr
pow-prod-down associate-/r* *-commutative associate-/l*
cbrt-undiv flip3-- div-exp frac-sub flip-- div-inv sub-div
frac-2neg associate-*r/ clear-num
Counts
4 → 105
Calls

4 calls:

12.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a)))))
8.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a))))
5.0ms
(* (sin b) (sin a))
4.0ms
(* (cos a) (cos b))

series105.0ms (2%)

Counts
4 → 12
Calls

4 calls:

53.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a)))))
32.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a))))
10.0ms
(* (cos a) (cos b))
10.0ms
(* (sin b) (sin a))

simplify57.0ms (1.1%)

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
060411616

prune120.0ms (2.3%)

Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1170117
Fresh01111
Picked011
Done000
Total11712129

Merged error: 0b

Counts
129 → 12

regimes257.0ms (4.9%)

Accuracy

Total 0.3b remaining (85.3%)

Threshold costs 0.3b (85.3%)

bsearch0.0ms (0%)

simplify1.0ms (0%)

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04116
14116

end0.0ms (0%)

sample2.5s (48.7%)

Algorithm
intervals
Results
1.4s2954×body1280valid
526.0ms1828×body640valid
153.0ms755×body320valid
148.0ms2121×body80valid
53.0ms342×body160valid
0.0msbody160invalid

Profiling

Loading profile data...