Details

Time bar (total: 20.0s)

sample67.0ms

Algorithm
intervals
Results
35.0ms269×body80valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody640valid
0.0msbody160valid

simplify3.2s

Counts
1 → 1
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
01215
15415
214714
333414
499614
5330514
done500014

prune11.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.2b

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
19×*-un-lft-identity
18×prod-diff
17×add-cube-cbrt
11×distribute-rgt-in distribute-lft-in associate-*r/
frac-sub
tanh-def
pow1 add-exp-log associate-*r* add-cbrt-cube
expm1-log1p-u associate-*l* log1p-expm1-u add-log-exp
sub-neg
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 77
Calls
3 calls:
3.0ms
(tanh (/ t y))
57.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series787.0ms

Counts
3 → 9
Calls
3 calls:
95.0ms
(tanh (/ t y))
324.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
368.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify1.1s

Counts
86 → 86
Iterations

Useful iterations: done (1.1s)

IterNodesCost
01962041
14581690
214521438
done50001286

prune397.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize34.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.2b
(expm1 (tanh (/ t y)))
0.7b
(* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y))))
0.9b
(fma y (* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y)))) x)

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt
20×*-un-lft-identity
18×add-cube-cbrt prod-diff
11×distribute-rgt-in distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r* log1p-expm1-u
expm1-log1p-u add-log-exp
associate-*l*
sub-neg associate-*r/
expm1-log1p flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef tanh-def distribute-lft-out-- expm1-udef difference-of-squares unswap-sqr
Counts
4 → 79
Calls
4 calls:
2.0ms
(tanh (/ t y))
0.0ms
(expm1 (tanh (/ t y)))
52.0ms
(* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y))))
1.0ms
(fma y (* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y)))) x)

series1.1s

Counts
4 → 12
Calls
4 calls:
100.0ms
(tanh (/ t y))
115.0ms
(expm1 (tanh (/ t y)))
372.0ms
(* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y))))
502.0ms
(fma y (* z (- (log1p (expm1 (tanh (/ t y)))) (tanh (/ x y)))) x)

simplify3.2s

Counts
91 → 91
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
01691972
13391467
29391203
346531039
done50001039

prune340.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize17.0ms

Local error

Found 3 expressions with local error:

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

rewrite155.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
30×add-sqr-sqrt *-un-lft-identity
28×add-cube-cbrt
22×distribute-rgt-in associate-+l+ distribute-lft-in
11×associate-*r/
frac-sub
pow1 add-exp-log add-cbrt-cube
tanh-def
associate-*r* add-log-exp
sub-neg
expm1-log1p-u pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
3 → 103
Calls
3 calls:
4.0ms
(tanh (/ t y))
63.0ms
(+ (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) x)
74.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series814.0ms

Counts
3 → 9
Calls
3 calls:
122.0ms
(tanh (/ t y))
411.0ms
(+ (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))) x)
281.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.6s

Counts
112 → 112
Iterations

Useful iterations: done (1.6s)

IterNodesCost
02192913
16202282
222841916
done50021674

prune479.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.0b
(expm1 (* 2 (/ t y)))
0.2b
(- (/ (expm1 (* 2 (/ t y))) (+ (pow (exp 2) (/ t y)) 1)) (tanh (/ x y)))
0.3b
(/ (expm1 (* 2 (/ t y))) (+ (pow (exp 2) (/ t y)) 1))
5.3b
(* (* y z) (- (/ (expm1 (* 2 (/ t y))) (+ (pow (exp 2) (/ t y)) 1)) (tanh (/ x y))))

rewrite606.0ms

Algorithm
rewrite-expression-head
Rules
220×*-un-lft-identity
162×prod-diff
158×add-sqr-sqrt
148×add-cube-cbrt
134×times-frac
56×distribute-rgt-in distribute-lft-in
34×distribute-lft-out
22×associate-/r/
18×fma-neg
11×add-exp-log flip3-+ add-cbrt-cube flip-+ div-inv
pow1
associate-*r* frac-sub add-log-exp
associate-*r/ log1p-expm1-u
expm1-log1p-u associate-/r* difference-of-squares
sub-neg pow-prod-down prod-exp cbrt-unprod associate-/l* expm1-udef
flip3-- div-sub flip-- tanh-def distribute-lft-out--
cbrt-undiv associate--l- expm1-log1p frac-2neg diff-log div-exp associate-*l* clear-num *-commutative
Counts
4 → 280
Calls
4 calls:
0.0ms
(expm1 (* 2 (/ t y)))
179.0ms
(- (/ (expm1 (* 2 (/ t y))) (+ (pow (exp 2) (/ t y)) 1)) (tanh (/ x y)))
31.0ms
(/ (expm1 (* 2 (/ t y))) (+ (pow (exp 2) (/ t y)) 1))
378.0ms
(* (* y z) (- (/ (expm1 (* 2 (/ t y))) (+ (pow (exp 2) (/ t y)) 1)) (tanh (/ x y))))

series787.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(expm1 (* 2 (/ t y)))
367.0ms
(- (/ (expm1 (* 2 (/ t y))) (+ (pow (exp 2) (/ t y)) 1)) (tanh (/ x y)))
130.0ms
(/ (expm1 (* 2 (/ t y))) (+ (pow (exp 2) (/ t y)) 1))
254.0ms
(* (* y z) (- (/ (expm1 (* 2 (/ t y))) (+ (pow (exp 2) (/ t y)) 1)) (tanh (/ x y))))

simplify2.3s

Counts
292 → 292
Iterations

Useful iterations: done (2.3s)

IterNodesCost
034614928
185411659
2256310047
done50008235

prune946.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes161.0ms

Accuracy

0% (1.6b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01316
11416
done1416

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.2s8336×body80valid
57.0ms108×body640valid
18.0ms45×body1280valid
10.0ms50×body320valid
5.0ms35×body160valid