Details

Time bar (total: 7.0s)

sample79.0ms

Algorithm
intervals
Results
29.0ms94×body1280valid
14.0ms68×body640valid
13.0ms259×body80valid
3.0ms23×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.7b

localize12.0ms

Local error

Found 4 expressions with local error:

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

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

series367.0ms

Counts
4 → 12
Calls
4 calls:
122.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
119.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
65.0ms
(/ (cos th) (sqrt 2.0))
60.0ms
(/ (cos th) (sqrt 2.0))

simplify54.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
05041284
120091156
250011136

prune493.0ms

Pruning

13 alts after pruning (13 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.4b
(* (/ (cos th) (sqrt 2.0)) a2)
0.7b
(/ (cos th) (sqrt 2.0))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite36.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
associate-*r* pow-prod-down div-inv add-log-exp
frac-2neg associate-*l/ clear-num *-commutative
Counts
4 → 165
Calls
4 calls:
9.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
12.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
4.0ms
(/ (cos th) (sqrt 2.0))
5.0ms
(/ (cos th) (sqrt 2.0))

series357.0ms

Counts
4 → 12
Calls
4 calls:
121.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
108.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
67.0ms
(/ (cos th) (sqrt 2.0))
61.0ms
(/ (cos th) (sqrt 2.0))

simplify53.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04431207
118051104
250011084

prune495.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
44×times-frac
38×add-cube-cbrt *-un-lft-identity
29×add-exp-log add-cbrt-cube
28×sqrt-prod
23×associate-*l*
12×associate-/r*
11×pow1
10×prod-exp cbrt-unprod
cbrt-undiv div-exp associate-*r*
pow-prod-down associate-/l* add-log-exp
associate-*l/ div-inv unswap-sqr
frac-2neg clear-num *-commutative
Counts
4 → 131
Calls
4 calls:
8.0ms
(* (* (/ (cos th) (sqrt 2.0)) a2) a2)
8.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2.0))
8.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
5.0ms
(/ (cos th) (sqrt 2.0))

series411.0ms

Counts
4 → 12
Calls
4 calls:
116.0ms
(* (* (/ (cos th) (sqrt 2.0)) a2) a2)
122.0ms
(/ (* (cos th) (* a1 a1)) (sqrt 2.0))
109.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
65.0ms
(/ (cos th) (sqrt 2.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
143 → 143
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0500981
12377863
25001850

prune577.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0b

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
94×times-frac
69×add-sqr-sqrt
61×add-exp-log add-cube-cbrt *-un-lft-identity
42×add-cbrt-cube
40×sqrt-prod
36×cbrt-prod
22×associate-*l*
21×cbrt-undiv div-exp
20×prod-exp cbrt-unprod
16×associate-/r*
14×div-inv
associate-/l*
pow1
add-log-exp
frac-2neg associate-*r* clear-num unswap-sqr
pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
4 → 190
Calls
4 calls:
15.0ms
(/ (/ (* (cos th) (* a1 a1)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0)))
13.0ms
(/ (* (cos th) (* a1 a1)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
9.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
5.0ms
(/ (cos th) (sqrt 2.0))

series680.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(/ (/ (* (cos th) (* a1 a1)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0)))) (cbrt (sqrt 2.0)))
387.0ms
(/ (* (cos th) (* a1 a1)) (* (cbrt (sqrt 2.0)) (cbrt (sqrt 2.0))))
108.0ms
(* (/ (cos th) (sqrt 2.0)) a2)
69.0ms
(/ (cos th) (sqrt 2.0))

simplify89.0ms

Algorithm
egg-herbie
Counts
202 → 202
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
07282525
135882172
250012107

prune554.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

regimes237.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02018
12018

end0.0ms

sample2.3s

Algorithm
intervals
Results
824.0ms2514×body1280valid
463.0ms2107×body640valid
408.0ms8090×body80valid
164.0ms1057×body320valid
61.0ms549×body160valid