Details

Time bar (total: 25.6s)

sample24.0ms

Algorithm
intervals
Results
11.0ms267×body80valid
0.0msbody320valid
0.0msbody1280valid
0.0msbody640valid
0.0msbody160valid

simplify79.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.1b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite25.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:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ t y))
11.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series772.0ms

Counts
4 → 12
Calls
4 calls:
223.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
81.0ms
(tanh (/ t y))
215.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
253.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify68.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05461798
121801400
250011397

prune359.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite35.0ms

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

series813.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
07632264
132671740
250011733

prune428.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.3b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.1b
(pow (tanh (/ t y)) 3)
5.9b
(* (* y z) (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
12.3b
(cbrt (pow (tanh (/ t y)) 3))

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
90×prod-diff
88×cbrt-prod
74×add-sqr-sqrt
67×*-un-lft-identity
65×add-cube-cbrt
47×distribute-rgt-in distribute-lft-in
25×unpow-prod-down cube-prod
15×cube-div
12×cbrt-div
11×associate-*r/
10×pow1 add-exp-log add-cbrt-cube
associate-*r* frac-sub tanh-def sqr-pow
cube-mult unpow3
difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow pow-prod-down prod-exp cbrt-unprod
sub-neg
pow-to-exp flip3-- pow-pow pow1/3 associate-*l* pow-exp *-commutative flip-- rem-cbrt-cube distribute-lft-out-- rem-cube-cbrt
Counts
4 → 197
Calls
4 calls:
2.0ms
(tanh (/ t y))
4.0ms
(pow (tanh (/ t y)) 3)
21.0ms
(* (* y z) (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
4.0ms
(cbrt (pow (tanh (/ t y)) 3))

series451.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ t y))
124.0ms
(pow (tanh (/ t y)) 3)
164.0ms
(* (* y z) (- (cbrt (pow (tanh (/ t y)) 3)) (tanh (/ x y))))
83.0ms
(cbrt (pow (tanh (/ t y)) 3))

simplify104.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
09313679
136782347
250012279

prune379.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.3b

localize19.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (tanh (/ t y)) 3)
0.1b
(pow (tanh (/ x y)) 3)
5.9b
(* (* y z) (/ (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)) (fma (tanh (/ x y)) (+ (tanh (/ t y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ t y))))))
11.2b
(/ (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)) (fma (tanh (/ x y)) (+ (tanh (/ t y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ t y)))))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
237×add-sqr-sqrt
150×times-frac
139×*-un-lft-identity
112×difference-of-squares
90×unpow-prod-down cube-prod
79×associate-*r*
69×add-cube-cbrt
58×sqr-pow
35×distribute-lft-out--
25×associate-/l*
24×cube-div
20×add-exp-log add-cbrt-cube
11×pow1 associate-/l/
frac-sub
tanh-def
difference-cubes
pow-unpow prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv div-exp pow-prod-down associate-/r*
cube-mult pow-to-exp pow-pow unpow3 pow-exp div-inv rem-cube-cbrt
flip3-- frac-2neg div-sub associate-*r/ associate-*l* clear-num *-commutative flip--
Counts
4 → 286
Calls
4 calls:
4.0ms
(pow (tanh (/ t y)) 3)
4.0ms
(pow (tanh (/ x y)) 3)
27.0ms
(* (* y z) (/ (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)) (fma (tanh (/ x y)) (+ (tanh (/ t y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ t y))))))
34.0ms
(/ (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)) (fma (tanh (/ x y)) (+ (tanh (/ t y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ t y)))))

series20.0s

Counts
4 → 12
Calls
4 calls:
131.0ms
(pow (tanh (/ t y)) 3)
122.0ms
(pow (tanh (/ x y)) 3)
16.2s
(* (* y z) (/ (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)) (fma (tanh (/ x y)) (+ (tanh (/ t y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ t y))))))
3.5s
(/ (- (pow (tanh (/ t y)) 3) (pow (tanh (/ x y)) 3)) (fma (tanh (/ x y)) (+ (tanh (/ t y)) (tanh (/ x y))) (* (tanh (/ t y)) (tanh (/ t y)))))

simplify91.0ms

Algorithm
egg-herbie
Counts
298 → 298
Iterations

Useful iterations: 1 (28.0ms)

IterNodesCost
010577634
150017281

prune1.0s

Pruning

3 alts after pruning (1 fresh and 2 done)

Merged error: 0b

regimes83.0ms

Accuracy

0% (1.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample618.0ms

Algorithm
intervals
Results
342.0ms8330×body80valid
15.0ms100×body640valid
9.0ms43×body1280valid
9.0ms75×body320valid
2.0ms33×body160valid