Details

Time bar (total: 7.7s)

sample81.0ms

Algorithm
intervals
Results
28.0ms88×body1280valid
15.0ms67×body640valid
12.0ms246×body80valid
9.0ms35×body320valid
2.0ms15×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune6.0ms

Pruning

1 alts after pruning (1 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))
16.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
4.0ms
(/ (cos th) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series337.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
62.0ms
(/ (cos th) (sqrt 2.0))
58.0ms
(/ (cos th) (sqrt 2.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05041284
120091156
250011136

prune456.0ms

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)) (* a1 a1))
0.4b
(* (/ (cos th) (sqrt 2.0)) a2)
0.7b
(/ (cos th) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite46.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:
18.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
12.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
4.0ms
(/ (cos th) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series331.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
101.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
62.0ms
(/ (cos th) (sqrt 2.0))
57.0ms
(/ (cos th) (sqrt 2.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
04431207
118051104
250011084

prune461.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
56×times-frac
53×add-sqr-sqrt
48×add-cube-cbrt *-un-lft-identity
34×sqrt-prod
29×add-exp-log add-cbrt-cube
23×associate-*l*
14×pow1
12×associate-/r*
11×prod-exp cbrt-unprod
pow-prod-down associate-/l*
cbrt-undiv div-exp
associate-*r* add-log-exp
div-inv unswap-sqr
frac-2neg associate-*l/ clear-num *-commutative
associate-*r/
Counts
4 → 144
Calls
4 calls:
18.0ms
(* (* (cos th) (/ a2 (sqrt 2.0))) a2)
16.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
3.0ms
(/ a2 (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series342.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (* (cos th) (/ a2 (sqrt 2.0))) a2)
111.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
58.0ms
(/ a2 (sqrt 2.0))
62.0ms
(/ (cos th) (sqrt 2.0))

simplify62.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
05131039
12269924
25001904

prune380.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite202.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:
102.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
3.0ms
(/ a2 (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
23.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

series341.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
58.0ms
(/ a2 (sqrt 2.0))
99.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
70.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

simplify109.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (31.0ms)

IterNodesCost
015699843
150028682

prune1.7s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

regimes278.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03123
13123

end0.0ms

sample2.3s

Algorithm
intervals
Results
821.0ms2539×body1280valid
492.0ms2251×body640valid
399.0ms8054×body80valid
173.0ms1053×body320valid
49.0ms473×body160valid