Details

Time bar (total: 3.5s)

sample36.0ms

Algorithm
intervals
Results
18.0ms726×body80valid

simplify51.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.3b

localize5.0ms

Local error

Found 2 expressions with local error:

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

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

series184.0ms

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

simplify39.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0352391
11472333
25001333

prune157.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
16×add-exp-log add-cbrt-cube
13×times-frac associate-*l*
12×add-cube-cbrt *-un-lft-identity
cbrt-undiv div-exp
pow1 cosh-def prod-exp cbrt-unprod
associate-*r* 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:
8.0ms
(* (/ y x) (cosh x))
6.0ms
(/ (* (/ y x) (cosh x)) z)

series217.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0351386
11560327
25001310

prune154.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp x) (exp (- x)))
0.0b
(* y (+ (exp x) (exp (- x))))
5.9b
(/ (* y (+ (exp x) (exp (- x)))) (* z (* x 2)))

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
26×add-exp-log add-cbrt-cube
10×*-un-lft-identity prod-exp cbrt-unprod
add-sqr-sqrt
cbrt-undiv add-cube-cbrt div-exp
pow1 add-log-exp
associate-*r/ associate-*r*
expm1-log1p-u fma-def flip3-+ associate-*l* flip-+ log1p-expm1-u
associate-/l/ distribute-lft-out
+-commutative distribute-rgt-in frac-2neg distribute-lft-in times-frac pow-prod-down clear-num associate-/r* sum-log *-commutative div-inv associate-/l* unswap-sqr
Counts
3 → 71
Calls
3 calls:
6.0ms
(+ (exp x) (exp (- x)))
20.0ms
(* y (+ (exp x) (exp (- x))))
13.0ms
(/ (* y (+ (exp x) (exp (- x)))) (* z (* x 2)))

series169.0ms

Counts
3 → 9
Calls
3 calls:
23.0ms
(+ (exp x) (exp (- x)))
47.0ms
(* y (+ (exp x) (exp (- x))))
99.0ms
(/ (* y (+ (exp x) (exp (- x)))) (* z (* x 2)))

simplify70.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0449688
12676539
25001538

prune223.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
100×add-exp-log
56×add-cbrt-cube
38×div-exp
37×prod-exp
26×times-frac
23×*-un-lft-identity
21×add-sqr-sqrt
19×cbrt-undiv add-cube-cbrt cbrt-unprod
12×associate-*r/
11×associate-/r/
associate-/r*
pow1 rec-exp flip3-+ 1-exp flip-+
div-inv add-log-exp
expm1-log1p-u associate-*r* log1p-expm1-u associate-/l*
fma-def associate-*l*
frac-2neg clear-num distribute-lft-out
+-commutative distribute-rgt-in pow-flip distribute-lft-in pow-prod-down sum-log *-commutative inv-pow unswap-sqr
Counts
4 → 145
Calls
4 calls:
6.0ms
(+ (exp x) (exp (- x)))
20.0ms
(* y (+ (exp x) (exp (- x))))
27.0ms
(/ 1 (/ (* z (* x 2)) (* y (+ (exp x) (exp (- x))))))
12.0ms
(/ (* z (* x 2)) (* y (+ (exp x) (exp (- x)))))

series281.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(+ (exp x) (exp (- x)))
44.0ms
(* y (+ (exp x) (exp (- x))))
116.0ms
(/ 1 (/ (* z (* x 2)) (* y (+ (exp x) (exp (- x))))))
100.0ms
(/ (* z (* x 2)) (* y (+ (exp x) (exp (- x)))))

simplify113.0ms

Algorithm
egg-herbie
Counts
157 → 157
Iterations

Useful iterations: 2 (99.0ms)

IterNodesCost
06851752
143081429
250021406

prune324.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.0b

regimes142.0ms

Accuracy

91.5% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 7.1b

bsearch105.0ms

Steps
ItersRangePoint
8
1.7311542680296076e-71
3.564777018329594e-67
2.9850539096426896e-67
9
-2.3494833097422614e-45
-1.3803277359183293e-50
-4.25583918284501e-46

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03616
13816
23816

end0.0ms

sample1.0s

Algorithm
intervals
Results
573.0ms22310×body80valid