Details

Time bar (total: 3.6s)

sample40.0ms

Algorithm
intervals
Results
19.0ms640×body80valid

simplify58.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: 8.8b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (/ y x))
8.2b
(/ (* (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)

series202.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0352391
11472333
25001333

prune160.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 2 expressions with local error:

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

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

series143.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0266305
11075254
25001252

prune124.0ms

Pruning

9 alts after pruning (9 fresh and 0 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))
6.0b
(/ (* (/ y z) (fma (exp x) 1/2 (/ 1/2 (exp x)))) x)

rewrite40.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)

series296.0ms

Counts
4 → 12
Calls
4 calls:
43.0ms
(fma (exp x) 1/2 (/ 1/2 (exp x)))
101.0ms
(* (/ y z) (fma (exp x) 1/2 (/ 1/2 (exp x))))
10.0ms
(/ 1/2 (exp x))
142.0ms
(/ (* (/ y z) (fma (exp x) 1/2 (/ 1/2 (exp x)))) x)

simplify62.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0438831
12402711
25001710

prune278.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (cosh x) (* (/ 1 x) (/ y z)))
6.2b
(* (/ 1 x) (/ y z))

rewrite64.0ms

Algorithm
rewrite-expression-head
Rules
56×add-exp-log
34×add-sqr-sqrt
32×add-cbrt-cube
25×times-frac prod-exp
19×*-un-lft-identity
17×add-cube-cbrt
16×div-exp associate-*l*
14×associate-*r*
13×cbrt-unprod
pow1
cbrt-undiv
frac-times associate-*r/ unswap-sqr
rec-exp cosh-def 1-exp pow-prod-down associate-*l/
expm1-log1p-u *-commutative log1p-expm1-u div-inv add-log-exp
Counts
2 → 95
Calls
2 calls:
34.0ms
(* (cosh x) (* (/ 1 x) (/ y z)))
26.0ms
(* (/ 1 x) (/ y z))

series142.0ms

Counts
2 → 6
Calls
2 calls:
121.0ms
(* (cosh x) (* (/ 1 x) (/ y z)))
21.0ms
(* (/ 1 x) (/ y z))

simplify56.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0528592
12340475
25002468

prune177.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

regimes311.0ms

Accuracy

89.3% (0.7b remaining)

Error of 0.7b against oracle of 0.0b and baseline of 6.5b

bsearch84.0ms

Steps
ItersRangePoint
9
1.829401064747631e+70
6.644479027714087e+75
1.8543537535968015e+70
8
-5.417466375154916e+71
-4.892093976664808e+67
-5.663392033250732e+67

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02611
12611

end0.0ms

sample1.2s

Algorithm
intervals
Results
574.0ms22288×body80valid