Details

Time bar (total: 3.9s)

sample43.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
14.0ms240×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

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite32.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:
11.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
3.0ms
(/ (acos (/ (- g) h)) 3.0)
11.0ms
(+ (/ (* 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:
99.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
10.0ms
(/ (acos (/ (- g) h)) 3.0)
35.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify104.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0332711
11087659
24512654
35001654

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

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

rewrite43.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)
14.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
11.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)))

simplify99.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (23.0ms)

IterNodesCost
0245488
1854447
23943435
35001435

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

localize19.0ms

Local error

Found 3 expressions with local error:

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

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u associate-/r* log1p-expm1-u associate-/l* add-log-exp
div-sub fma-udef
cbrt-undiv acos-neg acos-asin cos-sum frac-2neg distribute-frac-neg div-exp clear-num div-inv
Counts
3 → 51
Calls
3 calls:
1.0ms
(fma (/ 2.0 (* (cbrt 3.0) (cbrt 3.0))) (/ PI (cbrt 3.0)) (/ (acos (/ (- g) h)) 3.0))
2.0ms
(cos (fma (/ 2.0 (* (cbrt 3.0) (cbrt 3.0))) (/ PI (cbrt 3.0)) (/ (acos (/ (- g) h)) 3.0)))
3.0ms
(/ (acos (/ (- g) h)) 3.0)

series334.0ms

Counts
3 → 9
Calls
3 calls:
119.0ms
(fma (/ 2.0 (* (cbrt 3.0) (cbrt 3.0))) (/ PI (cbrt 3.0)) (/ (acos (/ (- g) h)) 3.0))
203.0ms
(cos (fma (/ 2.0 (* (cbrt 3.0) (cbrt 3.0))) (/ PI (cbrt 3.0)) (/ (acos (/ (- g) h)) 3.0)))
11.0ms
(/ (acos (/ (- g) h)) 3.0)

simplify84.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 4 (77.0ms)

IterNodesCost
0158616
1360550
2931550
33116547
45001546

prune189.0ms

Filtered
60 candidates to 49 candidates (81.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New59160
Fresh112
Picked101
Done011
Total61364

Merged error: 0.0b

Counts
64 → 3

localize16.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
(log1p (expm1 (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))))
1.0b
(/ (* 2.0 PI) 3.0)

rewrite22.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
associate-/r* add-log-exp
div-inv
pow1 expm1-log1p-u div-sub log1p-expm1-u associate-/l*
cbrt-undiv div-exp
acos-neg acos-asin associate-+r- frac-2neg distribute-frac-neg clear-num
+-commutative log1p-udef distribute-rgt-out flip3-+ log1p-expm1 frac-add prod-exp sum-log cbrt-unprod flip-+ distribute-lft-out
Counts
4 → 90
Calls
4 calls:
3.0ms
(/ (acos (/ (- g) h)) 3.0)
11.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
1.0ms
(log1p (expm1 (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))))
5.0ms
(/ (* 2.0 PI) 3.0)

series206.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))
164.0ms
(log1p (expm1 (cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))))
0.0ms
(/ (* 2.0 PI) 3.0)

simplify109.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (25.0ms)

IterNodesCost
0310679
11063623
24479618
35001618

prune286.0ms

Filtered
100 candidates to 81 candidates (81.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1000100
Fresh011
Picked011
Done011
Total1003103

Merged error: 0.0b

Counts
103 → 3

regimes222.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
474.0ms8000×body80valid
397.0ms7996×body80nan