Details

Time bar (total: 9.1s)

analyze767.0ms

Algorithm
search

sample99.0ms

Algorithm
intervals
Results
17.0ms38×body1280valid
16.0ms36×body1280invalid
12.0ms38×body640valid
11.0ms144×body80valid
11.0ms35×body640invalid
6.0ms10×body160valid
6.0ms26×body320valid
3.0ms13×body320invalid
2.0ms11×body160invalid
2.0ms21×body80invalid

simplify14.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

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.8b

Counts
2 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.5b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
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:
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))

series41.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))
5.0ms
(/ (cos th) (sqrt 2.0))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250011136

prune337.0ms

Filtered
116 candidates to 180 candidates (-55.2%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New16812180
Fresh101
Picked101
Done000
Total17012182

Merged error: 0.0b

Counts
182 → 12

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

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

series40.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
04441207
118021104
250011084

prune290.0ms

Filtered
117 candidates to 177 candidates (-51.3%)
Pruning

13 alts after pruning (12 fresh and 1 done)

PrunedKeptTotal
New1761177
Fresh01111
Picked011
Done000
Total17613189

Merged error: 0b

Counts
189 → 13

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.6b
(/ (cos th) (sqrt (sqrt 2.0)))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite138.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:
49.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) a1)
15.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
6.0ms
(/ (cos th) (sqrt 2.0))

series31.0ms

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

simplify158.0ms

Algorithm
egg-herbie
Counts
751 → 751
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
013199484
149678360
250018360

prune1.7s

Filtered
353 candidates to 751 candidates (-112.7%)
Pruning

13 alts after pruning (11 fresh and 2 done)

PrunedKeptTotal
New7510751
Fresh01111
Picked011
Done011
Total75113764

Merged error: 0b

Counts
764 → 13

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
616×sqrt-prod
614×times-frac
345×add-sqr-sqrt
340×add-cube-cbrt *-un-lft-identity
37×associate-/l*
25×add-exp-log add-cbrt-cube
24×associate-/r*
22×associate-*l*
14×div-inv
pow1
cbrt-undiv div-exp
prod-exp cbrt-unprod
add-log-exp
frac-2neg pow-prod-down clear-num unswap-sqr
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 469
Calls
4 calls:
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
15.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
4.0ms
(/ (cos th) (sqrt 2.0))

series36.0ms

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

simplify121.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
011156666
145695845
250015839

prune619.0ms

Filtered
188 candidates to 481 candidates (-155.9%)
Pruning

13 alts after pruning (10 fresh and 3 done)

PrunedKeptTotal
New4801481
Fresh1910
Picked011
Done022
Total48113494

Merged error: 0b

Counts
494 → 13

regimes763.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01915
11915

end0.0ms

analyze753.0ms

Algorithm
search

sample2.8s

Algorithm
intervals
Results
626.0ms1362×body1280valid
530.0ms1169×body1280invalid
361.0ms1127×body640valid
349.0ms4648×body80valid
307.0ms954×body640invalid
130.0ms573×body320valid
112.0ms476×body320invalid
45.0ms290×body160valid
40.0ms497×body80invalid
36.0ms235×body160invalid

Profiling

Loading profile data...