Details

Time bar (total: 4.7s)

sample24.0ms

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

simplify75.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: 0.9b

Counts
2 → 2

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
18×frac-sub
13×tanh-def
11×associate-*r/
sub-neg
distribute-rgt-in flip3-- distribute-lft-in flip--
*-commutative fma-udef
Counts
4 → 33
Calls
4 calls:
2.0ms
(tanh (/ t y))
5.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))))

series745.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(tanh (/ t y))
215.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
244.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
207.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify39.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0380645
11364644
25002641

prune167.0ms

Filtered
45 candidates to 37 candidates (82.2%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New41445
Fresh011
Picked101
Done000
Total42547

Merged error: 0.2b

Counts
47 → 5

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
0.3b
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
2.1b
(* z (- (tanh (/ x y))))
2.1b
(* z (tanh (/ t y)))

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
24×associate-*r/
12×distribute-neg-frac
frac-add
tanh-def
*-commutative
distribute-rgt-neg-out
fma-def
+-commutative neg-mul-1 distribute-rgt-out flip3-+ associate-*r* unsub-neg flip-+ fma-udef distribute-lft-out
Counts
4 → 29
Calls
4 calls:
8.0ms
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
1.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
3.0ms
(* z (- (tanh (/ x y))))
3.0ms
(* z (tanh (/ t y)))

series607.0ms

Counts
4 → 12
Calls
4 calls:
197.0ms
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
240.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
86.0ms
(* z (- (tanh (/ x y))))
84.0ms
(* z (tanh (/ t y)))

simplify46.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0413435
11578424
25003422

prune152.0ms

Filtered
41 candidates to 33 candidates (80.5%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New38341
Fresh224
Picked101
Done000
Total41546

Merged error: 0.2b

Counts
46 → 5

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
18×frac-sub
13×tanh-def
11×associate-*r/
sub-neg
distribute-rgt-in associate-+l+ fma-def distribute-lft-in associate-*l* *-commutative
flip3-- flip--
+-commutative flip3-+ flip-+
Counts
4 → 45
Calls
4 calls:
10.0ms
(+ (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) x)
2.0ms
(tanh (/ t y))
5.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
8.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series681.0ms

Counts
4 → 12
Calls
4 calls:
234.0ms
(+ (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) x)
79.0ms
(tanh (/ t y))
214.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
153.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify47.0ms

Algorithm
egg-herbie
Counts
57 → 57
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0457745
11753742
25001739

prune206.0ms

Filtered
57 candidates to 45 candidates (78.9%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New54357
Fresh134
Picked101
Done000
Total56662

Merged error: 0.2b

Counts
62 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
18×frac-sub
13×tanh-def
11×associate-*r/
sub-neg
distribute-rgt-in flip3-- distribute-lft-in flip--
*-commutative fma-udef
Counts
4 → 33
Calls
4 calls:
1.0ms
(fma z (* y (- (tanh (/ t y)) (tanh (/ x y)))) x)
2.0ms
(tanh (/ t y))
5.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
7.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

series801.0ms

Counts
4 → 12
Calls
4 calls:
349.0ms
(fma z (* y (- (tanh (/ t y)) (tanh (/ x y)))) x)
79.0ms
(tanh (/ t y))
216.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
156.0ms
(* y (- (tanh (/ t y)) (tanh (/ x y))))

simplify39.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
0377642
11362641
25002638

prune153.0ms

Filtered
45 candidates to 36 candidates (80.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New44145
Fresh325
Picked011
Done000
Total47451

Merged error: 0.2b

Counts
51 → 4

regimes97.0ms

Accuracy

0% (1.5b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0127
1127

end0.0ms

sample665.0ms

Algorithm
intervals
Results
379.0ms8278×body80valid
15.0ms92×body640valid
10.0ms74×body320valid
9.0ms39×body1280valid
3.0ms35×body160valid