Details

Time bar (total: 4.8s)

sample40.0ms

Algorithm
intervals
Results
22.0ms731×body80valid

simplify52.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: 6.8b

Counts
2 → 1

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite16.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)
6.0ms
(* (cosh x) (/ y x))
6.0ms
(/ (* (cosh x) (/ y x)) z)

series233.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(cosh x)
77.0ms
(* (cosh x) (/ y x))
113.0ms
(/ (* (cosh x) (/ y x)) z)

simplify46.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0383433
11634372
25001368

prune174.0ms

Filtered
83 candidates to 65 candidates (78.3%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New74983
Fresh000
Picked101
Done000
Total75984

Merged error: 0.3b

Counts
84 → 9

localize9.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.5b
(* (/ y z) (/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x))

rewrite25.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)))
7.0ms
(/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x)
4.0ms
(/ 1/2 (exp x))
10.0ms
(* (/ y z) (/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x))

series242.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma (exp x) 1/2 (/ 1/2 (exp x)))
67.0ms
(/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x)
8.0ms
(/ 1/2 (exp x))
130.0ms
(* (/ y z) (/ (fma (exp x) 1/2 (/ 1/2 (exp x))) x))

simplify268.0ms

Algorithm
egg-herbie
Counts
132 → 132
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05091056
12478943
25002942

prune274.0ms

Filtered
132 candidates to 101 candidates (76.5%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1293132
Fresh358
Picked101
Done000
Total1338141

Merged error: 0.2b

Counts
141 → 8

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite56.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)))
10.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
15.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

series306.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(fma 1/2 (exp (* -1 x)) (* 1/2 (exp x)))
90.0ms
(/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y))
137.0ms
(/ (/ (fma 1/2 (exp (* -1 x)) (* 1/2 (exp x))) (/ x y)) z)

simplify111.0ms

Algorithm
egg-herbie
Counts
289 → 289
Iterations

Useful iterations: 1 (41.0ms)

IterNodesCost
011814690
150014522

prune983.0ms

Filtered
289 candidates to 251 candidates (86.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New2890289
Fresh077
Picked011
Done000
Total2898297

Merged error: 0.2b

Counts
297 → 8

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(cosh x)
0.0b
(* (cosh x) (/ y x))
6.5b
(* (* (cosh x) (/ y x)) (/ 1 z))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
47×add-exp-log
29×add-cbrt-cube
26×associate-*r*
23×add-sqr-sqrt
22×prod-exp
19×times-frac
18×add-cube-cbrt *-un-lft-identity
12×cbrt-unprod
11×div-exp
10×pow1
cosh-def
cbrt-undiv frac-times associate-*l/
associate-*r/ associate-*l* pow-prod-down
expm1-log1p-u rec-exp 1-exp log1p-expm1-u add-log-exp
*-commutative div-inv unswap-sqr
un-div-inv
Counts
3 → 98
Calls
3 calls:
1.0ms
(cosh x)
7.0ms
(* (cosh x) (/ y x))
10.0ms
(* (* (cosh x) (/ y x)) (/ 1 z))

series238.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(cosh x)
79.0ms
(* (cosh x) (/ y x))
114.0ms
(* (* (cosh x) (/ y x)) (/ 1 z))

simplify73.0ms

Algorithm
egg-herbie
Counts
107 → 107
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
0553639
12711529
25001489

prune155.0ms

Filtered
107 candidates to 70 candidates (65.4%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1061107
Fresh156
Picked011
Done011
Total1078115

Merged error: 0.2b

Counts
115 → 8

regimes164.0ms

Accuracy

89.5% (0.7b remaining)

Error of 0.8b against oracle of 0.1b and baseline of 6.9b

bsearch82.0ms

Steps
ItersRangePoint
7
4.3146892143541824e+61
4.988719696773068e+63
4.383362863355942e+61
9
-8.248232254622375e+82
-1.596569462352355e+76
-3.713041281021791e+79

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02511
12511

end0.0ms

sample1.2s

Algorithm
intervals
Results
706.0ms22439×body80valid

Profiling

Loading profile data...