Details

Time bar (total: 4.0s)

sample78.0ms

Algorithm
intervals
Results
35.0ms109×body1280valid
16.0ms76×body640valid
10.0ms298×body80overflowed
5.0ms39×body320valid
2.0ms22×body160valid
0.0ms10×body80valid

simplify47.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 7 (45.0ms)

IterNodesCost
0159
1249
2329
3449
4639
51799
611849
750017

prune6.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New011
Fresh101
Picked000
Done000
Total112

Merged error: 0.5b

Counts
2 → 1

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(fma 1 1 (exp (+ x x)))
0.5b
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

rewrite5.0ms

Algorithm
rewrite-expression-head
Rules
10×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac
add-exp-log add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num fma-udef div-inv expm1-udef
Counts
2 → 40
Calls
2 calls:
1.0ms
(fma 1 1 (exp (+ x x)))
3.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

series87.0ms

Counts
2 → 6
Calls
2 calls:
20.0ms
(fma 1 1 (exp (+ x x)))
67.0ms
(/ (expm1 (+ x x)) (fma 1 1 (exp (+ x x))))

simplify74.0ms

Algorithm
egg-herbie
Counts
46 → 46
Iterations

Useful iterations: 3 (69.0ms)

IterNodesCost
0150395
1512351
22464344
35002343

prune105.0ms

Filtered
46 candidates to 39 candidates (84.8%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New44246
Fresh000
Picked101
Done000
Total45247

Merged error: 0.5b

Counts
47 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp (* 2 x)) 1)
0.0b
(/ 1 (+ (exp (* 2 x)) 1))
0.5b
(* (expm1 (+ x x)) (/ 1 (+ (exp (* 2 x)) 1)))

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
29×add-sqr-sqrt
26×times-frac
22×add-cube-cbrt
18×associate-*r*
16×add-exp-log
10×add-cbrt-cube
distribute-lft-out
pow1
add-log-exp
div-exp prod-exp associate-/r* associate-/r/
expm1-log1p-u fma-def flip3-+ associate-*l* flip-+ log1p-expm1-u associate-/l* unswap-sqr
cbrt-undiv rec-exp 1-exp cbrt-unprod div-inv
+-commutative pow-flip frac-2neg associate-*r/ pow-prod-down clear-num sum-log un-div-inv *-commutative inv-pow
Counts
3 → 99
Calls
3 calls:
4.0ms
(+ (exp (* 2 x)) 1)
6.0ms
(/ 1 (+ (exp (* 2 x)) 1))
10.0ms
(* (expm1 (+ x x)) (/ 1 (+ (exp (* 2 x)) 1)))

series85.0ms

Counts
3 → 9
Calls
3 calls:
10.0ms
(+ (exp (* 2 x)) 1)
18.0ms
(/ 1 (+ (exp (* 2 x)) 1))
56.0ms
(* (expm1 (+ x x)) (/ 1 (+ (exp (* 2 x)) 1)))

simplify46.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0320771
11601634
25001594

prune164.0ms

Filtered
108 candidates to 65 candidates (60.2%)
Pruning

2 alts after pruning (1 fresh and 1 done)

PrunedKeptTotal
New1080108
Fresh011
Picked011
Done000
Total1082110

Merged error: 0.5b

Counts
110 → 2

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(- x (* 1/3 (pow x 3)))
0.0b
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
0.1b
(* 1/3 (pow x 3))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
12×associate-*r*
add-cube-cbrt *-un-lft-identity
add-exp-log
add-cbrt-cube add-log-exp
unpow-prod-down cube-prod unswap-sqr
pow1 expm1-log1p-u fma-neg associate-*l* prod-diff prod-exp log1p-expm1-u
sqr-pow
cube-mult pow-to-exp sub-neg flip3-- diff-log unpow3 pow-exp *-commutative flip-- cbrt-unprod fma-udef
Counts
3 → 63
Calls
3 calls:
3.0ms
(- x (* 1/3 (pow x 3)))
1.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
6.0ms
(* 1/3 (pow x 3))

series172.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(- x (* 1/3 (pow x 3)))
51.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
42.0ms
(* 1/3 (pow x 3))

simplify36.0ms

Algorithm
egg-herbie
Counts
72 → 72
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206338
1835292
25001292

prune147.0ms

Filtered
72 candidates to 48 candidates (66.7%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New70272
Fresh000
Picked101
Done011
Total71374

Merged error: 0.5b

Counts
74 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (* 1/3 (pow x 3)))
0.0b
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
0.0b
(expm1 (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
0.1b
(* 1/3 (pow x 3))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
12×associate-*r*
10×add-cube-cbrt *-un-lft-identity
add-exp-log
add-cbrt-cube add-log-exp
pow1 expm1-log1p-u unpow-prod-down cube-prod log1p-expm1-u unswap-sqr
fma-neg associate-*l* prod-diff prod-exp
sqr-pow
cube-mult pow-to-exp sub-neg expm1-log1p flip3-- diff-log unpow3 pow-exp *-commutative flip-- cbrt-unprod fma-udef expm1-udef
Counts
4 → 74
Calls
4 calls:
3.0ms
(- x (* 1/3 (pow x 3)))
1.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
1.0ms
(expm1 (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
10.0ms
(* 1/3 (pow x 3))

series330.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(- x (* 1/3 (pow x 3)))
56.0ms
(fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))
158.0ms
(expm1 (log1p (fma (pow x 5) 2/15 (- x (* 1/3 (pow x 3))))))
36.0ms
(* 1/3 (pow x 3))

simplify45.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0305475
11203415
25001395

prune200.0ms

Filtered
86 candidates to 59 candidates (68.6%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New86086
Fresh011
Picked011
Done011
Total86389

Merged error: 0.5b

Counts
89 → 3

regimes15.0ms

Accuracy

0% (0.1b remaining)

Error of 0.7b against oracle of 0.6b and baseline of 0.7b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0177
1197
2197

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.1s3344×body1280valid
477.0ms2362×body640valid
244.0ms7673×body80overflowed
157.0ms1246×body320valid
53.0ms645×body160valid
19.0ms403×body80valid