Details

Time bar (total: 2.3s)

sample11.0ms

Algorithm
intervals
Results
5.0ms256×body80valid

simplify218.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0105
1125
2145
3155
4205
5415
6665
71655
811215
950025

prune2.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: 0.0b

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(/ 2.0 (+ (exp x) (exp (- x))))

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg flip3-+ clear-num flip-+ div-inv
Counts
1 → 5
Calls
1 calls:
4.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

series42.0ms

Counts
1 → 3
Calls
1 calls:
42.0ms
(/ 2.0 (+ (exp x) (exp (- x))))

simplify155.0ms

Algorithm
egg-herbie
Counts
8 → 8
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
08049
121148
270348
3376848
4500248

prune22.0ms

Filtered
8 candidates to 7 candidates (87.5%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New628
Fresh000
Picked011
Done000
Total639

Merged error: 0.0b

Counts
9 → 3

localize9.0ms

Local error

Found 1 expressions with local error:

12.8b
(fma (pow x 4) 0.20833333333333334 (- 1.0 (* 0.5 (pow x 2))))

rewrite1.0ms

Algorithm
rewrite-expression-head
Rules
fma-udef
Counts
1 → 1
Calls
1 calls:
1.0ms
(fma (pow x 4) 0.20833333333333334 (- 1.0 (* 0.5 (pow x 2))))

series48.0ms

Counts
1 → 3
Calls
1 calls:
48.0ms
(fma (pow x 4) 0.20833333333333334 (- 1.0 (* 0.5 (pow x 2))))

simplify126.0ms

Algorithm
egg-herbie
Counts
4 → 4
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
02720
19317
223317
375217
4326217
5500117

prune8.0ms

Filtered
4 candidates to 2 candidates (50.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New404
Fresh011
Picked011
Done011
Total437

Merged error: 0.0b

Counts
7 → 3

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp x) 3)
0.5b
(* (exp x) (exp (- x)))
0.5b
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))))
1.8b
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
61×exp-neg
44×associate-*r/
39×neg-sub0 exp-diff
27×frac-sub
21×un-div-inv
20×frac-times
19×*-commutative
16×associate-*l/
15×sub-div
12×associate-+r+ prod-diff
distribute-rgt-in distribute-lft-in
flip3-+ flip-+
sub-neg frac-2neg associate-*l* clear-num associate-/r* sum-cubes
+-commutative distribute-rgt-out-- fma-neg associate-/r/ distribute-lft-out--
pow-to-exp flip3-- unpow3 rgt-mult-inverse pow-exp prod-exp flip-- div-inv sqr-pow
Counts
4 → 100
Calls
4 calls:
2.0ms
(pow (exp x) 3)
4.0ms
(* (exp x) (exp (- x)))
18.0ms
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))))
11.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))

series348.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(pow (exp x) 3)
53.0ms
(* (exp x) (exp (- x)))
215.0ms
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))))
53.0ms
(- (* (exp (- x)) (exp (- x))) (* (exp x) (exp (- x))))

simplify90.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
07351597
130871210
250011164

prune194.0ms

Filtered
112 candidates to 42 candidates (37.5%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1111112
Fresh000
Picked101
Done022
Total1123115

Merged error: 0b

Counts
115 → 3

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(pow (exp (- x)) 4)
0.2b
(/ (fma (pow (exp (- x)) 4) 1 (- 1)) (+ (pow (exp (- x)) 2) 1))
0.5b
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (/ (fma (pow (exp (- x)) 4) 1 (- 1)) (+ (pow (exp (- x)) 2) 1))))
1.7b
(fma (pow (exp (- x)) 4) 1 (- 1))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
frac-times
flip3-+ flip-+
frac-2neg associate-*l/ clear-num associate-/r/
associate-*l* associate-/r* sum-cubes
+-commutative distribute-rgt-in distribute-lft-in associate-*r/ div-inv
pow-to-exp neg-mul-1 exp-prod pow-pow pow-exp *-commutative fma-udef sqr-pow
Counts
4 → 32
Calls
4 calls:
3.0ms
(pow (exp (- x)) 4)
5.0ms
(/ (fma (pow (exp (- x)) 4) 1 (- 1)) (+ (pow (exp (- x)) 2) 1))
15.0ms
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (/ (fma (pow (exp (- x)) 4) 1 (- 1)) (+ (pow (exp (- x)) 2) 1))))
1.0ms
(fma (pow (exp (- x)) 4) 1 (- 1))

series405.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(pow (exp (- x)) 4)
85.0ms
(/ (fma (pow (exp (- x)) 4) 1 (- 1)) (+ (pow (exp (- x)) 2) 1))
250.0ms
(* (/ 2.0 (+ (pow (exp x) 3) (pow (exp (- x)) 3))) (+ (* (exp x) (exp x)) (/ (fma (pow (exp (- x)) 4) 1 (- 1)) (+ (pow (exp (- x)) 2) 1))))
44.0ms
(fma (pow (exp (- x)) 4) 1 (- 1))

simplify60.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
0486904
12405828
25002813

prune190.0ms

Filtered
44 candidates to 34 candidates (77.3%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New44044
Fresh000
Picked011
Done022
Total44347

Merged error: 0b

Counts
47 → 3

regimes52.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
085
185

end0.0ms

sample259.0ms

Algorithm
intervals
Results
172.0ms8000×body80valid