Details

Time bar (total: 7.8s)

sample80.0ms

Algorithm
intervals
Results
29.0ms83×body1280valid
15.0ms70×body640valid
12.0ms245×body80valid
6.0ms36×body320valid
2.0ms19×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune7.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (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))

rewrite36.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:
10.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))

series344.0ms

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

simplify56.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250011136

prune479.0ms

Filtered
180 candidates to 116 candidates (64.4%)
Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.4b
(* (/ (cos th) (sqrt 2.0)) 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
74×add-sqr-sqrt
61×add-cube-cbrt *-un-lft-identity
44×associate-*l* sqrt-prod
25×add-exp-log add-cbrt-cube
12×associate-/r*
11×pow1
prod-exp cbrt-unprod
associate-/l* unswap-sqr
cbrt-undiv div-exp
associate-*r* pow-prod-down div-inv add-log-exp
frac-2neg associate-*l/ clear-num *-commutative
Counts
4 → 165
Calls
4 calls:
10.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
8.0ms
(* (/ (cos th) (sqrt 2.0)) a1)
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series331.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
99.0ms
(* (/ (cos th) (sqrt 2.0)) a1)
61.0ms
(/ (cos th) (sqrt 2.0))
60.0ms
(/ (cos th) (sqrt 2.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04441207
118021104
250011084

prune475.0ms

Filtered
177 candidates to 117 candidates (66.1%)
Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

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

series331.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(* (cos th) (/ a1 (sqrt 2.0)))
118.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
52.0ms
(/ a1 (sqrt 2.0))
63.0ms
(/ (cos th) (sqrt 2.0))

simplify57.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05161140
122231043
250011018

prune459.0ms

Filtered
177 candidates to 112 candidates (63.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite153.0ms

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

series524.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) a1)
61.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
298.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
65.0ms
(/ (cos th) (sqrt 2.0))

simplify138.0ms

Algorithm
egg-herbie
Counts
751 → 751
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
013199484
149678360
250018360

prune1.6s

Filtered
751 candidates to 354 candidates (47.1%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

regimes244.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
01915
11915

end0.0ms

sample2.2s

Algorithm
intervals
Results
811.0ms2508×body1280valid
445.0ms2039×body640valid
395.0ms8067×body80valid
169.0ms1110×body320valid
56.0ms547×body160valid