Details

Time bar (total: 10.3s)

sample102.0ms

Algorithm
intervals
Results
35.0ms83×body1280valid
21.0ms251×body80valid
19.0ms62×body640valid
5.0ms25×body320valid
2.0ms13×body160valid

simplify17.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0257
1507
2777
3967
41127
51277
61417
71417

prune11.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.5b

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
0.3b
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
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:
8.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
8.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
4.0ms
(/ (cos th) (sqrt 2.0))
4.0ms
(/ (cos th) (sqrt 2.0))

series40.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* (/ (cos th) (sqrt 2.0)) (* a1 a1))
15.0ms
(* (/ (cos th) (sqrt 2.0)) (* a2 a2))
5.0ms
(/ (cos th) (sqrt 2.0))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify52.0ms

Algorithm
egg-herbie
Counts
180 → 180
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
05041284
120091156
250011136

prune332.0ms

Filtered
180 candidates to 116 candidates (35.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New16911180
Fresh101
Picked101
Done000
Total17111182

Merged error: 0.0b

Counts
182 → 11

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

rewrite127.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:
43.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a2 a2))
14.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
4.0ms
(/ (cos th) (sqrt 2.0))

series40.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(* (/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0))) (* a2 a2))
5.0ms
(/ (/ (cos th) (sqrt (sqrt 2.0))) (sqrt (sqrt 2.0)))
8.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
6.0ms
(/ (cos th) (sqrt 2.0))

simplify115.0ms

Algorithm
egg-herbie
Counts
756 → 756
Iterations

Useful iterations: 1 (33.0ms)

IterNodesCost
015449868
150018666

prune1.5s

Filtered
756 candidates to 353 candidates (53.3%)
Pruning

12 alts after pruning (12 fresh and 0 done)

PrunedKeptTotal
New7533756
Fresh1910
Picked101
Done000
Total75512767

Merged error: 0b

Counts
767 → 12

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

rewrite68.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:
1.0ms
(cbrt 2.0)
1.0ms
(cbrt 2.0)
5.0ms
(/ 1 (sqrt (sqrt 2.0)))
18.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))))

simplify94.0ms

Algorithm
egg-herbie
Counts
519 → 519
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
010677914
150017232

prune1.1s

Filtered
519 candidates to 184 candidates (64.5%)
Pruning

12 alts after pruning (11 fresh and 1 done)

PrunedKeptTotal
New5190519
Fresh01111
Picked011
Done000
Total51912531

Merged error: 0b

Counts
531 → 12

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite165.0ms

Algorithm
rewrite-expression-head
Rules
1446×sqrt-prod
987×times-frac
528×add-sqr-sqrt
521×add-cube-cbrt *-un-lft-identity
515×associate-*l*
135×add-exp-log
89×add-cbrt-cube
61×prod-exp
44×div-exp
39×cbrt-unprod
25×cbrt-undiv
18×pow1
16×div-inv
15×associate-/r*
pow-prod-down
associate-/l*
rec-exp 1-exp
associate-*l/ add-log-exp unswap-sqr
frac-2neg associate-*r* clear-num *-commutative
frac-times associate-*r/
Counts
4 → 684
Calls
4 calls:
79.0ms
(* (/ (/ 1 (sqrt (sqrt (sqrt 2.0)))) (sqrt (sqrt (sqrt 2.0)))) (* (/ (cos th) (sqrt (sqrt 2.0))) (* a2 a2)))
10.0ms
(* (/ (cos th) (sqrt (sqrt 2.0))) (* a2 a2))
5.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
4.0ms
(/ (cos th) (sqrt 2.0))

series47.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* (/ (/ 1 (sqrt (sqrt (sqrt 2.0)))) (sqrt (sqrt (sqrt 2.0)))) (* (/ (cos th) (sqrt (sqrt 2.0))) (* a2 a2)))
18.0ms
(* (/ (cos th) (sqrt (sqrt 2.0))) (* a2 a2))
9.0ms
(/ (cos th) (sqrt (sqrt 2.0)))
5.0ms
(/ (cos th) (sqrt 2.0))

simplify113.0ms

Algorithm
egg-herbie
Counts
696 → 696
Iterations

Useful iterations: 1 (34.0ms)

IterNodesCost
0166310407
150019061

prune2.5s

Filtered
696 candidates to 386 candidates (44.5%)
Pruning

12 alts after pruning (10 fresh and 2 done)

PrunedKeptTotal
New6960696
Fresh01010
Picked011
Done011
Total69612708

Merged error: 0b

Counts
708 → 12

regimes671.0ms

Accuracy

0% (0.4b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03023
13023

end0.0ms

sample3.0s

Algorithm
intervals
Results
1.1s2459×body1280valid
645.0ms2114×body640valid
585.0ms7950×body80valid
207.0ms953×body320valid
78.0ms535×body160valid

Profiling

Loading profile data...