Details

Time bar (total: 3.3m)

sample23.0ms

Algorithm
intervals
Results
10.0ms276×body80valid
0.0msbody1280valid
0.0msbody320valid

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune12.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.0b
(tanh (/ t y))
0.8b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
29×*-un-lft-identity
27×prod-diff
25×add-cube-cbrt
18×frac-sub
13×tanh-def
11×distribute-rgt-in distribute-lft-in associate-*r/
pow1 add-exp-log add-cbrt-cube add-log-exp
associate-*r*
expm1-log1p-u log1p-expm1-u
sub-neg fma-neg associate-*l*
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
4 → 114
Calls
4 calls:
8.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(tanh (/ t y))
25.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series776.0ms

Counts
4 → 12
Calls
4 calls:
227.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
83.0ms
(tanh (/ t y))
217.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
249.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify68.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05461798
121801400
250011397

prune360.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.0b
(tanh (/ t y))
4.7b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

rewrite52.0ms

Algorithm
rewrite-expression-head
Rules
45×prod-diff
41×add-sqr-sqrt *-un-lft-identity
37×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
18×frac-sub
13×tanh-def
11×associate-*r/
pow1 add-exp-log add-cbrt-cube
add-log-exp
sub-neg associate-*r*
expm1-log1p-u log1p-expm1-u
fma-def fma-neg pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
+-commutative flip3-+ diff-log associate-*l* sum-log *-commutative flip-+
Counts
4 → 142
Calls
4 calls:
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
8.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(tanh (/ t y))
31.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series808.0ms

Counts
4 → 12
Calls
4 calls:
338.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
225.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
82.0ms
(tanh (/ t y))
163.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify92.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07632264
132671740
250011733

prune433.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.1b

localize23.0ms

Local error

Found 4 expressions with local error:

3.7b
(* (* y z) (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)))
7.2b
(cbrt (tanh (/ t y)))
7.2b
(cbrt (tanh (/ t y)))
7.2b
(cbrt (tanh (/ t y)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log cbrt-prod cbrt-div add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* pow-prod-down prod-exp cbrt-unprod tanh-def
fma-udef
distribute-rgt-in distribute-lft-in associate-*l* *-commutative
Counts
4 → 70
Calls
4 calls:
7.0ms
(* (* y z) (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)))
1.0ms
(cbrt (tanh (/ t y)))
1.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))

series3.2m

Counts
4 → 12
Calls
4 calls:
3.2m
(* (* y z) (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)))
169.0ms
(cbrt (tanh (/ t y)))
173.0ms
(cbrt (tanh (/ t y)))
172.0ms
(cbrt (tanh (/ t y)))

simplify41.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0286719
11084634
25002619

prune478.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.1b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.1b
(pow (tanh (/ t y)) 3)
4.7b
(* (* y z) (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
12.7b
(cbrt (pow (tanh (/ t y)) 3))

rewrite84.0ms

Algorithm
rewrite-expression-head
Rules
90×prod-diff
88×cbrt-prod
74×add-sqr-sqrt
67×*-un-lft-identity
65×add-cube-cbrt
47×distribute-rgt-in distribute-lft-in
25×unpow-prod-down cube-prod
15×cube-div
12×cbrt-div
11×associate-*r/
10×pow1 add-exp-log add-cbrt-cube
associate-*r* frac-sub tanh-def sqr-pow
cube-mult unpow3
difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow pow-prod-down prod-exp cbrt-unprod
sub-neg
pow-to-exp flip3-- pow-pow pow1/3 associate-*l* pow-exp *-commutative flip-- rem-cbrt-cube distribute-lft-out-- rem-cube-cbrt
Counts
4 → 197
Calls
4 calls:
1.0ms
(tanh (/ t y))
2.0ms
(pow (tanh (/ t y)) 3)
67.0ms
(* (* y z) (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
3.0ms
(cbrt (pow (tanh (/ t y)) 3))

series481.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(tanh (/ t y))
130.0ms
(pow (tanh (/ t y)) 3)
174.0ms
(* (* y z) (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
90.0ms
(cbrt (pow (tanh (/ t y)) 3))

simplify105.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (79.0ms)

IterNodesCost
09313679
136782347
250012279

prune586.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.1b

regimes177.0ms

Accuracy

43% (2.4b remaining)

Error of 2.9b against oracle of 0.5b and baseline of 4.7b

bsearch2.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02726
12726

end0.0ms

sample596.0ms

Algorithm
intervals
Results
329.0ms8287×body80valid
14.0ms94×body640valid
9.0ms85×body320valid
8.0ms38×body1280valid
2.0ms32×body160valid