Details

Time bar (total: 5.7s)

sample27.0ms

Algorithm
intervals
Results
13.0ms269×body80valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody640valid

simplify78.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune9.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.8b

Counts
2 → 2

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(tanh (/ x y))
0.5b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite18.0ms

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

series636.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(tanh (/ t y))
82.0ms
(tanh (/ x y))
214.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
257.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify59.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04741186
11938917
25002917

prune262.0ms

Filtered
101 candidates to 72 candidates (71.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New974101
Fresh011
Picked011
Done000
Total976103

Merged error: 0.3b

Counts
103 → 6

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite16.0ms

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

series964.0ms

Counts
4 → 12
Calls
4 calls:
216.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
248.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
247.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
253.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify51.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04311260
11744961
25003961

prune327.0ms

Filtered
97 candidates to 68 candidates (70.1%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New95297
Fresh044
Picked101
Done011
Total967103

Merged error: 0.2b

Counts
103 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

0.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
0.9b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-sqr-sqrt expm1-log1p-u add-cube-cbrt *-un-lft-identity add-cbrt-cube fma-udef log1p-expm1-u add-log-exp
Counts
4 → 40
Calls
4 calls:
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series1.0s

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

simplify70.0ms

Algorithm
egg-herbie
Counts
52 → 52
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
069428
1184368
2531368
32422368
45002368

prune229.0ms

Filtered
52 candidates to 48 candidates (92.3%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New52052
Fresh055
Picked011
Done011
Total52759

Merged error: 0.2b

Counts
59 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt *-un-lft-identity
27×prod-diff
24×add-cube-cbrt
18×frac-sub
14×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 pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
4 → 116
Calls
4 calls:
2.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ x y))
12.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series557.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(tanh (/ t y))
230.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
78.0ms
(tanh (/ x y))
164.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify80.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
06501841
128801440
250021437

prune303.0ms

Filtered
128 candidates to 86 candidates (67.2%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New1262128
Fresh134
Picked011
Done022
Total1278135

Merged error: 0.2b

Counts
135 → 8

regimes188.0ms

Accuracy

0% (1.5b remaining)

Error of 1.8b against oracle of 0.3b and baseline of 1.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample689.0ms

Algorithm
intervals
Results
417.0ms8293×body80valid
17.0ms89×body640valid
15.0ms54×body1280valid
10.0ms70×body320valid
3.0ms33×body160valid

Profiling

Loading profile data...