Details

Time bar (total: 9.8s)

sample81.0ms

Algorithm
intervals
Results
30.0ms83×body1280valid
15.0ms69×body640valid
14.0ms256×body80valid
5.0ms30×body320valid
1.0ms11×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

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.7b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.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:
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
19.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
4.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series352.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
119.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
57.0ms
(/ (cos th) (sqrt 2.0))
65.0ms
(/ (cos th) (sqrt 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05041284
120091156
250011136

prune490.0ms

Pruning

12 alts after pruning (12 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)) (* a1 a1))
0.3b
(* (/ (cos th) (sqrt 2.0)) a2)
0.7b
(/ (cos th) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite47.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:
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
17.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
4.0ms
(/ (cos th) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series346.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
111.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
56.0ms
(/ (cos th) (sqrt 2.0))
66.0ms
(/ (cos th) (sqrt 2.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04431207
118051104
250011084

prune484.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite196.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:
99.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) a2)
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
22.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
4.0ms
(/ (cos th) (sqrt 2.0))

series331.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) a2)
97.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
63.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
66.0ms
(/ (cos th) (sqrt 2.0))

simplify147.0ms

Algorithm
egg-herbie
Counts
751 → 751
Iterations

Useful iterations: 1 (26.0ms)

IterNodesCost
013199484
149668360
250018360

prune2.0s

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.3b
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) a2)
0.6b
(/ 1 (/ (sqrt 2.0) (cos th)))
0.6b
(/ (cos th) (sqrt (sqrt 2.0)))
0.7b
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

rewrite207.0ms

Algorithm
rewrite-expression-head
Rules
1257×times-frac
1173×sqrt-prod
700×add-sqr-sqrt
653×add-cube-cbrt *-un-lft-identity
283×associate-*l*
40×associate-/r*
37×associate-/l*
31×add-exp-log
27×div-inv
25×add-cbrt-cube
14×div-exp
13×unswap-sqr
10×cbrt-undiv
pow1
add-log-exp
frac-2neg associate-*r* prod-exp clear-num cbrt-unprod
rec-exp 1-exp
pow-flip pow-prod-down associate-*l/ associate-/r/ *-commutative associate-/l/ inv-pow
Counts
4 → 812
Calls
4 calls:
100.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) a2)
8.0ms
(/ 1 (/ (sqrt 2.0) (cos th)))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
20.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

series318.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) a2)
54.0ms
(/ 1 (/ (sqrt 2.0) (cos th)))
98.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
58.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

simplify119.0ms

Algorithm
egg-herbie
Counts
824 → 824
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
0161210336
150019043

prune1.9s

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

regimes325.0ms

Accuracy

0% (0.5b 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
02417
12417

end0.0ms

sample2.3s

Algorithm
intervals
Results
823.0ms2485×body1280valid
470.0ms2094×body640valid
416.0ms7973×body80valid
157.0ms1004×body320valid
55.0ms506×body160valid