Details

Time bar (total: 4.6s)

sample27.0ms

Algorithm
intervals
Results
13.0ms270×body80valid
1.0msbody640valid
0.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

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.9b

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series617.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(tanh (/ x y))
79.0ms
(tanh (/ t y))
218.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
244.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
04741186
11938917
25002917

prune256.0ms

Filtered
101 candidates to 72 candidates (71.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New965101
Fresh011
Picked101
Done000
Total976103

Merged error: 0.7b

Counts
103 → 6

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
1.3b
(* z (tanh (/ t y)))
1.9b
(* z (- (tanh (/ x y))))
2.1b
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×associate-*r*
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
associate-*r/ associate-*l*
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-neg-frac tanh-def
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
neg-mul-1 distribute-rgt-neg-out fma-udef
Counts
4 → 76
Calls
4 calls:
2.0ms
(tanh (/ t y))
5.0ms
(* z (tanh (/ t y)))
7.0ms
(* z (- (tanh (/ x y))))
1.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)

series486.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(tanh (/ t y))
85.0ms
(* z (tanh (/ t y)))
87.0ms
(* z (- (tanh (/ x y))))
240.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)

simplify44.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (33.0ms)

IterNodesCost
0318502
11229449
25002447

prune235.0ms

Filtered
88 candidates to 71 candidates (80.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New86288
Fresh145
Picked011
Done000
Total87794

Merged error: 0.7b

Counts
94 → 7

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

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

series644.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ x y))
80.0ms
(tanh (/ t y))
329.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
155.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify82.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (68.0ms)

IterNodesCost
06851652
130001257
250021253

prune300.0ms

Filtered
129 candidates to 86 candidates (66.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1281129
Fresh055
Picked101
Done011
Total1297136

Merged error: 0.7b

Counts
136 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.8b
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
4.5b
(* (tanh (/ t y)) y)
7.4b
(* (* y z) (- (tanh (/ x y))))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-*r*
12×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
add-log-exp
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
distribute-lft-neg-in fma-def distribute-rgt-neg-in associate-*r/ associate-*l/ distribute-rgt-neg-out distribute-neg-frac tanh-def
*-commutative
+-commutative neg-mul-1 associate-+l+ flip3-+ unsub-neg sum-log flip-+ fma-udef unswap-sqr
Counts
4 → 85
Calls
4 calls:
2.0ms
(tanh (/ t y))
3.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
5.0ms
(* (tanh (/ t y)) y)
7.0ms
(* (* y z) (- (tanh (/ x y))))

series503.0ms

Counts
4 → 12
Calls
4 calls:
76.0ms
(tanh (/ t y))
227.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
111.0ms
(* (tanh (/ t y)) y)
89.0ms
(* (* y z) (- (tanh (/ x y))))

simplify68.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
0429623
11932559
25001558

prune259.0ms

Filtered
97 candidates to 77 candidates (79.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New96197
Fresh415
Picked101
Done011
Total1013104

Merged error: 0.0b

Counts
104 → 3

regimes79.0ms

Accuracy

6.5% (1.9b remaining)

Error of 2.0b against oracle of 0.0b and baseline of 2.1b

bsearch42.0ms

Steps
ItersRangePoint
8
-1.1758805254835388e+137
-2.8188968272270845e+134
-1.1600489093627797e+137

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02512
12912
23012
33012

end0.0ms

sample674.0ms

Algorithm
intervals
Results
408.0ms8308×body80valid
22.0ms123×body640valid
8.0ms62×body320valid
8.0ms33×body1280valid
4.0ms39×body160valid