Details

Time bar (total: 3.4s)

sample40.0ms

Algorithm
intervals
Results
17.0ms711×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0184
1414
21024
32284
44114
57864
624694
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.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:
14.0ms
(* (cosh x) (/ y x))
13.0ms
(/ (* (cosh x) (/ y x)) z)

series179.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
0352391
11472333
25001333

prune155.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite32.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:
23.0ms
(* (cosh x) (/ y (* x z)))
7.0ms
(/ y (* x z))

series122.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0266305
11075254
25001252

prune113.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (cosh x) (/ 1 (/ (* x z) y)))
0.6b
(/ 1 (/ (* x z) y))
6.3b
(/ (* x z) y)

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
68×times-frac
61×add-exp-log
43×add-sqr-sqrt
37×*-un-lft-identity
36×add-cube-cbrt
31×add-cbrt-cube
26×div-exp associate-*r*
17×prod-exp
12×cbrt-undiv
10×associate-/r* div-inv
cbrt-unprod
pow1 rec-exp 1-exp
associate-/l*
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp unswap-sqr
cosh-def frac-2neg clear-num associate-/r/
frac-times pow-flip associate-*r/ pow-prod-down associate-*l/ un-div-inv *-commutative inv-pow
Counts
3 → 142
Calls
3 calls:
35.0ms
(* (cosh x) (/ 1 (/ (* x z) y)))
16.0ms
(/ 1 (/ (* x z) y))
10.0ms
(/ (* x z) y)

series169.0ms

Counts
3 → 9
Calls
3 calls:
129.0ms
(* (cosh x) (/ 1 (/ (* x z) y)))
19.0ms
(/ 1 (/ (* x z) y))
22.0ms
(/ (* x z) y)

simplify65.0ms

Algorithm
egg-herbie
Counts
151 → 151
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0527872
12619740
25001670

prune244.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma (exp x) 1/2 (/ 1/2 (exp x)))
0.0b
(* (/ y z) (fma (exp x) 1/2 (/ 1/2 (exp x))))
0.0b
(/ 1/2 (exp x))
7.7b
(/ (* (/ y z) (fma (exp x) 1/2 (/ 1/2 (exp x)))) x)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt
22×add-cube-cbrt *-un-lft-identity times-frac
20×add-cbrt-cube
19×add-exp-log
13×associate-*l*
pow1 cbrt-undiv div-exp associate-/r*
expm1-log1p-u prod-exp cbrt-unprod log1p-expm1-u associate-/l* add-log-exp
associate-*r* fma-udef div-inv
frac-2neg associate-*l/ clear-num unswap-sqr
distribute-rgt-in distribute-lft-in pow-prod-down *-commutative associate-/l/
Counts
4 → 101
Calls
4 calls:
0.0ms
(fma (exp x) 1/2 (/ 1/2 (exp x)))
17.0ms
(* (/ y z) (fma (exp x) 1/2 (/ 1/2 (exp x))))
6.0ms
(/ 1/2 (exp x))
13.0ms
(/ (* (/ y z) (fma (exp x) 1/2 (/ 1/2 (exp x)))) x)

series274.0ms

Counts
4 → 12
Calls
4 calls:
40.0ms
(fma (exp x) 1/2 (/ 1/2 (exp x)))
94.0ms
(* (/ y z) (fma (exp x) 1/2 (/ 1/2 (exp x))))
9.0ms
(/ 1/2 (exp x))
132.0ms
(/ (* (/ y z) (fma (exp x) 1/2 (/ 1/2 (exp x)))) x)

simplify64.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0438829
12409711
25001710

prune265.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0b

regimes143.0ms

Accuracy

95.5% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 6.6b

bsearch79.0ms

Steps
ItersRangePoint
9
31969.393647992125
417908792772.36945
59076.5855875224
5
-4.1001359303405306e-32
-1.7935969994236712e-32
-2.5645364836187805e-32

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample1.2s

Algorithm
intervals
Results
569.0ms22471×body80valid