Details

Time bar (total: 7.5s)

sample113.0ms

Algorithm
intervals
Results
38.0ms77×body1280valid
24.0ms79×body640valid
18.0ms250×body80valid
8.0ms33×body320valid
3.0ms21×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune11.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.5b

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

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)) (* 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))

series53.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250011136

prune340.0ms

Filtered
180 candidates to 116 candidates (35.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New16911180
Fresh000
Picked101
Done000
Total17011181

Merged error: 0.0b

Counts
181 → 11

localize13.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos th) (* a2 a2))
0.3b
(* (/ (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))
8.0ms
(/ (* (cos th) (* a2 a2)) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series49.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0501987
12125864
25002850

prune224.0ms

Filtered
144 candidates to 91 candidates (36.8%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1422144
Fresh2810
Picked011
Done000
Total14411155

Merged error: 0b

Counts
155 → 11

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
256×sqrt-prod
254×times-frac
125×add-sqr-sqrt
120×add-cube-cbrt *-un-lft-identity
41×add-exp-log add-cbrt-cube
24×associate-/r*
22×associate-*l*
17×associate-/l*
14×div-inv
13×cbrt-undiv div-exp
12×prod-exp cbrt-unprod
pow1
add-log-exp
frac-2neg pow-prod-down clear-num unswap-sqr
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 277
Calls
4 calls:
10.0ms
(/ (* (cos th) (* a2 a2)) (sqrt (sqrt 2.0)))
15.0ms
(/ (/ (* (cos th) (* a2 a2)) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (cos th) (sqrt 2.0))

series61.0ms

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

simplify102.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 2 (70.0ms)

IterNodesCost
09143480
141492999
250022994

prune512.0ms

Filtered
289 candidates to 140 candidates (51.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New2890289
Fresh099
Picked011
Done011
Total28911300

Merged error: 0b

Counts
300 → 11

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

rewrite140.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:
50.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
6.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))

series35.0ms

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

simplify112.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015449868
150018666

prune1.6s

Filtered
756 candidates to 353 candidates (53.3%)
Pruning

11 alts after pruning (8 fresh and 3 done)

PrunedKeptTotal
New7560756
Fresh088
Picked011
Done022
Total75611767

Merged error: 0b

Counts
767 → 11

regimes611.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
01611
11611

end0.0ms

sample3.3s

Algorithm
intervals
Results
1.2s2528×body1280valid
652.0ms2080×body640valid
629.0ms7943×body80valid
256.0ms1060×body320valid
84.0ms534×body160valid

Profiling

Loading profile data...