Details

Time bar (total: 4.1s)

sample56.0ms

Algorithm
intervals
Results
38.0ms714×body80valid

simplify53.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0184
1414
21024
32244
44014
57584
624034
750024

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.5b

localize10.0ms

Local error

Found 3 expressions with local error:

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

rewrite15.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))
5.0ms
(/ (* (cosh x) (/ y x)) z)

series229.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
77 → 77
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0372414
11616354
25001354

prune173.0ms

Pruning

9 alts after pruning (9 fresh and 0 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.5b
(/ (* (cosh x) y) (* z x))

rewrite9.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
cosh-def associate-*r* associate-*l* 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 → 49
Calls
3 calls:
0.0ms
(cosh x)
3.0ms
(* (cosh x) y)
4.0ms
(/ (* (cosh x) y) (* z x))

series228.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(cosh x)
70.0ms
(* (cosh x) y)
110.0ms
(/ (* (cosh x) y) (* z x))

simplify42.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0302298
11449240
25001240

prune125.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (exp (log (cosh x))) y)
0.0b
(exp (log (cosh x)))
2.7b
(log (cosh x))
5.5b
(/ (* (exp (log (cosh x))) y) (* z x))

rewrite24.0ms

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

series369.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* (exp (log (cosh x))) y)
43.0ms
(exp (log (cosh x)))
149.0ms
(log (cosh x))
110.0ms
(/ (* (exp (log (cosh x))) y) (* z x))

simplify44.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0369476
11636375
25001373

prune206.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
62×add-exp-log
32×add-cbrt-cube
31×prod-exp
14×pow1
13×cbrt-unprod
12×add-sqr-sqrt div-exp
10×add-cube-cbrt *-un-lft-identity associate-*r*
cbrt-undiv rec-exp times-frac 1-exp
pow-prod-down
cosh-def associate-*l* associate-*l/ add-log-exp
associate-/l*
pow-flip *-commutative div-inv
frac-times frac-2neg associate-*r/ clear-num associate-/r* un-div-inv inv-pow unswap-sqr
Counts
4 → 97
Calls
4 calls:
0.0ms
(cosh x)
3.0ms
(* (cosh x) y)
4.0ms
(/ 1 (* z x))
16.0ms
(* (* (cosh x) y) (/ 1 (* z x)))

series235.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(cosh x)
68.0ms
(* (cosh x) y)
9.0ms
(/ 1 (* z x))
116.0ms
(* (* (cosh x) y) (/ 1 (* z x)))

simplify54.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0440545
12117438
25001417

prune171.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0b

regimes145.0ms

Accuracy

96% (0.3b remaining)

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

bsearch102.0ms

Steps
ItersRangePoint
9
9.238773454242106e-24
1.0236553557247945e-18
2.23999075420358e-19
6
-1.8697464070412756e-23
-1.849131392996741e-24
-3.1693282213155974e-24

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02911
12911

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.2s22276×body80valid