Details

Time bar (total: 7.1s)

sample83.0ms

Algorithm
intervals
Results
28.0ms83×body1280valid
13.0ms267×body80valid
13.0ms62×body640valid
5.0ms36×body320valid
2.0ms23×body160valid

simplify20.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0267
1576
2876
31146
41326
51516
61716
71736
81736

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite93.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
expm1-log1p-u log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*r* associate-*l/ clear-num *-commutative
Counts
4 → 176
Calls
4 calls:
32.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
10.0ms
(/ (cos th) (sqrt 2.0))
10.0ms
(/ (cos th) (sqrt 2.0))
34.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))

series348.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
188 → 188
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05101324
120211196
250011174

prune474.0ms

Pruning

10 alts after pruning (10 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.6b
(/ (cos th) (sqrt 2.0))
0.6b
(/ (cos th) (sqrt 2.0))

rewrite81.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
expm1-log1p-u associate-*r* pow-prod-down log1p-expm1-u div-inv add-log-exp
frac-2neg associate-*l/ clear-num *-commutative
Counts
4 → 173
Calls
4 calls:
30.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
20.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
13.0ms
(/ (cos th) (sqrt 2.0))
10.0ms
(/ (cos th) (sqrt 2.0))

series544.0ms

Counts
4 → 12
Calls
4 calls:
321.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
103.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
63.0ms
(/ (cos th) (sqrt 2.0))
57.0ms
(/ (cos th) (sqrt 2.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
185 → 185
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04491245
118161142
250011120

prune467.0ms

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

rewrite106.0ms

Algorithm
rewrite-expression-head
Rules
616×sqrt-prod
614×times-frac
349×add-sqr-sqrt
341×add-cube-cbrt *-un-lft-identity
37×associate-/l*
24×associate-/r*
22×associate-*l*
18×add-exp-log add-cbrt-cube
14×div-inv
pow1 cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg associate-*r* clear-num unswap-sqr
prod-exp cbrt-unprod
pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
4 → 474
Calls
4 calls:
20.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
10.0ms
(/ (cos th) (sqrt 2.0))
29.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
11.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

series309.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
58.0ms
(/ (cos th) (sqrt 2.0))
56.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
96.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

simplify108.0ms

Algorithm
egg-herbie
Counts
486 → 486
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
010626625
143045829
250025820

prune848.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (pow (/ (cos th) (sqrt 2.0)) 3))
0.6b
(/ (cos th) (sqrt 2.0))
0.6b
(/ (cos th) (sqrt 2.0))
0.8b
(pow (/ (cos th) (sqrt 2.0)) 3)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
108×times-frac
88×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
60×sqrt-prod
50×cbrt-prod
44×unpow-prod-down cube-prod
12×associate-/r*
11×add-exp-log add-cbrt-cube
div-inv associate-/l*
pow1
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv pow-unpow div-exp
cube-div cube-mult frac-2neg unpow3 pow-exp clear-num rem-cube-cbrt sqr-pow
pow-to-exp cbrt-div pow-pow pow1/3 rem-cbrt-cube
Counts
4 → 210
Calls
4 calls:
8.0ms
(cbrt (pow (/ (cos th) (sqrt 2.0)) 3))
10.0ms
(/ (cos th) (sqrt 2.0))
10.0ms
(/ (cos th) (sqrt 2.0))
10.0ms
(pow (/ (cos th) (sqrt 2.0)) 3)

series322.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(cbrt (pow (/ (cos th) (sqrt 2.0)) 3))
60.0ms
(/ (cos th) (sqrt 2.0))
58.0ms
(/ (cos th) (sqrt 2.0))
148.0ms
(pow (/ (cos th) (sqrt 2.0)) 3)

simplify68.0ms

Algorithm
egg-herbie
Counts
222 → 222
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04651705
121611540
250011460

prune464.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.0b

regimes301.0ms

Accuracy

0% (0.5b 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
01915
11915

end0.0ms

sample2.3s

Algorithm
intervals
Results
799.0ms2551×body1280valid
432.0ms2033×body640valid
374.0ms8028×body80valid
165.0ms1105×body320valid
57.0ms544×body160valid