Details

Time bar (total: 2.5s)

analyze321.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
12.5%87.4%0.1%4
18.7%81.1%0.1%5
18.7%81.1%0.1%6
21.8%78%0.1%7
27.3%61.6%11.1%8
28.5%60.5%11.1%9
32.6%53.4%14%10
40.2%38.1%21.7%11
41.8%35.8%22.4%12
44.5%29.2%26.3%13
47.1%21.3%31.6%14

sample31.0ms

Algorithm
intervals
Results
10.0ms256×body80valid
7.0ms235×body80invalid

simplify58.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (56.0ms)

IterNodesCost
050578

prune10.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 2

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite12.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*
cosh-def 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 → 50
Calls
2 calls:
6.0ms
(* (cosh x) (/ y (* x z)))
4.0ms
(/ y (* x z))

series32.0ms

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

simplify52.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
04986459
14986459

prune66.0ms

Filtered
40 candidates to 56 candidates (-40.0%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New51556
Fresh011
Picked011
Done000
Total51758

Merged error: 0.0b

Counts
58 → 7

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
61×add-exp-log
31×prod-exp add-cbrt-cube
13×pow1 cbrt-unprod
12×div-exp
11×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
associate-*r*
cbrt-undiv rec-exp times-frac 1-exp associate-*l*
associate-*r/ pow-prod-down
cosh-def un-div-inv associate-/l* add-log-exp
frac-times pow-flip *-commutative div-inv
frac-2neg associate-*l/ clear-num associate-/r* inv-pow unswap-sqr
Counts
3 → 91
Calls
3 calls:
9.0ms
(* (cosh x) (* y (/ 1 (* x z))))
4.0ms
(/ 1 (* x z))
7.0ms
(* y (/ 1 (* x z)))

series34.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(* (cosh x) (* y (/ 1 (* x z))))
2.0ms
(/ 1 (* x z))
5.0ms
(* y (/ 1 (* x z)))

simplify43.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (36.0ms)

IterNodesCost
05099689

prune83.0ms

Filtered
49 candidates to 100 candidates (-104.1%)
Pruning

9 alts after pruning (7 fresh and 2 done)

PrunedKeptTotal
New973100
Fresh145
Picked011
Done011
Total989107

Merged error: 0b

Counts
107 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (exp x) (exp (neg x)))
0.0b
(/ (+ (exp x) (exp (neg x))) z)
0.3b
(* (/ (+ (exp x) (exp (neg x))) z) (/ 1/2 x))
5.7b
(* y (* (/ (+ (exp x) (exp (neg x))) z) (/ 1/2 x)))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
47×*-un-lft-identity
43×add-sqr-sqrt times-frac
36×add-exp-log add-cbrt-cube
31×add-cube-cbrt
22×associate-*l*
14×associate-*r*
13×prod-exp cbrt-unprod
11×pow1
cbrt-undiv div-exp
cosh-undef distribute-lft-out
add-log-exp
associate-*r/ associate-/l*
pow-prod-down unswap-sqr
associate-/r* div-inv
frac-times flip3-+ associate-*l/ *-commutative flip-+ associate-/l/
+-commutative frac-2neg clear-num sum-log
Counts
4 → 133
Calls
4 calls:
5.0ms
(+ (exp x) (exp (neg x)))
7.0ms
(/ (+ (exp x) (exp (neg x))) z)
14.0ms
(* (/ (+ (exp x) (exp (neg x))) z) (/ 1/2 x))
11.0ms
(* y (* (/ (+ (exp x) (exp (neg x))) z) (/ 1/2 x)))

series50.0ms

Counts
4 → 12
Calls
4 calls:
4.0ms
(+ (exp x) (exp (neg x)))
10.0ms
(/ (+ (exp x) (exp (neg x))) z)
13.0ms
(* (/ (+ (exp x) (exp (neg x))) z) (/ 1/2 x))
23.0ms
(* y (* (/ (+ (exp x) (exp (neg x))) z) (/ 1/2 x)))

simplify47.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 0 (35.0ms)

IterNodesCost
049741515
149741515

prune135.0ms

Filtered
102 candidates to 145 candidates (-42.2%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1432145
Fresh336
Picked011
Done112
Total1477154

Merged error: 0b

Counts
154 → 7

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (cosh x) z)
0.2b
(/ (/ (cosh x) z) x)
5.7b
(* y (/ (/ (cosh x) z) x))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
153×times-frac
98×add-sqr-sqrt
89×add-cube-cbrt *-un-lft-identity
43×associate-*r*
19×add-exp-log add-cbrt-cube
16×associate-/l*
10×div-inv
cbrt-undiv div-exp
associate-/r*
pow1
associate-*l* prod-exp cbrt-unprod add-log-exp unswap-sqr
frac-2neg clear-num associate-/l/
cosh-def associate-*r/ pow-prod-down *-commutative
Counts
3 → 163
Calls
3 calls:
3.0ms
(/ (cosh x) z)
6.0ms
(/ (/ (cosh x) z) x)
13.0ms
(* y (/ (/ (cosh x) z) x))

series55.0ms

Counts
3 → 9
Calls
3 calls:
12.0ms
(/ (cosh x) z)
17.0ms
(/ (/ (cosh x) z) x)
26.0ms
(* y (/ (/ (cosh x) z) x))

simplify61.0ms

Algorithm
egg-herbie
Counts
172 → 172
Iterations

Useful iterations: 0 (47.0ms)

IterNodesCost
049661876
149661876

prune127.0ms

Filtered
141 candidates to 172 candidates (-22.0%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1720172
Fresh044
Picked011
Done022
Total1727179

Merged error: 0b

Counts
179 → 7

regimes350.0ms

Accuracy

94.4% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 7.2b

bsearch39.0ms

Steps
ItersRangePoint
9
5.355710188166733e-24
3.0583679316546437e-16
2.3322492633980286e-16
5
-1.7716550140711326e+59
-4.597158643384064e+58
-4.824673969013898e+58

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02627
12627

end0.0ms

sample795.0ms

Algorithm
intervals
Results
254.0ms8000×body80valid
236.0ms7224×body80invalid

Profiling

Loading profile data...