Details

Time bar (total: 3.8s)

sample44.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
13.0ms278×body80nan

simplify9.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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

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)

rewrite36.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)
15.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)

series145.0ms

Counts
4 → 10
Calls
4 calls:
11.0ms
(/ (acos (/ (- g) h)) 3.0)
31.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)

simplify113.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0332711
11087659
24512654
35001654

prune262.0ms

Filtered
101 candidates to 83 candidates (82.2%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New974101
Fresh000
Picked101
Done000
Total984102

Merged error: 0.0b

Counts
102 → 4

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

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

simplify104.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0245488
1854447
23943435
35001435

prune356.0ms

Filtered
93 candidates to 80 candidates (86.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New93093
Fresh033
Picked011
Done000
Total93497

Merged error: 0.0b

Counts
97 → 4

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

series212.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(fma 2.0 PI (acos (/ (- g) h)))
43.0ms
(/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))
37.0ms
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
110.0ms
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0226650
11202513
25003507

prune162.0ms

Filtered
76 candidates to 51 candidates (67.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New75176
Fresh022
Picked011
Done011
Total75580

Merged error: 0b

Counts
80 → 5

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

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

series476.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(* 3.0 (fma 2.0 PI (acos (/ (- g) h))))
156.0ms
(expm1 (cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0))))
108.0ms
(cos (/ (* 3.0 (fma 2.0 PI (acos (/ (- g) h)))) (* 3.0 3.0)))
175.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 (6.0ms)

IterNodesCost
0151595
1522520
22754520
35001520

prune161.0ms

Filtered
65 candidates to 45 candidates (69.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New65065
Fresh022
Picked011
Done022
Total65570

Merged error: 0b

Counts
70 → 5

regimes285.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify5.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02622
12622

end0.0ms

sample1.2s

Algorithm
intervals
Results
490.0ms8000×body80valid
395.0ms7878×body80nan