Details

Time bar (total: 1.8m)

sample38.0ms

Algorithm
intervals
Results
24.0ms271×body80valid
1.0msbody1280valid
0.0msbody160valid
0.0msbody640valid
0.0msbody320valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.1b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.1b
(- (tanh (/ t y)) (tanh (/ x y)))
0.3b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite38.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:
1.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
24.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series854.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(tanh (/ t y))
253.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
278.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
235.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify81.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
05461798
121801400
250031397

prune412.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.3b

localize22.0ms

Local error

Found 4 expressions with local error:

1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
5.6b
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
5.6b
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
5.6b
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
36×frac-sub
33×cbrt-div
24×tanh-def
22×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt prod-diff
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
cbrt-prod pow1/3 associate-*l*
sub-neg
pow-prod-down prod-exp *-commutative cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 121
Calls
4 calls:
24.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
12.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
12.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
12.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

series2.2s

Counts
4 → 12
Calls
4 calls:
240.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
642.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
661.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))
664.0ms
(cbrt (* z (- (tanh (/ t y)) (tanh (/ x y)))))

simplify87.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06682649
125732350
250032344

prune673.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.3b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.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:
1.0ms
(tanh (/ t y))
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
30.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series893.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(tanh (/ t y))
377.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
245.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
178.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify102.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (83.0ms)

IterNodesCost
07632264
132671740
250011733

prune482.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.3b

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(- (tanh (/ t y)) (tanh (/ x y)))
0.3b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.7b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
4.2b
(* (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)) (* y z))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
32×add-sqr-sqrt
30×*-un-lft-identity
27×prod-diff
26×add-cube-cbrt
18×frac-sub
12×tanh-def
11×pow1 add-exp-log distribute-rgt-in distribute-lft-in associate-*r/ add-cbrt-cube
associate-*r* associate-*l* add-log-exp
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
sub-neg fma-neg
flip3-- *-commutative flip-- distribute-lft-out-- difference-of-squares
diff-log fma-udef unswap-sqr
Counts
4 → 122
Calls
4 calls:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
23.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
6.0ms
(* (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)) (* y z))

series1.7m

Counts
4 → 12
Calls
4 calls:
242.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
276.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
233.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.6m
(* (fma (- (tanh (/ x y))) 1 (* (tanh (/ x y)) 1)) (* y z))

simplify92.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06201980
126081517
250011504

prune482.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.3b

regimes157.0ms

Accuracy

0% (1.9b remaining)

Error of 2.4b against oracle of 0.5b and baseline of 2.4b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01624
11624

end0.0ms

sample1.0s

Algorithm
intervals
Results
748.0ms8338×body80valid
30.0ms107×body640valid
16.0ms45×body1280valid
13.0ms62×body320valid
6.0ms37×body160valid