Details

Time bar (total: 8.0s)

sample77.0ms

Algorithm
intervals
Results
23.0ms67×body1280valid
16.0ms70×body640valid
14.0ms257×body80valid
6.0ms39×body320valid
2.0ms17×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.5b

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

rewrite51.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:
16.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
20.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
4.0ms
(/ (cos th) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series340.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
05041284
120091156
250021136

prune482.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite87.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:
16.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
19.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
7.0ms
(/ (cos th) (sqrt 2.0))

series326.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
59.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
99.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
57.0ms
(/ (cos th) (sqrt 2.0))

simplify108.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
011156666
145695845
250025839

prune880.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.6b
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.6b
(/ (cos th) (sqrt (sqrt 2.0)))
0.6b
(/ (cos th) (sqrt (sqrt 2.0)))

rewrite119.0ms

Algorithm
rewrite-expression-head
Rules
1188×sqrt-prod
1152×times-frac
620×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
68×associate-/l*
36×associate-/r*
24×div-inv
18×add-exp-log add-cbrt-cube
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
associate-/l/
Counts
4 → 770
Calls
4 calls:
19.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
21.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

series322.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
64.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
97.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
97.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

simplify133.0ms

Algorithm
egg-herbie
Counts
782 → 782
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
086912144
1341910626
2500110588

prune1.3s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
0.2b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
0.3b
(/ (pow a1 2) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite63.0ms

Algorithm
rewrite-expression-head
Rules
142×times-frac
121×add-sqr-sqrt
94×add-cube-cbrt *-un-lft-identity
77×sqrt-prod
53×associate-*r*
41×unpow-prod-down
33×add-exp-log
25×associate-*l* add-cbrt-cube
15×unpow2 sqr-pow
12×associate-/r* unswap-sqr
11×pow1 associate-/l*
10×prod-exp
div-exp
cbrt-unprod
cbrt-undiv
pow-prod-down div-inv add-log-exp
pow-to-exp frac-2neg pow-exp clear-num *-commutative
associate-*r/ associate-*l/
Counts
4 → 240
Calls
4 calls:
23.0ms
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
16.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (pow a1 2) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series346.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (cos th) (/ (pow a1 2) (sqrt 2.0)))
112.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
63.0ms
(/ (pow a1 2) (sqrt 2.0))
57.0ms
(/ (cos th) (sqrt 2.0))

simplify75.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06941786
130241552
250011540

prune594.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

regimes177.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02014
12014

end0.0ms

sample2.4s

Algorithm
intervals
Results
884.0ms2590×body1280valid
472.0ms2032×body640valid
434.0ms8026×body80valid
181.0ms1071×body320valid
64.0ms556×body160valid