Details

Time bar (total: 6.5s)

sample23.0ms

Algorithm
intervals
Results
10.0ms260×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody160valid

simplify78.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.9b

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series754.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ x y))
219.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
246.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
210.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify68.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05601798
122571400
250011397

prune362.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.3b

localize11.0ms

Local error

Found 3 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
27×add-sqr-sqrt *-un-lft-identity prod-diff
23×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
associate-*r* add-log-exp
expm1-log1p-u sub-neg fma-neg pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
3 → 104
Calls
3 calls:
2.0ms
(tanh (/ x y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
13.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series454.0ms

Counts
3 → 9
Calls
3 calls:
80.0ms
(tanh (/ x y))
217.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
158.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify80.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
06471771
128681370
250011367

prune301.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.3b

localize15.0ms

Local error

Found 4 expressions with local error:

0.1b
(pow (- (tanh (/ t y)) (tanh (/ x y))) 3)
0.4b
(- (tanh (/ t y)) (tanh (/ x y)))
5.5b
(* (* y z) (cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3)))
9.6b
(cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
36×frac-sub
35×add-sqr-sqrt *-un-lft-identity
33×cube-div
32×cbrt-prod
24×tanh-def
22×cbrt-div
21×add-cube-cbrt
19×associate-*r*
15×unpow-prod-down cube-prod
11×associate-*r/
10×pow1 add-exp-log
prod-diff
add-cbrt-cube
distribute-lft-out-- difference-of-squares
add-log-exp
expm1-log1p-u flip3-- flip-- log1p-expm1-u
cube-mult pow-unpow fma-neg unpow3 pow-prod-down prod-exp cbrt-unprod sqr-pow
pow-to-exp sub-neg pow-pow pow1/3 diff-log associate-*l* pow-exp *-commutative rem-cbrt-cube rem-cube-cbrt
Counts
4 → 162
Calls
4 calls:
11.0ms
(pow (- (tanh (/ t y)) (tanh (/ x y))) 3)
8.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
16.0ms
(* (* y z) (cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3)))
9.0ms
(cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3))

series970.0ms

Counts
4 → 12
Calls
4 calls:
378.0ms
(pow (- (tanh (/ t y)) (tanh (/ x y))) 3)
215.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
158.0ms
(* (* y z) (cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3)))
219.0ms
(cbrt (pow (- (tanh (/ t y)) (tanh (/ x y))) 3))

simplify113.0ms

Algorithm
egg-herbie
Counts
174 → 174
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
08432439
140962257
250012244

prune556.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.3b

localize13.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (tanh (/ t y)) (tanh (/ x y)))
0.4b
(- (tanh (/ t y)) (tanh (/ x y)))
2.2b
(sqrt (- (tanh (/ t y)) (tanh (/ x y))))
2.2b
(sqrt (- (tanh (/ t y)) (tanh (/ x y))))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
36×frac-sub
30×add-sqr-sqrt
28×*-un-lft-identity
24×tanh-def
22×sqrt-div
20×add-cube-cbrt
18×prod-diff
10×sqrt-prod
add-log-exp
pow1 fma-neg
add-exp-log expm1-log1p-u flip3-- add-cbrt-cube flip-- log1p-expm1-u distribute-lft-out-- difference-of-squares
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log
Counts
4 → 130
Calls
4 calls:
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
8.0ms
(sqrt (- (tanh (/ t y)) (tanh (/ x y))))
8.0ms
(sqrt (- (tanh (/ t y)) (tanh (/ x y))))

series1.2s

Counts
4 → 12
Calls
4 calls:
219.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
220.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
379.0ms
(sqrt (- (tanh (/ t y)) (tanh (/ x y))))
376.0ms
(sqrt (- (tanh (/ t y)) (tanh (/ x y))))

simplify60.0ms

Algorithm
egg-herbie
Counts
142 → 142
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04992388
117552112
250032096

prune565.0ms

Pruning

7 alts after pruning (3 fresh and 4 done)

Merged error: 0.3b

regimes173.0ms

Accuracy

0% (1.1b remaining)

Error of 1.8b against oracle of 0.7b and baseline of 1.8b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample589.0ms

Algorithm
intervals
Results
335.0ms8296×body80valid
15.0ms97×body640valid
12.0ms55×body1280valid
9.0ms78×body320valid
3.0ms35×body160valid