Details

Time bar (total: 32.2s)

sample63.0ms

Algorithm
intervals
Results
28.0ms270×body80valid
0.0msbody640valid
0.0msbody320valid

simplify4.1s

Counts
1 → 1
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
01215
15415
214714
333414
4101214
5484414
done500014

prune38.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.8b

localize41.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite174.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:
5.0ms
(tanh (/ x y))
36.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
121.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series2.2s

Counts
4 → 12
Calls
4 calls:
232.0ms
(tanh (/ x y))
616.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
698.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
607.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify2.5s

Counts
126 → 126
Iterations

Useful iterations: done (2.5s)

IterNodesCost
02213259
15932726
224092368
done50012137

prune1.2s

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.6b

localize49.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
0.8b
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
2.5b
(* z (- (tanh (/ x y))))
2.6b
(* z (tanh (/ t y)))

rewrite144.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:
52.0ms
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
1.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
54.0ms
(* z (- (tanh (/ x y))))
30.0ms
(* z (tanh (/ t y)))

series1.8s

Counts
4 → 12
Calls
4 calls:
561.0ms
(+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y)))))
693.0ms
(fma y (+ (* z (tanh (/ t y))) (* z (- (tanh (/ x y))))) x)
252.0ms
(* z (- (tanh (/ x y))))
250.0ms
(* z (tanh (/ t y)))

simplify3.3s

Counts
102 → 102
Iterations

Useful iterations: done (3.3s)

IterNodesCost
01881644
15881484
225521406
done50001400

prune1.0s

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.6b

localize39.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite169.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:
5.0ms
(tanh (/ x y))
33.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
122.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series2.2s

Counts
4 → 12
Calls
4 calls:
224.0ms
(tanh (/ x y))
623.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
703.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
628.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify2.5s

Counts
126 → 126
Iterations

Useful iterations: done (2.5s)

IterNodesCost
02213259
15932726
224092368
done50012137

prune1.2s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.6b

localize68.0ms

Local error

Found 4 expressions with local error:

0.8b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))
1.3b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite899.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
54×prod-diff
52×*-un-lft-identity
46×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
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod distribute-lft-out-- difference-of-squares unswap-sqr
fma-udef
Counts
4 → 175
Calls
4 calls:
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
109.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
644.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
129.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series2.4s

Counts
4 → 12
Calls
4 calls:
707.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
586.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
575.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
564.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.9s

Counts
187 → 187
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01855298
14654275
218703581
done50013125

prune1.7s

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.6b

regimes637.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01114
11214
done1214

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.1s8299×body80valid
40.0ms106×body640valid
24.0ms44×body1280valid
20.0ms71×body320valid
7.0ms39×body160valid