Details

Time bar (total: 6.8s)

sample108.0ms

Algorithm
intervals
Results
35.0ms80×body1280valid
21.0ms57×body640valid
19.0ms259×body80valid
8.0ms38×body320valid
3.0ms18×body160valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune9.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 0.4b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite37.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)) (* a2 a2))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
4.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series42.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
6.0ms
(/ (cos th) (sqrt 2.0))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify55.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05041284
120091156
250011136

prune335.0ms

Filtered
180 candidates to 116 candidates (35.6%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16812180
Fresh000
Picked101
Done000
Total16912181

Merged error: 0b

Counts
181 → 12

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.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) (* a1 a1))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
8.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series46.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(* (cos th) (* a1 a1))
14.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
16.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2.0))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0501987
12139864
25002850

prune214.0ms

Filtered
144 candidates to 91 candidates (36.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1413144
Fresh5611
Picked101
Done000
Total1479156

Merged error: 0b

Counts
156 → 9

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

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

series44.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* (cos th) a1)
14.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
17.0ms
(/ (* (* (cos th) a1) a1) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0517953
12497843
25001830

prune210.0ms

Filtered
143 candidates to 92 candidates (35.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1430143
Fresh088
Picked011
Done000
Total1439152

Merged error: 0b

Counts
152 → 9

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite136.0ms

Algorithm
rewrite-expression-head
Rules
1149×sqrt-prod
1137×times-frac
626×add-sqr-sqrt
592×add-cube-cbrt *-un-lft-identity
283×associate-*l*
37×associate-/l*
34×add-exp-log add-cbrt-cube
24×associate-/r*
23×div-inv
13×unswap-sqr
11×cbrt-undiv div-exp
pow1 prod-exp cbrt-unprod
add-log-exp
frac-2neg pow-prod-down clear-num
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 744
Calls
4 calls:
48.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
16.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt 2.0))

series33.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
8.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
5.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt 2.0))

simplify116.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
015449868
150018666

prune1.5s

Filtered
756 candidates to 353 candidates (53.3%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New7560756
Fresh077
Picked011
Done011
Total7569765

Merged error: 0b

Counts
765 → 9

regimes504.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01711
11711

end0.0ms

sample3.2s

Algorithm
intervals
Results
1.1s2475×body1280valid
632.0ms2089×body640valid
583.0ms8097×body80valid
220.0ms1020×body320valid
78.0ms531×body160valid

Profiling

Loading profile data...