Details

Time bar (total: 8.8s)

sample77.0ms

Algorithm
intervals
Results
25.0ms76×body1280valid
17.0ms258×body80valid
14.0ms66×body640valid
4.0ms27×body320valid
2.0ms17×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.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series347.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250021136

prune452.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

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

series335.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
107.0ms
(* (/ (cos th) (sqrt 2.0)) a1)
57.0ms
(/ (cos th) (sqrt 2.0))
63.0ms
(/ (cos th) (sqrt 2.0))

simplify49.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
04441207
118021104
250011084

prune441.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite146.0ms

Algorithm
rewrite-expression-head
Rules
1149×sqrt-prod
1137×times-frac
640×add-sqr-sqrt
593×add-cube-cbrt *-un-lft-identity
283×associate-*l*
37×associate-/l*
24×associate-/r*
23×div-inv
22×add-exp-log add-cbrt-cube
13×unswap-sqr
cbrt-undiv div-exp
pow1
add-log-exp
frac-2neg associate-*r* prod-exp clear-num cbrt-unprod
pow-prod-down associate-*l/ *-commutative associate-/l/
Counts
4 → 739
Calls
4 calls:
53.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) 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))

series518.0ms

Counts
4 → 12
Calls
4 calls:
293.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) a1)
96.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
63.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
65.0ms
(/ (cos th) (sqrt 2.0))

simplify142.0ms

Algorithm
egg-herbie
Counts
751 → 751
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
013199484
149678360
250018360

prune1.6s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* (/ 1 (sqrt (sqrt (sqrt 2.0)))) (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0))))) a1)
0.7b
(/ (cos th) (sqrt (sqrt 2.0)))
0.7b
(* (/ 1 (sqrt (sqrt (sqrt 2.0)))) (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0)))))
0.7b
(/ (cos th) (sqrt 2.0))

rewrite368.0ms

Algorithm
rewrite-expression-head
Rules
1512×sqrt-prod
1165×times-frac
1046×add-sqr-sqrt
488×*-un-lft-identity
420×add-cube-cbrt
379×associate-*r*
153×unswap-sqr
100×add-exp-log
58×add-cbrt-cube
41×associate-*l*
38×div-exp
37×prod-exp
20×cbrt-undiv
19×cbrt-unprod
16×div-inv
15×associate-/r*
11×pow1
rec-exp 1-exp associate-/l*
associate-*l/
pow-prod-down add-log-exp
frac-times frac-2neg associate-*r/ clear-num *-commutative
Counts
4 → 726
Calls
4 calls:
44.0ms
(* (* (/ 1 (sqrt (sqrt (sqrt 2.0)))) (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0))))) a1)
6.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
235.0ms
(* (/ 1 (sqrt (sqrt (sqrt 2.0)))) (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0)))))
5.0ms
(/ (cos th) (sqrt 2.0))

series339.0ms

Counts
4 → 12
Calls
4 calls:
108.0ms
(* (* (/ 1 (sqrt (sqrt (sqrt 2.0)))) (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0))))) a1)
96.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
68.0ms
(* (/ 1 (sqrt (sqrt (sqrt 2.0)))) (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt (sqrt 2.0)))))
67.0ms
(/ (cos th) (sqrt 2.0))

simplify143.0ms

Algorithm
egg-herbie
Counts
738 → 738
Iterations

Useful iterations: 1 (44.0ms)

IterNodesCost
0241713725
1500112443

prune1.2s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes167.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
02625
12625

end0.0ms

sample2.3s

Algorithm
intervals
Results
806.0ms2456×body1280valid
458.0ms2105×body640valid
420.0ms8133×body80valid
159.0ms1017×body320valid
60.0ms537×body160valid