Details

Time bar (total: 7.4s)

sample45.0ms

Algorithm
intervals
Results
29.0ms256×body80valid
1.0msbody640valid
1.0msbody320valid
1.0msbody1280valid
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

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.7b

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series803.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(tanh (/ t y))
231.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
228.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
258.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify65.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05461798
121801400
250011397

prune389.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.4b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite23.0ms

Algorithm
rewrite-expression-head
Rules
33×cbrt-div
27×frac-sub
18×tanh-def
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 88
Calls
4 calls:
0.0ms
(fma y (* (* z (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))) x)
6.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
7.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
7.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

series1.4s

Counts
4 → 12
Calls
4 calls:
257.0ms
(fma y (* (* z (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y)))))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))) x)
382.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
384.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
382.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

simplify53.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
05062042
116631945
250021909

prune726.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.4b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite3.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod
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
fma-udef
Counts
4 → 49
Calls
4 calls:
0.0ms
(fma y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))) x)
0.0ms
(cbrt z)
1.0ms
(cbrt z)
1.0ms
(cbrt z)

series846.0ms

Counts
4 → 12
Calls
4 calls:
289.0ms
(fma y (* (* (cbrt z) (cbrt z)) (* (cbrt z) (- (tanh (/ t y)) (tanh (/ x y))))) x)
185.0ms
(cbrt z)
190.0ms
(cbrt z)
183.0ms
(cbrt z)

simplify42.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 3 (37.0ms)

IterNodesCost
0113301
1301264
21075255
35001250

prune255.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.4b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite82.0ms

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

series703.0ms

Counts
4 → 12
Calls
4 calls:
225.0ms
(* (* y (- (tanh (/ t y)) (tanh (/ x y)))) z)
82.0ms
(tanh (/ t y))
232.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
164.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

simplify77.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06252120
127081694
250021691

prune424.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

regimes120.0ms

Accuracy

0% (1.3b remaining)

Error of 1.3b against oracle of 0.0b and baseline of 1.3b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02110
12510
22610
32610

end0.0ms

sample1.2s

Algorithm
intervals
Results
854.0ms8321×body80valid
27.0ms83×body640valid
24.0ms55×body1280valid
19.0ms76×body320valid
6.0ms33×body160valid