Details

Time bar (total: 9.0s)

sample25.0ms

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

simplify76.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

localize10.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:
86.0ms
(tanh (/ x y))
86.0ms
(tanh (/ t y))
269.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
236.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify52.0ms

Counts
101 → 101
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04741186
11938917
25002917
done5002917

prune284.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.7b

localize16.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))))

rewrite146.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)
45.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
45.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
47.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

series993.0ms

Counts
4 → 12
Calls
4 calls:
270.0ms
(fma y (* z (- (tanh (/ t y)) (tanh (/ x y)))) x)
243.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
240.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))
240.0ms
(* z (- (tanh (/ t y)) (tanh (/ x y))))

simplify64.0ms

Counts
187 → 187
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
04312924
117442147
250032147
done50032147

prune585.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))))

rewrite74.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))
53.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

series595.0ms

Counts
4 → 12
Calls
4 calls:
87.0ms
(tanh (/ x y))
241.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
88.0ms
(tanh (/ t y))
179.0ms
(* (* y z) (- (tanh (/ t y)) (tanh (/ x y))))

simplify75.0ms

Counts
128 → 128
Iterations

Useful iterations: 2 (61.0ms)

IterNodesCost
06501841
128801440
250021437
done50021437

prune343.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))))

rewrite247.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:
191.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))))
11.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

series1.6s

Counts
4 → 12
Calls
4 calls:
438.0ms
(* (* y z) (* (cbrt (- (tanh (/ t y)) (tanh (/ x y)))) (cbrt (- (tanh (/ t y)) (tanh (/ x y))))))
408.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
401.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))
400.0ms
(cbrt (- (tanh (/ t y)) (tanh (/ x y))))

simplify131.0ms

Counts
257 → 257
Iterations

Useful iterations: 2 (76.0ms)

IterNodesCost
015038140
141137995
250037989
done50037989

prune2.1s

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.7b

regimes164.0ms

Accuracy

23.5% (2.1b remaining)

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

bsearch2.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03253
13253
done3253

end0.0ms

sample661.0ms

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