Details

Time bar (total: 7.3s)

analyze1.1s

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

sample160.0ms

Algorithm
intervals
Results
45.0ms95×body1280valid
14.0ms48×body640valid
7.0ms18×body160valid
5.0ms27×body320valid
4.0ms68×body80valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0209
1209

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 14.3b

Counts
2 → 2

localize27.0ms

Local error

Found 3 expressions with local error:

0.2b
(* r (sin b))
0.3b
(/ (* r (sin b)) (cos (+ a b)))
14.3b
(cos (+ a b))

rewrite13.0ms

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:
4.0ms
(* r (sin b))
5.0ms
(/ (* r (sin b)) (cos (+ a b)))
4.0ms
(cos (+ a b))

series40.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(* r (sin b))
25.0ms
(/ (* r (sin b)) (cos (+ a b)))
9.0ms
(cos (+ a b))

simplify56.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (51.0ms)

IterNodesCost
05357439

prune99.0ms

Filtered
43 candidates to 56 candidates (-30.2%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New48856
Fresh011
Picked101
Done000
Total49958

Merged error: 0.2b

Counts
58 → 9

localize48.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
pow1
associate-*r* associate-*l* add-log-exp
sin-mult
associate-/r/ cos-mult
times-frac prod-exp associate-/r* cbrt-unprod
cbrt-undiv flip3-- div-exp pow-prod-down *-commutative frac-sub flip-- sub-div unswap-sqr
sub-neg frac-2neg diff-log clear-num div-inv associate-/l*
Counts
4 → 75
Calls
4 calls:
5.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
4.0ms
(* r (sin b))
4.0ms
(* (sin a) (sin b))
9.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series86.0ms

Counts
4 → 12
Calls
4 calls:
17.0ms
(- (* (cos a) (cos b)) (* (sin a) (sin b)))
7.0ms
(* r (sin b))
9.0ms
(* (sin a) (sin b))
52.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify38.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
04979974
14979974

prune147.0ms

Filtered
65 candidates to 87 candidates (-33.8%)
Pruning

13 alts after pruning (13 fresh and 0 done)

PrunedKeptTotal
New751287
Fresh718
Picked101
Done000
Total831396

Merged error: 0.0b

Counts
96 → 13

localize47.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity
20×associate-*r*
19×times-frac
13×add-exp-log add-cbrt-cube
pow1 associate-/r/
sin-mult
associate-*l* cos-mult add-log-exp
flip3-- prod-exp associate-/r* frac-sub flip-- cbrt-unprod associate-/l* sub-div unswap-sqr
cbrt-undiv div-exp pow-prod-down *-commutative div-inv
sub-neg frac-2neg diff-log associate-*r/ clear-num
Counts
4 → 99
Calls
4 calls:
5.0ms
(- (* (cos a) (cos b)) (* (sin b) (sin a)))
4.0ms
(* (sin b) (sin a))
11.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a)))))
8.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a))))

series105.0ms

Counts
4 → 12
Calls
4 calls:
16.0ms
(- (* (cos a) (cos b)) (* (sin b) (sin a)))
10.0ms
(* (sin b) (sin a))
52.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a)))))
28.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin b) (sin a))))

simplify57.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
060251735

prune166.0ms

Filtered
88 candidates to 111 candidates (-26.1%)
Pruning

14 alts after pruning (14 fresh and 0 done)

PrunedKeptTotal
New1065111
Fresh3912
Picked101
Done000
Total11014124

Merged error: 0.0b

Counts
124 → 14

localize46.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
33×add-sqr-sqrt
28×add-cube-cbrt *-un-lft-identity times-frac
13×add-exp-log associate-*l* add-cbrt-cube
pow1 associate-/r* associate-/l* add-log-exp
cbrt-undiv div-exp associate-*r* div-inv
flip3-- frac-2neg prod-exp clear-num associate-/r/ flip-- cbrt-unprod unswap-sqr
sub-neg diff-log pow-prod-down associate-*l/ *-commutative
Counts
4 → 99
Calls
4 calls:
6.0ms
(- (* (/ (cos b) (sin b)) (cos a)) (sin a))
7.0ms
(* (/ (cos b) (sin b)) (cos a))
4.0ms
(/ (cos b) (sin b))
10.0ms
(/ r (- (* (/ (cos b) (sin b)) (cos a)) (sin a)))

series83.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(- (* (/ (cos b) (sin b)) (cos a)) (sin a))
14.0ms
(* (/ (cos b) (sin b)) (cos a))
6.0ms
(/ (cos b) (sin b))
43.0ms
(/ r (- (* (/ (cos b) (sin b)) (cos a)) (sin a)))

simplify48.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 0 (38.0ms)

IterNodesCost
049391437
149391437

prune106.0ms

Filtered
84 candidates to 111 candidates (-32.1%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1092111
Fresh31013
Picked011
Done000
Total11213125

Merged error: 0.0b

Counts
125 → 13

regimes301.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02213
12213

end0.0ms

sample4.4s

Algorithm
intervals
Results
1.4s2841×body1280valid
543.0ms1863×body640valid
162.0ms778×body320valid
140.0ms2151×body80valid
57.0ms367×body160valid

Profiling

Loading profile data...