Details

Time bar (total: 10.9s)

sample25.0ms

Algorithm
intervals
Results
11.0ms257×body80valid
1.0msbody640valid
1.0msbody1280valid
1.0msbody320valid
0.0msbody160valid

simplify1.5s

Counts
1 → 1
Iterations

Useful iterations: 2 (13.0ms)

IterNodesCost
01215
15415
214614
331314
494614
5298514
done500014

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 1.2b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.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 associate-*r/
frac-sub
tanh-def
pow1 add-exp-log add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
associate-*l*
sub-neg
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod fma-udef distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 89
Calls
4 calls:
1.0ms
(tanh (/ x y))
1.0ms
(tanh (/ t y))
25.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

series759.0ms

Counts
4 → 12
Calls
4 calls:
100.0ms
(tanh (/ x y))
97.0ms
(tanh (/ t y))
257.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
305.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)

simplify677.0ms

Counts
101 → 101
Iterations

Useful iterations: 2 (200.0ms)

IterNodesCost
02052180
14761819
215311567
done50011567

prune349.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.7b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
1.2b
(* (- (tanh (/ x y))) z)
1.3b
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
1.5b
(* (tanh (/ t y)) z)

rewrite21.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:
1.0ms
(tanh (/ t y))
12.0ms
(* (- (tanh (/ x y))) z)
0.0ms
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
6.0ms
(* (tanh (/ t y)) z)

series647.0ms

Counts
4 → 12
Calls
4 calls:
101.0ms
(tanh (/ t y))
125.0ms
(* (- (tanh (/ x y))) z)
296.0ms
(fma y (+ (* (tanh (/ t y)) z) (* (- (tanh (/ x y))) z)) x)
124.0ms
(* (tanh (/ t y)) z)

simplify742.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (115.0ms)

IterNodesCost
0143953
1337911
21129814
done5000814

prune348.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.7b

localize18.0ms

Local error

Found 4 expressions with local error:

1.5b
(* (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) z)
7.5b
(cbrt (tanh (/ t y)))
7.5b
(cbrt (tanh (/ t y)))
7.5b
(cbrt (tanh (/ t y)))

rewrite124.0ms

Algorithm
rewrite-expression-head
Rules
153×cbrt-div
90×associate-*l/
81×frac-times
51×tanh-def
15×associate-*r/
13×pow1 add-exp-log
cbrt-prod add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 associate-*r*
associate-*l* *-commutative
Counts
4 → 134
Calls
4 calls:
105.0ms
(* (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) z)
1.0ms
(cbrt (tanh (/ t y)))
1.0ms
(cbrt (tanh (/ t y)))
2.0ms
(cbrt (tanh (/ t y)))

series771.0ms

Counts
4 → 12
Calls
4 calls:
125.0ms
(* (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) z)
218.0ms
(cbrt (tanh (/ t y)))
217.0ms
(cbrt (tanh (/ t y)))
212.0ms
(cbrt (tanh (/ t y)))

simplify1000.0ms

Counts
146 → 146
Iterations

Useful iterations: done (995.0ms)

IterNodesCost
02603184
15623045
214602659
done50002655

prune738.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.7b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite40.0ms

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

series817.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(tanh (/ x y))
421.0ms
(+ x (* (* y z) (- (tanh (/ t y)) (tanh (/ x y)))))
100.0ms
(tanh (/ t y))
193.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify1.1s

Counts
129 → 129
Iterations

Useful iterations: 2 (481.0ms)

IterNodesCost
02453076
16752555
226492187
done50012187

prune377.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.7b

regimes160.0ms

Accuracy

0% (1.7b remaining)

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

bsearch0.0ms

simplify6.0ms

Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
01630
12230
22530
32630
done2630

end0.0ms

sample621.0ms

Algorithm
intervals
Results
349.0ms8300×body80valid
18.0ms113×body640valid
10.0ms46×body1280valid
8.0ms65×body320valid
3.0ms42×body160valid