Details

Time bar (total: 6.5s)

sample23.0ms

Algorithm
intervals
Results
11.0ms270×body80valid
1.0msbody640valid
0.0msbody320valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune12.0ms

Filtered
1 candidates to 1 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 1.1b

Counts
2 → 2

localize11.0ms

Local error

Found 4 expressions with local error:

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

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:
2.0ms
(tanh (/ x y))
7.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))))

series765.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ x y))
222.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
252.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
210.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify73.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
05601798
122571400
250011397

prune336.0ms

Filtered
126 candidates to 87 candidates (69.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New1224126
Fresh011
Picked101
Done000
Total1235128

Merged error: 0.2b

Counts
128 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
cbrt-prod add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r* associate-*l* tanh-def
fma-udef
distribute-rgt-in distribute-lft-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 70
Calls
4 calls:
3.0ms
(* z (fma (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y))) (- (tanh (/ x y)))))
2.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))

series879.0ms

Counts
4 → 12
Calls
4 calls:
355.0ms
(* z (fma (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y))) (- (tanh (/ x y)))))
174.0ms
(cbrt (tanh (/ t y)))
173.0ms
(cbrt (tanh (/ t y)))
177.0ms
(cbrt (tanh (/ t y)))

simplify86.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 3 (77.0ms)

IterNodesCost
0246882
1787764
23442734
35001683

prune297.0ms

Filtered
82 candidates to 70 candidates (85.4%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New82082
Fresh044
Picked011
Done000
Total82587

Merged error: 0.2b

Counts
87 → 5

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
59×add-sqr-sqrt
54×prod-diff
53×*-un-lft-identity
47×add-cube-cbrt
33×distribute-rgt-in distribute-lft-in associate-*r/
27×frac-sub
18×tanh-def
15×associate-*r*
10×pow1 add-exp-log add-cbrt-cube
associate-*l*
sub-neg
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
pow1/3
Counts
4 → 178
Calls
4 calls:
1.0ms
(cbrt (fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x))
11.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
15.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.0s

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

simplify71.0ms

Algorithm
egg-herbie
Counts
190 → 190
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04872998
118722219
250012212

prune557.0ms

Filtered
190 candidates to 110 candidates (57.9%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1900190
Fresh033
Picked011
Done011
Total1905195

Merged error: 0.2b

Counts
195 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite33.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:
5.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
2.0ms
(tanh (/ x y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
12.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series946.0ms

Counts
4 → 12
Calls
4 calls:
323.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
73.0ms
(tanh (/ x y))
214.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
336.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify92.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
07712264
133311740
250021733

prune330.0ms

Filtered
154 candidates to 102 candidates (66.2%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1540154
Fresh022
Picked011
Done022
Total1545159

Merged error: 0.2b

Counts
159 → 5

regimes127.0ms

Accuracy

0% (1.7b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01516
11516

end0.0ms

sample604.0ms

Algorithm
intervals
Results
350.0ms8295×body80valid
16.0ms98×body640valid
12.0ms53×body1280valid
8.0ms69×body320valid
4.0ms45×body160valid