Details

Time bar (total: 5.8s)

sample31.0ms

Algorithm
intervals
Results
18.0ms270×body80valid
0.0msbody320valid
0.0msbody640valid

simplify80.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.5b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.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:
1.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
27.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series763.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(tanh (/ t y))
221.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
249.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
213.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify68.0ms

Algorithm
egg-herbie
Counts
126 → 126
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
05461798
121801400
250031397

prune374.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.2b
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
1.1b
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
2.2b
(* z (- (tanh (/ x y))))
3.8b
(* z (tanh (/ t y)))

rewrite24.0ms

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

series635.0ms

Counts
4 → 12
Calls
4 calls:
206.0ms
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
251.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
89.0ms
(* z (- (tanh (/ x y))))
88.0ms
(* z (tanh (/ t y)))

simplify74.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
0570898
12499831
25002827

prune359.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.7b

localize16.0ms

Local error

Found 4 expressions with local error:

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

rewrite46.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:
6.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
1.0ms
(tanh (/ t y))
7.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
26.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series814.0ms

Counts
4 → 12
Calls
4 calls:
340.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
83.0ms
(tanh (/ t y))
227.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
163.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify90.0ms

Algorithm
egg-herbie
Counts
154 → 154
Iterations

Useful iterations: 2 (72.0ms)

IterNodesCost
07632264
132671740
250011733

prune435.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.3b
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
8.5b
(* (tanh (/ t y)) y)
8.6b
(* (* y z) (- (tanh (/ x y))))

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

series512.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(tanh (/ t y))
226.0ms
(+ (fma (* (tanh (/ t y)) y) z x) (* (* y z) (- (tanh (/ x y)))))
115.0ms
(* (tanh (/ t y)) y)
91.0ms
(* (* y z) (- (tanh (/ x y))))

simplify55.0ms

Algorithm
egg-herbie
Counts
97 → 97
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0429623
11932559
25001558

prune311.0ms

Pruning

2 alts after pruning (1 fresh and 1 done)

Merged error: 0b

regimes68.0ms

Accuracy

22.9% (1.5b remaining)

Error of 1.5b against oracle of 0.0b and baseline of 1.9b

bsearch57.0ms

Steps
ItersRangePoint
9
-5.116811327416399e+222
-1.3081982428477387e+215
-6.697799307361886e+216

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02512
12912
23012
33012

end0.0ms

sample860.0ms

Algorithm
intervals
Results
583.0ms8315×body80valid
18.0ms87×body640valid
13.0ms49×body1280valid
10.0ms63×body320valid
5.0ms47×body160valid