Details

Time bar (total: 8.6s)

sample84.0ms

Algorithm
intervals
Results
26.0ms83×body1280valid
20.0ms82×body640valid
14.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

prune5.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.5b

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

rewrite34.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:
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series345.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
110.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
62.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

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

rewrite72.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:
10.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
16.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt 2.0))

series341.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 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))

simplify131.0ms

Algorithm
egg-herbie
Counts
481 → 481
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
011156666
145695845
250025839

prune847.0ms

Pruning

10 alts after pruning (10 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)
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))

rewrite69.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:
8.0ms
(* (/ (cos th) (sqrt 2.0)) a1)
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
21.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt 2.0))

series326.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
478 → 478
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
010556589
142965793
250025784

prune1.0s

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

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

series329.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a2 a2))
57.0ms
(/ a1 (sqrt 2.0))
94.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
65.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))

simplify107.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
015689843
150028682

prune1.6s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

regimes208.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
811.0ms2462×body1280valid
452.0ms2128×body640valid
402.0ms8029×body80valid
154.0ms998×body320valid
55.0ms526×body160valid