Details

Time bar (total: 5.5s)

sample317.0ms

Algorithm
intervals
Results
40.0ms95×body1280valid
17.0ms68×body640valid
4.0ms22×body320valid
3.0ms58×body80valid
2.0ms13×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0125
1165
2205
3215
4215

prune4.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.6b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.2b
(* r (/ (sin b) (cos (+ a b))))
0.2b
(/ (sin b) (cos (+ a b)))
3.6b
(cos (+ a b))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
24×add-sqr-sqrt
19×add-cube-cbrt *-un-lft-identity times-frac
13×associate-*r*
10×add-exp-log add-cbrt-cube
pow1
associate-*l* associate-/r* associate-/l* add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv unswap-sqr
cos-sum frac-2neg associate-*r/ pow-prod-down clear-num *-commutative
Counts
3 → 67
Calls
3 calls:
7.0ms
(* r (/ (sin b) (cos (+ a b))))
4.0ms
(/ (sin b) (cos (+ a b)))
6.0ms
(cos (+ a b))

series165.0ms

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

simplify41.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0252536
11064480
25001477

prune192.0ms

Filtered
76 candidates to 57 candidates (75.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New661076
Fresh000
Picked101
Done000
Total671077

Merged error: 0.2b

Counts
77 → 10

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

rewrite36.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))
12.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
5.0ms
(* (sin a) (sin b))
11.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

series413.0ms

Counts
4 → 12
Calls
4 calls:
39.0ms
(* (cos a) (cos b))
214.0ms
(* r (/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b)))))
47.0ms
(* (sin a) (sin b))
112.0ms
(/ (sin b) (- (* (cos a) (cos b)) (* (sin a) (sin b))))

simplify60.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04281219
118581103
250011098

prune354.0ms

Filtered
117 candidates to 87 candidates (74.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New10611117
Fresh819
Picked101
Done000
Total11512127

Merged error: 0.0b

Counts
127 → 12

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

rewrite27.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))
9.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
8.0ms
(* (sin a) (sin b))

series344.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(* (cos a) (cos b))
38.0ms
(* r (sin b))
221.0ms
(/ (* r (sin b)) (- (* (cos a) (cos b)) (* (sin a) (sin b))))
45.0ms
(* (sin a) (sin b))

simplify50.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0367682
11616594
25001593

prune249.0ms

Filtered
93 candidates to 64 candidates (68.8%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New92193
Fresh01111
Picked011
Done000
Total9213105

Merged error: 0b

Counts
105 → 13

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

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

series276.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (sin a) (sin b))
115.0ms
(/ (sin b) (- (* (cos a) (cos b)) (cbrt (pow (* (sin a) (sin b)) 3))))
65.0ms
(pow (* (sin a) (sin b)) 3)
46.0ms
(cbrt (pow (* (sin a) (sin b)) 3))

simplify49.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0338899
11422821
25001809

prune280.0ms

Filtered
102 candidates to 72 candidates (70.6%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New1011102
Fresh11011
Picked101
Done011
Total10312115

Merged error: 0b

Counts
115 → 12

regimes298.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01510
11510

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.2s2843×body1280valid
473.0ms1872×body640valid
126.0ms734×body320valid
124.0ms2212×body80valid
47.0ms339×body160valid