Details

Time bar (total: 6.0s)

sample42.0ms

Algorithm
intervals
Results
30.0ms260×body80valid
1.0msbody320valid
0.0msbody640valid

simplify77.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.4b

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))))
1.6b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

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

series627.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ x y))
80.0ms
(tanh (/ t y))
216.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
249.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify56.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04741186
11938917
25002917

prune289.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0.2b

localize12.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))
0.0b
(tanh (/ x y))
5.0b
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

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

series863.0ms

Counts
4 → 12
Calls
4 calls:
534.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
84.0ms
(tanh (/ t y))
83.0ms
(tanh (/ x y))
162.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify89.0ms

Algorithm
egg-herbie
Counts
129 → 129
Iterations

Useful iterations: 2 (71.0ms)

IterNodesCost
06851652
130001257
250021253

prune354.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/
14×pow1 add-exp-log add-cbrt-cube
13×associate-*r*
12×distribute-neg-frac
frac-add tanh-def
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod add-log-exp
expm1-log1p-u log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in distribute-rgt-neg-out
associate-*l* *-commutative
+-commutative neg-mul-1 fma-def flip3-+ unsub-neg sum-log flip-+ distribute-lft-out
Counts
4 → 92
Calls
4 calls:
1.0ms
(tanh (/ x y))
11.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
14.0ms
(* (* y z) (- (tanh (/ x y))))
9.0ms
(* (* y z) (tanh (/ t y)))

series408.0ms

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

simplify98.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
0637942
13328861
25001859

prune336.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize29.0ms

Local error

Found 4 expressions with local error:

8.2b
(cbrt (tanh (/ x y)))
8.2b
(cbrt (tanh (/ x y)))
8.2b
(cbrt (tanh (/ x y)))
16.9b
(fma (- (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y))))))

rewrite6.0ms

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

series733.0ms

Counts
4 → 12
Calls
4 calls:
168.0ms
(cbrt (tanh (/ x y)))
168.0ms
(cbrt (tanh (/ x y)))
164.0ms
(cbrt (tanh (/ x y)))
232.0ms
(fma (- (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (* (cbrt (tanh (/ x y))) (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y))))))

simplify55.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (47.0ms)

IterNodesCost
0192733
1488655
21953639
35002585

prune441.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

regimes102.0ms

Accuracy

1.3% (4.1b remaining)

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

bsearch81.0ms

Steps
ItersRangePoint
10
-2.5211421667886764e+269
-4.977642774477477e+259
-3.7198484520496166e+265

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04245
14945
24945

end0.0ms

sample1.1s

Algorithm
intervals
Results
828.0ms8236×body80valid
36.0ms104×body640valid
23.0ms53×body1280valid
18.0ms74×body320valid
7.0ms39×body160valid