Details

Time bar (total: 3.6s)

sample53.0ms

Algorithm
intervals
Results
34.0ms722×body80valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0184
1414
21024
32284
44114
57864
624694
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.5b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(cosh x)
0.0b
(* (cosh x) (/ y x))
7.0b
(/ (* (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)
8.0ms
(* (cosh x) (/ y x))
5.0ms
(/ (* (cosh x) (/ y x)) z)

series233.0ms

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

simplify50.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0383433
11634372
25001368

prune194.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 3 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
17×add-exp-log add-cbrt-cube
add-sqr-sqrt
pow1 add-cube-cbrt *-un-lft-identity prod-exp cbrt-unprod
cbrt-undiv div-exp
expm1-log1p-u cosh-def associate-*r* associate-*l* log1p-expm1-u add-log-exp
associate-*l/
frac-2neg times-frac pow-prod-down clear-num associate-/r* *-commutative div-inv associate-/l/ associate-/l* unswap-sqr
Counts
3 → 55
Calls
3 calls:
1.0ms
(cosh x)
3.0ms
(* (cosh x) y)
5.0ms
(/ (* (cosh x) y) (* z x))

series220.0ms

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

simplify46.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0313314
11468256
25001252

prune141.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 3 expressions with local error:

0.0b
(cosh x)
0.4b
(/ (cosh x) (/ (* z x) y))
5.1b
(/ (* z x) y)

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
21×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
17×add-exp-log add-cbrt-cube
10×associate-/r*
cbrt-undiv div-exp
div-inv
associate-/l*
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cosh-def frac-2neg prod-exp clear-num cbrt-unprod
associate-/r/ associate-/l/
Counts
3 → 84
Calls
3 calls:
1.0ms
(cosh x)
5.0ms
(/ (cosh x) (/ (* z x) y))
3.0ms
(/ (* z x) y)

series201.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(cosh x)
134.0ms
(/ (cosh x) (/ (* z x) y))
21.0ms
(/ (* z x) y)

simplify52.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0393547
11748492
25002482

prune212.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(cosh x)
0.4b
(/ (cosh x) (* (* z x) (/ 1 y)))
5.1b
(* (* z x) (/ 1 y))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
57×add-exp-log
33×add-cbrt-cube
24×prod-exp
17×div-exp
13×associate-*r*
12×add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac cbrt-unprod
cbrt-undiv
pow1
rec-exp 1-exp
expm1-log1p-u pow-prod-down log1p-expm1-u associate-/l* add-log-exp
cosh-def associate-*r/ associate-/r/ un-div-inv div-inv
frac-2neg associate-*l* clear-num associate-/r* *-commutative associate-/l/
Counts
3 → 86
Calls
3 calls:
1.0ms
(cosh x)
10.0ms
(/ (cosh x) (* (* z x) (/ 1 y)))
11.0ms
(* (* z x) (/ 1 y))

series200.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(cosh x)
139.0ms
(/ (cosh x) (* (* z x) (/ 1 y)))
18.0ms
(* (* z x) (/ 1 y))

simplify69.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
0488526
12464412
25002396

prune153.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes197.0ms

Accuracy

94.9% (0.4b remaining)

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

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02218
12218

end0.0ms

sample1.4s

Algorithm
intervals
Results
975.0ms22077×body80valid