Details

Time bar (total: 20.6s)

sample40.0ms

Algorithm
intervals
Results
24.0ms263×body80valid
1.0msbody640valid
1.0msbody320valid
0.0msbody160valid

simplify3.8s

Counts
1 → 1
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
01215
15415
214714
333414
499614
5330514
done500014

prune13.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.9b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (tanh (/ t y)) (tanh (/ x y)))
0.0b
(tanh (/ x y))
0.6b
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
1.5b
(* z (- (tanh (/ t y)) (tanh (/ x y))))

rewrite133.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:
27.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
4.0ms
(tanh (/ x y))
1.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
92.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series1.5s

Counts
4 → 12
Calls
4 calls:
300.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
115.0ms
(tanh (/ x y))
384.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
697.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.3s

Counts
126 → 126
Iterations

Useful iterations: done (1.3s)

IterNodesCost
02213259
15612726
218412366
done50002137

prune628.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ x y))
0.6b
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
2.0b
(* (tanh (/ t y)) z)
2.8b
(* (- (tanh (/ x y))) z)

rewrite62.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
13×associate-*l*
10×add-cube-cbrt *-un-lft-identity
pow1 add-exp-log add-cbrt-cube
associate-*r* associate-*l/
expm1-log1p-u log1p-expm1-u add-log-exp
distribute-lft-neg-in distribute-rgt-neg-in distribute-neg-frac tanh-def
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-lft-neg-out neg-mul-1 fma-udef
Counts
4 → 76
Calls
4 calls:
4.0ms
(tanh (/ x y))
1.0ms
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
24.0ms
(* (tanh (/ t y)) z)
30.0ms
(* (- (tanh (/ x y))) z)

series835.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(tanh (/ x y))
378.0ms
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
177.0ms
(* (tanh (/ t y)) z)
174.0ms
(* (- (tanh (/ x y))) z)

simplify1.1s

Counts
88 → 88
Iterations

Useful iterations: done (1.1s)

IterNodesCost
0146953
1340911
21146814
done5001809

prune417.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

localize40.0ms

Local error

Found 4 expressions with local error:

2.8b
(* (- (* (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (cbrt (tanh (/ x y))))) z)
5.9b
(cbrt (tanh (/ x y)))
5.9b
(cbrt (tanh (/ x y)))
5.9b
(cbrt (tanh (/ x y)))

rewrite167.0ms

Algorithm
rewrite-expression-head
Rules
153×cbrt-div
90×associate-*l/
81×frac-times
63×distribute-neg-frac
51×tanh-def
15×associate-*r/
11×add-sqr-sqrt
cbrt-prod add-cube-cbrt *-un-lft-identity
pow1 add-exp-log associate-*l* add-cbrt-cube
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r*
distribute-lft-neg-out distribute-lft-neg-in neg-mul-1 distribute-rgt-neg-in pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 135
Calls
4 calls:
147.0ms
(* (- (* (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (cbrt (tanh (/ x y))))) z)
3.0ms
(cbrt (tanh (/ x y)))
2.0ms
(cbrt (tanh (/ x y)))
3.0ms
(cbrt (tanh (/ x y)))

series822.0ms

Counts
4 → 12
Calls
4 calls:
138.0ms
(* (- (* (* (cbrt (tanh (/ x y))) (cbrt (tanh (/ x y)))) (cbrt (tanh (/ x y))))) z)
264.0ms
(cbrt (tanh (/ x y)))
199.0ms
(cbrt (tanh (/ x y)))
220.0ms
(cbrt (tanh (/ x y)))

simplify1.8s

Counts
147 → 147
Iterations

Useful iterations: done (1.8s)

IterNodesCost
03193270
18263140
218302750
done50002642

prune1.1s

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.2b

localize51.0ms

Local error

Found 4 expressions with local error:

5.9b
(cbrt (tanh (/ x y)))
5.9b
(cbrt (tanh (/ x y)))
5.9b
(cbrt (tanh (/ x y)))
5.9b
(cbrt (tanh (/ x y)))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod cbrt-div
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log expm1-log1p-u pow1/3 add-cbrt-cube log1p-expm1-u tanh-def add-log-exp
Counts
4 → 64
Calls
4 calls:
3.0ms
(cbrt (tanh (/ x y)))
2.0ms
(cbrt (tanh (/ x y)))
3.0ms
(cbrt (tanh (/ x y)))
3.0ms
(cbrt (tanh (/ x y)))

series1.1s

Counts
4 → 12
Calls
4 calls:
283.0ms
(cbrt (tanh (/ x y)))
279.0ms
(cbrt (tanh (/ x y)))
257.0ms
(cbrt (tanh (/ x y)))
261.0ms
(cbrt (tanh (/ x y)))

simplify2.9s

Counts
76 → 76
Iterations

Useful iterations: done (2.9s)

IterNodesCost
070964
1149928
2323888
3990848
44207768
done5001764

prune569.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.2b

regimes259.0ms

Accuracy

0% (1.8b remaining)

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

bsearch0.0ms

simplify17.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01945
13045
24545
34845
done4845

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.4s8312×body80valid
36.0ms98×body640valid
22.0ms49×body1280valid
16.0ms61×body320valid
5.0ms31×body160valid