Details

Time bar (total: 8.6s)

sample28.0ms

Algorithm
intervals
Results
13.0ms273×body80valid
1.0msbody1280valid
0.0msbody640valid
0.0msbody320valid

simplify80.0ms

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
0548
11467
23377
310177
436597
550017
done50017

prune8.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 2.4b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite53.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:
2.0ms
(tanh (/ x y))
2.0ms
(tanh (/ t y))
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
46.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series677.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(tanh (/ x y))
86.0ms
(tanh (/ t y))
271.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
236.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify58.0ms

Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04741186
11938917
25002917
done5002917

prune276.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite143.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:
0.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
46.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
43.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
46.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series966.0ms

Counts
4 → 12
Calls
4 calls:
271.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
234.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
229.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
232.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify61.0ms

Counts
187 → 187
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04312924
117442147
250032147
done50032147

prune575.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0.7b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt *-un-lft-identity
27×prod-diff
24×add-cube-cbrt
18×frac-sub
14×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 pow-prod-down prod-exp cbrt-unprod
flip3-- flip-- distribute-lft-out-- difference-of-squares
diff-log associate-*l* *-commutative
Counts
4 → 116
Calls
4 calls:
2.0ms
(tanh (/ x y))
13.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
2.0ms
(tanh (/ t y))
52.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series578.0ms

Counts
4 → 12
Calls
4 calls:
84.0ms
(tanh (/ x y))
232.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
86.0ms
(tanh (/ t y))
176.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify74.0ms

Counts
128 → 128
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
06501841
128801440
250021437
done50021437

prune336.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.7b

localize15.0ms

Local error

Found 4 expressions with local error:

3.1b
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))
3.9b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
3.9b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
3.9b
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

rewrite253.0ms

Algorithm
rewrite-expression-head
Rules
297×cbrt-div
243×frac-sub
162×tanh-def
154×associate-*r/
121×frac-times
27×flip3-- flip--
16×pow1 add-exp-log
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
12×add-cbrt-cube
11×associate-*l/
pow-prod-down prod-exp cbrt-unprod
add-cube-cbrt
expm1-log1p-u log1p-expm1-u add-log-exp
pow1/3 distribute-lft-out-- difference-of-squares
associate-*r* associate-*l* *-commutative
Counts
4 → 245
Calls
4 calls:
187.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))
11.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
11.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
16.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

series1.6s

Counts
4 → 12
Calls
4 calls:
422.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))
403.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
398.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
398.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

simplify140.0ms

Counts
257 → 257
Iterations

Useful iterations: 2 (77.0ms)

IterNodesCost
015038140
141137995
250037989
done50037989

prune1.8s

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.7b

regimes170.0ms

Accuracy

23.5% (2.1b remaining)

Error of 2.5b against oracle of 0.5b and baseline of 3.2b

bsearch2.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03253
13253
done3253

end0.0ms

sample632.0ms

Algorithm
intervals
Results
312.0ms8294×body80valid
11.0ms81×body640valid
10.0ms55×body1280valid
7.0ms68×body320valid
3.0ms46×body160valid