Details

Time bar (total: 3.9s)

sample45.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
15.0ms292×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1259
2299
3329
4339
5339

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.0b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (acos (/ (- g) h)) 3.0)
1.0b
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
1.0b
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
1.0b
(/ (* 2.0 PI) 3.0)

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
18×*-un-lft-identity
16×add-sqr-sqrt add-cube-cbrt
15×times-frac
11×add-exp-log add-cbrt-cube
fma-def
div-sub associate-/r* add-log-exp
div-inv
pow1 expm1-log1p-u associate-+r- log1p-expm1-u associate-/l*
cbrt-undiv acos-neg acos-asin distribute-frac-neg div-exp
cos-diff frac-2neg clear-num
+-commutative cos-sum distribute-rgt-out flip3-+ frac-add prod-exp sum-log cbrt-unprod flip-+ distribute-lft-out
Counts
4 → 91
Calls
4 calls:
3.0ms
(/ (acos (/ (- g) h)) 3.0)
10.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
11.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
5.0ms
(/ (* 2.0 PI) 3.0)

series152.0ms

Counts
4 → 10
Calls
4 calls:
11.0ms
(/ (acos (/ (- g) h)) 3.0)
38.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
103.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify111.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0332711
11087659
24512654
35001654

prune245.0ms

Filtered
101 candidates to 83 candidates (82.2%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New983101
Fresh000
Picked101
Done000
Total993102

Merged error: 0.0b

Counts
102 → 3

localize23.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (* 2.0 PI) 3.0)
1.0b
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
1.0b
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
58.2b
(sin (+ (/ (* 2.0 PI) 3.0) (/ PI 3.0)))

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
25×times-frac
14×add-sqr-sqrt add-cube-cbrt fma-def
10×distribute-rgt-out
add-exp-log add-cbrt-cube
add-log-exp
div-inv
pow1 expm1-log1p-u log1p-expm1-u
associate-/r*
cbrt-undiv +-commutative distribute-lft1-in flip3-+ div-exp frac-add sum-log flip-+ distribute-lft-out
frac-2neg sin-sum prod-exp clear-num cbrt-unprod associate-/l*
Counts
4 → 89
Calls
4 calls:
5.0ms
(/ (* 2.0 PI) 3.0)
10.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
10.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
10.0ms
(sin (+ (/ (* 2.0 PI) 3.0) (/ PI 3.0)))

series0.0ms

Counts
4 → 4
Calls
4 calls:
0.0ms
(/ (* 2.0 PI) 3.0)
0.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
0.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
0.0ms
(sin (+ (/ (* 2.0 PI) 3.0) (/ PI 3.0)))

simplify103.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0245488
1854447
23943435
35001435

prune356.0ms

Filtered
93 candidates to 80 candidates (86.0%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh022
Picked011
Done000
Total93396

Merged error: 0.0b

Counts
96 → 3

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 2.0 PI (acos (/ (- g) h)))
1.0b
(* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h))))
1.0b
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×associate-*l*
12×add-exp-log *-un-lft-identity
11×add-cube-cbrt times-frac
add-cbrt-cube
pow1 fma-udef
prod-exp
expm1-log1p-u associate-*r* log1p-expm1-u add-log-exp unswap-sqr
distribute-rgt-in cos-sum distribute-lft-in div-exp cbrt-unprod
cbrt-undiv rec-exp 1-exp pow-prod-down associate-*l/ *-commutative div-inv
Counts
3 → 60
Calls
3 calls:
1.0ms
(fma 2.0 PI (acos (/ (- g) h)))
7.0ms
(* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h))))
2.0ms
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))

series175.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(fma 2.0 PI (acos (/ (- g) h)))
43.0ms
(* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h))))
111.0ms
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))

simplify56.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
0229584
1817508
22530494
35001494

prune154.0ms

Filtered
69 candidates to 51 candidates (73.9%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New68169
Fresh101
Picked011
Done011
Total69372

Merged error: 0.0b

Counts
72 → 3

localize21.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt (cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))) (cbrt (cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))))
1.0b
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))
1.0b
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))
1.0b
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
16×cbrt-prod
12×add-cube-cbrt *-un-lft-identity
11×pow1
add-exp-log cos-sum pow1/3 swap-sqr associate-*r* associate-*l* fma-udef
expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
distribute-rgt-in distribute-lft-in
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 75
Calls
4 calls:
7.0ms
(* (cbrt (cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))) (cbrt (cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))))
2.0ms
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))
2.0ms
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))
2.0ms
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))

series568.0ms

Counts
4 → 12
Calls
4 calls:
237.0ms
(* (cbrt (cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))) (cbrt (cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))))
109.0ms
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))
109.0ms
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))
113.0ms
(cos (* (/ 1 3.0) (fma 2.0 PI (acos (/ (- g) h)))))

simplify75.0ms

Algorithm
egg-herbie
Counts
87 → 87
Iterations

Useful iterations: 3 (62.0ms)

IterNodesCost
01571307
14521192
220511070
350021060

prune259.0ms

Filtered
87 candidates to 61 candidates (70.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New85287
Fresh000
Picked011
Done022
Total85590

Merged error: 0b

Counts
90 → 5

regimes208.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample1.2s

Algorithm
intervals
Results
495.0ms8000×body80valid
413.0ms8037×body80nan

Profiling

Loading profile data...