Details

Time bar (total: 6.7s)

sample85.0ms

Algorithm
intervals
Results
29.0ms79×body1280valid
16.0ms65×body640valid
14.0ms233×body80valid
7.0ms39×body320valid
2.0ms18×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune8.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 2

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.7b
(/ (cos th) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
76×times-frac
70×add-sqr-sqrt
60×add-cube-cbrt *-un-lft-identity
44×associate-*l* sqrt-prod
32×add-exp-log add-cbrt-cube
14×pow1
12×prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down associate-/l* unswap-sqr
div-inv add-log-exp
frac-2neg associate-*r* associate-*l/ clear-num *-commutative
Counts
4 → 168
Calls
4 calls:
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series367.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
125.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
59.0ms
(/ (cos th) (sqrt 2.0))
67.0ms
(/ (cos th) (sqrt 2.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
05041284
120091156
250011136

prune667.0ms

Filtered
180 candidates to 116 candidates (64.4%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16812180
Fresh101
Picked101
Done000
Total17012182

Merged error: 0b

Counts
182 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos th) (* a2 a2))
0.2b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
44×times-frac
43×add-sqr-sqrt
37×add-cube-cbrt *-un-lft-identity
32×add-exp-log add-cbrt-cube
28×sqrt-prod
25×associate-*l*
14×pow1
12×prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down
associate-/l* add-log-exp unswap-sqr
div-inv
frac-2neg associate-*r* clear-num *-commutative
associate-*l/
Counts
4 → 132
Calls
4 calls:
5.0ms
(* (cos th) (* a2 a2))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
9.0ms
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series332.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (cos th) (* a2 a2))
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
112.0ms
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
63.0ms
(/ (cos th) (sqrt 2.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0501987
12125864
25002850

prune299.0ms

Filtered
144 candidates to 91 candidates (63.2%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1413144
Fresh3811
Picked101
Done000
Total14511156

Merged error: 0b

Counts
156 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* (cos th) a2) a2)
0.2b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(/ (* (* (cos th) a2) a2) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
44×times-frac
42×add-sqr-sqrt
37×add-cube-cbrt *-un-lft-identity
32×add-exp-log add-cbrt-cube
28×sqrt-prod
23×associate-*l*
14×pow1
12×prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down
associate-*r* associate-/l* add-log-exp
div-inv unswap-sqr
frac-2neg clear-num *-commutative
associate-*l/
Counts
4 → 131
Calls
4 calls:
5.0ms
(* (* (cos th) a2) a2)
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
7.0ms
(/ (* (* (cos th) a2) a2) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series331.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(* (* (cos th) a2) a2)
112.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
112.0ms
(/ (* (* (cos th) a2) a2) (sqrt 2.0))
62.0ms
(/ (cos th) (sqrt 2.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
0514978
12569857
25001844

prune296.0ms

Filtered
143 candidates to 89 candidates (62.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh01010
Picked011
Done000
Total14311154

Merged error: 0b

Counts
154 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
0.2b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(/ (pow a2 2) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
142×times-frac
121×add-sqr-sqrt
94×add-cube-cbrt *-un-lft-identity
77×sqrt-prod
53×associate-*r*
41×unpow-prod-down
33×add-exp-log
25×associate-*l* add-cbrt-cube
15×unpow2 sqr-pow
12×associate-/r* unswap-sqr
11×pow1 associate-/l*
10×prod-exp
div-exp
cbrt-unprod
cbrt-undiv
pow-prod-down div-inv add-log-exp
pow-to-exp frac-2neg pow-exp clear-num *-commutative
associate-*r/ associate-*l/
Counts
4 → 240
Calls
4 calls:
16.0ms
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
6.0ms
(/ (pow a2 2) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series352.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
113.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
65.0ms
(/ (pow a2 2) (sqrt 2.0))
59.0ms
(/ (cos th) (sqrt 2.0))

simplify89.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
06931786
130171552
250011540

prune478.0ms

Filtered
252 candidates to 142 candidates (56.3%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New2511252
Fresh189
Picked011
Done101
Total25310263

Merged error: 0b

Counts
263 → 10

regimes317.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 (0.0ms)

IterNodesCost
01711
11711

end0.0ms

sample2.6s

Algorithm
intervals
Results
963.0ms2562×body1280valid
540.0ms2079×body640valid
506.0ms7993×body80valid
206.0ms1065×body320valid
71.0ms537×body160valid

Profiling

Loading profile data...