Details

Time bar (total: 3.8s)

sample49.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
16.0ms273×body80nan

simplify10.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0219
1259
2299
3329
4339
5339

prune6.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

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

rewrite33.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:
4.0ms
(/ (acos (/ (- g) h)) 3.0)
11.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)

series142.0ms

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

simplify113.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0332711
11087659
24512654
35001654

prune241.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

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

rewrite39.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))
11.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)))

simplify102.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (24.0ms)

IterNodesCost
0245488
1854447
23943435
35001435

prune343.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

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity
prod-exp cbrt-unprod
cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
associate-*r* associate-*l* fma-udef
distribute-rgt-in frac-2neg distribute-lft-in times-frac pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l* unswap-sqr
Counts
4 → 64
Calls
4 calls:
1.0ms
(fma 2.0 PI (acos (/ (- g) h)))
6.0ms
(/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))
4.0ms
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
2.0ms
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))

series198.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(fma 2.0 PI (acos (/ (- g) h)))
36.0ms
(/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))
38.0ms
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
103.0ms
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))

simplify44.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0226650
11202513
25003507

prune154.0ms

Filtered
76 candidates to 51 candidates (67.1%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New75176
Fresh011
Picked011
Done011
Total75479

Merged error: 0.0b

Counts
79 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
1.0b
(expm1 (cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))))
1.0b
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))
1.0b
(log1p (expm1 (cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
log1p-expm1-u
expm1-log1p-u add-log-exp
associate-*r* associate-*l*
fma-udef
distribute-rgt-in log1p-udef expm1-log1p distribute-lft-in log1p-expm1 pow-prod-down prod-exp *-commutative cbrt-unprod expm1-udef unswap-sqr
Counts
4 → 53
Calls
4 calls:
4.0ms
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
1.0ms
(expm1 (cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))))
2.0ms
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))
1.0ms
(log1p (expm1 (cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))))

series462.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
151.0ms
(expm1 (cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))))
106.0ms
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))
169.0ms
(log1p (expm1 (cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))))

simplify75.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0151595
1522520
22754520
35001520

prune165.0ms

Filtered
65 candidates to 45 candidates (69.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New65065
Fresh011
Picked011
Done022
Total65469

Merged error: 0.0b

Counts
69 → 4

regimes190.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.4s

Algorithm
intervals
Results
592.0ms8000×body80valid
487.0ms7969×body80nan

Profiling

Loading profile data...