Details

Time bar (total: 26.3s)

sample70.0ms

Algorithm
intervals
Results
34.0ms274×body80valid
1.0msbody640valid
1.0msbody1280valid
0.0msbody320valid
0.0msbody160valid

simplify3.1s

Counts
1 → 1
Iterations
IterNodes
done5000
53035
4928
3321
2146
154
012

prune22.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.3b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(tanh (/ t y))
0.0b
(tanh (/ x y))
0.2b
(- (tanh (/ t y)) (tanh (/ x y)))
5.1b
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt *-un-lft-identity
11×add-cube-cbrt
prod-diff frac-sub
tanh-def
add-log-exp
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u
fma-neg
sub-neg flip3-- diff-log fma-udef flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 71
Calls
4 calls:
2.0ms
(tanh (/ t y))
2.0ms
(tanh (/ x y))
16.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
0.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)

series1.0s

Counts
4 → 12
Calls
4 calls:
132.0ms
(tanh (/ t y))
111.0ms
(tanh (/ x y))
334.0ms
(- (tanh (/ t y)) (tanh (/ x y)))
469.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)

simplify1.6s

Counts
83 → 83
Iterations
IterNodes
done5000
21491
1450
0161

prune730.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 2.4b

localize61.0ms

Local error

Found 4 expressions with local error:

5.1b
(fma (* z y) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))) x)
9.2b
(cbrt (tanh (/ t y)))
9.2b
(cbrt (tanh (/ t y)))
9.2b
(cbrt (tanh (/ t y)))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
cbrt-prod cbrt-div
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
pow1/3 tanh-def
fma-udef
Counts
4 → 58
Calls
4 calls:
1.0ms
(fma (* z y) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))) x)
4.0ms
(cbrt (tanh (/ t y)))
4.0ms
(cbrt (tanh (/ t y)))
4.0ms
(cbrt (tanh (/ t y)))

series1.3s

Counts
4 → 12
Calls
4 calls:
440.0ms
(fma (* z y) (- (* (* (cbrt (tanh (/ t y))) (cbrt (tanh (/ t y)))) (cbrt (tanh (/ t y)))) (tanh (/ x y))) x)
279.0ms
(cbrt (tanh (/ t y)))
272.0ms
(cbrt (tanh (/ t y)))
316.0ms
(cbrt (tanh (/ t y)))

simplify1.8s

Counts
70 → 70
Iterations
IterNodes
done5001
31482
2451
1196
089

prune657.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 2.4b

localize59.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x))
5.1b
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
5.1b
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
5.1b
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt *-un-lft-identity add-cube-cbrt
expm1-log1p-u pow1 add-cbrt-cube add-exp-log log1p-expm1-u add-log-exp
cbrt-prod fma-udef
pow1/3
Counts
4 → 43
Calls
4 calls:
1.0ms
(cbrt (fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x))
0.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
0.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
0.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)

series3.0s

Counts
4 → 12
Calls
4 calls:
1.3s
(cbrt (fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x))
628.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
546.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
539.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)

simplify2.9s

Counts
55 → 55
Iterations
IterNodes
done5000
44117
31027
2348
1144
056

prune564.0ms

Pruning

8 alts after pruning (5 fresh and 3 done)

Merged error: 2.4b

localize78.0ms

Local error

Found 4 expressions with local error:

1.4b
(expm1 (log1p (fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)))
5.1b
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
5.1b
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
5.1b
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)

rewrite2.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt expm1-log1p-u pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt log1p-expm1-u add-log-exp
fma-udef
expm1-log1p expm1-udef
Counts
4 → 41
Calls
4 calls:
0.0ms
(expm1 (log1p (fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)))
0.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
0.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
0.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)

series3.1s

Counts
4 → 12
Calls
4 calls:
1.5s
(expm1 (log1p (fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)))
526.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
549.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)
502.0ms
(fma (* z y) (- (tanh (/ t y)) (tanh (/ x y))) x)

simplify3.3s

Counts
53 → 53
Iterations
IterNodes
done5000
43205
3742
2290
1129
052

prune495.0ms

Pruning

9 alts after pruning (5 fresh and 4 done)

Merged error: 2.4b

regimes488.0ms

Accuracy

0% (2.4b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done12
112
011

end0.0ms

sample1.8s

Algorithm
intervals
Results
1.2s8319×body80valid
31.0ms110×body640valid
22.0ms51×body1280valid
11.0ms57×body320valid
6.0ms40×body160valid