Details

Time bar (total: 2.9m)

sample35.0ms

Algorithm
intervals
Results
18.0ms256×body80valid
1.0msbody320valid
1.0msbody640valid
0.0msbody160valid
0.0msbody1280valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune24.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.8b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.2b
(- (tanh (/ t y)) (tanh (/ x y)))
0.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.3b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

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

series316.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(tanh (/ x y))
82.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
103.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
102.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify63.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
05601798
122571400
250011397

prune1.0s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.9b

localize14.0ms

Local error

Found 4 expressions with local error:

1.3b
(fma y (* z (fma (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y))) (- (tanh (/ x y))))) x)
6.6b
(cbrt (tanh (/ t y)))
6.6b
(cbrt (tanh (/ t y)))
6.6b
(cbrt (tanh (/ t y)))

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

series353.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(fma y (* z (fma (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y))) (- (tanh (/ x y))))) x)
57.0ms
(cbrt (tanh (/ t y)))
58.0ms
(cbrt (tanh (/ t y)))
59.0ms
(cbrt (tanh (/ t y)))

simplify66.0ms

Algorithm
egg-herbie
Counts
70 → 70
Iterations

Useful iterations: 3 (59.0ms)

IterNodesCost
0274711
1729645
22871624
35002597

prune937.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.9b

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))
1.0b
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
1.3b
(fma y (/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y)))))) x)
9.7b
(/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

rewrite1.2s

Algorithm
rewrite-expression-head
Rules
6780×frac-add
6093×frac-times
5434×tanh-def
3407×associate-/r/
2053×associate-*r/
2031×associate-*l/
432×prod-diff
277×add-sqr-sqrt
247×*-un-lft-identity
243×unpow-prod-down cube-prod
227×add-cube-cbrt
146×distribute-rgt-in distribute-lft-in
89×sqr-pow
73×cube-mult unpow3
54×cube-div
32×difference-of-squares
27×frac-sub
25×associate-*r*
16×flip3-+ flip-+
12×fma-neg
11×add-exp-log add-cbrt-cube associate-/l/
10×distribute-lft-out--
pow1 add-log-exp
expm1-log1p-u log1p-expm1-u
sub-neg flip3-- times-frac associate-*l* associate-/r* flip--
difference-cubes cbrt-undiv div-exp prod-exp cbrt-unprod
frac-2neg diff-log pow-prod-down clear-num *-commutative fma-udef div-inv associate-/l* unswap-sqr
Counts
4 → 3997
Calls
4 calls:
25.0ms
(- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))
97.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
0.0ms
(fma y (/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y)))))) x)
363.0ms
(/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

series4.6s

Counts
4 → 12
Calls
4 calls:
367.0ms
(- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))
451.0ms
(* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)))
1.7s
(fma y (/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y)))))) x)
2.1s
(/ (* z (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3))) (+ (* (tanh (/ t y)) (tanh (/ t y))) (+ (* (tanh (/ x y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ x y))))))

simplify2.7s

Algorithm
egg-herbie
Counts
4009 → 4009
Iterations

Useful iterations: 0 (176.0ms)

IterNodesCost
013731306042

prune2.7m

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.9b

localize6.0ms

Local error

Found 2 expressions with local error:

2.5b
(/ (* t z) y)
5.9b
(fma y (/ (* t z) y) x)

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

series18.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
39 → 39
Iterations

Useful iterations: 1 (5.0ms)

IterNodesCost
0133144
1573122
22685122
35001122

prune185.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

regimes335.0ms

Accuracy

0% (2.0b remaining)

Error of 2.2b against oracle of 0.1b and baseline of 2.2b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01516
11516

end0.0ms

sample864.0ms

Algorithm
intervals
Results
579.0ms8316×body80valid
25.0ms90×body640valid
17.0ms47×body1280valid
11.0ms56×body320valid
9.0ms45×body160valid