Details

Time bar (total: 6.5s)

sample43.0ms

Algorithm
intervals
Results
16.0ms256×body80valid
13.0ms260×body80nan

simplify11.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:

0.9b
(/ (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)

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
177×associate-/l*
167×add-sqr-sqrt
162×frac-add
149×*-un-lft-identity
135×add-cube-cbrt
93×times-frac
87×associate-/r*
51×associate-*l*
48×associate-*r*
40×fma-def
29×frac-2neg clear-num
16×*-commutative unswap-sqr
11×add-exp-log add-cbrt-cube
distribute-lft-out
div-sub add-log-exp
div-inv
pow1 expm1-log1p-u associate-+r- log1p-expm1-u
cbrt-undiv acos-neg acos-asin distribute-frac-neg div-exp
+-commutative cos-diff cos-sum
distribute-rgt-out flip3-+ prod-exp sum-log cbrt-unprod flip-+
Counts
4 → 336
Calls
4 calls:
3.0ms
(/ (acos (/ (- g) h)) 3.0)
40.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
46.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
8.0ms
(/ (* 2.0 PI) 3.0)

series154.0ms

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

simplify88.0ms

Algorithm
egg-herbie
Counts
346 → 346
Iterations

Useful iterations: 1 (46.0ms)

IterNodesCost
019413749
150013623

prune683.0ms

Filtered
346 candidates to 246 candidates (71.1%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New3424346
Fresh000
Picked101
Done000
Total3434347

Merged error: 0.0b

Counts
347 → 4

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

rewrite169.0ms

Algorithm
rewrite-expression-head
Rules
336×associate-/l*
324×frac-add
309×add-sqr-sqrt
303×*-un-lft-identity
253×add-cube-cbrt
188×times-frac
165×associate-/r*
106×associate-*r*
90×associate-*l*
80×fma-def
55×frac-2neg clear-num
30×distribute-rgt-out
28×*-commutative unswap-sqr
14×distribute-lft-out
add-exp-log add-cbrt-cube
add-log-exp
div-inv
pow1 expm1-log1p-u distribute-lft1-in log1p-expm1-u
+-commutative
cbrt-undiv flip3-+ sin-sum div-exp sum-log flip-+
prod-exp cbrt-unprod
Counts
4 → 556
Calls
4 calls:
8.0ms
(/ (* 2.0 PI) 3.0)
42.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
40.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
47.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)))

simplify105.0ms

Algorithm
egg-herbie
Counts
560 → 560
Iterations

Useful iterations: 1 (43.0ms)

IterNodesCost
018124684
150014464

prune2.0s

Filtered
560 candidates to 383 candidates (68.4%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New5600560
Fresh033
Picked011
Done000
Total5604564

Merged error: 0.0b

Counts
564 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
119×times-frac
101×add-sqr-sqrt
76×add-cube-cbrt *-un-lft-identity
65×associate-*l*
29×associate-/r*
18×add-exp-log associate-*l/ add-cbrt-cube
15×associate-*r*
10×unswap-sqr
associate-/r/ associate-/l*
pow1 div-inv
cbrt-undiv div-exp *-commutative
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u add-log-exp
frac-2neg clear-num
pow-prod-down fma-udef
Counts
4 → 183
Calls
4 calls:
13.0ms
(/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0))
7.0ms
(* (/ 3.0 2.0) (acos (/ (- g) h)))
1.0ms
(fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h))))
13.0ms
(cos (/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
56.0ms
(/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0))
12.0ms
(* (/ 3.0 2.0) (acos (/ (- g) h)))
32.0ms
(fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h))))
137.0ms
(cos (/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0)))

simplify109.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
07522633
139612465
250012465

prune462.0ms

Filtered
195 candidates to 152 candidates (77.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1941195
Fresh112
Picked011
Done011
Total1954199

Merged error: 0.0b

Counts
199 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
*-un-lft-identity
cbrt-prod add-sqr-sqrt add-cube-cbrt
unpow-prod-down
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u pow-unpow log1p-expm1-u add-log-exp
unpow3 rem-cbrt-cube sqr-pow
pow-to-exp pow-pow pow1/3 pow-exp fma-udef rem-cube-cbrt
Counts
4 → 60
Calls
4 calls:
1.0ms
(fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h))))
2.0ms
(cbrt (pow (cos (/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0))) 3))
2.0ms
(pow (cos (/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0))) 3)
13.0ms
(cos (/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0)))

series478.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h))))
131.0ms
(cbrt (pow (cos (/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0))) 3))
187.0ms
(pow (cos (/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0))) 3)
128.0ms
(cos (/ (fma PI 3.0 (* (/ 3.0 2.0) (acos (/ (- g) h)))) (* (/ 3.0 2.0) 3.0)))

simplify106.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0154891
1459829
22292823
35001823

prune346.0ms

Filtered
72 candidates to 47 candidates (65.3%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New69372
Fresh101
Picked101
Done022
Total71576

Merged error: 0b

Counts
76 → 5

regimes139.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02535
12535

end0.0ms

sample1.2s

Algorithm
intervals
Results
491.0ms8000×body80valid
409.0ms8083×body80nan