Details

Time bar (total: 6.0s)

sample25.0ms

Algorithm
intervals
Results
10.0ms269×body80valid
0.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite72.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:
2.0ms
(tanh (/ x y))
15.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
51.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series862.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(tanh (/ x y))
249.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
241.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
282.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
05601798
122571400
250011397

prune386.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

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

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

series1.1s

Counts
4 → 12
Calls
4 calls:
247.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
277.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
282.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
283.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify50.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04311260
11744961
25003961

prune357.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite83.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))
2.0ms
(tanh (/ x y))
15.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
59.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series602.0ms

Counts
4 → 12
Calls
4 calls:
89.0ms
(tanh (/ t y))
82.0ms
(tanh (/ x y))
249.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
183.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify72.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (59.0ms)

IterNodesCost
06501841
128801440
250021437

prune358.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite88.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:
2.0ms
(tanh (/ x y))
30.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
26.0ms
(* (* y z) (tanh (/ t y)))
27.0ms
(* (* y z) (- (tanh (/ x y))))

series461.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(tanh (/ x y))
185.0ms
(+ (* (* y z) (tanh (/ t y))) (* (* y z) (- (tanh (/ x y)))))
93.0ms
(* (* y z) (tanh (/ t y)))
96.0ms
(* (* y z) (- (tanh (/ x y))))

simplify92.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (84.0ms)

IterNodesCost
0637942
13328861
25001859

prune336.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

regimes109.0ms

Accuracy

0% (1.9b remaining)

Error of 2.1b against oracle of 0.2b and baseline of 2.1b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample659.0ms

Algorithm
intervals
Results
313.0ms8330×body80valid
11.0ms82×body640valid
7.0ms68×body320valid
7.0ms34×body1280valid
3.0ms37×body160valid