Details

Time bar (total: 3.7s)

sample41.0ms

Algorithm
intervals
Results
22.0ms776×body80valid

simplify59.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0184
1414
21024
32284
44114
57864
624694
750024

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: 7.7b

Counts
2 → 1

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(cosh x)
0.0b
(* (cosh x) (/ y x))
7.3b
(/ (* (cosh x) (/ y x)) z)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
17×add-exp-log add-cbrt-cube
13×add-cube-cbrt *-un-lft-identity times-frac associate-*r*
pow1 cbrt-undiv cosh-def div-exp
prod-exp cbrt-unprod
expm1-log1p-u associate-*l* associate-/r* log1p-expm1-u associate-/l/ add-log-exp
frac-times associate-*r/ associate-*l/ div-inv unswap-sqr
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
3 → 74
Calls
3 calls:
1.0ms
(cosh x)
7.0ms
(* (cosh x) (/ y x))
9.0ms
(/ (* (cosh x) (/ y x)) z)

series240.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(cosh x)
79.0ms
(* (cosh x) (/ y x))
117.0ms
(/ (* (cosh x) (/ y x)) z)

simplify49.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0383433
11634372
25001368

prune192.0ms

Filtered
83 candidates to 65 candidates (78.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New76783
Fresh000
Picked101
Done000
Total77784

Merged error: 0.0b

Counts
84 → 7

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(* (+ (exp x) (exp (- x))) y)
5.8b
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log add-cbrt-cube
10×*-un-lft-identity prod-exp cbrt-unprod
add-sqr-sqrt
cbrt-undiv add-cube-cbrt div-exp
pow1 add-log-exp
associate-*l* associate-*l/
expm1-log1p-u fma-def flip3-+ associate-*r* flip-+ log1p-expm1-u
associate-/l/ distribute-lft-out
+-commutative frac-2neg times-frac pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 69
Calls
3 calls:
5.0ms
(+ (exp x) (exp (- x)))
7.0ms
(* (+ (exp x) (exp (- x))) y)
11.0ms
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

series175.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(+ (exp x) (exp (- x)))
53.0ms
(* (+ (exp x) (exp (- x))) y)
99.0ms
(/ (* (+ (exp x) (exp (- x))) y) (* z (* 2 x)))

simplify75.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0435681
12498531
25001530

prune205.0ms

Filtered
78 candidates to 56 candidates (71.8%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New75378
Fresh246
Picked011
Done000
Total77885

Merged error: 0.0b

Counts
85 → 8

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (+ (exp x) (exp (- x))) y) z)
0.0b
(+ (exp x) (exp (- x)))
0.0b
(* (+ (exp x) (exp (- x))) y)
6.3b
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
32×add-exp-log add-cbrt-cube
17×*-un-lft-identity
16×times-frac
15×add-sqr-sqrt
13×add-cube-cbrt
12×cbrt-undiv div-exp
associate-/l*
prod-exp cbrt-unprod
pow1 add-log-exp
expm1-log1p-u associate-*l* associate-*l/ associate-/r* log1p-expm1-u div-inv
fma-def flip3-+ associate-*r* flip-+ associate-/l/
frac-2neg clear-num distribute-lft-out
+-commutative pow-prod-down sum-log *-commutative unswap-sqr
Counts
4 → 105
Calls
4 calls:
8.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
5.0ms
(+ (exp x) (exp (- x)))
11.0ms
(* (+ (exp x) (exp (- x))) y)
11.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

series241.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(/ (* (+ (exp x) (exp (- x))) y) z)
28.0ms
(+ (exp x) (exp (- x)))
52.0ms
(* (+ (exp x) (exp (- x))) y)
96.0ms
(/ (/ (* (+ (exp x) (exp (- x))) y) z) (* 2 x))

simplify82.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05071005
12589818
25001811

prune293.0ms

Filtered
117 candidates to 85 candidates (72.6%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1143117
Fresh336
Picked101
Done011
Total1187125

Merged error: 0.0b

Counts
125 → 7

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (exp x) 1/2 (/ 1/2 (exp x)))
0.0b
(/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x)
0.0b
(/ 1/2 (exp x))
6.4b
(* (/ y z) (/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
46×add-sqr-sqrt
40×times-frac
34×add-cube-cbrt *-un-lft-identity
20×add-cbrt-cube
19×add-exp-log
13×associate-*r* associate-*l*
pow1 cbrt-undiv div-exp associate-/r* associate-/l*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u div-inv add-log-exp unswap-sqr
frac-2neg clear-num
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative fma-udef
Counts
4 → 120
Calls
4 calls:
1.0ms
(fma (exp x) 1/2 (/ 1/2 (exp x)))
3.0ms
(/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x)
4.0ms
(/ 1/2 (exp x))
9.0ms
(* (/ y z) (/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x))

series259.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma (exp x) 1/2 (/ 1/2 (exp x)))
70.0ms
(/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x)
9.0ms
(/ 1/2 (exp x))
144.0ms
(* (/ y z) (/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x))

simplify70.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
05091056
12478943
25002942

prune340.0ms

Filtered
132 candidates to 102 candidates (77.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1320132
Fresh055
Picked011
Done011
Total1327139

Merged error: 0.0b

Counts
139 → 7

regimes211.0ms

Accuracy

96.6% (0.2b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 6.8b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03521
13521

end0.0ms

sample1.1s

Algorithm
intervals
Results
611.0ms22188×body80valid