Details

Time bar (total: 2.8s)

sample26.0ms

Algorithm
intervals
Results
13.0ms268×body80valid
1.0msbody640valid
0.0msbody320valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.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 (/ x y))
2.0ms
(tanh (/ t y))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
16.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series647.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ x y))
85.0ms
(tanh (/ t y))
261.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
220.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify62.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
04741186
11938917
25002917

prune271.0ms

Filtered
101 candidates to 72 candidates (71.3%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New974101
Fresh011
Picked101
Done000
Total985103

Merged error: 0.6b

Counts
103 → 5

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt *-un-lft-identity prod-diff
16×add-cube-cbrt
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 pow-prod-down prod-exp cbrt-unprod log1p-expm1-u add-log-exp
sub-neg
flip3-- associate-*l* *-commutative flip-- distribute-lft-out-- difference-of-squares
Counts
3 → 79
Calls
3 calls:
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ t y))
14.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series337.0ms

Counts
3 → 9
Calls
3 calls:
83.0ms
(tanh (/ x y))
84.0ms
(tanh (/ t y))
170.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify69.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
05611159
12549887
25003887

prune198.0ms

Filtered
88 candidates to 57 candidates (64.8%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New87188
Fresh134
Picked011
Done000
Total88593

Merged error: 0.6b

Counts
93 → 5

localize6.0ms

Local error

Found 2 expressions with local error:

2.2b
(/ (* t z) y)
6.9b
(fma y (/ (* t z) y) x)

rewrite7.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
times-frac associate-/r*
pow1 cbrt-undiv expm1-log1p-u div-exp log1p-expm1-u add-log-exp
frac-2neg prod-exp clear-num cbrt-unprod fma-udef div-inv associate-/l*
Counts
2 → 33
Calls
2 calls:
5.0ms
(/ (* t z) y)
1.0ms
(fma y (/ (* t z) y) x)

series62.0ms

Counts
2 → 6
Calls
2 calls:
19.0ms
(/ (* t z) y)
43.0ms
(fma y (/ (* t z) y) x)

simplify69.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0133144
1573122
22685122
35001122

prune80.0ms

Filtered
39 candidates to 30 candidates (76.9%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New38139
Fresh033
Picked101
Done011
Total39544

Merged error: 0.2b

Counts
44 → 5

localize3.0ms

rewrite0.0ms

Algorithm
rewrite-expression-head
Rules
Counts
0 → 0

series0.0ms

Counts
0 → 0

simplify3.0ms

Algorithm
egg-herbie
Counts
0 → 0
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
000

prune0.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New000
Fresh033
Picked011
Done011
Total055

Merged error: 0.2b

Counts
5 → 5

regimes139.0ms

Accuracy

29.6% (2.9b remaining)

Error of 3.2b against oracle of 0.3b and baseline of 4.4b

bsearch2.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02118
12118

end0.0ms

sample674.0ms

Algorithm
intervals
Results
407.0ms8332×body80valid
18.0ms98×body640valid
12.0ms47×body1280valid
8.0ms60×body320valid
3.0ms34×body160valid