Details

Time bar (total: 4.9s)

sample28.0ms

Algorithm
intervals
Results
13.0ms268×body80valid
1.0msbody1280valid
1.0msbody640valid
0.0msbody320valid
0.0msbody160valid

simplify79.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune9.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.6b

Counts
2 → 2

localize15.0ms

Local error

Found 4 expressions with local error:

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

series771.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(tanh (/ x y))
221.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
212.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
256.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
05601798
122571400
250011397

prune319.0ms

Filtered
126 candidates to 87 candidates (69.0%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1233126
Fresh011
Picked011
Done000
Total1235128

Merged error: 0.7b

Counts
128 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

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

series797.0ms

Counts
4 → 12
Calls
4 calls:
78.0ms
(tanh (/ x y))
336.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
220.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
163.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify102.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (78.0ms)

IterNodesCost
07712264
133311740
250021733

prune371.0ms

Filtered
154 candidates to 101 candidates (65.6%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New1531154
Fresh033
Picked101
Done011
Total1545159

Merged error: 0.7b

Counts
159 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
1.3b
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
6.8b
(* (tanh (/ t y)) y)
7.5b
(* (* y z) (- (tanh (/ x y))))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
13×associate-*r*
12×add-sqr-sqrt
11×pow1 add-exp-log add-cbrt-cube
10×add-cube-cbrt *-un-lft-identity
add-log-exp
expm1-log1p-u associate-*l* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
distribute-lft-neg-in fma-def distribute-rgt-neg-in associate-*r/ associate-*l/ distribute-rgt-neg-out distribute-neg-frac tanh-def
*-commutative
+-commutative neg-mul-1 associate-+l+ flip3-+ unsub-neg sum-log flip-+ fma-udef unswap-sqr
Counts
4 → 85
Calls
4 calls:
2.0ms
(tanh (/ x y))
3.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
9.0ms
(* (tanh (/ t y)) y)
8.0ms
(* (* y z) (- (tanh (/ x y))))

series692.0ms

Counts
4 → 12
Calls
4 calls:
273.0ms
(tanh (/ x y))
218.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
110.0ms
(* (tanh (/ t y)) y)
91.0ms
(* (* y z) (- (tanh (/ x y))))

simplify63.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
0440623
11977559
25001558

prune270.0ms

Filtered
97 candidates to 77 candidates (79.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New95297
Fresh303
Picked101
Done011
Total993102

Merged error: 0b

Counts
102 → 3

localize15.0ms

Local error

Found 2 expressions with local error:

0.5b
(+ (fma (* (tanh (/ t y)) y) z x) (* -1 (* x z)))
6.8b
(* (tanh (/ t y)) y)

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube add-log-exp
fma-def associate-*r* associate-*l* associate-*l/
expm1-log1p-u mul-1-neg log1p-expm1-u
+-commutative associate-+l+ flip3-+ unsub-neg pow-prod-down prod-exp sum-log *-commutative cbrt-unprod flip-+ fma-udef tanh-def unswap-sqr
Counts
2 → 42
Calls
2 calls:
3.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* -1 (* x z)))
5.0ms
(* (tanh (/ t y)) y)

series214.0ms

Counts
2 → 6
Calls
2 calls:
105.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* -1 (* x z)))
109.0ms
(* (tanh (/ t y)) y)

simplify40.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0230295
1931256
25001255

prune116.0ms

Filtered
48 candidates to 38 candidates (79.2%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New48048
Fresh011
Picked011
Done011
Total48351

Merged error: 0b

Counts
51 → 3

regimes75.0ms

Accuracy

0% (1.9b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample709.0ms

Algorithm
intervals
Results
424.0ms8356×body80valid
20.0ms101×body640valid
14.0ms51×body1280valid
9.0ms66×body320valid
3.0ms27×body160valid

Profiling

Loading profile data...