Details

Time bar (total: 6.0s)

analyze1.0s

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

sample78.0ms

Algorithm
intervals
Results
39.0ms85×body1280valid
16.0ms60×body640valid
5.0ms73×body80valid
4.0ms21×body320valid
3.0ms17×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0209
1209

prune14.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: 13.6b

Counts
2 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite14.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))

series36.0ms

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

simplify71.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (67.0ms)

IterNodesCost
05123439

prune90.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New48856
Fresh101
Picked101
Done000
Total50858

Merged error: 0.2b

Counts
58 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

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

series73.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 0 (37.0ms)

IterNodesCost
04970868
14970868

prune141.0ms

Filtered
67 candidates to 93 candidates (-38.8%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New84993
Fresh527
Picked101
Done000
Total9011101

Merged error: 0.0b

Counts
101 → 11

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series92.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(* (cos a) (cos b))
47.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
11.0ms
(* (sin a) (sin b))
27.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify54.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
052071580

prune146.0ms

Filtered
90 candidates to 117 candidates (-30.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1134117
Fresh5510
Picked101
Done000
Total1199128

Merged error: 0.0b

Counts
128 → 9

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (* r (sin b)) (- (* (cos a) (cos b)) (cbrt (pow (* (sin a) (sin b)) 3))))
0.2b
(* (sin a) (sin b))
0.3b
(pow (* (sin a) (sin b)) 3)
28.0b
(cbrt (pow (* (sin a) (sin b)) 3))

rewrite24.0ms

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

series82.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (cbrt (pow (* (sin a) (sin b)) 3))))
9.0ms
(* (sin a) (sin b))
17.0ms
(pow (* (sin a) (sin b)) 3)
9.0ms
(cbrt (pow (* (sin a) (sin b)) 3))

simplify46.0ms

Algorithm
egg-herbie
Counts
96 → 96
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
05039975

prune95.0ms

Filtered
64 candidates to 96 candidates (-50.0%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New96096
Fresh088
Picked011
Done000
Total969105

Merged error: 0.0b

Counts
105 → 9

regimes231.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01819
11819

end0.0ms

analyze1.0s

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

sample2.5s

Algorithm
intervals
Results
1.4s2923×body1280valid
526.0ms1845×body640valid
154.0ms734×body320valid
148.0ms2162×body80valid
55.0ms336×body160valid
0.0msbody640invalid

Profiling

Loading profile data...