Details

Time bar (total: 8.9s)

sample79.0ms

Algorithm
intervals
Results
22.0ms67×body1280valid
21.0ms82×body640valid
14.0ms263×body80valid
5.0ms29×body320valid
1.0ms13×body160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0267
1576
2876
31146
41326
51516
61716
71736
81736

prune8.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: 0.4b

Counts
2 → 2

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

rewrite60.0ms

Algorithm
rewrite-expression-head
Rules
160×add-sqr-sqrt
92×times-frac
76×add-cube-cbrt *-un-lft-identity
58×sqrt-prod
50×associate-*l*
38×unswap-sqr
36×associate-*r*
32×add-exp-log add-cbrt-cube
24×associate-*l/ associate-/r*
14×pow1
12×swap-sqr prod-exp cbrt-unprod associate-/l*
10×*-commutative
cbrt-undiv div-exp pow-prod-down
expm1-log1p-u frac-2neg clear-num log1p-expm1-u div-inv add-log-exp
Counts
4 → 250
Calls
4 calls:
18.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
18.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
8.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series368.0ms

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

simplify106.0ms

Algorithm
egg-herbie
Counts
262 → 262
Iterations

Useful iterations: 2 (86.0ms)

IterNodesCost
07541862
141731710
250011700

prune464.0ms

Filtered
262 candidates to 158 candidates (39.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New2548262
Fresh011
Picked101
Done000
Total2559264

Merged error: 0b

Counts
264 → 9

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.5b
(/ (* (cos th) (fabs a2)) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))
21.7b
(sqrt (* a2 a2))

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
155×add-sqr-sqrt
118×times-frac
92×add-cube-cbrt *-un-lft-identity
83×sqrt-prod
49×associate-*l*
42×associate-*r*
28×unswap-sqr
23×add-exp-log add-cbrt-cube
18×associate-/r* associate-/l*
17×pow1
14×*-commutative
12×associate-*l/
10×swap-sqr
prod-exp cbrt-unprod
sqrt-pow1
cbrt-undiv rem-sqrt-square div-exp
expm1-log1p-u pow-prod-down log1p-expm1-u add-log-exp
frac-2neg clear-num div-inv
pow2 pow-plus pow1/2 pow-sqr pow-prod-up
Counts
4 → 267
Calls
4 calls:
22.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
9.0ms
(/ (* (cos th) (fabs a2)) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(sqrt (* a2 a2))

series263.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
73.0ms
(/ (* (cos th) (fabs a2)) (sqrt 2.0))
65.0ms
(/ (cos th) (sqrt 2.0))
8.0ms
(sqrt (* a2 a2))

simplify104.0ms

Algorithm
egg-herbie
Counts
279 → 279
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
07882055
136671953
250011948

prune622.0ms

Filtered
279 candidates to 170 candidates (39.1%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New2781279
Fresh178
Picked101
Done000
Total2808288

Merged error: 0b

Counts
288 → 8

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(* (/ (fabs a2) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (/ (cos th) (cbrt (sqrt 2.0))))
0.7b
(/ (cos th) (sqrt 2.0))
21.7b
(sqrt (* a2 a2))

rewrite250.0ms

Algorithm
rewrite-expression-head
Rules
1352×add-sqr-sqrt
1194×cbrt-prod
1150×associate-/r*
735×frac-times
641×sqrt-prod
572×*-un-lft-identity
571×add-cube-cbrt
332×associate-*l*
324×times-frac
300×unswap-sqr
239×swap-sqr
223×associate-*r*
205×associate-/l*
75×add-cbrt-cube
69×clear-num
68×frac-2neg
61×associate-*l/
39×add-exp-log
36×cbrt-unprod
31×*-commutative
30×cbrt-undiv
19×pow1
15×associate-*r/
14×prod-exp
10×div-exp
sqrt-pow1
rem-sqrt-square pow-prod-down
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
un-div-inv
pow2 pow-plus pow1/2 pow-sqr pow-prod-up
Counts
4 → 1233
Calls
4 calls:
18.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
102.0ms
(* (/ (fabs a2) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (/ (cos th) (cbrt (sqrt 2.0))))
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(sqrt (* a2 a2))

series298.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
100.0ms
(* (/ (fabs a2) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (/ (cos th) (cbrt (sqrt 2.0))))
68.0ms
(/ (cos th) (sqrt 2.0))
9.0ms
(sqrt (* a2 a2))

simplify252.0ms

Algorithm
egg-herbie
Counts
1245 → 1245
Iterations

Useful iterations: 1 (75.0ms)

IterNodesCost
0377222064
1500121398

prune2.7s

Filtered
1245 candidates to 541 candidates (56.5%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New124231245
Fresh347
Picked101
Done000
Total124671253

Merged error: 0b

Counts
1253 → 7

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma a1 a1 (* a2 a2))
0.2b
(* (cos th) (fma a1 a1 (* a2 a2)))
0.4b
(/ (* (cos th) (fma a1 a1 (* a2 a2))) (sqrt 2.0))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
72×times-frac
68×add-sqr-sqrt
52×add-cube-cbrt *-un-lft-identity
39×sqrt-prod
24×associate-*r* associate-*l*
12×associate-/l*
10×add-exp-log add-cbrt-cube
*-commutative unswap-sqr
associate-/r*
pow1
expm1-log1p-u fma-udef log1p-expm1-u add-log-exp
cbrt-undiv div-exp prod-exp cbrt-unprod
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num div-inv
Counts
3 → 138
Calls
3 calls:
1.0ms
(fma a1 a1 (* a2 a2))
4.0ms
(* (cos th) (fma a1 a1 (* a2 a2)))
10.0ms
(/ (* (cos th) (fma a1 a1 (* a2 a2))) (sqrt 2.0))

series396.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(fma a1 a1 (* a2 a2))
117.0ms
(* (cos th) (fma a1 a1 (* a2 a2)))
238.0ms
(/ (* (cos th) (fma a1 a1 (* a2 a2))) (sqrt 2.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
03911439
116661325
250011292

prune243.0ms

Filtered
147 candidates to 93 candidates (36.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1461147
Fresh336
Picked011
Done000
Total1495154

Merged error: 0b

Counts
154 → 5

regimes179.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0116
1116

end0.0ms

sample2.4s

Algorithm
intervals
Results
860.0ms2509×body1280valid
485.0ms2099×body640valid
437.0ms8111×body80valid
166.0ms1003×body320valid
61.0ms528×body160valid