Details

Time bar (total: 7.5s)

sample82.0ms

Algorithm
intervals
Results
24.0ms79×body1280valid
17.0ms80×body640valid
12.0ms260×body80valid
6.0ms37×body320valid
2.0ms20×body160valid

simplify16.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

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

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

series317.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250011136

prune456.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite120.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:
33.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
29.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
15.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
10.0ms
(/ (cos th) (sqrt 2.0))

series308.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
58.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
89.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
59.0ms
(/ (cos th) (sqrt 2.0))

simplify109.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
011156666
145685845
250015839

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
44×times-frac
43×add-sqr-sqrt
37×add-cube-cbrt *-un-lft-identity
32×add-exp-log add-cbrt-cube
28×sqrt-prod
25×associate-*l*
14×pow1
12×prod-exp associate-/r* cbrt-unprod
cbrt-undiv div-exp pow-prod-down
associate-/l* add-log-exp unswap-sqr
div-inv
frac-2neg associate-*r* clear-num *-commutative
associate-*l/
Counts
4 → 132
Calls
4 calls:
19.0ms
(* (cos th) (* a1 a1))
34.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
23.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2.0))
10.0ms
(/ (cos th) (sqrt 2.0))

series306.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (cos th) (* a1 a1))
102.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
101.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2.0))
58.0ms
(/ (cos th) (sqrt 2.0))

simplify51.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0501987
12139864
25002850

prune356.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite117.0ms

Algorithm
rewrite-expression-head
Rules
94×times-frac
68×add-exp-log
65×add-sqr-sqrt
60×add-cube-cbrt *-un-lft-identity
49×add-cbrt-cube
40×sqrt-prod
36×cbrt-prod
24×prod-exp cbrt-unprod
22×cbrt-undiv div-exp associate-*l*
16×associate-/r*
14×div-inv
pow1 associate-/l*
add-log-exp
frac-2neg pow-prod-down clear-num unswap-sqr
associate-*r* associate-*l/ *-commutative associate-/l/
Counts
4 → 193
Calls
4 calls:
30.0ms
(/ (* (cos th) (* a1 a1)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
34.0ms
(/ (/ (* (cos th) (* a1 a1)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0)))
35.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
10.0ms
(/ (cos th) (sqrt 2.0))

series815.0ms

Counts
4 → 12
Calls
4 calls:
549.0ms
(/ (* (cos th) (* a1 a1)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
105.0ms
(/ (/ (* (cos th) (* a1 a1)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0)))
103.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
58.0ms
(/ (cos th) (sqrt 2.0))

simplify98.0ms

Algorithm
egg-herbie
Counts
205 → 205
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07892602
138462224
250012163

prune530.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

regimes318.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
02018
12018

end0.0ms

sample2.4s

Algorithm
intervals
Results
806.0ms2492×body1280valid
460.0ms2140×body640valid
405.0ms8054×body80valid
160.0ms1045×body320valid
70.0ms584×body160valid