Details

Time bar (total: 2.5s)

sample43.0ms

Algorithm
intervals
Results
15.0ms256×body80valid
14.0ms230×body80nan

simplify8.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0219
1259
2289
3299
4299

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
15×frac-add
10×frac-2neg clear-num
associate-/l*
div-sub
associate-+r- *-commutative div-inv
acos-neg acos-asin distribute-frac-neg
+-commutative cos-diff cos-sum
distribute-rgt-out flip3-+ flip-+
Counts
4 → 35
Calls
4 calls:
6.0ms
(+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0))
2.0ms
(/ (acos (/ (- g) h)) 3.0)
8.0ms
(cos (+ (/ (* 2.0 PI) 3.0) (/ (acos (/ (- g) h)) 3.0)))
3.0ms
(/ (* 2.0 PI) 3.0)

series147.0ms

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

simplify107.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0298405
11139391
24375390
35001390

prune111.0ms

Filtered
45 candidates to 34 candidates (75.6%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New43245
Fresh000
Picked101
Done000
Total44246

Merged error: 0.0b

Counts
46 → 2

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
30×frac-add
17×frac-2neg clear-num
14×associate-/l*
*-commutative
div-inv
+-commutative
distribute-rgt-out flip3-+ sin-sum flip-+
Counts
4 → 45
Calls
4 calls:
3.0ms
(/ (* 2.0 PI) 3.0)
6.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
6.0ms
(+ (/ (* 2.0 PI) 3.0) (/ PI 3.0))
8.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)))

simplify101.0ms

Algorithm
egg-herbie
Counts
49 → 49
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0241406
1936372
23806342
35002342

prune182.0ms

Filtered
49 candidates to 35 candidates (71.4%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New49049
Fresh011
Picked011
Done000
Total49251

Merged error: 0.0b

Counts
51 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
10×associate-*l/
associate-/r*
associate-/r/
*-commutative
frac-2neg clear-num div-inv
flip3-+ associate-*l* flip-+ associate-/l/
+-commutative
Counts
4 → 23
Calls
4 calls:
4.0ms
(* (/ 3.0 (* 2.0 PI)) (acos (/ (- g) h)))
10.0ms
(/ (+ (* (/ 3.0 (* 2.0 PI)) (acos (/ (- g) h))) 3.0) (* (/ 3.0 (* 2.0 PI)) 3.0))
5.0ms
(+ (* (/ 3.0 (* 2.0 PI)) (acos (/ (- g) h))) 3.0)
11.0ms
(cos (/ (+ (* (/ 3.0 (* 2.0 PI)) (acos (/ (- g) h))) 3.0) (* (/ 3.0 (* 2.0 PI)) 3.0)))

series227.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(* (/ 3.0 (* 2.0 PI)) (acos (/ (- g) h)))
55.0ms
(/ (+ (* (/ 3.0 (* 2.0 PI)) (acos (/ (- g) h))) 3.0) (* (/ 3.0 (* 2.0 PI)) 3.0))
37.0ms
(+ (* (/ 3.0 (* 2.0 PI)) (acos (/ (- g) h))) 3.0)
102.0ms
(cos (/ (+ (* (/ 3.0 (* 2.0 PI)) (acos (/ (- g) h))) 3.0) (* (/ 3.0 (* 2.0 PI)) 3.0)))

simplify134.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 3 (130.0ms)

IterNodesCost
0162301
1716301
23720294
35002292

prune79.0ms

Filtered
35 candidates to 26 candidates (74.3%)
Pruning

2 alts after pruning (0 fresh and 2 done)

PrunedKeptTotal
New35035
Fresh000
Picked011
Done011
Total35237

Merged error: 0.0b

Counts
37 → 2

regimes74.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
02622
12622

end0.0ms

sample1.1s

Algorithm
intervals
Results
473.0ms8000×body80valid
359.0ms7722×body80nan