Details

Time bar (total: 2.8s)

sample49.0ms

Algorithm
intervals
Results
20.0ms640×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0184
1414
21024
32244
44014
57584
624034
750014

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 6.5b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (/ y x))
6.1b
(/ (* (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/
frac-times associate-*r/ associate-*l/ div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
2 → 60
Calls
2 calls:
7.0ms
(* (cosh x) (/ y x))
6.0ms
(/ (* (cosh x) (/ y x)) z)

series43.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0338374
11422317
25002317

prune96.0ms

Filtered
49 candidates to 66 candidates (-34.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New57966
Fresh000
Picked101
Done000
Total58967

Merged error: 0.0b

Counts
67 → 9

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (sqrt (cosh x)) (* (sqrt (cosh x)) (/ y x)))
6.1b
(/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) (/ y x))) z)

rewrite23.0ms

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

series46.0ms

Counts
2 → 6
Calls
2 calls:
17.0ms
(* (sqrt (cosh x)) (* (sqrt (cosh x)) (/ y x)))
29.0ms
(/ (* (sqrt (cosh x)) (* (sqrt (cosh x)) (/ y x))) z)

simplify38.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0360561
11571409
25001404

prune81.0ms

Filtered
46 candidates to 68 candidates (-47.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New66268
Fresh268
Picked101
Done000
Total69877

Merged error: 0.0b

Counts
77 → 8

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite25.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/
associate-/r* add-log-exp
frac-times associate-*r/ un-div-inv *-commutative div-inv
frac-2neg clear-num associate-/l* unswap-sqr
Counts
3 → 94
Calls
3 calls:
4.0ms
(* (cosh x) y)
8.0ms
(* (* (cosh x) y) (/ 1 x))
9.0ms
(/ (* (* (cosh x) y) (/ 1 x)) z)

series58.0ms

Counts
3 → 9
Calls
3 calls:
14.0ms
(* (cosh x) y)
16.0ms
(* (* (cosh x) y) (/ 1 x))
27.0ms
(/ (* (* (cosh x) y) (/ 1 x)) z)

simplify67.0ms

Algorithm
egg-herbie
Counts
103 → 103
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0517611
12686476
25002462

prune96.0ms

Filtered
61 candidates to 103 candidates (-68.9%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1012103
Fresh257
Picked011
Done000
Total1038111

Merged error: 0b

Counts
111 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (sqrt (cosh x)) (* (sqrt (+ (exp x) (exp (neg x)))) (/ y x)))
0.4b
(* (sqrt (+ (exp x) (exp (neg x)))) (/ y x))
0.4b
(* z (sqrt 2))
6.2b
(/ (* (sqrt (cosh x)) (* (sqrt (+ (exp x) (exp (neg x)))) (/ y x))) (* z (sqrt 2)))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
52×add-exp-log add-cbrt-cube
32×add-sqr-sqrt sqrt-div
22×prod-exp cbrt-unprod
20×frac-times *-un-lft-identity associate-*r*
18×add-cube-cbrt
16×associate-*l*
15×associate-*r/
13×pow1 sqrt-prod
12×cbrt-undiv cosh-def times-frac div-exp associate-*l/
11×associate-/l/
10×flip3-+ flip-+
unswap-sqr
pow-prod-down
add-log-exp
*-commutative
div-inv
frac-2neg clear-num associate-/r* distribute-lft-out associate-/l*
Counts
4 → 138
Calls
4 calls:
13.0ms
(* (sqrt (cosh x)) (* (sqrt (+ (exp x) (exp (neg x)))) (/ y x)))
12.0ms
(* (sqrt (+ (exp x) (exp (neg x)))) (/ y x))
5.0ms
(* z (sqrt 2))
19.0ms
(/ (* (sqrt (cosh x)) (* (sqrt (+ (exp x) (exp (neg x)))) (/ y x))) (* z (sqrt 2)))

series89.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(* (sqrt (cosh x)) (* (sqrt (+ (exp x) (exp (neg x)))) (/ y x)))
15.0ms
(* (sqrt (+ (exp x) (exp (neg x)))) (/ y x))
8.0ms
(* z (sqrt 2))
42.0ms
(/ (* (sqrt (cosh x)) (* (sqrt (+ (exp x) (exp (neg x)))) (/ y x))) (* z (sqrt 2)))

simplify99.0ms

Algorithm
egg-herbie
Counts
150 → 150
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07271724
139281510
250011508

prune147.0ms

Filtered
100 candidates to 150 candidates (-50.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1500150
Fresh066
Picked011
Done011
Total1508158

Merged error: 0b

Counts
158 → 8

regimes311.0ms

Accuracy

92.1% (0.6b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03120
13120

end0.0ms

sample1.4s

Algorithm
intervals
Results
721.0ms22289×body80valid

Profiling

Loading profile data...