Details

Time bar (total: 4.2s)

sample93.0ms

Algorithm
intervals
Results
47.0ms103×body1280valid
21.0ms58×body640valid
5.0ms24×body320valid
4.0ms61×body80valid
1.0ms10×body160valid

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.8b

Counts
2 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

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

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

series44.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 0 (50.0ms)

IterNodesCost
04966783
14966783

prune105.0ms

Filtered
60 candidates to 76 candidates (-26.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New67976
Fresh101
Picked101
Done000
Total69978

Merged error: 0.2b

Counts
78 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

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

series97.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
060341576

prune288.0ms

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

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1107117
Fresh718
Picked101
Done000
Total1188126

Merged error: 0.0b

Counts
126 → 8

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (sin a)) (cbrt (sin a)))
0.6b
(cbrt (sin a))
0.6b
(cbrt (sin a))
0.6b
(cbrt (sin a))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
9.0ms
(* (cbrt (sin a)) (cbrt (sin a)))
1.0ms
(cbrt (sin a))
1.0ms
(cbrt (sin a))
2.0ms
(cbrt (sin a))

series78.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (cbrt (sin a)) (cbrt (sin a)))
18.0ms
(cbrt (sin a))
18.0ms
(cbrt (sin a))
18.0ms
(cbrt (sin a))

simplify51.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 0 (45.0ms)

IterNodesCost
05016493

prune102.0ms

Filtered
56 candidates to 85 candidates (-51.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New85085
Fresh077
Picked011
Done000
Total85893

Merged error: 0.0b

Counts
93 → 8

localize31.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (* (cos b) (cos a)) (* (sin b) (sin a)))
0.3b
(pow (* (sin b) (sin a)) 3)
0.4b
(* (* (cos b) (cos a)) (* (cos b) (cos a)))
0.6b
(pow (* (cos b) (cos a)) 3)

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
61×pow1
34×add-exp-log add-cbrt-cube
27×pow-prod-down
18×prod-exp cbrt-unprod
cos-mult
add-sqr-sqrt add-cube-cbrt pow-unpow *-un-lft-identity
pow-pow pow-exp pow-sqr pow-prod-up add-log-exp rem-cube-cbrt
sin-mult
cube-div cube-mult frac-times pow-to-exp unpow-prod-down pow-plus unpow3 cube-prod associate-*r/ associate-*r* associate-*l* associate-*l/ *-commutative sqr-pow
pow2 swap-sqr
Counts
4 → 108
Calls
4 calls:
8.0ms
(* (* (cos b) (cos a)) (* (sin b) (sin a)))
4.0ms
(pow (* (sin b) (sin a)) 3)
8.0ms
(* (* (cos b) (cos a)) (* (cos b) (cos a)))
4.0ms
(pow (* (cos b) (cos a)) 3)

series67.0ms

Counts
4 → 12
Calls
4 calls:
24.0ms
(* (* (cos b) (cos a)) (* (sin b) (sin a)))
16.0ms
(pow (* (sin b) (sin a)) 3)
12.0ms
(* (* (cos b) (cos a)) (* (cos b) (cos a)))
15.0ms
(pow (* (cos b) (cos a)) 3)

simplify36.0ms

Algorithm
egg-herbie
Counts
120 → 120
Iterations

Useful iterations: 0 (28.0ms)

IterNodesCost
05051966

prune114.0ms

Filtered
62 candidates to 120 candidates (-93.5%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New1191120
Fresh066
Picked011
Done011
Total1199128

Merged error: 0b

Counts
128 → 9

regimes223.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
06325
16325

end0.0ms

sample2.6s

Algorithm
intervals
Results
1.4s2923×body1280valid
520.0ms1789×body640valid
156.0ms776×body320valid
142.0ms2164×body80valid
51.0ms350×body160valid

Profiling

Loading profile data...