Details

Time bar (total: 3.3s)

sample45.0ms

Algorithm
intervals
Results
21.0ms711×body80valid

simplify55.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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.0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite30.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/
frac-times associate-*r/ associate-*l/ div-inv add-log-exp unswap-sqr
frac-2neg pow-prod-down clear-num *-commutative associate-/l*
Counts
2 → 60
Calls
2 calls:
15.0ms
(* (cosh x) (/ y x))
13.0ms
(/ (* (cosh x) (/ y x)) z)

series178.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
66 → 66
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0345374
11456317
25001317

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

rewrite33.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*
cosh-def 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 → 50
Calls
2 calls:
24.0ms
(* (cosh x) (/ y (* x z)))
7.0ms
(/ y (* x z))

series123.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0259290
11062239
25002239

prune106.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize11.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (exp (* -1 x)) (exp x))
0.6b
(/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (/ (* z x) y))
6.3b
(/ (* z x) y)

rewrite51.0ms

Algorithm
rewrite-expression-head
Rules
29×add-exp-log add-cbrt-cube
16×times-frac
12×cbrt-undiv div-exp
11×*-un-lft-identity
10×associate-/r*
add-sqr-sqrt add-cube-cbrt
prod-exp cbrt-unprod
add-log-exp
div-inv
pow1
frac-2neg flip3-+ associate-*r/ clear-num flip-+ associate-/l/ associate-/l*
+-commutative sum-log associate-/r/ distribute-lft-out
Counts
3 → 73
Calls
3 calls:
11.0ms
(+ (exp (* -1 x)) (exp x))
28.0ms
(/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (/ (* z x) y))
10.0ms
(/ (* z x) y)

series134.0ms

Counts
3 → 9
Calls
3 calls:
20.0ms
(+ (exp (* -1 x)) (exp x))
97.0ms
(/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (/ (* z x) y))
17.0ms
(/ (* z x) y)

simplify62.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0441684
12493546
25001546

prune196.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite108.0ms

Algorithm
rewrite-expression-head
Rules
33×add-exp-log add-cbrt-cube
13×prod-exp cbrt-unprod
cbrt-undiv div-exp
add-sqr-sqrt *-un-lft-identity
pow1 add-cube-cbrt associate-*l* add-log-exp
associate-*r*
flip3-+ times-frac associate-*r/ flip-+ div-inv associate-/l/
+-commutative frac-2neg pow-prod-down associate-*l/ clear-num associate-/r* sum-log *-commutative distribute-lft-out associate-/l* unswap-sqr
Counts
3 → 64
Calls
3 calls:
12.0ms
(+ (exp (* -1 x)) (exp x))
29.0ms
(/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (* z x))
65.0ms
(* (/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (* z x)) y)

series190.0ms

Counts
3 → 9
Calls
3 calls:
21.0ms
(+ (exp (* -1 x)) (exp x))
66.0ms
(/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (* z x))
103.0ms
(* (/ (* 1/2 (+ (exp (* -1 x)) (exp x))) (* z x)) y)

simplify65.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0430749
12284575
25003575

prune168.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

regimes165.0ms

Accuracy

94.7% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 6.9b

bsearch70.0ms

Steps
ItersRangePoint
10
5.063610711389682e-37
1.225834153592317e-26
2.3191721167167056e-29
4
-6.07876665049474e-05
-3.7467526173041456e-05
-5.71438945780871e-05

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03817
13817

end0.0ms

sample1.2s

Algorithm
intervals
Results
592.0ms22471×body80valid