Details

Time bar (total: 4.3s)

sample43.0ms

Algorithm
intervals
Results
24.0ms765×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.0b

Counts
2 → 1

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series186.0ms

Counts
2 → 6
Calls
2 calls:
76.0ms
(* (cosh x) (/ y x))
110.0ms
(/ (* (cosh x) (/ y x)) z)

simplify44.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0352391
11472333
25001333

prune138.0ms

Filtered
70 candidates to 53 candidates (75.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New61970
Fresh000
Picked101
Done000
Total62971

Merged error: 0.0b

Counts
71 → 9

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
0.2b
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
6.6b
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
471×times-frac
230×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
47×associate-/l*
22×div-inv
17×add-exp-log add-cbrt-cube
16×associate-/r*
cbrt-undiv div-exp
associate-/r/
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
fma-udef associate-/l/
Counts
3 → 280
Calls
3 calls:
1.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
6.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
13.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

series239.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
77.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
111.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

simplify78.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
011814690
150014522

prune1.1s

Filtered
289 candidates to 252 candidates (87.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New2863289
Fresh358
Picked011
Done000
Total2899298

Merged error: 0b

Counts
298 → 9

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (cosh x) y)
0.3b
(* (* (cosh x) y) (/ 1 x))
6.6b
(/ (* (* (cosh x) y) (/ 1 x)) z)

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
59×add-exp-log
35×add-cbrt-cube
25×prod-exp
17×div-exp
16×add-sqr-sqrt associate-*r*
14×add-cube-cbrt *-un-lft-identity
13×cbrt-unprod
12×times-frac
10×pow1
cbrt-undiv
associate-*l/
cosh-def
rec-exp 1-exp associate-*l* pow-prod-down associate-/l/
expm1-log1p-u associate-/r* log1p-expm1-u add-log-exp
frac-times associate-*r/ un-div-inv *-commutative div-inv
frac-2neg clear-num associate-/l* unswap-sqr
Counts
3 → 100
Calls
3 calls:
4.0ms
(* (cosh x) y)
8.0ms
(* (* (cosh x) y) (/ 1 x))
10.0ms
(/ (* (* (cosh x) y) (/ 1 x)) z)

series262.0ms

Counts
3 → 9
Calls
3 calls:
69.0ms
(* (cosh x) y)
74.0ms
(* (* (cosh x) y) (/ 1 x))
119.0ms
(/ (* (* (cosh x) y) (/ 1 x)) z)

simplify77.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
0532637
12730501
25002485

prune165.0ms

Filtered
109 candidates to 67 candidates (61.5%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1072109
Fresh437
Picked011
Done011
Total1117118

Merged error: 0b

Counts
118 → 7

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

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

series141.0ms

Counts
2 → 6
Calls
2 calls:
121.0ms
(* (cosh x) (/ y (* x z)))
20.0ms
(/ y (* x z))

simplify41.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0266305
11075254
25001252

prune93.0ms

Filtered
60 candidates to 42 candidates (70.0%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New59160
Fresh134
Picked011
Done112
Total61667

Merged error: 0b

Counts
67 → 6

regimes150.0ms

Accuracy

95% (0.4b remaining)

Error of 0.4b against oracle of 0.1b and baseline of 7.5b

bsearch103.0ms

Steps
ItersRangePoint
10
5.91444132257046e+46
4.9701672827403295e+57
8.261310087671331e+52
8
-4.36457954397458e+31
-5.589317017320754e+28
-3.345163590317331e+30

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample1.2s

Algorithm
intervals
Results
732.0ms22825×body80valid