Details

Time bar (total: 4.5s)

sample42.0ms

Algorithm
intervals
Results
24.0ms731×body80valid

simplify56.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0184
1414
21024
32244
44014
57584
624034
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
associate-*l* associate-/r* 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 → 68
Calls
3 calls:
1.0ms
(cosh x)
7.0ms
(* (cosh x) (/ y x))
6.0ms
(/ (* (cosh x) (/ y x)) z)

series234.0ms

Counts
3 → 9
Calls
3 calls:
45.0ms
(cosh x)
73.0ms
(* (cosh x) (/ y x))
115.0ms
(/ (* (cosh x) (/ y x)) z)

simplify47.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0372414
11616354
25001354

prune158.0ms

Filtered
77 candidates to 59 candidates (76.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New68977
Fresh000
Picked101
Done000
Total69978

Merged error: 0.3b

Counts
78 → 9

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
60×add-exp-log
36×add-cbrt-cube
25×prod-exp
17×add-sqr-sqrt div-exp
16×associate-*r*
15×add-cube-cbrt *-un-lft-identity
13×cbrt-unprod
12×times-frac
11×pow1
cbrt-undiv
associate-*l/
cosh-def
rec-exp 1-exp associate-*l* pow-prod-down associate-/l/ add-log-exp
associate-/r*
frac-times associate-*r/ un-div-inv *-commutative div-inv
frac-2neg clear-num associate-/l* unswap-sqr
Counts
4 → 102
Calls
4 calls:
1.0ms
(cosh x)
4.0ms
(* (cosh x) y)
8.0ms
(* (* (cosh x) y) (/ 1 x))
9.0ms
(/ (* (* (cosh x) y) (/ 1 x)) z)

series301.0ms

Counts
4 → 12
Calls
4 calls:
46.0ms
(cosh x)
67.0ms
(* (cosh x) y)
74.0ms
(* (* (cosh x) y) (/ 1 x))
114.0ms
(/ (* (* (cosh x) y) (/ 1 x)) z)

simplify71.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0543651
12791513
25002499

prune169.0ms

Filtered
114 candidates to 69 candidates (60.5%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1113114
Fresh268
Picked101
Done000
Total1149123

Merged error: 0.3b

Counts
123 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(cbrt z)
0.5b
(cbrt z)
0.5b
(cbrt z)
4.5b
(* (/ (* (cosh x) y) (* (cbrt z) (cbrt z))) (/ (/ 1 x) (cbrt z)))

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
143×times-frac
119×add-exp-log
99×add-sqr-sqrt
82×associate-*r*
79×*-un-lft-identity
77×add-cube-cbrt
51×cbrt-prod add-cbrt-cube
50×div-exp
45×prod-exp
27×cbrt-undiv cbrt-unprod
div-inv
unswap-sqr
pow1
rec-exp 1-exp associate-*l*
add-log-exp
pow1/3
frac-times associate-*r/ pow-prod-down associate-*l/ *-commutative
Counts
4 → 179
Calls
4 calls:
1.0ms
(cbrt z)
1.0ms
(cbrt z)
1.0ms
(cbrt z)
29.0ms
(* (/ (* (cosh x) y) (* (cbrt z) (cbrt z))) (/ (/ 1 x) (cbrt z)))

series663.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt z)
191.0ms
(cbrt z)
168.0ms
(cbrt z)
132.0ms
(* (/ (* (cosh x) y) (* (cbrt z) (cbrt z))) (/ (/ 1 x) (cbrt z)))

simplify44.0ms

Algorithm
egg-herbie
Counts
191 → 191
Iterations

Useful iterations: 1 (27.0ms)

IterNodesCost
011522183
150011778

prune431.0ms

Filtered
191 candidates to 133 candidates (69.6%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1910191
Fresh088
Picked011
Done000
Total1919200

Merged error: 0.3b

Counts
200 → 9

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
173×times-frac
70×*-un-lft-identity
68×add-sqr-sqrt add-cube-cbrt
33×add-exp-log add-cbrt-cube
19×associate-/l*
17×cbrt-undiv div-exp
16×associate-/r*
12×div-inv
associate-/r/ add-log-exp
prod-exp cbrt-unprod
pow1 associate-/l/
frac-2neg flip3-+ associate-*r/ clear-num flip-+
+-commutative sum-log distribute-lft-out
Counts
3 → 156
Calls
3 calls:
4.0ms
(+ (exp (* -1 x)) (exp x))
10.0ms
(/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (/ x y))
16.0ms
(/ (/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (/ x y)) z)

series170.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(+ (exp (* -1 x)) (exp x))
61.0ms
(/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (/ x y))
89.0ms
(/ (/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (/ x y)) z)

simplify102.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 1 (20.0ms)

IterNodesCost
08561876
140261689
250031689

prune381.0ms

Filtered
165 candidates to 129 candidates (78.2%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New1632165
Fresh167
Picked011
Done101
Total1659174

Merged error: 0.2b

Counts
174 → 9

regimes178.0ms

Accuracy

90.1% (0.7b remaining)

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

bsearch83.0ms

Steps
ItersRangePoint
6
1.9948005311781518e-57
3.0289500282436302e-56
2.841593002539956e-56
9
-1.4790222375363625e-13
-9.476649077800645e-21
-8.70083882387235e-14

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04319
14319

end0.0ms

sample1.2s

Algorithm
intervals
Results
735.0ms22439×body80valid

Profiling

Loading profile data...