Details

Time bar (total: 8.9s)

sample85.0ms

Algorithm
intervals
Results
27.0ms83×body1280valid
21.0ms82×body640valid
13.0ms250×body80valid
6.0ms41×body320valid
1.0ms14×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.3b
(* (/ (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))

rewrite48.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:
19.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
14.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
4.0ms
(/ (cos th) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series359.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
114.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
64.0ms
(/ (cos th) (sqrt 2.0))
60.0ms
(/ (cos th) (sqrt 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250021136

prune478.0ms

Pruning

11 alts after pruning (11 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)) (* a1 a1))
0.6b
(/ (cos th) (sqrt (sqrt 2.0)))
0.6b
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite75.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:
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
21.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
4.0ms
(/ (cos th) (sqrt 2.0))

series347.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
103.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
67.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
66.0ms
(/ (cos th) (sqrt 2.0))

simplify117.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
011156666
145695845
250025839

prune1.1s

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

rewrite70.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
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 → 466
Calls
4 calls:
11.0ms
(* (/ (cos th) (sqrt 2.0)) a1)
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
17.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
4.0ms
(/ (cos th) (sqrt 2.0))

series329.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(* (/ (cos th) (sqrt 2.0)) a1)
103.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
59.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
64.0ms
(/ (cos th) (sqrt 2.0))

simplify114.0ms

Algorithm
egg-herbie
Counts
478 → 478
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
010556589
142965793
250025784

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

rewrite184.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:
94.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a2 a2))
3.0ms
(/ a1 (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
17.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

series340.0ms

Counts
4 → 12
Calls
4 calls:
120.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a2 a2))
52.0ms
(/ a1 (sqrt 2.0))
107.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
61.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

simplify109.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
015689843
150028682

prune1.7s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes216.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
02621
12621

end0.0ms

sample2.2s

Algorithm
intervals
Results
796.0ms2462×body1280valid
479.0ms2128×body640valid
405.0ms8029×body80valid
151.0ms998×body320valid
56.0ms526×body160valid