Details

Time bar (total: 8.8s)

sample81.0ms

Algorithm
intervals
Results
27.0ms81×body1280valid
17.0ms75×body640valid
14.0ms277×body80valid
5.0ms33×body320valid
2.0ms15×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

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

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

series356.0ms

Counts
4 → 12
Calls
4 calls:
114.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
113.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
63.0ms
(/ (cos th) (sqrt 2.0))
67.0ms
(/ (cos th) (sqrt 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
05041284
120091156
250021136

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
142×times-frac
121×add-sqr-sqrt
94×add-cube-cbrt *-un-lft-identity
77×sqrt-prod
53×associate-*r*
41×unpow-prod-down
33×add-exp-log
25×associate-*l* add-cbrt-cube
15×unpow2 sqr-pow
12×associate-/r* unswap-sqr
11×pow1 associate-/l*
10×prod-exp
div-exp
cbrt-unprod
cbrt-undiv
pow-prod-down div-inv add-log-exp
pow-to-exp frac-2neg pow-exp clear-num *-commutative
associate-*r/ associate-*l/
Counts
4 → 240
Calls
4 calls:
21.0ms
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
5.0ms
(/ (pow a2 2) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series340.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(* (cos th) (/ (pow a2 2) (sqrt 2.0)))
108.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
62.0ms
(/ (pow a2 2) (sqrt 2.0))
59.0ms
(/ (cos th) (sqrt 2.0))

simplify81.0ms

Algorithm
egg-herbie
Counts
252 → 252
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06931786
130171552
250011540

prune595.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite186.0ms

Algorithm
rewrite-expression-head
Rules
1167×times-frac
1164×sqrt-prod
643×add-sqr-sqrt
609×add-cube-cbrt *-un-lft-identity
283×associate-*l*
42×associate-/l*
37×add-exp-log
34×add-cbrt-cube
24×associate-/r*
23×div-inv
21×unpow-prod-down
13×div-exp unswap-sqr
11×cbrt-undiv
pow1 prod-exp cbrt-unprod
unpow2 sqr-pow
add-log-exp
frac-2neg pow-prod-down clear-num
pow-to-exp associate-*r* associate-*l/ pow-exp *-commutative associate-/l/
Counts
4 → 781
Calls
4 calls:
92.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
5.0ms
(/ (pow a2 2) (sqrt 2.0))
20.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

series337.0ms

Counts
4 → 12
Calls
4 calls:
111.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a1 a1))
61.0ms
(/ (pow a2 2) (sqrt 2.0))
59.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
106.0ms
(/ (cos th) (sqrt (sqrt 2.0)))

simplify113.0ms

Algorithm
egg-herbie
Counts
793 → 793
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
0165010194
150018949

prune1.8s

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize24.0ms

Local error

Found 4 expressions with local error:

1.0b
(cbrt 2.0)
1.0b
(cbrt 2.0)
1.0b
(/ 1 (sqrt (sqrt 2.0)))
1.0b
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt (cbrt 2.0))))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
867×sqrt-prod
750×times-frac
403×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
102×cbrt-prod
34×associate-/l*
21×associate-/r*
17×add-exp-log
15×div-inv
11×sqrt-pow1 add-cbrt-cube
pow1 div-exp
pow-flip
cbrt-undiv pow1/3 add-log-exp
pow1/2
rec-exp frac-2neg 1-exp clear-num pow-div
associate-/l/ inv-pow
Counts
4 → 515
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
4.0ms
(/ 1 (sqrt (sqrt 2.0)))
20.0ms
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt (cbrt 2.0))))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(cbrt 2.0)
0.0ms
(cbrt 2.0)
0.0ms
(/ 1 (sqrt (sqrt 2.0)))
0.0ms
(/ (/ 1 (sqrt (sqrt 2.0))) (sqrt (sqrt (cbrt 2.0))))

simplify86.0ms

Algorithm
egg-herbie
Counts
519 → 519
Iterations

Useful iterations: 1 (24.0ms)

IterNodesCost
010677907
150017234

prune1.2s

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes318.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03123
13123

end0.0ms

sample2.3s

Algorithm
intervals
Results
831.0ms2488×body1280valid
465.0ms2085×body640valid
412.0ms7982×body80valid
171.0ms1075×body320valid
52.0ms489×body160valid